[arch-commits] Commit in ntp/trunk (PKGBUILD)

2020-07-01 Thread Lukas Fleischer via arch-commits
Date: Wednesday, July 1, 2020 @ 17:05:10
  Author: lfleischer
Revision: 390711

upgpkg: ntp 4.2.8.p15-1: upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-01 17:05:07 UTC (rev 390710)
+++ PKGBUILD2020-07-01 17:05:10 UTC (rev 390711)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p14
+_pkgver=4.2.8p15
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service'
 'ntp.sysusers')
-sha1sums=('c6f353278cd5b7c8aa11e1189d3ac80985370b8f'
+sha1sums=('e34e5b6f48c3ed1bbcfb03080dec1b8f91e19381'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2020-03-18 Thread Lukas Fleischer via arch-commits
Date: Wednesday, March 18, 2020 @ 13:47:12
  Author: lfleischer
Revision: 377859

upgpkg: ntp 4.2.8.p14-1: upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-18 13:41:04 UTC (rev 377858)
+++ PKGBUILD2020-03-18 13:47:12 UTC (rev 377859)
@@ -4,9 +4,9 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p13
+_pkgver=4.2.8p14
 pkgver=${_pkgver/p/.p}
-pkgrel=3
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service'
 'ntp.sysusers')
-sha1sums=('cff200a987d64e891fb349a22313ecb0feaea090'
+sha1sums=('c6f353278cd5b7c8aa11e1189d3ac80985370b8f'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2020-02-08 Thread Lukas Fleischer via arch-commits
Date: Sunday, February 9, 2020 @ 06:25:57
  Author: lfleischer
Revision: 375017

upgpkg: ntp 4.2.8.p13-3: add perl dependency

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-09 06:21:37 UTC (rev 375016)
+++ PKGBUILD2020-02-09 06:25:57 UTC (rev 375017)
@@ -6,12 +6,12 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p13
 pkgver=${_pkgver/p/.p}
-pkgrel=2
+pkgrel=3
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
 arch=('x86_64')
-depends=('openssl' 'libcap' 'libedit')
+depends=('openssl' 'perl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
 
source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz;
 'ntp.conf'


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2019-03-13 Thread Lukas Fleischer via arch-commits
Date: Wednesday, March 13, 2019 @ 17:12:00
  Author: lfleischer
Revision: 347836

upgpkg: ntp 4.2.8.p13-2

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-13 15:20:55 UTC (rev 347835)
+++ PKGBUILD2019-03-13 17:12:00 UTC (rev 347836)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p12
+_pkgver=4.2.8p13
 pkgver=${_pkgver/p/.p}
 pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service'
 'ntp.sysusers')
-sha1sums=('316a0c823beb3ea12c8ce125442a0cda15c45d73'
+sha1sums=('cff200a987d64e891fb349a22313ecb0feaea090'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2018-09-26 Thread Jelle van der Waa via arch-commits
Date: Wednesday, September 26, 2018 @ 18:51:40
  Author: jelle
Revision: 335444

upgpkg: ntp 4.2.8.p12-2

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-26 18:06:43 UTC (rev 335443)
+++ PKGBUILD2018-09-26 18:51:40 UTC (rev 335444)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p11
+_pkgver=4.2.8p12
 pkgver=${_pkgver/p/.p}
 pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service'
 'ntp.sysusers')
-sha1sums=('b20352bb76963a0ef5ec07ba99c2bb97ec6b6aeb'
+sha1sums=('316a0c823beb3ea12c8ce125442a0cda15c45d73'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'


[arch-commits] Commit in ntp/trunk (PKGBUILD ntp.install ntp.sysusers)

2018-05-20 Thread Lukas Fleischer via arch-commits
Date: Sunday, May 20, 2018 @ 11:33:41
  Author: lfleischer
Revision: 324626

upgpkg: ntp 4.2.8.p11-2

Switch to systemd-sysusers.

Added:
  ntp/trunk/ntp.sysusers
Modified:
  ntp/trunk/PKGBUILD
Deleted:
  ntp/trunk/ntp.install

--+
 PKGBUILD |   11 ++-
 ntp.install  |5 -
 ntp.sysusers |2 ++
 3 files changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-20 11:27:48 UTC (rev 324625)
+++ PKGBUILD2018-05-20 11:33:41 UTC (rev 324626)
@@ -6,7 +6,7 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p11
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -16,14 +16,14 @@
 
source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz;
 'ntp.conf'
 'ntpd.service'
-'ntpdate.service')
+'ntpdate.service'
+'ntp.sysusers')
 sha1sums=('b20352bb76963a0ef5ec07ba99c2bb97ec6b6aeb'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
-  '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
-
+  '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'
+  'e8d1c895eabeb45b1a5f096fa5fc3c088eb3ee71')
 options=('!emptydirs')
-install=ntp.install
 
 build() {
cd "${srcdir}/${_pkgname}-${_pkgver}"
@@ -40,6 +40,7 @@
install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
install -Dm644 ../ntpd.service 
"${pkgdir}"/usr/lib/systemd/system/ntpd.service
install -Dm644 ../ntpdate.service 
"${pkgdir}"/usr/lib/systemd/system/ntpdate.service
+   install -Dm644 ../ntp.sysusers "${pkgdir}"/usr/lib/sysusers.d/ntp.conf
install -Dm644 COPYRIGHT 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
install -d -o 87 "${pkgdir}"/var/lib/ntp

Deleted: ntp.install
===
--- ntp.install 2018-05-20 11:27:48 UTC (rev 324625)
+++ ntp.install 2018-05-20 11:33:41 UTC (rev 324626)
@@ -1,5 +0,0 @@
-post_install() {
-   getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
-   getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp 
-c 'Network Time Protocol' -s /bin/false ntp >/dev/null
-   true
-}

Added: ntp.sysusers
===
--- ntp.sysusers(rev 0)
+++ ntp.sysusers2018-05-20 11:33:41 UTC (rev 324626)
@@ -0,0 +1,2 @@
+g ntp 87 -
+u ntp 87 "Network Time Protocol" /var/lib/ntp /bin/false


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2018-03-07 Thread Jelle van der Waa via arch-commits
Date: Wednesday, March 7, 2018 @ 18:52:11
  Author: jelle
Revision: 317996

upgpkg: ntp 4.2.8.p11-1

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-07 18:47:30 UTC (rev 317995)
+++ PKGBUILD2018-03-07 18:52:11 UTC (rev 317996)
@@ -4,9 +4,9 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p10
+_pkgver=4.2.8p11
 pkgver=${_pkgver/p/.p}
-pkgrel=2
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('503d68cfd3e6a9354e0e28dd38b39d850b1228b2'
+sha1sums=('b20352bb76963a0ef5ec07ba99c2bb97ec6b6aeb'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2017-04-24 Thread Lukas Fleischer
Date: Monday, April 24, 2017 @ 18:58:22
  Author: lfleischer
Revision: 294555

upgpkg: ntp 4.2.8.p10-2

OpenSSL 1.1.0 rebuild.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-24 15:02:48 UTC (rev 294554)
+++ PKGBUILD2017-04-24 18:58:22 UTC (rev 294555)
@@ -6,7 +6,7 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p10
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2017-04-01 Thread Lukas Fleischer
Date: Saturday, April 1, 2017 @ 13:12:11
  Author: lfleischer
Revision: 291984

upgpkg: ntp 4.2.8.p10-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-01 10:57:49 UTC (rev 291983)
+++ PKGBUILD2017-04-01 13:12:11 UTC (rev 291984)
@@ -4,9 +4,9 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p9
+_pkgver=4.2.8p10
 pkgver=${_pkgver/p/.p}
-pkgrel=2
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('032e58e7e416ffa1cbdcbb81021785fce4ed4d4b'
+sha1sums=('503d68cfd3e6a9354e0e28dd38b39d850b1228b2'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2017-02-25 Thread Lukas Fleischer
Date: Saturday, February 25, 2017 @ 15:40:00
  Author: lfleischer
Revision: 289538

upgpkg: ntp 4.2.8.p9-2

OpenSSL 1.1.0 rebuild.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-25 15:18:31 UTC (rev 289537)
+++ PKGBUILD2017-02-25 15:40:00 UTC (rev 289538)
@@ -6,7 +6,7 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p9
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-11-26 Thread Lukas Fleischer
Date: Saturday, November 26, 2016 @ 17:04:57
  Author: lfleischer
Revision: 282080

upgpkg: ntp 4.2.8.p9-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-26 16:58:31 UTC (rev 282079)
+++ PKGBUILD2016-11-26 17:04:57 UTC (rev 282080)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p8
+_pkgver=4.2.8p9
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('208ae3e2ce1237ad684c3bc818b6314d28636e46'
+sha1sums=('032e58e7e416ffa1cbdcbb81021785fce4ed4d4b'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-06-04 Thread Lukas Fleischer
Date: Saturday, June 4, 2016 @ 17:09:30
  Author: lfleischer
Revision: 268950

upgpkg: ntp 4.2.8.p8-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-04 13:54:10 UTC (rev 268949)
+++ PKGBUILD2016-06-04 15:09:30 UTC (rev 268950)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p7
+_pkgver=4.2.8p8
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('a1f6300132cf1fc6884990353aca7340daf0be0d'
+sha1sums=('208ae3e2ce1237ad684c3bc818b6314d28636e46'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-05-02 Thread Lukas Fleischer
Date: Monday, May 2, 2016 @ 20:40:13
  Author: lfleischer
Revision: 266767

upgpkg: ntp 4.2.8.p7-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-02 13:06:16 UTC (rev 266766)
+++ PKGBUILD2016-05-02 18:40:13 UTC (rev 266767)
@@ -4,9 +4,9 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p6
+_pkgver=4.2.8p7
 pkgver=${_pkgver/p/.p}
-pkgrel=3
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('7244b0fb66ceb66283480e8f83a4c4a2099f9cd7'
+sha1sums=('a1f6300132cf1fc6884990353aca7340daf0be0d'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
@@ -28,12 +28,7 @@
 build() {
cd "${srcdir}/${_pkgname}-${_pkgver}"
 
-   ./configure \
-   --prefix=/usr \
-   --libexecdir=/usr/lib \
-   --enable-linuxcaps \
-   --enable-ntp-signd \
-
+   ./configure --prefix=/usr --libexecdir=/usr/lib --enable-linuxcaps 
--enable-ntp-signd
make
 }
 


[arch-commits] Commit in ntp/trunk (PKGBUILD install ntp.install)

2016-02-07 Thread Lukas Fleischer
Date: Sunday, February 7, 2016 @ 12:19:59
  Author: lfleischer
Revision: 258938

upgpkg: ntp 4.2.8.p6-2

Fix user/group management.

Added:
  ntp/trunk/ntp.install
(from rev 258937, ntp/trunk/install)
Modified:
  ntp/trunk/PKGBUILD
Deleted:
  ntp/trunk/install

-+
 PKGBUILD|4 ++--
 install |   11 ---
 ntp.install |5 +
 3 files changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-07 11:12:36 UTC (rev 258937)
+++ PKGBUILD2016-02-07 11:19:59 UTC (rev 258938)
@@ -6,7 +6,7 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p6
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -23,7 +23,7 @@
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 
 options=('!emptydirs')
-install=install
+install=ntp.install
 
 build() {
cd "${srcdir}/${_pkgname}-${_pkgver}"

Deleted: install
===
--- install 2016-02-07 11:12:36 UTC (rev 258937)
+++ install 2016-02-07 11:19:59 UTC (rev 258938)
@@ -1,11 +0,0 @@
-post_install() {
-   getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
-   getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp 
-c 'Network Time Protocol' -s /bin/false ntp >/dev/null
-   true
-}
-
-post_remove() {
-   getent passwd ntp &>/dev/null && userdel ntp >/dev/null
-   getent group ntp &>/dev/null && groupdel ntp >/dev/null
-   true
-}

Copied: ntp/trunk/ntp.install (from rev 258937, ntp/trunk/install)
===
--- ntp.install (rev 0)
+++ ntp.install 2016-02-07 11:19:59 UTC (rev 258938)
@@ -0,0 +1,5 @@
+post_install() {
+   getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
+   getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp 
-c 'Network Time Protocol' -s /bin/false ntp >/dev/null
+   true
+}


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-02-07 Thread Evangelos Foutras
Date: Monday, February 8, 2016 @ 00:53:52
  Author: foutrelis
Revision: 258953

Rebuild due to temporarily untrusted key

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-07 23:53:19 UTC (rev 258952)
+++ PKGBUILD2016-02-07 23:53:52 UTC (rev 258953)
@@ -6,7 +6,7 @@
 _pkgname=ntp #-dev
 _pkgver=4.2.8p6
 pkgver=${_pkgver/p/.p}
-pkgrel=2
+pkgrel=3
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-01-24 Thread Lukas Fleischer
Date: Sunday, January 24, 2016 @ 15:56:37
  Author: lfleischer
Revision: 258563

upgpkg: ntp 4.2.8.p6-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-24 11:46:07 UTC (rev 258562)
+++ PKGBUILD2016-01-24 14:56:37 UTC (rev 258563)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p5
+_pkgver=4.2.8p6
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('95152c9bca8b5229a4db05943f181365bf738ab2'
+sha1sums=('7244b0fb66ceb66283480e8f83a4c4a2099f9cd7'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2016-01-17 Thread Lukas Fleischer
Date: Sunday, January 17, 2016 @ 11:31:49
  Author: lfleischer
Revision: 258374

upgpkg: ntp 4.2.8.p5-1

Upstream update.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-17 08:06:59 UTC (rev 258373)
+++ PKGBUILD2016-01-17 10:31:49 UTC (rev 258374)
@@ -1,10 +1,10 @@
-# $Id$
-# Maintainer: Gaetan Bisson 
+# Maintainer: Lukas Fleischer 
+# Contributor: Gaetan Bisson 
 # Contributor: kevin 
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p4
+_pkgver=4.2.8p5
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('a30f61f87b219ab3613def9e27f5c8e91ce38b0a'
+sha1sums=('95152c9bca8b5229a4db05943f181365bf738ab2'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2015-10-22 Thread Evangelos Foutras
Date: Thursday, October 22, 2015 @ 10:36:15
  Author: foutrelis
Revision: 249646

upgpkg: ntp 4.2.8.p4-1

New upstream release.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-22 03:51:01 UTC (rev 249645)
+++ PKGBUILD2015-10-22 08:36:15 UTC (rev 249646)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p3
+_pkgver=4.2.8p4
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -13,12 +13,11 @@
 arch=('i686' 'x86_64')
 depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
-#source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz;
-source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}-${_pkgver}.tar.gz;
+source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz;
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('fc624396f8d9f9bc282da30c8e8e527ade7d420f'
+sha1sums=('a30f61f87b219ab3613def9e27f5c8e91ce38b0a'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2015-07-01 Thread Anatol Pomozov
Date: Wednesday, July 1, 2015 @ 18:05:14
  Author: anatolik
Revision: 241666

upgpkg: ntp 4.2.8.p3-1

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-01 15:45:46 UTC (rev 241665)
+++ PKGBUILD2015-07-01 16:05:14 UTC (rev 241666)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p2
+_pkgver=4.2.8p3
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('51d014c4a38383692d0895f5b8247004942e3b38'
+sha1sums=('fc624396f8d9f9bc282da30c8e8e527ade7d420f'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2015-04-07 Thread Gaetan Bisson
Date: Tuesday, April 7, 2015 @ 21:16:51
  Author: bisson
Revision: 235594

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-07 19:14:20 UTC (rev 235593)
+++ PKGBUILD2015-04-07 19:16:51 UTC (rev 235594)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8p1
+_pkgver=4.2.8p2
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('1e6d8894bbd3456bd71aa890b02f802f2e611e86'
+sha1sums=('51d014c4a38383692d0895f5b8247004942e3b38'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2015-02-06 Thread Gaetan Bisson
Date: Friday, February 6, 2015 @ 18:21:04
  Author: bisson
Revision: 230903

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-06 16:02:32 UTC (rev 230902)
+++ PKGBUILD2015-02-06 17:21:04 UTC (rev 230903)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp #-dev
-_pkgver=4.2.8
+_pkgver=4.2.8p1
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -18,7 +18,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('6d1c017a8a0e97d5cf8bf4e5e38333973ffd22d5'
+sha1sums=('1e6d8894bbd3456bd71aa890b02f802f2e611e86'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-12-19 Thread Gaetan Bisson
Date: Friday, December 19, 2014 @ 23:34:32
  Author: bisson
Revision: 227805

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-19 21:53:50 UTC (rev 227804)
+++ PKGBUILD2014-12-19 22:34:32 UTC (rev 227805)
@@ -4,9 +4,10 @@
 
 pkgname=ntp
 _pkgname=ntp-dev
-_pkgver=4.2.7p465
-pkgver=${_pkgver/p/.p}
-pkgrel=2
+_pkgver=4.2.7p486-RC
+__pkgver=${_pkgver/p/.p}
+pkgver=${__pkgver%-RC}
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -17,7 +18,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('fa25baa9c215403c4f54ab005a65bc9eb744cdd3'
+sha1sums=('b4d88b1a817550677ebccca56bdc2c2f8369eda7'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-12-19 Thread Gaetan Bisson
Date: Saturday, December 20, 2014 @ 03:14:17
  Author: bisson
Revision: 227809

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-19 22:41:41 UTC (rev 227808)
+++ PKGBUILD2014-12-20 02:14:17 UTC (rev 227809)
@@ -3,10 +3,9 @@
 # Contributor: kevin ke...@archlinux.org
 
 pkgname=ntp
-_pkgname=ntp-dev
-_pkgver=4.2.7p486-RC
-__pkgver=${_pkgver/p/.p}
-pkgver=${__pkgver%-RC}
+_pkgname=ntp #-dev
+_pkgver=4.2.8
+pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
@@ -14,11 +13,12 @@
 arch=('i686' 'x86_64')
 depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
-source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz;
+#source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz;
+source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}-${_pkgver}.tar.gz;
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('b4d88b1a817550677ebccca56bdc2c2f8369eda7'
+sha1sums=('6d1c017a8a0e97d5cf8bf4e5e38333973ffd22d5'
   'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')


[arch-commits] Commit in ntp/trunk (PKGBUILD ntp.conf)

2014-09-07 Thread Gaetan Bisson
Date: Monday, September 8, 2014 @ 06:06:01
  Author: bisson
Revision: 221108

improve ntp.conf

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntp.conf

--+
 PKGBUILD |2 +-
 ntp.conf |   10 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-08 02:46:48 UTC (rev 221107)
+++ PKGBUILD2014-09-08 04:06:01 UTC (rev 221108)
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('fa25baa9c215403c4f54ab005a65bc9eb744cdd3'
-  '805d064098340b80ad95d115a0c59bd9f7a721b4'
+  'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
   '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 

Modified: ntp.conf
===
--- ntp.conf2014-09-08 02:46:48 UTC (rev 221107)
+++ ntp.conf2014-09-08 04:06:01 UTC (rev 221108)
@@ -1,9 +1,13 @@
+# Please consider joining the pool:
+#
+# http://www.pool.ntp.org/join.html
+#
 # For additional information see:
+# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
+# - http://support.ntp.org/bin/view/Support/GettingStarted
 # - the ntp.conf man page
-# - http://support.ntp.org/bin/view/Support/GettingStarted
-# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
 
-# Associate to public NTP pool servers; see http://www.pool.ntp.org/
+# Associate to Arch's NTP pool
 server 0.arch.pool.ntp.org
 server 1.arch.pool.ntp.org
 server 2.arch.pool.ntp.org



[arch-commits] Commit in ntp/trunk (PKGBUILD ntp.conf ntpd.service)

2014-09-07 Thread Gaetan Bisson
Date: Sunday, September 7, 2014 @ 09:06:22
  Author: bisson
Revision: 221058

implement FS#41700, remove PID file

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntp.conf
  ntp/trunk/ntpd.service

--+
 PKGBUILD |6 +++---
 ntp.conf |8 
 ntpd.service |3 +--
 3 files changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-07 00:48:41 UTC (rev 221057)
+++ PKGBUILD2014-09-07 07:06:22 UTC (rev 221058)
@@ -6,7 +6,7 @@
 _pkgname=ntp-dev
 _pkgver=4.2.7p465
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -18,8 +18,8 @@
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('fa25baa9c215403c4f54ab005a65bc9eb744cdd3'
-  'c728d3003d1476b36233695369a25ebce290aee9'
-  'c6d540074f98f57a162738f2bdae409b52cce72d'
+  '805d064098340b80ad95d115a0c59bd9f7a721b4'
+  '0a872385e0142888ab48d273fec0669b30a8'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 
 options=('!emptydirs')

Modified: ntp.conf
===
--- ntp.conf2014-09-07 00:48:41 UTC (rev 221057)
+++ ntp.conf2014-09-07 07:06:22 UTC (rev 221058)
@@ -4,10 +4,10 @@
 # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
 
 # Associate to public NTP pool servers; see http://www.pool.ntp.org/
-server 0.pool.ntp.org
-server 1.pool.ntp.org
-server 2.pool.ntp.org
-server 3.pool.ntp.org
+server 0.arch.pool.ntp.org
+server 1.arch.pool.ntp.org
+server 2.arch.pool.ntp.org
+server 3.arch.pool.ntp.org
 
 # By default, the server allows:
 # - all queries from the local host

Modified: ntpd.service
===
--- ntpd.service2014-09-07 00:48:41 UTC (rev 221057)
+++ ntpd.service2014-09-07 07:06:22 UTC (rev 221058)
@@ -6,8 +6,7 @@
 [Service]
 Type=forking
 PrivateTmp=true
-PIDFile=/run/ntpd.pid
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
 Restart=always
 
 [Install]



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-09-05 Thread Dave Reisner
Date: Friday, September 5, 2014 @ 20:55:44
  Author: dreisner
Revision: 221024

remove obsolete ntp-units.d fragment

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |3 ---
 1 file changed, 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-05 17:31:17 UTC (rev 221023)
+++ PKGBUILD2014-09-05 18:55:44 UTC (rev 221024)
@@ -49,7 +49,4 @@
 
install -d -o 87 ${pkgdir}/var/lib/ntp
echo  ${pkgdir}/var/lib/ntp/.placeholder
-
-   install -dm755 ${pkgdir}/usr/lib/systemd/ntp-units.d
-   echo 'ntpd.service'  
${pkgdir}/usr/lib/systemd/ntp-units.d/50-${pkgname}.list
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-08-28 Thread Gaetan Bisson
Date: Friday, August 29, 2014 @ 04:29:58
  Author: bisson
Revision: 220787

update sha1sums

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-29 02:28:06 UTC (rev 220786)
+++ PKGBUILD2014-08-29 02:29:58 UTC (rev 220787)
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('fa25baa9c215403c4f54ab005a65bc9eb744cdd3'
-  'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
+  'c728d3003d1476b36233695369a25ebce290aee9'
   'c6d540074f98f57a162738f2bdae409b52cce72d'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-08-25 Thread Gaetan Bisson
Date: Tuesday, August 26, 2014 @ 03:58:09
  Author: bisson
Revision: 220656

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-26 01:56:55 UTC (rev 220655)
+++ PKGBUILD2014-08-26 01:58:09 UTC (rev 220656)
@@ -4,9 +4,9 @@
 
 pkgname=ntp
 _pkgname=ntp-dev
-_pkgver=4.2.7p446
+_pkgver=4.2.7p465
 pkgver=${_pkgver/p/.p}
-pkgrel=2
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('634afa46e77c1fd7f0a797f4d46a4f0654b9ca8d'
+sha1sums=('fa25baa9c215403c4f54ab005a65bc9eb744cdd3'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'c6d540074f98f57a162738f2bdae409b52cce72d'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpd.service)

2014-08-20 Thread Gaetan Bisson
Date: Thursday, August 21, 2014 @ 03:22:53
  Author: bisson
Revision: 220490

update service file for systemd-216

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpd.service

--+
 PKGBUILD |4 ++--
 ntpd.service |1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-20 22:54:09 UTC (rev 220489)
+++ PKGBUILD2014-08-21 01:22:53 UTC (rev 220490)
@@ -6,7 +6,7 @@
 _pkgname=ntp-dev
 _pkgver=4.2.7p446
 pkgver=${_pkgver/p/.p}
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -19,7 +19,7 @@
 'ntpdate.service')
 sha1sums=('634afa46e77c1fd7f0a797f4d46a4f0654b9ca8d'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
-  'dd24216e8333e12d5080965696602591c72537b1'
+  'c6d540074f98f57a162738f2bdae409b52cce72d'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 
 options=('!emptydirs')

Modified: ntpd.service
===
--- ntpd.service2014-08-20 22:54:09 UTC (rev 220489)
+++ ntpd.service2014-08-21 01:22:53 UTC (rev 220490)
@@ -1,6 +1,7 @@
 [Unit]
 Description=Network Time Service
 After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
 
 [Service]
 Type=forking



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-06-29 Thread Gaetan Bisson
Date: Sunday, June 29, 2014 @ 18:47:51
  Author: bisson
Revision: 215577

upstream update, implement FS#41016

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-29 16:14:48 UTC (rev 215576)
+++ PKGBUILD2014-06-29 16:47:51 UTC (rev 215577)
@@ -4,7 +4,7 @@
 
 pkgname=ntp
 _pkgname=ntp-dev
-_pkgver=4.2.7p441
+_pkgver=4.2.7p446
 pkgver=${_pkgver/p/.p}
 pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
@@ -17,7 +17,7 @@
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('8113350982f92f99885f201b50df24a14201'
+sha1sums=('634afa46e77c1fd7f0a797f4d46a4f0654b9ca8d'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'dd24216e8333e12d5080965696602591c72537b1'
   '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
@@ -51,5 +51,5 @@
echo  ${pkgdir}/var/lib/ntp/.placeholder
 
install -dm755 ${pkgdir}/usr/lib/systemd/ntp-units.d
-   echo 'ntpd.service'  
${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list
+   echo 'ntpd.service'  
${pkgdir}/usr/lib/systemd/ntp-units.d/50-${pkgname}.list
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD install)

2014-05-06 Thread Gaetan Bisson
Date: Tuesday, May 6, 2014 @ 12:24:25
  Author: bisson
Revision: 212069

switch to ntp-dev, remove 2-year old upgrade compat

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/install

--+
 PKGBUILD |   32 ++--
 install  |   26 --
 2 files changed, 14 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-06 08:35:05 UTC (rev 212068)
+++ PKGBUILD2014-05-06 10:24:25 UTC (rev 212069)
@@ -3,9 +3,10 @@
 # Contributor: kevin ke...@archlinux.org
 
 pkgname=ntp
-pkgver=4.2.6.p5
-_realver=4.2.6p5
-pkgrel=19
+_pkgname=ntp-dev
+_pkgver=4.2.7p441
+pkgver=${_pkgver/p/.p}
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -13,24 +14,24 @@
 makedepends=('perl-html-parser')
 depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
-source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
+source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz;
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
-sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
+sha1sums=('8113350982f92f99885f201b50df24a14201'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'dd24216e8333e12d5080965696602591c72537b1'
-  '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'
-)
+  '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
 
+options=('!emptydirs')
 install=install
 
 build() {
-   cd ${srcdir}/${pkgname}-${_realver}
+   cd ${srcdir}/${_pkgname}-${_pkgver}
 
./configure \
--prefix=/usr \
-   --mandir=/usr/share/man \
+   --libexecdir=/usr/lib \
--enable-linuxcaps \
--enable-ntp-signd \
 
@@ -38,23 +39,18 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-${_realver}
+   cd ${srcdir}/${_pkgname}-${_pkgver}
 
make DESTDIR=${pkgdir} install
 
-   rmdir ${pkgdir}/usr/{lib,sbin}
-   install -d -o 87 ${pkgdir}/var/lib/ntp
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
install -Dm644 ../ntpd.service 
${pkgdir}/usr/lib/systemd/system/ntpd.service
install -Dm644 ../ntpdate.service 
${pkgdir}/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-   
-   cd html
-   ../scripts/html2man
-   install -d ${pkgdir}/usr/share/man
-   mv man/man* ${pkgdir}/usr/share/man
-   mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
 
+   install -d -o 87 ${pkgdir}/var/lib/ntp
+   echo  ${pkgdir}/var/lib/ntp/.placeholder
+
install -dm755 ${pkgdir}/usr/lib/systemd/ntp-units.d
echo 'ntpd.service'  
${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list
 }

Modified: install
===
--- install 2014-05-06 08:35:05 UTC (rev 212068)
+++ install 2014-05-06 10:24:25 UTC (rev 212069)
@@ -4,32 +4,6 @@
true
 }
 
-post_upgrade() {
-   if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
-   cat EOF
-
-== The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
-== If you made changes to the former, please update the latter.
-
-EOF
-   fi
-   if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
-   cat EOF
-
-== The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
-== and the new rc.d script only takes the latter into account.
-== To stop your old ntpd process, please kill it manually.
-
-EOF
-   fi
-   if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
-   post_install
-   fi
-   if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
-   chown -R ntp /var/lib/ntp
-   fi
-}
-
 post_remove() {
getent passwd ntp /dev/null  userdel ntp /dev/null
getent group ntp /dev/null  groupdel ntp /dev/null



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2014-05-06 Thread Gaetan Bisson
Date: Tuesday, May 6, 2014 @ 12:28:37
  Author: bisson
Revision: 212071

html2man has been deprecated

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-06 10:24:41 UTC (rev 212070)
+++ PKGBUILD2014-05-06 10:28:37 UTC (rev 212071)
@@ -11,7 +11,6 @@
 url='http://www.ntp.org/'
 license=('custom')
 arch=('i686' 'x86_64')
-makedepends=('perl-html-parser')
 depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
 
source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz;



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)

2014-03-10 Thread Gaetan Bisson
Date: Tuesday, March 11, 2014 @ 05:39:48
  Author: bisson
Revision: 207490

implement FS#39326

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpdate.service

-+
 PKGBUILD|4 ++--
 ntpdate.service |3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-11 02:45:16 UTC (rev 207489)
+++ PKGBUILD2014-03-11 04:39:48 UTC (rev 207490)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=18
+pkgrel=19
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -20,7 +20,7 @@
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'dd24216e8333e12d5080965696602591c72537b1'
-  'e1c48cba549b7d21501aadf513926e463884c090'
+  '059b382d1af0c55202e2d17f2ae065a2cbfec9ee'
 )
 
 install=install

Modified: ntpdate.service
===
--- ntpdate.service 2014-03-11 02:45:16 UTC (rev 207489)
+++ ntpdate.service 2014-03-11 04:39:48 UTC (rev 207490)
@@ -1,11 +1,12 @@
 [Unit]
 Description=One-Shot Network Time Service
 After=network.target nss-lookup.target
+Before=ntpd.service
 
 [Service]
 Type=oneshot
 PrivateTmp=true
-ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
+ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp
 
 [Install]
 WantedBy=multi-user.target



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpd.service)

2014-01-11 Thread Gaetan Bisson
Date: Saturday, January 11, 2014 @ 17:48:38
  Author: bisson
Revision: 203482

implement FS#38459

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpd.service

--+
 PKGBUILD |4 ++--
 ntpd.service |3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-11 16:19:45 UTC (rev 203481)
+++ PKGBUILD2014-01-11 16:48:38 UTC (rev 203482)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=17
+pkgrel=18
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -19,7 +19,7 @@
 'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
-  'ff8370719f003f184563b7d6068c03086678482f'
+  'dd24216e8333e12d5080965696602591c72537b1'
   'e1c48cba549b7d21501aadf513926e463884c090'
 )
 

Modified: ntpd.service
===
--- ntpd.service2014-01-11 16:19:45 UTC (rev 203481)
+++ ntpd.service2014-01-11 16:48:38 UTC (rev 203482)
@@ -5,7 +5,8 @@
 [Service]
 Type=forking
 PrivateTmp=true
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+PIDFile=/run/ntpd.pid
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
 Restart=always
 
 [Install]



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpd.service ntpdate)

2013-07-31 Thread Gaetan Bisson
Date: Thursday, August 1, 2013 @ 04:22:45
  Author: bisson
Revision: 191876

fix FS#36339, drop rc script

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpd.service
Deleted:
  ntp/trunk/ntpdate

--+
 PKGBUILD |4 ++--
 ntpd.service |1 -
 ntpdate  |   29 -
 3 files changed, 2 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-01 00:55:33 UTC (rev 191875)
+++ PKGBUILD2013-08-01 02:22:45 UTC (rev 191876)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=15
+pkgrel=16
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -19,7 +19,7 @@
 'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
-  'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
+  'ff8370719f003f184563b7d6068c03086678482f'
   '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
 )
 

Modified: ntpd.service
===
--- ntpd.service2013-08-01 00:55:33 UTC (rev 191875)
+++ ntpd.service2013-08-01 02:22:45 UTC (rev 191876)
@@ -6,7 +6,6 @@
 Type=forking
 PrivateTmp=true
 ExecStart=/usr/bin/ntpd -g -u ntp:ntp
-ControlGroup=cpu:/
 Restart=always
 
 [Install]

Deleted: ntpdate
===
--- ntpdate 2013-08-01 00:55:33 UTC (rev 191875)
+++ ntpdate 2013-08-01 02:22:45 UTC (rev 191876)
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ntpd.conf
-
-case $1 in
-   start)
-   stat_busy Starting NTP Client
-   if /usr/bin/ntpd -q ${NTP_CLIENT_OPTION} /dev/null; then
-   add_daemon ntpdate
-   stat_done
-   else
-   stat_fail
-   exit 1
-   fi
-   ;;
-   stop)
-   stat_busy Stopping NTP Client
-   rm_daemon ntpdate
-   stat_done
-   ;;
-   restart)
-   $0 stop
-   $0 start
-   ;;
-   *)
-   echo usage: $0 {start|stop|restart}
-esac



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)

2013-07-31 Thread Gaetan Bisson
Date: Thursday, August 1, 2013 @ 05:30:58
  Author: bisson
Revision: 191878

remove ControlGroup from ntpdate.service too

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpdate.service

-+
 PKGBUILD|4 ++--
 ntpdate.service |1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-01 02:23:42 UTC (rev 191877)
+++ PKGBUILD2013-08-01 03:30:58 UTC (rev 191878)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=16
+pkgrel=17
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -20,7 +20,7 @@
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'ff8370719f003f184563b7d6068c03086678482f'
-  '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
+  'e1c48cba549b7d21501aadf513926e463884c090'
 )
 
 install=install

Modified: ntpdate.service
===
--- ntpdate.service 2013-08-01 02:23:42 UTC (rev 191877)
+++ ntpdate.service 2013-08-01 03:30:58 UTC (rev 191878)
@@ -6,7 +6,6 @@
 Type=oneshot
 PrivateTmp=true
 ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
-ControlGroup=cpu:/
 
 [Install]
 WantedBy=multi-user.target



[arch-commits] Commit in ntp/trunk (PKGBUILD ntp.conf)

2013-07-18 Thread Gaetan Bisson
Date: Thursday, July 18, 2013 @ 09:22:34
  Author: bisson
Revision: 190826

remove obsolete comment

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntp.conf

--+
 PKGBUILD |4 ++--
 ntp.conf |3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-18 07:06:20 UTC (rev 190825)
+++ PKGBUILD2013-07-18 07:22:34 UTC (rev 190826)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=14
+pkgrel=15
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -18,7 +18,7 @@
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
-  'f6a2292c26a201d9305669e99463fb54e5603b3f'
+  'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
   'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
   '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
 )

Modified: ntp.conf
===
--- ntp.conf2013-07-18 07:06:20 UTC (rev 190825)
+++ ntp.conf2013-07-18 07:22:34 UTC (rev 190826)
@@ -17,6 +17,3 @@
 
 # Location of drift file
 driftfile /var/lib/ntp/ntp.drift
-
-# NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing
-# here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2013-05-22 Thread Gaetan Bisson
Date: Wednesday, May 22, 2013 @ 10:49:50
  Author: bisson
Revision: 186225

drop ntpdate rc.d script too

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |3 ---
 1 file changed, 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-22 07:20:41 UTC (rev 186224)
+++ PKGBUILD2013-05-22 08:49:50 UTC (rev 186225)
@@ -14,12 +14,10 @@
 depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
-'ntpdate'
 'ntp.conf'
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
-  '01394b8a952f5edc85d19df8335eeac3980320f4'
   'f6a2292c26a201d9305669e99463fb54e5603b3f'
   'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
   '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
@@ -47,7 +45,6 @@
rmdir ${pkgdir}/usr/{lib,sbin}
install -d -o 87 ${pkgdir}/var/lib/ntp
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
-   install -Dm755 ../ntpdate ${pkgdir}/etc/rc.d/ntpdate
install -Dm644 ../ntpd.service 
${pkgdir}/usr/lib/systemd/system/ntpd.service
install -Dm644 ../ntpdate.service 
${pkgdir}/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpd ntpd.conf)

2013-05-13 Thread Gaetan Bisson
Date: Monday, May 13, 2013 @ 12:05:57
  Author: bisson
Revision: 185321

remove deprecated rc script

Modified:
  ntp/trunk/PKGBUILD
Deleted:
  ntp/trunk/ntpd
  ntp/trunk/ntpd.conf

---+
 PKGBUILD  |   10 ++
 ntpd  |   47 ---
 ntpd.conf |5 -
 3 files changed, 2 insertions(+), 60 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-13 10:04:28 UTC (rev 185320)
+++ PKGBUILD2013-05-13 10:05:57 UTC (rev 185321)
@@ -12,19 +12,15 @@
 arch=('i686' 'x86_64')
 makedepends=('perl-html-parser')
 depends=('openssl' 'libcap' 'libedit')
-backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
+backup=('etc/ntp.conf')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
-'ntpd'
 'ntpdate'
 'ntp.conf'
-'ntpd.conf'
 'ntpd.service'
 'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
-  '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
   'f6a2292c26a201d9305669e99463fb54e5603b3f'
-  '4537d1f58b299d463db5048129cb264511474b0b'
   'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
   '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
 )
@@ -50,10 +46,8 @@
 
rmdir ${pkgdir}/usr/{lib,sbin}
install -d -o 87 ${pkgdir}/var/lib/ntp
-   install -Dm755 ../ntpd ${pkgdir}/etc/rc.d/ntpd
+   install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
install -Dm755 ../ntpdate ${pkgdir}/etc/rc.d/ntpdate
-   install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
-   install -Dm644 ../ntpd.conf ${pkgdir}/etc/conf.d/ntpd.conf
install -Dm644 ../ntpd.service 
${pkgdir}/usr/lib/systemd/system/ntpd.service
install -Dm644 ../ntpdate.service 
${pkgdir}/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

Deleted: ntpd
===
--- ntpd2013-05-13 10:04:28 UTC (rev 185320)
+++ ntpd2013-05-13 10:05:57 UTC (rev 185321)
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ntpd.conf
-
-unset PID
-PIDFILE='/run/ntpd.pid'
-
-if [[ -r ${PIDFILE} ]]; then
-   read -r PID ${PIDFILE}
-   if [[ -n ${PID}  ! -d /proc/${PID} ]]; then
-   rm -f ${PIDFILE}
-   unset PID
-   fi
-fi
-
-case $1 in
-   start)
-   stat_busy Starting NTP Daemon
-   if [[ -z ${PID} ]]  /usr/bin/ntpd ${NTPD_ARGS} -p 
${PIDFILE} /dev/null; then 
-   add_daemon ntpd
-   stat_done
-   else
-   stat_fail
-   exit 1
-   fi
-   ;;
-   stop)
-   stat_busy Stopping NTP Daemon
-   if [[ -n ${PID} ]]  kill ${PID} /dev/null; then
-   rm ${PIDFILE}
-   rm_daemon ntpd
-   stat_done
-   else
-   stat_fail
-   exit 1
-   fi
-   ;;
-   restart)
-   $0 stop
-   sleep 1
-   $0 start
-   ;;
-   *)
-   echo usage: $0 {start|stop|restart}
-esac

Deleted: ntpd.conf
===
--- ntpd.conf   2013-05-13 10:04:28 UTC (rev 185320)
+++ ntpd.conf   2013-05-13 10:05:57 UTC (rev 185321)
@@ -1,5 +0,0 @@
-# client options for ntpd -q - ntpdate equivalent
-NTP_CLIENT_OPTION=-g -u ntp
-
-# arguments passed to ntpd when started
-NTPD_ARGS=-g -u ntp



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2013-05-06 Thread Gaetan Bisson
Date: Monday, May 6, 2013 @ 12:26:44
  Author: bisson
Revision: 184341

implement FS#35111

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-06 10:25:44 UTC (rev 184340)
+++ PKGBUILD2013-05-06 10:26:44 UTC (rev 184341)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=13
+pkgrel=14
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -38,6 +38,7 @@
--prefix=/usr \
--mandir=/usr/share/man \
--enable-linuxcaps \
+   --enable-ntp-signd \
 
make
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-12-21 Thread Gaetan Bisson
Date: Saturday, December 22, 2012 @ 00:23:55
  Author: bisson
Revision: 173729

just make the libedit dep hard, FS#33124

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-22 03:16:03 UTC (rev 173728)
+++ PKGBUILD2012-12-22 05:23:55 UTC (rev 173729)
@@ -10,9 +10,8 @@
 url='http://www.ntp.org/'
 license=('custom')
 arch=('i686' 'x86_64')
-depends=('openssl' 'libcap')
-optdepends=('libedit: ntpdc, ntpq')
-makedepends=('perl-html-parser' 'libedit')
+makedepends=('perl-html-parser')
+depends=('openssl' 'libcap' 'libedit')
 backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
 'ntpd'



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-12-18 Thread Gaetan Bisson
Date: Tuesday, December 18, 2012 @ 17:52:21
  Author: bisson
Revision: 173321

fix FS#33124

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-18 21:43:54 UTC (rev 173320)
+++ PKGBUILD2012-12-18 22:52:21 UTC (rev 173321)
@@ -5,13 +5,14 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=12
+pkgrel=13
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
 arch=('i686' 'x86_64')
-makedepends=('perl-html-parser')
-depends=('openssl' 'readline' 'libcap')
+depends=('openssl' 'libcap')
+optdepends=('libedit: ntpdc, ntpq')
+makedepends=('perl-html-parser' 'libedit')
 backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
 'ntpd'



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpdate.service)

2012-12-13 Thread Gaetan Bisson
Date: Thursday, December 13, 2012 @ 22:14:18
  Author: bisson
Revision: 173223

fix FS#33090

Added:
  ntp/trunk/ntpdate.service
Modified:
  ntp/trunk/PKGBUILD

-+
 PKGBUILD|   16 ++--
 ntpdate.service |   12 
 2 files changed, 22 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-14 01:35:42 UTC (rev 173222)
+++ PKGBUILD2012-12-14 03:14:18 UTC (rev 173223)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=11
+pkgrel=12
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -18,13 +18,16 @@
 'ntpdate'
 'ntp.conf'
 'ntpd.conf'
-'ntpd.service')
+'ntpd.service'
+'ntpdate.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
   'f6a2292c26a201d9305669e99463fb54e5603b3f'
   '4537d1f58b299d463db5048129cb264511474b0b'
-  'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95')
+  'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
+  '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
+)
 
 install=install
 
@@ -40,7 +43,7 @@
 }
 
 package() {
-   cd ${srcdir}/${pkgname}-$_realver
+   cd ${srcdir}/${pkgname}-${_realver}
 
make DESTDIR=${pkgdir} install
 
@@ -51,6 +54,7 @@
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
install -Dm644 ../ntpd.conf ${pkgdir}/etc/conf.d/ntpd.conf
install -Dm644 ../ntpd.service 
${pkgdir}/usr/lib/systemd/system/ntpd.service
+   install -Dm644 ../ntpdate.service 
${pkgdir}/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

cd html
@@ -59,6 +63,6 @@
mv man/man* ${pkgdir}/usr/share/man
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
 
-   install -dm755 $pkgdir/usr/lib/systemd/ntp-units.d
-   echo ntpd.service  
$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list
+   install -dm755 ${pkgdir}/usr/lib/systemd/ntp-units.d
+   echo 'ntpd.service'  
${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list
 }

Added: ntpdate.service
===
--- ntpdate.service (rev 0)
+++ ntpdate.service 2012-12-14 03:14:18 UTC (rev 173223)
@@ -0,0 +1,12 @@
+[Unit]
+Description=One-Shot Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=oneshot
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
+ControlGroup=cpu:/
+
+[Install]
+WantedBy=multi-user.target



[arch-commits] Commit in ntp/trunk (PKGBUILD logrotate.d ntp.conf)

2012-11-13 Thread Gaetan Bisson
Date: Tuesday, November 13, 2012 @ 22:01:20
  Author: bisson
Revision: 170958

implement FS#32606

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntp.conf
Deleted:
  ntp/trunk/logrotate.d

-+
 PKGBUILD|7 ++-
 logrotate.d |4 
 ntp.conf|3 +--
 3 files changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-14 02:54:08 UTC (rev 170957)
+++ PKGBUILD2012-11-14 03:01:20 UTC (rev 170958)
@@ -18,15 +18,13 @@
 'ntpdate'
 'ntp.conf'
 'ntpd.conf'
-'logrotate.d'
 'ntpd.service')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
-  'eb1f63814b9adbd3d518e880fa3b38c375f0fe91'
+  'f6a2292c26a201d9305669e99463fb54e5603b3f'
   '4537d1f58b299d463db5048129cb264511474b0b'
-  '4f76f7f9ffc8315ff9924f793f272d4f6939b816'
-  '25a27cecdb937f48fa7b7c71dcc8b31cdad89306')
+  'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95')
 
 install=install
 
@@ -52,7 +50,6 @@
install -Dm755 ../ntpdate ${pkgdir}/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
install -Dm644 ../ntpd.conf ${pkgdir}/etc/conf.d/ntpd.conf
-   install -Dm644 ../logrotate.d ${pkgdir}/etc/logrotate.d/ntpd
install -Dm644 ../ntpd.service 
${pkgdir}/usr/lib/systemd/system/ntpd.service
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE


Deleted: logrotate.d
===
--- logrotate.d 2012-11-14 02:54:08 UTC (rev 170957)
+++ logrotate.d 2012-11-14 03:01:20 UTC (rev 170958)
@@ -1,4 +0,0 @@
-/var/log/ntp.log {
-   missingok
-   copytruncate
-}

Modified: ntp.conf
===
--- ntp.conf2012-11-14 02:54:08 UTC (rev 170957)
+++ ntp.conf2012-11-14 03:01:20 UTC (rev 170958)
@@ -15,9 +15,8 @@
 restrict 127.0.0.1
 restrict ::1
 
-# Location of drift and log files
+# Location of drift file
 driftfile /var/lib/ntp/ntp.drift
-logfile /var/log/ntp.log
 
 # NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing
 # here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-08-21 Thread Dave Reisner
Date: Tuesday, August 21, 2012 @ 11:28:40
  Author: dreisner
Revision: 165510

upgpkg: ntp 4.2.6.p5-11

- correct the path, for realzies this time
  - upstream creates one directory on install, reads from another, documents 
none of it.

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-08-21 14:11:50 UTC (rev 165509)
+++ PKGBUILD2012-08-21 15:28:40 UTC (rev 165510)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=10
+pkgrel=11
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -62,6 +62,6 @@
mv man/man* ${pkgdir}/usr/share/man
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
 
-   install -dm755 $pkgdir/usr/lib/ntp-units.d
-   echo ntpd.service  $pkgdir/usr/lib/ntp-units.d/$pkgname.list
+   install -dm755 $pkgdir/usr/lib/systemd/ntp-units.d
+   echo ntpd.service  
$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD ntpd.service)

2012-08-20 Thread Dave Reisner
Date: Monday, August 20, 2012 @ 13:36:13
  Author: dreisner
Revision: 165485

upgpkg: ntp 4.2.6.p5-8

- install ntp-units.d file to placate systemd-timedated
- fixup service file:
  - remove non-existant After= target, replace with nss-lookup
since we dep on user/group by name
  - Add -g option to match sysvinit defaults

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntpd.service

--+
 PKGBUILD |7 +--
 ntpd.service |4 ++--
 2 files changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-08-20 17:34:11 UTC (rev 165484)
+++ PKGBUILD2012-08-20 17:36:13 UTC (rev 165485)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=7
+pkgrel=8
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -26,7 +26,7 @@
   'eb1f63814b9adbd3d518e880fa3b38c375f0fe91'
   '4537d1f58b299d463db5048129cb264511474b0b'
   '4f76f7f9ffc8315ff9924f793f272d4f6939b816'
-  '81df5c4d51cb69bc29363625ff49e2bd388d1fa9')
+  '25a27cecdb937f48fa7b7c71dcc8b31cdad89306')
 
 install=install
 
@@ -61,4 +61,7 @@
install -d ${pkgdir}/usr/share/man
mv man/man* ${pkgdir}/usr/share/man
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
+
+   install -dm755 $pkgdir/usr/lib/ntp-units.d
+   echo $pkgname  $pkgdir/usr/lib/ntp-units.d/$pkgname
 }

Modified: ntpd.service
===
--- ntpd.service2012-08-20 17:34:11 UTC (rev 165484)
+++ ntpd.service2012-08-20 17:36:13 UTC (rev 165485)
@@ -1,11 +1,11 @@
 [Unit]
 Description=Network Time Service
-BindTo=systemd-timedated-ntp.target
+After=network.target nss-lookup.target
 
 [Service]
 Type=forking
 PrivateTmp=true
-ExecStart=/usr/bin/ntpd -u ntp:ntp
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
 ControlGroup=cpu:/
 
 [Install]



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-08-20 Thread Dave Reisner
Date: Monday, August 20, 2012 @ 13:53:49
  Author: dreisner
Revision: 165487

upgpkg: ntp 4.2.6.p5-9

- ntp-units.d file must be a service file, not binary name

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-08-20 17:36:37 UTC (rev 165486)
+++ PKGBUILD2012-08-20 17:53:49 UTC (rev 165487)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=8
+pkgrel=9
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -63,5 +63,5 @@
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
 
install -dm755 $pkgdir/usr/lib/ntp-units.d
-   echo $pkgname  $pkgdir/usr/lib/ntp-units.d/$pkgname
+   echo ntpd.service  $pkgdir/usr/lib/ntp-units.d/$pkgname
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-08-20 Thread Dave Reisner
Date: Monday, August 20, 2012 @ 15:13:52
  Author: dreisner
Revision: 165489

upgpkg: ntp 4.2.6.p5-10

Why can't this spec just be properly documented...
- $pkgname - $pkgname.list

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-08-20 17:54:13 UTC (rev 165488)
+++ PKGBUILD2012-08-20 19:13:52 UTC (rev 165489)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=9
+pkgrel=10
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -63,5 +63,5 @@
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
 
install -dm755 $pkgdir/usr/lib/ntp-units.d
-   echo ntpd.service  $pkgdir/usr/lib/ntp-units.d/$pkgname
+   echo ntpd.service  $pkgdir/usr/lib/ntp-units.d/$pkgname.list
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD install)

2012-03-01 Thread Gaetan Bisson
Date: Thursday, March 1, 2012 @ 16:35:25
  Author: bisson
Revision: 151735

fix /var/lib/ntp perms

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/install

--+
 PKGBUILD |2 +-
 install  |3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-01 20:07:28 UTC (rev 151734)
+++ PKGBUILD2012-03-01 21:35:25 UTC (rev 151735)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=5
+pkgrel=6
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')

Modified: install
===
--- install 2012-03-01 20:07:28 UTC (rev 151734)
+++ install 2012-03-01 21:35:25 UTC (rev 151735)
@@ -25,6 +25,9 @@
if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
post_install
fi
+   if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
+   chown -R ntp /var/lib/ntp
+   fi
 }
 
 post_remove() {



[arch-commits] Commit in ntp/trunk (PKGBUILD ntp.conf)

2012-02-29 Thread Gaetan Bisson
Date: Wednesday, February 29, 2012 @ 16:29:14
  Author: bisson
Revision: 151694

fix FS#28703 again

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/ntp.conf

--+
 PKGBUILD |4 ++--
 ntp.conf |8 +---
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-29 21:24:24 UTC (rev 151693)
+++ PKGBUILD2012-02-29 21:29:14 UTC (rev 151694)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=4
+pkgrel=5
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -22,7 +22,7 @@
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
-  'c18b0e35068a06500e1556889b54194e3a63a056'
+  'eb1f63814b9adbd3d518e880fa3b38c375f0fe91'
   '4537d1f58b299d463db5048129cb264511474b0b'
   '4f76f7f9ffc8315ff9924f793f272d4f6939b816')
 

Modified: ntp.conf
===
--- ntp.conf2012-02-29 21:24:24 UTC (rev 151693)
+++ ntp.conf2012-02-29 21:29:14 UTC (rev 151694)
@@ -6,12 +6,14 @@
 # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
 
 # Associate to public NTP pool servers; see http://www.pool.ntp.org/
-pool pool.ntp.org
+server 0.pool.ntp.org
+server 1.pool.ntp.org
+server 2.pool.ntp.org
 
 # Only allow read-only access from localhost
 restrict default noquery nopeer
-restrict 127.0.0.1 noserve nomodify
-restrict ::1 noserve nomodify
+restrict 127.0.0.1
+restrict ::1
 
 # Location of drift and log files
 driftfile /var/lib/ntp/ntp.drift



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2012-02-28 Thread Gaetan Bisson
Date: Tuesday, February 28, 2012 @ 17:07:06
  Author: bisson
Revision: 151626

fix sha1sums

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-28 21:59:06 UTC (rev 151625)
+++ PKGBUILD2012-02-28 22:07:06 UTC (rev 151626)
@@ -22,7 +22,7 @@
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
-  'f6fa4838a33a3abcdd168a37b3f4a260472e'
+  'f358e99a6b27e73a955b7c369781b27aab17731c'
   '6cfcb7bbd34499b30e31dffca2f3e1a036010271'
   '4f76f7f9ffc8315ff9924f793f272d4f6939b816')
 



[arch-commits] Commit in ntp/trunk (PKGBUILD install ntpd.conf)

2012-02-28 Thread Gaetan Bisson
Date: Tuesday, February 28, 2012 @ 20:31:28
  Author: bisson
Revision: 151632

fix FS#28704

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/install
  ntp/trunk/ntpd.conf

---+
 PKGBUILD  |   10 +-
 install   |   15 +++
 ntpd.conf |4 ++--
 3 files changed, 22 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-29 01:24:10 UTC (rev 151631)
+++ PKGBUILD2012-02-29 01:31:28 UTC (rev 151632)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=3
+pkgrel=4
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -22,8 +22,8 @@
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
-  'f358e99a6b27e73a955b7c369781b27aab17731c'
-  '6cfcb7bbd34499b30e31dffca2f3e1a036010271'
+  'c18b0e35068a06500e1556889b54194e3a63a056'
+  '4537d1f58b299d463db5048129cb264511474b0b'
   '4f76f7f9ffc8315ff9924f793f272d4f6939b816')
 
 install=install
@@ -34,7 +34,7 @@
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
-   --enable-linux-caps \
+   --enable-linuxcaps \
 
make
 }
@@ -45,7 +45,7 @@
make DESTDIR=${pkgdir} install
 
rmdir ${pkgdir}/usr/{lib,sbin}
-   install -d ${pkgdir}/var/lib/ntp
+   install -d -o 87 ${pkgdir}/var/lib/ntp
install -Dm755 ../ntpd ${pkgdir}/etc/rc.d/ntpd
install -Dm755 ../ntpdate ${pkgdir}/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf

Modified: install
===
--- install 2012-02-29 01:24:10 UTC (rev 151631)
+++ install 2012-02-29 01:31:28 UTC (rev 151632)
@@ -1,3 +1,9 @@
+post_install() {
+   getent group ntp /dev/null || groupadd -g 87 ntp /dev/null
+   getent passwd ntp /dev/null || useradd -u 87 -g ntp -d /var/lib/ntp 
-c 'Network Time Protocol' -s /bin/false ntp /dev/null
+   true
+}
+
 post_upgrade() {
if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
cat EOF
@@ -16,4 +22,13 @@
 
 EOF
fi
+   if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
+   post_install
+   fi
 }
+
+post_remove() {
+   getent passwd ntp /dev/null  userdel ntp /dev/null
+   getent group ntp /dev/null  groupdel ntp /dev/null
+   true
+}

Modified: ntpd.conf
===
--- ntpd.conf   2012-02-29 01:24:10 UTC (rev 151631)
+++ ntpd.conf   2012-02-29 01:31:28 UTC (rev 151632)
@@ -1,5 +1,5 @@
 # client options for ntpd -q - ntpdate equivalent
-NTP_CLIENT_OPTION=-g
+NTP_CLIENT_OPTION=-g -u ntp
 
 # arguments passed to ntpd when started
-NTPD_ARGS=-g
+NTPD_ARGS=-g -u ntp



[arch-commits] Commit in ntp/trunk (PKGBUILD logrotate.d)

2012-02-20 Thread Gaetan Bisson
Date: Monday, February 20, 2012 @ 20:04:12
  Author: bisson
Revision: 150712

implement FS#28552

Added:
  ntp/trunk/logrotate.d
Modified:
  ntp/trunk/PKGBUILD

-+
 PKGBUILD|   23 +++
 logrotate.d |4 
 2 files changed, 15 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-20 23:34:53 UTC (rev 150711)
+++ PKGBUILD2012-02-21 01:04:12 UTC (rev 150712)
@@ -5,24 +5,26 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=2
+pkgrel=3
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
 arch=('i686' 'x86_64')
+makedepends=('perl-html-parser')
 depends=('openssl' 'readline' 'libcap')
-makedepends=('perl-html-parser')
 backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz;
 'ntpd'
 'ntpdate'
 'ntp.conf'
-'ntpd.conf')
+'ntpd.conf'
+'logrotate.d')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '4e324e625c1f080b5c028be5092aa71adbf9bd99'
   '01394b8a952f5edc85d19df8335eeac3980320f4'
   'f6fa4838a33a3abcdd168a37b3f4a260472e'
-  '6cfcb7bbd34499b30e31dffca2f3e1a036010271')
+  '6cfcb7bbd34499b30e31dffca2f3e1a036010271'
+  '4f76f7f9ffc8315ff9924f793f272d4f6939b816')
 
 install=install
 
@@ -42,21 +44,18 @@
 
make DESTDIR=${pkgdir} install
 
+   rmdir ${pkgdir}/usr/{lib,sbin}
+   install -d ${pkgdir}/var/lib/ntp
install -Dm755 ../ntpd ${pkgdir}/etc/rc.d/ntpd
install -Dm755 ../ntpdate ${pkgdir}/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf ${pkgdir}/etc/ntp.conf
install -Dm644 ../ntpd.conf ${pkgdir}/etc/conf.d/ntpd.conf
-
+   install -Dm644 ../logrotate.d ${pkgdir}/etc/logrotate.d/ntpd
+   install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   
cd html
../scripts/html2man
install -d ${pkgdir}/usr/share/man
mv man/man* ${pkgdir}/usr/share/man
mv ${pkgdir}/usr/share/man/man8/ntpd.8 
${pkgdir}/usr/share/man/man8/ntp-ntpd.8 # we should ditch openntpd
-   cd ..
-
-   rmdir ${pkgdir}/usr/{lib,sbin}
-   install -d ${pkgdir}/var/lib/ntp
-   install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
-   touch ${pkgdir}/var/lib/ntp/.placeholder
 }

Added: logrotate.d
===
--- logrotate.d (rev 0)
+++ logrotate.d 2012-02-21 01:04:12 UTC (rev 150712)
@@ -0,0 +1,4 @@
+/var/log/ntp.log {
+   missingok
+   copytruncate
+}



[arch-commits] Commit in ntp/trunk (PKGBUILD install ntpd ntpdate)

2011-12-26 Thread Gaetan Bisson
Date: Monday, December 26, 2011 @ 21:23:27
  Author: bisson
Revision: 145677

implement FS#27728

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/install
  ntp/trunk/ntpd
  ntp/trunk/ntpdate

--+
 PKGBUILD |9 +++---
 install  |9 ++
 ntpd |   81 -
 ntpdate  |   44 +++--
 4 files changed, 73 insertions(+), 70 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-12-26 22:21:16 UTC (rev 145676)
+++ PKGBUILD2011-12-27 02:23:27 UTC (rev 145677)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p5
 _realver=4.2.6p5
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -19,8 +19,8 @@
 'ntp.conf'
 'ntpd.conf')
 sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
-  '97b41b8bc34f259f4e525ab2e58707c9724e72e2'
-  '63572457586379aa6bf75b6e899e71d651e643f4'
+  '4e324e625c1f080b5c028be5092aa71adbf9bd99'
+  '01394b8a952f5edc85d19df8335eeac3980320f4'
   'f6fa4838a33a3abcdd168a37b3f4a260472e'
   '6cfcb7bbd34499b30e31dffca2f3e1a036010271')
 
@@ -29,7 +29,8 @@
 build() {
cd ${srcdir}/${pkgname}-${_realver}
 
-   ./configure --prefix=/usr \
+   ./configure \
+   --prefix=/usr \
--mandir=/usr/share/man \
--enable-linux-caps \
 

Modified: install
===
--- install 2011-12-26 22:21:16 UTC (rev 145676)
+++ install 2011-12-27 02:23:27 UTC (rev 145677)
@@ -7,4 +7,13 @@
 
 EOF
fi
+   if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
+   cat EOF
+
+== The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
+== and the new rc.d script only takes the latter into account.
+== To stop your old ntpd process, please kill it manually.
+
+EOF
+   fi
 }

Modified: ntpd
===
--- ntpd2011-12-26 22:21:16 UTC (rev 145676)
+++ ntpd2011-12-27 02:23:27 UTC (rev 145677)
@@ -4,49 +4,44 @@
 . /etc/rc.d/functions
 . /etc/conf.d/ntpd.conf
 
-PIDFILE=/var/run/ntpd/ntpd.pid
-PID=$(cat $PIDFILE 2 /dev/null)
+unset PID
+PIDFILE='/run/ntpd.pid'
 
+if [[ -r ${PIDFILE} ]]; then
+   read -r PID ${PIDFILE}
+   if [[ -n ${PID}  ! -d /proc/${PID} ]]; then
+   rm -f ${PIDFILE}
+   unset PID
+   fi
+fi
+
 case $1 in
-  start)
-stat_busy Starting NTP Daemon
-[ ! -d /var/run/ntpd ]  install -d /var/run/ntpd /dev/null
-if [ -z $PID ]; then 
-   /usr/bin/ntpd $NTPD_ARGS -p /var/run/ntpd/ntpd.pid /dev/null
-  if [ $? -gt 0 ]; then
-stat_fail
-exit 1
-  else
-add_daemon ntpd
-stat_done
-  fi
-else
-  stat_fail
-  exit 1
-fi
-;;
-  stop)
-stat_busy Stopping NTP Daemon
-if [ -n $PID ]; then
-  kill $PID  /dev/null
-  if [ $? -gt 0 ]; then
-stat_fail
-exit 1
-  else
-rm $PIDFILE /dev/null
-rm_daemon ntpd
-stat_done
-  fi
-else
-  stat_fail
-  exit 1
-fi
-;;
-  restart)
-$0 stop
-sleep 1
-$0 start
-;;
-  *)
-echo usage: $0 {start|stop|restart}  
+   start)
+   stat_busy Starting NTP Daemon
+   if [[ -z ${PID} ]]  /usr/bin/ntpd ${NTPD_ARGS} -p 
${PIDFILE} /dev/null; then 
+   add_daemon ntpd
+   stat_done
+   else
+   stat_fail
+   exit 1
+   fi
+   ;;
+   stop)
+   stat_busy Stopping NTP Daemon
+   if [[ -n ${PID} ]]  kill ${PID} /dev/null; then
+   rm ${PIDFILE}
+   rm_daemon ntpd
+   stat_done
+   else
+   stat_fail
+   exit 1
+   fi
+   ;;
+   restart)
+   $0 stop
+   sleep 1
+   $0 start
+   ;;
+   *)
+   echo usage: $0 {start|stop|restart}
 esac

Modified: ntpdate
===
--- ntpdate 2011-12-26 22:21:16 UTC (rev 145676)
+++ ntpdate 2011-12-27 02:23:27 UTC (rev 145677)
@@ -5,27 +5,25 @@
 . /etc/conf.d/ntpd.conf
 
 case $1 in
-  start)
-stat_busy Starting NTP Client
-/usr/bin/ntpd -q $NTP_CLIENT_OPTION  /dev/null
-if [ $? -gt 0 ]; then
-  stat_fail
-  exit 1
-else
-  add_daemon ntpdate
-  stat_done
-fi
-;;
-  stop)
-stat_busy Stopping NTP Client
-rm_daemon ntpdate
-stat_done
-;;
-  restart)
-$0 stop
-$0 start
-;;
-  *)
-echo usage: $0 {start|stop|restart}  
+   start)
+   stat_busy 

[arch-commits] Commit in ntp/trunk (PKGBUILD)

2011-12-25 Thread Gaetan Bisson
Date: Sunday, December 25, 2011 @ 05:44:12
  Author: bisson
Revision: 145632

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-12-25 08:19:27 UTC (rev 145631)
+++ PKGBUILD2011-12-25 10:44:12 UTC (rev 145632)
@@ -3,9 +3,9 @@
 # Contributor: kevin ke...@archlinux.org
 
 pkgname=ntp
-pkgver=4.2.6.p4
-_realver=4.2.6p4
-pkgrel=2
+pkgver=4.2.6.p5
+_realver=4.2.6p5
+pkgrel=1
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -18,7 +18,7 @@
 'ntpdate'
 'ntp.conf'
 'ntpd.conf')
-sha1sums=('b53c4565c5d1c37494584d4fb826f82ffea285cf'
+sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
   '97b41b8bc34f259f4e525ab2e58707c9724e72e2'
   '63572457586379aa6bf75b6e899e71d651e643f4'
   'f6fa4838a33a3abcdd168a37b3f4a260472e'



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2011-11-30 Thread Andrea Scarpino
Date: Wednesday, November 30, 2011 @ 16:29:03
  Author: andrea
Revision: 143931

Fix md5sum

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-30 21:28:59 UTC (rev 143930)
+++ PKGBUILD2011-11-30 21:29:03 UTC (rev 143931)
@@ -21,7 +21,7 @@
 sha1sums=('b53c4565c5d1c37494584d4fb826f82ffea285cf'
   '97b41b8bc34f259f4e525ab2e58707c9724e72e2'
   '63572457586379aa6bf75b6e899e71d651e643f4'
-  '6d2d234afb1db2dcb940747a62f70217246a3d13'
+  'f6fa4838a33a3abcdd168a37b3f4a260472e'
   '6cfcb7bbd34499b30e31dffca2f3e1a036010271')
 
 install=install



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2011-11-05 Thread Gaetan Bisson
Date: Sunday, November 6, 2011 @ 01:53:25
  Author: bisson
Revision: 142200

upstream update

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-06 05:47:47 UTC (rev 142199)
+++ PKGBUILD2011-11-06 05:53:25 UTC (rev 142200)
@@ -5,7 +5,7 @@
 pkgname=ntp
 pkgver=4.2.6.p4
 _realver=4.2.6p4
-pkgrel=1
+pkgrel=2
 pkgdesc='Network Time Protocol reference implementation'
 url='http://www.ntp.org/'
 license=('custom')
@@ -56,4 +56,6 @@
rmdir ${pkgdir}/usr/{lib,sbin}
install -d ${pkgdir}/var/lib/ntp
install -Dm644 COPYRIGHT 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+   touch ${pkgdir}/var/lib/ntp/.placeholder
 }



[arch-commits] Commit in ntp/trunk (PKGBUILD changelog ntpd ntpdate)

2011-04-03 Thread Andrea Scarpino
Date: Sunday, April 3, 2011 @ 13:50:26
  Author: andrea
Revision: 117473

Use ntpd -p to create a pidfile (fixes FS#23473); fix minor errors in ntpdate 
(FS#22981); don't run the ntp client in background (FS#23572)

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/changelog
  ntp/trunk/ntpd
  ntp/trunk/ntpdate

---+
 PKGBUILD  |4 ++--
 changelog |6 ++
 ntpd  |   16 +++-
 ntpdate   |7 ---
 4 files changed, 19 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-04-03 17:27:41 UTC (rev 117472)
+++ PKGBUILD2011-04-03 17:50:26 UTC (rev 117473)
@@ -4,7 +4,7 @@
 pkgname=ntp
 pkgver=4.2.6.p3
 _realver=4.2.6p3
-pkgrel=2
+pkgrel=3
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
@@ -22,7 +22,7 @@
ntpdate)
 md5sums=('59876a9009b098ff59767ee45a88ebd2' '1b04e888717bb31479a6087632981723'
  '398a7f270f6ae083f47f86eb8b557a75' '58997d6cf4846d80e35a01b855376a33'
- '2d8703c47ebd7a7196fe581d10f391e8' '9f3a53447bf1af161fbd498ecdf6')
+ 'bf20804e75656609e808ca21b53ea4aa' '99b49d763e5866f4f81c48d922c80b93')
 
 build() {
   cd $srcdir/$pkgname-$_realver

Modified: changelog
===
--- changelog   2011-04-03 17:27:41 UTC (rev 117472)
+++ changelog   2011-04-03 17:50:26 UTC (rev 117473)
@@ -1,3 +1,9 @@
+2011-04-03  andrea and...@archlinux.org
+
+* ntp 4.2.6p3-3
+- Use 'ntpd -p' to get the PID in ntpd
+- Don't run the ntp client in background in ntpdate
+
 2011-03-28  andrea and...@archlinux.org
 
 * ntp 4.2.6p3-2

Modified: ntpd
===
--- ntpd2011-04-03 17:27:41 UTC (rev 117472)
+++ ntpd2011-04-03 17:50:26 UTC (rev 117473)
@@ -4,21 +4,19 @@
 . /etc/rc.d/functions
 . /etc/conf.d/ntp-client.conf
 
-getPID() {
-   echo $(pidof -o %PPID /usr/bin/ntpd);
-}
+PIDFILE=/var/run/ntpd/ntpd.pid
+PID=$(cat $PIDFILE 2 /dev/null)
 
 case $1 in
   start)
 stat_busy Starting NTP Daemon
 [ ! -d /var/run/ntpd ]  install -d /var/run/ntpd /dev/null
-if [ -z $(getPID) ]; then 
-   /usr/bin/ntpd $NTPD_ARGS /dev/null 
+if [ -z $PID ]; then 
+   /usr/bin/ntpd $NTPD_ARGS -p /var/run/ntpd/ntpd.pid /dev/null
   if [ $? -gt 0 ]; then
 stat_fail
 exit 1
   else
-echo $(getPID)  /var/run/ntpd/ntpd.pid
 add_daemon ntpd
 stat_done
   fi
@@ -29,13 +27,13 @@
 ;;
   stop)
 stat_busy Stopping NTP Daemon
-if [ ! -z $(getPID) ]; then
-  kill $(getPID)  /dev/null
+if [ -n $PID ]; then
+  kill $PID  /dev/null
   if [ $? -gt 0 ]; then
 stat_fail
 exit 1
   else
-rm -f /var/run/ntpd/ntpd.pid /dev/null
+rm $PIDFILE /dev/null
 rm_daemon ntpd
 stat_done
   fi

Modified: ntpdate
===
--- ntpdate 2011-04-03 17:27:41 UTC (rev 117472)
+++ ntpdate 2011-04-03 17:50:26 UTC (rev 117473)
@@ -7,17 +7,18 @@
 case $1 in
   start)
 stat_busy Starting NTP Client
-/usr/bin/ntpd -q $NTP_CLIENT_OPTION  /dev/null 
+/usr/bin/ntpd -q $NTP_CLIENT_OPTION  /dev/null
 if [ $? -gt 0 ]; then
   stat_fail
+  exit 1
 else
-  add_daemon ntp-client
+  add_daemon ntpdate
   stat_done
 fi
 ;;
   stop)
 stat_busy Stopping NTP Client
-rm_daemon ntp-client
+rm_daemon ntpdate
 stat_done
 ;;
   restart)



[arch-commits] Commit in ntp/trunk (PKGBUILD changelog ntpd ntpdate)

2011-03-28 Thread Andrea Scarpino
Date: Monday, March 28, 2011 @ 11:59:01
  Author: andrea
Revision: 117086

upgpkg: ntp 4.2.6.p3-2
Impreved daemon scripts, also fixes FS#23473

Modified:
  ntp/trunk/PKGBUILD
  ntp/trunk/changelog
  ntp/trunk/ntpd
  ntp/trunk/ntpdate

---+
 PKGBUILD  |   17 ++---
 changelog |5 +
 ntpd  |   44 +---
 ntpdate   |5 ++---
 4 files changed, 46 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-28 15:27:37 UTC (rev 117085)
+++ PKGBUILD2011-03-28 15:59:01 UTC (rev 117086)
@@ -4,7 +4,7 @@
 pkgname=ntp
 pkgver=4.2.6.p3
 _realver=4.2.6p3
-pkgrel=1
+pkgrel=2
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
@@ -22,7 +22,7 @@
ntpdate)
 md5sums=('59876a9009b098ff59767ee45a88ebd2' '1b04e888717bb31479a6087632981723'
  '398a7f270f6ae083f47f86eb8b557a75' '58997d6cf4846d80e35a01b855376a33'
- '46118a8ec2c4f5bbfafd730af21b7c03' '486c0d16bb67cf26b4e64abddc50a573')
+ '2d8703c47ebd7a7196fe581d10f391e8' '9f3a53447bf1af161fbd498ecdf6')
 
 build() {
   cd $srcdir/$pkgname-$_realver
@@ -33,7 +33,9 @@
   # 4.2.6p3: aclocal too old, regenerate
   rm -f aclocal.m4
   libtoolize --copy --force
-  ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr --mandir=/usr/share/man 
--enable-linux-caps
+  ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr \
+--mandir=/usr/share/man \
+--enable-linux-caps
   # build
   make
 }
@@ -45,11 +47,11 @@
   make DESTDIR=$pkgdir install
 
   # install conf files
-  mkdir -p $pkgdir/usr/share/ntp
+  install -d $pkgdir/usr/share/ntp
   install -D -m644 conf/* ${pkgdir}/usr/share/ntp
 
   # install launch scripts 
-  mkdir -p $pkgdir/etc/rc.d
+  install -d $pkgdir/etc/rc.d
   install -D -m755 ${srcdir}/{ntpd,ntpdate} $pkgdir/etc/rc.d
 
   # install man pages
@@ -68,8 +70,9 @@
$pkgdir/etc/conf.d/ntp-client.conf
 
   # create /var/lib/ntp
-  mkdir -p $pkgdir/var/lib/ntp
+  install -d $pkgdir/var/lib/ntp
   touch $pkgdir/var/lib/ntp/.placeholder
 
-  install -Dm644 $srcdir/$pkgname-$_realver/COPYRIGHT 
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+  install -Dm644 $srcdir/$pkgname-$_realver/COPYRIGHT \
+$pkgdir/usr/share/licenses/$pkgname/LICENSE
 }

Modified: changelog
===
--- changelog   2011-03-28 15:27:37 UTC (rev 117085)
+++ changelog   2011-03-28 15:59:01 UTC (rev 117086)
@@ -1,3 +1,8 @@
+2011-03-28  andrea and...@archlinux.org
+
+* ntp 4.2.6p3-2
+- Improved daemon scripts
+
 2010-10-16  kevin  ke...@archlinux.org
 
 * ntp 4.2.6p3

Modified: ntpd
===
--- ntpd2011-03-28 15:27:37 UTC (rev 117085)
+++ ntpd2011-03-28 15:59:01 UTC (rev 117086)
@@ -4,30 +4,44 @@
 . /etc/rc.d/functions
 . /etc/conf.d/ntp-client.conf
 
-PID=`pidof -o %PPID /usr/bin/ntpd`
+getPID() {
+   echo $(pidof -o %PPID /usr/bin/ntpd);
+}
+
 case $1 in
   start)
 stat_busy Starting NTP Daemon
-if [ -z $PID ]; then 
-   /usr/bin/ntpd $NTPD_ARGS 
-fi
-if [ ! -z $PID -o $? -gt 0 ]; then
+[ ! -d /var/run/ntpd ]  install -d /var/run/ntpd /dev/null
+if [ -z $(getPID) ]; then 
+   /usr/bin/ntpd $NTPD_ARGS /dev/null 
+  if [ $? -gt 0 ]; then
+stat_fail
+exit 1
+  else
+echo $(getPID)  /var/run/ntpd/ntpd.pid
+add_daemon ntpd
+stat_done
+  fi
+else
   stat_fail
-else
-  PID=`pidof -o %PPID /usr/bin/ntpd`
-  echo $PID  /var/run/ntpd.pid
-  add_daemon ntpd
-  stat_done
+  exit 1
 fi
 ;;
   stop)
 stat_busy Stopping NTP Daemon
-[ ! -z $PID ]   kill $PID  /dev/null
-if [ $? -gt 0 ]; then
+if [ ! -z $(getPID) ]; then
+  kill $(getPID)  /dev/null
+  if [ $? -gt 0 ]; then
+stat_fail
+exit 1
+  else
+rm -f /var/run/ntpd/ntpd.pid /dev/null
+rm_daemon ntpd
+stat_done
+  fi
+else
   stat_fail
-else
-  rm_daemon ntpd
-  stat_done
+  exit 1
 fi
 ;;
   restart)

Modified: ntpdate
===
--- ntpdate 2011-03-28 15:27:37 UTC (rev 117085)
+++ ntpdate 2011-03-28 15:59:01 UTC (rev 117086)
@@ -7,8 +7,8 @@
 case $1 in
   start)
 stat_busy Starting NTP Client
-/usr/bin/ntpd -q $NTP_CLIENT_OPTION  /dev/null 21
-if [  $? -gt 0 ]; then
+/usr/bin/ntpd -q $NTP_CLIENT_OPTION  /dev/null 
+if [ $? -gt 0 ]; then
   stat_fail
 else
   add_daemon ntp-client
@@ -22,7 +22,6 @@
 ;;
   restart)
 $0 stop
-sleep 1
 $0 start
 ;;
   *)



[arch-commits] Commit in ntp/trunk (PKGBUILD changelog)

2010-10-16 Thread Kevin Piché
Date: Saturday, October 16, 2010 @ 21:43:50
  Author: kevin
Revision: 95196

upgpkg: ntp 4.2.6.p2-1
Updated to 4.2.6p2

Added:
  ntp/trunk/changelog
Modified:
  ntp/trunk/PKGBUILD

---+
 PKGBUILD  |   83 +++-
 changelog |7 +
 2 files changed, 51 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-16 23:12:39 UTC (rev 95195)
+++ PKGBUILD2010-10-17 01:43:50 UTC (rev 95196)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer: dorphell dorph...@archlinux.org
+# Maintainer: kevin ke...@archlinux.org
 
 pkgname=ntp
-pkgver=4.2.6
-pkgrel=3
+pkgver=4.2.6.p2
+_realver=4.2.6p2
+pkgrel=1
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
@@ -12,66 +13,70 @@
 makedepends=('perl-html-parser')
 backup=('etc/ntp.conf' 'etc/conf.d/ntp-client.conf')
 options=('!emptydirs')
-source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${pkgver}.tar.gz
-ntp-4.2.4_p7-nano.patch
+changelog=changelog
+source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz
+   ntp-4.2.4_p7-nano.patch
fix-ipv6.patch
ntp-4.2.4-html2man.patch
-ntp.conf
-ntp-client.conf
-ntpd
-ntpdate)
-md5sums=('4d64a99592b818aa9419fc9dcb149746' '36c5711228cb0cf48966daa993e06f55'\
- '9dabdbc6b8cd020f2205515df7972c21' '1b04e888717bb31479a6087632981723'\
- '5bd3924f5720b97837969ec4ec4d5e09' 'c7f50632b69bd4f32cf052d0b1848463'\
+   ntp.conf
+   ntp-client.conf
+   ntpd
+   ntpdate)
+md5sums=('cf73cd85f248232c62f8029e6eb05938' '36c5711228cb0cf48966daa993e06f55'
+ '9dabdbc6b8cd020f2205515df7972c21' '1b04e888717bb31479a6087632981723'
+ '5bd3924f5720b97837969ec4ec4d5e09' 'c7f50632b69bd4f32cf052d0b1848463'
  '46118a8ec2c4f5bbfafd730af21b7c03' '140855352baeb89da0c6c1c475c18b57')
-sha1sums=('a1f21b23c8c80f35801d59e30ba30779f2025a72' 
'4de6cd3fad1946146107f86d1f161eb835fbb2d3'\
- '3632f8a00838f48e484bca24de06db443cc14fff' 
'7f8783e243e23c8853a9f9fb5b36f467aab8dc15'\
- '3625ed2aa71d9e0dd04634f32e65d83b76cfe780' 
'c8e388f2577b4329da5e77f0455083db6dd97fa8'\
- 'd9b09de9d718a864270e9330e20109e182dfbdd9' 
'6dfc3b6996f591123ee8938fd0fe7c27eb5c7552')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver || return 1
+  cd $srcdir/$pkgname-$_realver
   # fix glibc build issue
-  patch -Np1 -i ../ntp-4.2.4_p7-nano.patch || return 1
+  patch -Np1 -i ../ntp-4.2.4_p7-nano.patch
   # fix ipv6 support
-  patch -Np1 -i ../fix-ipv6.patch || return 1
+  patch -Np1 -i ../fix-ipv6.patch
   # fix man page generation
-  patch -Np1 -i ../ntp-4.2.4-html2man.patch || return 1
+  patch -Np1 -i ../ntp-4.2.4-html2man.patch
   # configure
+  # 4.2.6p2 not finding rt lib: added LIS
   export LDFLAGS=${LDFLAGS//-Wl,--as-needed}
-  libtoolize --copy  --force || return 1
-  ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr --mandir=/usr/share/man 
--enable-linux-caps || return 1
+  libtoolize --copy  --force
+  ac_cv_header_dns_sd_h=0 ./configure LIBS=-lrt --prefix=/usr 
--mandir=/usr/share/man --enable-linux-caps
 
-  # build and install
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  # build
+  make
+}
 
+package() {
+  cd $srcdir/$pkgname-$_realver
+
+  # install
+  make DESTDIR=$pkgdir install
+
   # install conf files
-  mkdir -p $pkgdir/usr/share/ntp || return 1
-  install -D -m644 conf/* $pkgdir/usr/share/ntp/ || return 1
+  mkdir -p $pkgdir/usr/share/ntp
+  install -D -m644 conf/* $pkgdir/usr/share/ntp/
 
   # install launch scripts 
-  mkdir -p $pkgdir/etc/rc.d || return 1
-  install -D -m755 $srcdir/{ntpd,ntpdate} $pkgdir/etc/rc.d/ || return 1
+  mkdir -p $pkgdir/etc/rc.d
+  install -D -m755 $srcdir/{ntpd,ntpdate} $pkgdir/etc/rc.d/
 
   # install man pages
   cd html
-  ../scripts/html2man || return 1
-  sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58] || return 1
+  ../scripts/html2man
+  sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58]
   install -d $pkgdir/usr/share/man/man{5,8}
-  install -m644 man/man5/* $pkgdir/usr/share/man/man5/ || return 1
-  install -m644 man/man8/* $pkgdir/usr/share/man/man8/ || return 1
-  mv $pkgdir/usr/share/man/man8/ntpd.8 
$pkgdir/usr/share/man/man8/ntp-ntpd.8 || return 1
+  install -m644 man/man5/* $pkgdir/usr/share/man/man5/
+  install -m644 man/man8/* $pkgdir/usr/share/man/man8/
+  mv $pkgdir/usr/share/man/man8/ntpd.8 
$pkgdir/usr/share/man/man8/ntp-ntpd.8
   cd ..
 
   # install sample configs
-  install -D -m644 $srcdir/ntp.conf $pkgdir/etc/ntp.conf || return 1
+  install -D -m644 $srcdir/ntp.conf $pkgdir/etc/ntp.conf
   install -D -m644 $srcdir/ntp-client.conf \
-   $pkgdir/etc/conf.d/ntp-client.conf || return 1
+   $pkgdir/etc/conf.d/ntp-client.conf
 
   # create /var/lib/ntp
-  mkdir -p $pkgdir/var/lib/ntp || return 1
-  touch $pkgdir/var/lib/ntp/.placeholder || return 1
+  

[arch-commits] Commit in ntp/trunk (PKGBUILD)

2010-04-01 Thread Giovanni Scafora
Date: Thursday, April 1, 2010 @ 16:42:21
  Author: giovanni
Revision: 75563

upgpkg: ntp 4.2.6-3
openssl-1 rebuild

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-01 20:35:56 UTC (rev 75562)
+++ PKGBUILD2010-04-01 20:42:21 UTC (rev 75563)
@@ -1,13 +1,14 @@
 # $Id$
 # Maintainer: dorphell dorph...@archlinux.org
+
 pkgname=ntp
 pkgver=4.2.6
-pkgrel=2
+pkgrel=3
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
 url=http://www.ntp.org/;
-depends=('openssl=0.9.8h' 'readline=6.0.00' 'libcap')
+depends=('openssl' 'readline' 'libcap')
 makedepends=('perl-html-parser')
 backup=('etc/ntp.conf' 'etc/conf.d/ntp-client.conf')
 options=('!emptydirs')



[arch-commits] Commit in ntp/trunk (PKGBUILD ntp-4.2.4-html2man.patch)

2009-12-13 Thread Eric Bélanger
Date: Sunday, December 13, 2009 @ 07:00:20
  Author: eric
Revision: 61216

upgpkg: ntp 4.2.6-1
Upstream update, Automated generation of extra man pages

Added:
  ntp/trunk/ntp-4.2.4-html2man.patch
Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |   66 +---
 ntp-4.2.4-html2man.patch |  183 +
 2 files changed, 220 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-13 07:55:37 UTC (rev 61215)
+++ PKGBUILD2009-12-13 12:00:20 UTC (rev 61216)
@@ -1,70 +1,78 @@
 # $Id$
 # Maintainer: dorphell dorph...@archlinux.org
 pkgname=ntp
-pkgver=4.2.4p7
-pkgrel=3
+pkgver=4.2.6
+pkgrel=1
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
 url=http://www.ntp.org/;
 depends=('openssl=0.9.8h' 'readline=6.0.00' 'libcap')
+makedepends=('perl-html-parser')
 backup=('etc/ntp.conf' 'etc/conf.d/ntp-client.conf')
 options=('!emptydirs')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${pkgver}.tar.gz
 ftp://ftp.archlinux.org/other/ntp/ntp-4.2.4p6-manpages.tar.bz2
 ntp-4.2.4_p7-nano.patch
fix-ipv6.patch
+   ntp-4.2.4-html2man.patch
 ntp.conf
 ntp-client.conf
 ntpd
 ntpdate)
+md5sums=('4d64a99592b818aa9419fc9dcb149746' '3396ea6276147617e5cf79cefffee018'\
+ '36c5711228cb0cf48966daa993e06f55' '9dabdbc6b8cd020f2205515df7972c21'\
+ '1b04e888717bb31479a6087632981723' '5bd3924f5720b97837969ec4ec4d5e09'\
+ 'c7f50632b69bd4f32cf052d0b1848463' '46118a8ec2c4f5bbfafd730af21b7c03'\
+ '140855352baeb89da0c6c1c475c18b57')
+sha1sums=('a1f21b23c8c80f35801d59e30ba30779f2025a72' 
'993b849a2e5fa719f53f85c4e83ee52eecbea56d'\
+ '4de6cd3fad1946146107f86d1f161eb835fbb2d3' 
'3632f8a00838f48e484bca24de06db443cc14fff'\
+ '7f8783e243e23c8853a9f9fb5b36f467aab8dc15' 
'3625ed2aa71d9e0dd04634f32e65d83b76cfe780'\
+ 'c8e388f2577b4329da5e77f0455083db6dd97fa8' 
'd9b09de9d718a864270e9330e20109e182dfbdd9'\
+ '6dfc3b6996f591123ee8938fd0fe7c27eb5c7552')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver || return 1
+  cd $srcdir/$pkgname-$pkgver || return 1
   # fix glibc build issue
   patch -Np1 -i ../ntp-4.2.4_p7-nano.patch || return 1
   # fix ipv6 support
   patch -Np1 -i ../fix-ipv6.patch || return 1
+  # fix man page generation
+  patch -Np1 -i ../ntp-4.2.4-html2man.patch || return 1
   # configure
+  export LDFLAGS=${LDFLAGS//-Wl,--as-needed}
+  libtoolize --copy  --force || return 1
   ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr --mandir=/usr/share/man 
--enable-linux-caps || return 1
 
   # build and install
   make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  make DESTDIR=$pkgdir install || return 1
 
   # install conf files
-  mkdir -p $pkgdir/usr/share/ntp || return 1
-  install -D -m644 conf/* $pkgdir/usr/share/ntp/ || return 1
+  mkdir -p $pkgdir/usr/share/ntp || return 1
+  install -D -m644 conf/* $pkgdir/usr/share/ntp/ || return 1
 
   # install launch scripts 
-  mkdir -p $pkgdir/etc/rc.d || return 1
-  install -D -m755 $srcdir/{ntpd,ntpdate} $pkgdir/etc/rc.d/ || return 1
+  mkdir -p $pkgdir/etc/rc.d || return 1
+  install -D -m755 $srcdir/{ntpd,ntpdate} $pkgdir/etc/rc.d/ || return 1
 
   # install man pages
-  install -d $pkgdir/usr/share/man/man{1,5}
-  install -m644 $srcdir/man/*.5 \
-   $pkgdir/usr/share/man/man5/ || return 1
-  for i in $srcdir/man/*.8 ; do
-install -m644 $i $pkgdir/usr/share/man/man1/$(basename $i .8).1 || return 1
-  done
-  mv $pkgdir/usr/share/man/man1/keygen.1 
$pkgdir/usr/share/man/man1/ntp-keygen.1 || return 1
+  cd html
+  ../scripts/html2man || return 1
+  sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58] || return 1
+  install -d $pkgdir/usr/share/man/man{5,8}
+  install -m644 man/man5/* $pkgdir/usr/share/man/man5/ || return 1
+  install -m644 man/man8/* $pkgdir/usr/share/man/man8/ || return 1
+  cd ..
 
   # install sample configs
-  install -D -m644 $srcdir/ntp.conf $pkgdir/etc/ntp.conf || return 1
-  install -D -m644 $srcdir/ntp-client.conf \
-   $pkgdir/etc/conf.d/ntp-client.conf || return 1
+  install -D -m644 $srcdir/ntp.conf $pkgdir/etc/ntp.conf || return 1
+  install -D -m644 $srcdir/ntp-client.conf \
+   $pkgdir/etc/conf.d/ntp-client.conf || return 1
 
   # create /var/lib/ntp
-  mkdir -p $pkgdir/var/lib/ntp || return 1
-  touch $pkgdir/var/lib/ntp/.placeholder || return 1
+  mkdir -p $pkgdir/var/lib/ntp || return 1
+  touch $pkgdir/var/lib/ntp/.placeholder || return 1
 
-  install -Dm644 $srcdir/$pkgname-$pkgver/COPYRIGHT 
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+  install -Dm644 $srcdir/$pkgname-$pkgver/COPYRIGHT 
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
 }
-md5sums=('8c19ff62ed4f7d64f8e2aa59cb11f364'
- '3396ea6276147617e5cf79cefffee018'
- '36c5711228cb0cf48966daa993e06f55'
-

[arch-commits] Commit in ntp/trunk (PKGBUILD)

2009-12-13 Thread Eric Bélanger
Date: Sunday, December 13, 2009 @ 07:03:48
  Author: eric
Revision: 61219

Cleaned up source array

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |   19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-13 12:01:27 UTC (rev 61218)
+++ PKGBUILD2009-12-13 12:03:48 UTC (rev 61219)
@@ -12,7 +12,6 @@
 backup=('etc/ntp.conf' 'etc/conf.d/ntp-client.conf')
 options=('!emptydirs')
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${pkgver}.tar.gz
-ftp://ftp.archlinux.org/other/ntp/ntp-4.2.4p6-manpages.tar.bz2
 ntp-4.2.4_p7-nano.patch
fix-ipv6.patch
ntp-4.2.4-html2man.patch
@@ -20,16 +19,14 @@
 ntp-client.conf
 ntpd
 ntpdate)
-md5sums=('4d64a99592b818aa9419fc9dcb149746' '3396ea6276147617e5cf79cefffee018'\
- '36c5711228cb0cf48966daa993e06f55' '9dabdbc6b8cd020f2205515df7972c21'\
- '1b04e888717bb31479a6087632981723' '5bd3924f5720b97837969ec4ec4d5e09'\
- 'c7f50632b69bd4f32cf052d0b1848463' '46118a8ec2c4f5bbfafd730af21b7c03'\
- '140855352baeb89da0c6c1c475c18b57')
-sha1sums=('a1f21b23c8c80f35801d59e30ba30779f2025a72' 
'993b849a2e5fa719f53f85c4e83ee52eecbea56d'\
- '4de6cd3fad1946146107f86d1f161eb835fbb2d3' 
'3632f8a00838f48e484bca24de06db443cc14fff'\
- '7f8783e243e23c8853a9f9fb5b36f467aab8dc15' 
'3625ed2aa71d9e0dd04634f32e65d83b76cfe780'\
- 'c8e388f2577b4329da5e77f0455083db6dd97fa8' 
'd9b09de9d718a864270e9330e20109e182dfbdd9'\
- '6dfc3b6996f591123ee8938fd0fe7c27eb5c7552')
+md5sums=('4d64a99592b818aa9419fc9dcb149746' '36c5711228cb0cf48966daa993e06f55'\
+ '9dabdbc6b8cd020f2205515df7972c21' '1b04e888717bb31479a6087632981723'\
+ '5bd3924f5720b97837969ec4ec4d5e09' 'c7f50632b69bd4f32cf052d0b1848463'\
+ '46118a8ec2c4f5bbfafd730af21b7c03' '140855352baeb89da0c6c1c475c18b57')
+sha1sums=('a1f21b23c8c80f35801d59e30ba30779f2025a72' 
'4de6cd3fad1946146107f86d1f161eb835fbb2d3'\
+ '3632f8a00838f48e484bca24de06db443cc14fff' 
'7f8783e243e23c8853a9f9fb5b36f467aab8dc15'\
+ '3625ed2aa71d9e0dd04634f32e65d83b76cfe780' 
'c8e388f2577b4329da5e77f0455083db6dd97fa8'\
+ 'd9b09de9d718a864270e9330e20109e182dfbdd9' 
'6dfc3b6996f591123ee8938fd0fe7c27eb5c7552')
 
 build() {
   cd $srcdir/$pkgname-$pkgver || return 1



[arch-commits] Commit in ntp/trunk (PKGBUILD)

2009-12-13 Thread Eric Bélanger
Date: Sunday, December 13, 2009 @ 21:07:12
  Author: eric
Revision: 61254

upgpkg: ntp 4.2.6-2
fixed man page conflict (close FS#17485)

Modified:
  ntp/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-14 01:47:04 UTC (rev 61253)
+++ PKGBUILD2009-12-14 02:07:12 UTC (rev 61254)
@@ -2,7 +2,7 @@
 # Maintainer: dorphell dorph...@archlinux.org
 pkgname=ntp
 pkgver=4.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc=NTP (Network Time Protocol) tries to keep servers in sync
 arch=(i686 x86_64)
 license=('custom')
@@ -60,6 +60,7 @@
   install -d $pkgdir/usr/share/man/man{5,8}
   install -m644 man/man5/* $pkgdir/usr/share/man/man5/ || return 1
   install -m644 man/man8/* $pkgdir/usr/share/man/man8/ || return 1
+  mv $pkgdir/usr/share/man/man8/ntpd.8 
$pkgdir/usr/share/man/man8/ntp-ntpd.8 || return 1
   cd ..
 
   # install sample configs