Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=93f6ed26afd026dc6d72dc5c56baa794c0834ea7

commit 93f6ed26afd026dc6d72dc5c56baa794c0834ea7
Author: Devil505 <[email protected]>
Date:   Sun Oct 30 10:05:02 2011 +0100

openntpd-3.9p1-9-i686
* changed m8r
* rewrite sysconf file and renamed to avoid confusion with ntp
* forcing option -s in conf file

diff --git a/source/network/openntpd/FrugalBuild 
b/source/network/openntpd/FrugalBuild
index 6facb65..fbfc30a 100644
--- a/source/network/openntpd/FrugalBuild
+++ b/source/network/openntpd/FrugalBuild
@@ -1,36 +1,36 @@
# Compiling Time: 0.08 SBU
# Contributor: Peter BARABAS <[email protected]>
-# Maintainer: voroskoi <[email protected]>
+# Maintainer: Devil505 <[email protected]>

pkgname=openntpd
pkgver=3.9p1
-pkgrel=8
+pkgrel=9
pkgdesc="A free, easy to use implementation of the Network Time Protocol."
url="http://www.openntpd.org/";
groups=('network')
archs=('i686' 'x86_64')
-backup=('etc/ntpd.conf' 'etc/sysconfig/ntpd')
+backup=('etc/sysconfig/openntpd')
depends=('openssl>=1.0.0')
up2date="lynx -dump http://www.openntpd.org/|perl -wlne 'if(/Portable OpenNTPD 
(\d\.\d(\.\d)?[a-z]\d) released/) { print \$1; exit; }'"
source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$pkgname-$pkgver.tar.gz \
-        pidfile.patch $pkgname.service ntpd.sysconfig linux-adjtimex.patch)
+        pidfile.patch $pkgname.service openntpd.sysconfig linux-adjtimex.patch)

build()
{
-        Fcd
-        Fpatchall
-        autoreconf -fi || Fdie
+       Fcd
+       Fpatchall
+       autoreconf -fi || Fdie
Fmake --with-mantype=man --with-adjtimex
Fmakeinstall
Fmkdir /var/empty/ntpd
Fmkdir lib/systemd/system/
-        Finstall 0644 $pkgname.service /lib/systemd/system/$pkgname.service
-       Ffile ntpd.sysconfig /etc/sysconfig/ntpd
+       Finstall 0644 $pkgname.service /lib/systemd/system/$pkgname.service
+       Ffile openntpd.sysconfig /etc/sysconfig/openntpd
}
sha1sums=('098a435d02886a9e4d34afb15b15fde795eda1e9' \
'7492895dda68aebdda46ebeb9393e57b608109ca' \
'e9b93060da215a53363585b45a657a349547a8a5' \
-          '51ef671195aa6cb7de1cbd74dde9275f083174ec' \
+          'da498ca69421f23688fe9f27cc6091c46592d1d0' \
'ab11f4793fa66905e8e5466c6ff0ead6719f57b6')

# optimization OK
diff --git a/source/network/openntpd/ntpd.sysconfig 
b/source/network/openntpd/ntpd.sysconfig
deleted file mode 100644
index a64d554..0000000
--- a/source/network/openntpd/ntpd.sysconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-# Here you can add custom options for ntpd.
-# By default there is no option set.
-
-NTPD_OPTIONS=""
-
-# Set  the time immediately at startup if the local clock is off by more than 
180 seconds.
-# NTPD_OPTIONS="-s"
diff --git a/source/network/openntpd/openntpd.sysconfig 
b/source/network/openntpd/openntpd.sysconfig
new file mode 100644
index 0000000..4d74143
--- /dev/null
+++ b/source/network/openntpd/openntpd.sysconfig
@@ -0,0 +1,2 @@
+#  -s Set the time immediately at startup if the local clock is off by more 
than#  180 seconds.
+PARAMS="-s"
\ No newline at end of file
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to