summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2012-08-21 12:39:10 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2012-08-21 12:39:10 +0000
commit74368a1c9876ab9963baa766a75583170e3853fb (patch)
treef04a9308ccd819b7459e7ee8a9b0808e1ff3cdff /net-misc
parentStable for x86, wrt bug #430654 (diff)
downloadhistorical-74368a1c9876ab9963baa766a75583170e3853fb.tar.gz
historical-74368a1c9876ab9963baa766a75583170e3853fb.tar.bz2
historical-74368a1c9876ab9963baa766a75583170e3853fb.zip
initial commit.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/busybox-ntpd/ChangeLog11
-rw-r--r--net-misc/busybox-ntpd/Manifest17
-rw-r--r--net-misc/busybox-ntpd/busybox-ntpd-0.1.ebuild32
-rw-r--r--net-misc/busybox-ntpd/files/busybox-ntpd.confd6
-rw-r--r--net-misc/busybox-ntpd/files/busybox-ntpd.initd21
-rw-r--r--net-misc/busybox-ntpd/metadata.xml8
6 files changed, 95 insertions, 0 deletions
diff --git a/net-misc/busybox-ntpd/ChangeLog b/net-misc/busybox-ntpd/ChangeLog
new file mode 100644
index 000000000000..2252d6838550
--- /dev/null
+++ b/net-misc/busybox-ntpd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/busybox-ntpd
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/busybox-ntpd/ChangeLog,v 1.1 2012/08/21 12:39:10 sbriesen Exp $
+
+*busybox-ntpd-0.1 (21 Aug 2012)
+
+ 21 Aug 2012; Stefan Briesenick <sbriesen@gentoo.org>
+ +busybox-ntpd-0.1.ebuild, +files/busybox-ntpd.confd,
+ +files/busybox-ntpd.initd, +metadata.xml:
+ initial commit.
+
diff --git a/net-misc/busybox-ntpd/Manifest b/net-misc/busybox-ntpd/Manifest
new file mode 100644
index 000000000000..4de40eed09aa
--- /dev/null
+++ b/net-misc/busybox-ntpd/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX busybox-ntpd.confd 186 SHA256 4bff7f5c66f4eece52e4381fd2706e591f10eb50f3c3a4132344d34150dc54de SHA512 b0ef111ea7dd6a096acf711d2d84a7c3d38e7e8c181f734053d38c565ab44ecf843ef32c0de0c4e7ecec990e97468a2545f83821beedb125cd6723ed74c67ad8 WHIRLPOOL a1b228ae22c61de6ecc7fa58edcd4c3941b3762a45fcc38d05bd1c9428bc553b1a158c101d65a99ba63d4bc19b269e834b3f0eba40a5a1c81e0ae876a2ecb42c
+AUX busybox-ntpd.initd 588 SHA256 5ae4fb5b711d7a8572cd1eba3018334e270a41d5d85d06172b94183e6c071d93 SHA512 4cf69b9672b17430d354d1659bf5cd85a3d67995b6c9823a693a7becd75731284f7e7949eef076851f870d797ab6baaf293197b4101bf46cadf14931ed5b4d63 WHIRLPOOL 56b22addc710e22edba5cde52a60b0e6a3ef0849592644f02b46e3e0519d736f1be6513419350d0c99c43d8b21a9bac3b5a0c00d749fbcd7368aaaf1dd3d188d
+EBUILD busybox-ntpd-0.1.ebuild 755 SHA256 4c73ccb422c082ef3b458d58a59e8f33b801d9854f68df15e3a512cd1badabf9 SHA512 2f5129806bc75a15bd67d1378a338d63c5b7fc40dc152f658a47dcebf6ae4fc47f513b920bb564de1f30b4c5386e8030be1a584bd8dd981c139bf9f540479243 WHIRLPOOL 20bfc6ea13ab8edf78e88971bcacdfd03fc2fe8c8247df9608ae517b3bc25b156ccad5822f8a4831c9392db0726efd620ddbab6cb8c96fa01d4d83b0630a106f
+MISC ChangeLog 423 SHA256 7bd9cd293b52137c84eb3508ad8ba2f8de081d48edb27774b683d89697514713 SHA512 2004e5213607e0bf0c542530fb92ac964f20c4168468e73ee45007851930511a8296de301c50f7b76fd177fd665f4fbfe82b34eaad43b89f0850663428c01cb9 WHIRLPOOL ca915d05e04551ce9672fad2cea8222ecd52a1ea30e4a882cae799d36288d039f9a940846b3a82a70818706593dca3b2f508ddbc8e1438841f782bee81d6c746
+MISC metadata.xml 238 SHA256 4db4ca999ffdc9f427972d4ac3b32f7512d23bea801534f3eec5d6568a245f3c SHA512 0383697e89f6736c64015db76ad2071fda8b6b9d83e548b39d5b446c63a9875dc31f5619244629826f535a9d74a764230e51fa240904bbdb386b3204c85af884 WHIRLPOOL eb055c0dce306e5b92f6fd454be32248ee838fdbd86383969ab2b052ccd0db7e601cc6114f4ebcbae76160156385bb2e89f0b05ce4834c47c54b1535b7846602
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iJwEAQEIAAYFAlAzgXMACgkQIaLonLtsQseuDwQAkFQkr89LDVgmTzk+Mfzk2LOM
+4iLDFNp8pxWxmh1x+inhykXgvjOG7udLZiytOqPPGktbHv6sAGZTAd0fv00+t6dS
+R7my76bXvqao9pLr8Hf4MBBJsEGm8f+uKz9n7cXv1bgJ/XK5+cK0jQAUZjYAmDDs
+FQxzpkuu7vi2ZnVZj28=
+=mhJs
+-----END PGP SIGNATURE-----
diff --git a/net-misc/busybox-ntpd/busybox-ntpd-0.1.ebuild b/net-misc/busybox-ntpd/busybox-ntpd-0.1.ebuild
new file mode 100644
index 000000000000..97d108181b6b
--- /dev/null
+++ b/net-misc/busybox-ntpd/busybox-ntpd-0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/busybox-ntpd/busybox-ntpd-0.1.ebuild,v 1.1 2012/08/21 12:39:10 sbriesen Exp $
+
+EAPI=4
+
+HOMEPAGE="http://www.busybox.net/"
+DESCRIPTION="Busybox ntpd symlink + init-script"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-apps/busybox"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ local CNT=$(busybox --list | egrep -c '^(ntpd)$')
+ if [ ${CNT} -ne 1 ]; then
+ die "Missing busybox feature. You need at least 'ntpd'."
+ fi
+}
+
+src_install() {
+ dosym "../bin/busybox" "/sbin/ntpd"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+}
diff --git a/net-misc/busybox-ntpd/files/busybox-ntpd.confd b/net-misc/busybox-ntpd/files/busybox-ntpd.confd
new file mode 100644
index 000000000000..f50d4c2e9179
--- /dev/null
+++ b/net-misc/busybox-ntpd/files/busybox-ntpd.confd
@@ -0,0 +1,6 @@
+# Config file for /etc/init.d/busybox-ntpd
+
+# run "/sbin/ntpd --help" to see all possible options.
+
+# Get time from specified server and run in background
+NTPD_OPTS="-N -p pool.ntp.org"
diff --git a/net-misc/busybox-ntpd/files/busybox-ntpd.initd b/net-misc/busybox-ntpd/files/busybox-ntpd.initd
new file mode 100644
index 000000000000..8347e9712872
--- /dev/null
+++ b/net-misc/busybox-ntpd/files/busybox-ntpd.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/busybox-ntpd/files/busybox-ntpd.initd,v 1.1 2012/08/21 12:39:10 sbriesen Exp $
+
+depend() {
+ use net dns logger
+ after ntp-client
+}
+
+start() {
+ ebegin "Starting busybox-ntpd"
+ start-stop-daemon --start --quiet --exec /sbin/ntpd -- ${NTPD_OPTS}
+ eend ${?} "Failed to start ntpd"
+}
+
+stop() {
+ ebegin "Stopping busybox-ntpd"
+ start-stop-daemon --stop --retry 15 --quiet --exec /sbin/ntpd
+ eend ${?} "Failed to stop ntpd"
+}
diff --git a/net-misc/busybox-ntpd/metadata.xml b/net-misc/busybox-ntpd/metadata.xml
new file mode 100644
index 000000000000..3f5f778dc2a5
--- /dev/null
+++ b/net-misc/busybox-ntpd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+</pkgmetadata>