[oe-commits] org.oe.dev openntpd: Sanitize, and drop old version

nail commit openembedded-commits at lists.openembedded.org
Mon Sep 11 07:52:39 UTC 2006


openntpd: Sanitize, and drop old version

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 2cafd7046653d0b55e1912f32b86ea74ba6b3ed7
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2cafd7046653d0b55e1912f32b86ea74ba6b3ed7
Files:
1
packages/openntpd/openntpd_3.6.1p1.bb
packages/openntpd/openntpd_3.7p1.bb
Diffs:

#
# mt diff -r85e525fe253e7b4987a26caed246a0ff30bbdcec -r2cafd7046653d0b55e1912f32b86ea74ba6b3ed7
#
# 
# 
# delete "packages/openntpd/openntpd_3.6.1p1.bb"
# 
# patch "packages/openntpd/openntpd_3.7p1.bb"
#  from [e3fe2b7bb27c8db155c9447f42cbe64ab247013d]
#    to [472657b0d7021e890fc1b40501bc3b759c1e76d1]
# 
============================================================
--- packages/openntpd/openntpd_3.7p1.bb	e3fe2b7bb27c8db155c9447f42cbe64ab247013d
+++ packages/openntpd/openntpd_3.7p1.bb	472657b0d7021e890fc1b40501bc3b759c1e76d1
@@ -1,12 +1,12 @@
-DEPENDS += "openssl"
 DESCRIPTION = "OpenNTPD is a FREE, easy to use implementation of the \
 Network Time Protocol."
 HOMEPAGE = "http://www.openntpd.org/"
-LICENSE = "BSD"
 SECTION = "console/network"
 MAINTAINER = "Oyvind Repvik <nail at nslu2-linux.org>"
+LICENSE = "BSD"
+DEPENDS += "openssl"
 DEPENDS = "timezones"
-PR="r13"
+PR = "r13"
 
 SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \
            file://autofoo.patch;patch=1 \
@@ -18,9 +18,6 @@ inherit autotools update-rc.d
 
 inherit autotools update-rc.d
 
-INITSCRIPT_NAME = "openntpd"  
-INITSCRIPT_PARAMS = "defaults"
-
 EXTRA_OECONF += "CFLAGS=-DUSE_ADJTIMEX --disable-strip --prefix=/usr \
                 --sysconfdir=/etc  --with-privsep-path=/${localstatedir}/shared/empty \
                 --with-privsep-user=ntpd \
@@ -30,17 +27,20 @@ do_install_prepend() {
 do_install_prepend() {
         install -d ${D}${sysconfdir}/init.d
 }
-
 do_install_append() {
         install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/openntpd
 }
 
-pkg_postrm () {
-        grep ntpd ${sysconfdir}/passwd && deluser ntpd 
-}
-
 pkg_postinst () {
         [ ! -d ${localstatedir}/shared ] && mkdir -p ${localstatedir}/shared
         grep ntpd ${sysconfdir}/passwd || adduser --disabled-password --home=${localstatedir}/shared/empty --ingroup nogroup ntpd
         chown root:root ${localstatedir}/shared/empty
 }
+
+pkg_postrm () {
+        grep ntpd ${sysconfdir}/passwd && deluser ntpd
+}
+
+INITSCRIPT_NAME = "openntpd"
+
+INITSCRIPT_PARAMS = "defaults"






More information about the Openembedded-commits mailing list