summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-17 10:41:49 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-17 11:23:22 +0200
commit735e35acabf3dae895a032522a5b81b5f7f18e10 (patch)
tree52ed97d926240810072709d4c9f26bf7682f6004 /net-misc
parentdev-embedded/bitbake: Remove last-rited pkg (diff)
downloadgentoo-735e35acabf3dae895a032522a5b81b5f7f18e10.tar.gz
gentoo-735e35acabf3dae895a032522a5b81b5f7f18e10.tar.bz2
gentoo-735e35acabf3dae895a032522a5b81b5f7f18e10.zip
net-misc/openrdate: Remove last-rited pkg
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openrdate/Manifest1
-rw-r--r--net-misc/openrdate/files/openrdate-1.1.3-rename.patch29
-rw-r--r--net-misc/openrdate/files/openrdate-confd12
-rw-r--r--net-misc/openrdate/files/openrdate-initd26
-rw-r--r--net-misc/openrdate/metadata.xml10
-rw-r--r--net-misc/openrdate/openrdate-1.2.ebuild34
6 files changed, 0 insertions, 112 deletions
diff --git a/net-misc/openrdate/Manifest b/net-misc/openrdate/Manifest
deleted file mode 100644
index 38dd82a66f7..00000000000
--- a/net-misc/openrdate/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST openrdate-1.2.tar.gz 118030 BLAKE2B 68e69d45b7ced7f38abb431d45f6d37e18b5fa5acdabc9d8539b16738eef3acabe121a1c369cf6ab3869673b991809d6e911c00efbd426b6572cf643f7b8b9b1 SHA512 5469352c26883863442641b47cc76512590af1524ecaa51fb829ae027d413889626b5b8098de0bea177a3c0ac411986518380e9400f20ddd3d4ac0bffb042e11
diff --git a/net-misc/openrdate/files/openrdate-1.1.3-rename.patch b/net-misc/openrdate/files/openrdate-1.1.3-rename.patch
deleted file mode 100644
index 5f4774c3be4..00000000000
--- a/net-misc/openrdate/files/openrdate-1.1.3-rename.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Name the binary 'openrdate' as so not to conflict with the pre-existing ancient
-rdate.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-diff -Nuar openrdate-1.1.3.orig/Makefile.am openrdate-1.1.3/Makefile.am
---- openrdate-1.1.3.orig/Makefile.am 2007-11-10 21:15:31.000000000 -0800
-+++ openrdate-1.1.3/Makefile.am 2008-06-18 14:27:40.001963783 -0700
-@@ -1,15 +1,15 @@
- SUBDIRS = src
-
--bin_PROGRAMS = rdate
-+bin_PROGRAMS = openrdate
-
--rdate_SOURCES= \
-+openrdate_SOURCES= \
- src/rdate.c
-
--rdate_LDADD= \
-+openrdate_LDADD= \
- src/librdate.a
-
- man_MANS= \
-- docs/rdate.8
-+ docs/openrdate.8
-
- EXTRA_DIST= \
-- docs/rdate.8
-+ $(man_MANS)
diff --git a/net-misc/openrdate/files/openrdate-confd b/net-misc/openrdate/files/openrdate-confd
deleted file mode 100644
index fb4ee4caa74..00000000000
--- a/net-misc/openrdate/files/openrdate-confd
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# the NTP or RFC868/time server to get the date from
-RDATE_SERVER="pool.ntp.org"
-
-# Options to pass to rdate
-# "-s" is mandatory to set the system time, and
-# is passed regardless of this variable.
-# "-n" says that we are using an NTP server instead of a RFC868/time server.
-# "-c" is for leap seconds, which is needed on NTP servers.
-OPENRDATE_OPTS="-n -c"
diff --git a/net-misc/openrdate/files/openrdate-initd b/net-misc/openrdate/files/openrdate-initd
deleted file mode 100644
index 92210cce3c8..00000000000
--- a/net-misc/openrdate/files/openrdate-initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- before cron
- need net
- use dns
-}
-
-checkconfig() {
- if [ -z "${RDATE_SERVER}" ] ; then
- eerror "Please edit /etc/conf.d/openrdate"
- eerror "I need to know what server to use!"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
-
- ebegin "Setting clock via openrdate"
- /usr/bin/openrdate -s ${OPENRDATE_OPTS} ${RDATE_SERVER} > /dev/null
- eend $? "Failed to set clock via openrdate"
-}
diff --git a/net-misc/openrdate/metadata.xml b/net-misc/openrdate/metadata.xml
deleted file mode 100644
index bbbc6855175..00000000000
--- a/net-misc/openrdate/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>robbat2@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">openrdate</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-misc/openrdate/openrdate-1.2.ebuild b/net-misc/openrdate/openrdate-1.2.ebuild
deleted file mode 100644
index 48c8d01f24a..00000000000
--- a/net-misc/openrdate/openrdate-1.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-WANT_AUTOMAKE=1.9
-
-inherit autotools eutils
-
-DESCRIPTION="use TCP or UDP to retrieve the current time of another machine"
-HOMEPAGE="https://sourceforge.net/projects/openrdate/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.1.3-rename.patch
- eautomake
- mv docs/{,open}rdate.8
-}
-
-src_install(){
- emake -j1 DESTDIR="${D}" install || die "make install failed"
- newinitd "${FILESDIR}"/openrdate-initd openrdate
- newconfd "${FILESDIR}"/openrdate-confd openrdate
-}