diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-11-13 10:38:19 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-11-13 10:38:19 +0000 |
commit | e6c81df3087f0da971470b1c0b262fc00ce50aea (patch) | |
tree | 7d63d9ba90989e56a96e2c84f82911470d188a96 /net-misc/rdate | |
parent | Marked ppc stable for bug #154165. (diff) | |
download | historical-e6c81df3087f0da971470b1c0b262fc00ce50aea.tar.gz historical-e6c81df3087f0da971470b1c0b262fc00ce50aea.tar.bz2 historical-e6c81df3087f0da971470b1c0b262fc00ce50aea.zip |
Bug #153235, fix param handling in init.d script.
Package-Manager: portage-2.1.2_rc1-r5
Diffstat (limited to 'net-misc/rdate')
-rw-r--r-- | net-misc/rdate/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/rdate/Manifest | 21 | ||||
-rw-r--r-- | net-misc/rdate/files/digest-rdate-1.4-r2 | 3 | ||||
-rw-r--r-- | net-misc/rdate/files/rdate-initd-1.4-r2 | 30 | ||||
-rw-r--r-- | net-misc/rdate/rdate-1.4-r2.ebuild | 27 |
5 files changed, 83 insertions, 6 deletions
diff --git a/net-misc/rdate/ChangeLog b/net-misc/rdate/ChangeLog index c5361a8bb91a..3a41afb3bac4 100644 --- a/net-misc/rdate/ChangeLog +++ b/net-misc/rdate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/rdate # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/ChangeLog,v 1.34 2006/07/13 14:35:14 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/ChangeLog,v 1.35 2006/11/13 10:38:19 robbat2 Exp $ + +*rdate-1.4-r2 (13 Nov 2006) + + 13 Nov 2006; Robin H. Johnson <robbat2@gentoo.org> + +files/rdate-initd-1.4-r2, +rdate-1.4-r2.ebuild: + Bug #153235, fix param handling in init.d script. 13 Jul 2006; Aron Griffis <agriffis@gentoo.org> rdate-1.4-r1.ebuild: Mark 1.4-r1 stable on ia64. #129091 diff --git a/net-misc/rdate/Manifest b/net-misc/rdate/Manifest index eb0269cc0ef9..3ff46295ef05 100644 --- a/net-misc/rdate/Manifest +++ b/net-misc/rdate/Manifest @@ -6,8 +6,12 @@ AUX rdate-initd 837 RMD160 e2e33bcf07a84ab9a0227f928e5bf02175b902b6 SHA1 532d464 MD5 00059cdcb91936a3a6b32daa9c54215b files/rdate-initd 837 RMD160 e2e33bcf07a84ab9a0227f928e5bf02175b902b6 files/rdate-initd 837 SHA256 217bd1e2e23e31d860796168f4d29b4411501b24377f065c56ad3e13efa4dec0 files/rdate-initd 837 +AUX rdate-initd-1.4-r2 707 RMD160 eaa1b83c075d05061419f16fadbcedb42bd23512 SHA1 231863210f730b21e88d5d5cfe4d8a1ba0112134 SHA256 dd8c40e2af527cec8b23fdf7f88490242661db3e26012124d5ad27158db49309 +MD5 a40ed3583bc14a23439aaf929c023ae8 files/rdate-initd-1.4-r2 707 +RMD160 eaa1b83c075d05061419f16fadbcedb42bd23512 files/rdate-initd-1.4-r2 707 +SHA256 dd8c40e2af527cec8b23fdf7f88490242661db3e26012124d5ad27158db49309 files/rdate-initd-1.4-r2 707 DIST rdate-1.4.tar.gz 11500 RMD160 13cfa099f6c36c589cea8325d64cce85578dfa07 SHA1 bad85e74a1523f8548105d7700ed63e9886b9979 SHA256 c8b4a026fa13f22bffe96fe0800b6ac67de72e9f62dfe5b74f1910a9179da4ee -DIST rdate-990821.tar.gz 3519 RMD160 37d3efe08cba578f624c7ad688864ac446230b47 SHA256 d705ee014e368a90b94ff6b95d2c52d840e43059a31c731fc09c73928bbf034f +DIST rdate-990821.tar.gz 3519 RMD160 37d3efe08cba578f624c7ad688864ac446230b47 SHA1 daf3f44874c598746a5d6e0f00c2c04137319c6a SHA256 d705ee014e368a90b94ff6b95d2c52d840e43059a31c731fc09c73928bbf034f EBUILD rdate-0.990821-r1.ebuild 928 RMD160 4ab2b0ad0b18c20a8a9075760407ae2623fb5fe5 SHA1 2c3d2e5fa94422bcb82d7ec1eee0da408bc6cab9 SHA256 8f1619d8f405adda7725e19b5fe352b66bf3f49e477e29c2a67de76dc0dd9e80 MD5 5a0bdbfc32d6e2bb360d4537cf58daa0 rdate-0.990821-r1.ebuild 928 RMD160 4ab2b0ad0b18c20a8a9075760407ae2623fb5fe5 rdate-0.990821-r1.ebuild 928 @@ -24,14 +28,18 @@ EBUILD rdate-1.4-r1.ebuild 807 RMD160 265c7586e020845a6ce92ab675431bb15d9a6f7c S MD5 8920d727a5cba7ddde57584b1eaa632c rdate-1.4-r1.ebuild 807 RMD160 265c7586e020845a6ce92ab675431bb15d9a6f7c rdate-1.4-r1.ebuild 807 SHA256 621251dc8804bad4f8bfd9ebb4e80bf82aac66988b0c2690d7e9752bd415a450 rdate-1.4-r1.ebuild 807 +EBUILD rdate-1.4-r2.ebuild 821 RMD160 653b3bdf728eca404db094e92b57b5e768729cb9 SHA1 2379a98ae2c34ed4e7780890d624658bcfd85d05 SHA256 bea163fcc0a1a299faa31d2ac01b949a8dd0ff023e3e644592773d906c6e7a7c +MD5 8a6e9ac03cb3cb3dbc9bdac1222e5d53 rdate-1.4-r2.ebuild 821 +RMD160 653b3bdf728eca404db094e92b57b5e768729cb9 rdate-1.4-r2.ebuild 821 +SHA256 bea163fcc0a1a299faa31d2ac01b949a8dd0ff023e3e644592773d906c6e7a7c rdate-1.4-r2.ebuild 821 EBUILD rdate-1.4.ebuild 731 RMD160 67ec7130ae846bc26814a625e78804b77e1783a0 SHA1 e1ce34f6d62878c4d367175fcc7b311a542c2a82 SHA256 10673fa152b99d0069d8d10ca485b7a0b4836d93b6e998cd4396cc80bdb8f6f6 MD5 6dc24db864531b91dad260466fd9352a rdate-1.4.ebuild 731 RMD160 67ec7130ae846bc26814a625e78804b77e1783a0 rdate-1.4.ebuild 731 SHA256 10673fa152b99d0069d8d10ca485b7a0b4836d93b6e998cd4396cc80bdb8f6f6 rdate-1.4.ebuild 731 -MISC ChangeLog 4648 RMD160 27f5e431bf110426142f87a7b61907e4b7b516c8 SHA1 ac54844278129b746e8a2b88eb8d32d35a35fffa SHA256 ce42f82acfe4d4d76c69179b2d45554e6f39e40a288b1227a14c0765fcb9eff9 -MD5 2b64f7c9703ba54ed6a6b2f2a4ca66b4 ChangeLog 4648 -RMD160 27f5e431bf110426142f87a7b61907e4b7b516c8 ChangeLog 4648 -SHA256 ce42f82acfe4d4d76c69179b2d45554e6f39e40a288b1227a14c0765fcb9eff9 ChangeLog 4648 +MISC ChangeLog 4833 RMD160 a65b1b79f382f3f08074a44dd2f6a7fe6cb18afd SHA1 6b224ddcdff11d1f8c25fc97bcc9cf675ad7d47c SHA256 296ed8d11891d699d74889c7f2f8893b05730825a955eef798c5f04a1fa9bf62 +MD5 1984663e97e59144f9a1e43a39315b80 ChangeLog 4833 +RMD160 a65b1b79f382f3f08074a44dd2f6a7fe6cb18afd ChangeLog 4833 +SHA256 296ed8d11891d699d74889c7f2f8893b05730825a955eef798c5f04a1fa9bf62 ChangeLog 4833 MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223 @@ -51,3 +59,6 @@ SHA256 7abc07f96a2bdb9196cb0e68b9820e464c0b39a2b4932caa8ecf3373e1508603 files/di MD5 aa180f3f481db1e1a2242c01b36e8c44 files/digest-rdate-1.4-r1 226 RMD160 3818fa745aa4d780b7f8a337ef4b37d9b50af71e files/digest-rdate-1.4-r1 226 SHA256 7abc07f96a2bdb9196cb0e68b9820e464c0b39a2b4932caa8ecf3373e1508603 files/digest-rdate-1.4-r1 226 +MD5 aa180f3f481db1e1a2242c01b36e8c44 files/digest-rdate-1.4-r2 226 +RMD160 3818fa745aa4d780b7f8a337ef4b37d9b50af71e files/digest-rdate-1.4-r2 226 +SHA256 7abc07f96a2bdb9196cb0e68b9820e464c0b39a2b4932caa8ecf3373e1508603 files/digest-rdate-1.4-r2 226 diff --git a/net-misc/rdate/files/digest-rdate-1.4-r2 b/net-misc/rdate/files/digest-rdate-1.4-r2 new file mode 100644 index 000000000000..2d2acdae5828 --- /dev/null +++ b/net-misc/rdate/files/digest-rdate-1.4-r2 @@ -0,0 +1,3 @@ +MD5 b2e5bbfa10ec480076750fd78fe7f7a5 rdate-1.4.tar.gz 11500 +RMD160 13cfa099f6c36c589cea8325d64cce85578dfa07 rdate-1.4.tar.gz 11500 +SHA256 c8b4a026fa13f22bffe96fe0800b6ac67de72e9f62dfe5b74f1910a9179da4ee rdate-1.4.tar.gz 11500 diff --git a/net-misc/rdate/files/rdate-initd-1.4-r2 b/net-misc/rdate/files/rdate-initd-1.4-r2 new file mode 100644 index 000000000000..0805eadd9a3c --- /dev/null +++ b/net-misc/rdate/files/rdate-initd-1.4-r2 @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/files/rdate-initd-1.4-r2,v 1.1 2006/11/13 10:38:19 robbat2 Exp $ + +depend() { + before cron + need net + use dns +} + +checkconfig() { + if [ -z "${RDATE_SERVER}" ] ; then + eerror "Please edit /etc/conf.d/rdate" + eerror "I need to know what server to use!" + return 1 + fi + return 0 +} + +start() { + checkconfig || return $? + + ebegin "Setting clock via rdate" + /usr/bin/rdate -s ${RDATE_OPTS} ${RDATE_SERVER} >/dev/null & + local pid=$! + (sleep ${RDATE_TIMEOUT:-30}; kill -9 ${pid} >&/dev/null) & + wait ${pid} + eend $? "Failed to set clock" +} diff --git a/net-misc/rdate/rdate-1.4-r2.ebuild b/net-misc/rdate/rdate-1.4-r2.ebuild new file mode 100644 index 000000000000..39a41de8f782 --- /dev/null +++ b/net-misc/rdate/rdate-1.4-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/rdate-1.4-r2.ebuild,v 1.1 2006/11/13 10:38:19 robbat2 Exp $ + +inherit flag-o-matic + +DESCRIPTION="use TCP or UDP to retrieve the current time of another machine" +HOMEPAGE="http://www.freshmeat.net/projects/rdate/" +SRC_URI="ftp://people.redhat.com/sopwith/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ipv6" + +DEPEND="virtual/libc" + +src_compile() { + use ipv6 && append-flags "-DINET6" + emake RCFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install(){ + make prefix="${D}/usr" install || die "make install failed" + newinitd ${FILESDIR}/rdate-initd-1.4-r2 rdate + newconfd ${FILESDIR}/rdate-confd rdate +} |