Date: Monday, February 8, 2016 @ 00:54:05
  Author: foutrelis
Revision: 258954

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ntp/repos/staging-i686/
  ntp/repos/staging-i686/PKGBUILD
    (from rev 258953, ntp/trunk/PKGBUILD)
  ntp/repos/staging-i686/ntp.conf
    (from rev 258953, ntp/trunk/ntp.conf)
  ntp/repos/staging-i686/ntp.install
    (from rev 258953, ntp/trunk/ntp.install)
  ntp/repos/staging-i686/ntpd.service
    (from rev 258953, ntp/trunk/ntpd.service)
  ntp/repos/staging-i686/ntpdate.service
    (from rev 258953, ntp/trunk/ntpdate.service)
  ntp/repos/staging-x86_64/
  ntp/repos/staging-x86_64/PKGBUILD
    (from rev 258953, ntp/trunk/PKGBUILD)
  ntp/repos/staging-x86_64/ntp.conf
    (from rev 258953, ntp/trunk/ntp.conf)
  ntp/repos/staging-x86_64/ntp.install
    (from rev 258953, ntp/trunk/ntp.install)
  ntp/repos/staging-x86_64/ntpd.service
    (from rev 258953, ntp/trunk/ntpd.service)
  ntp/repos/staging-x86_64/ntpdate.service
    (from rev 258953, ntp/trunk/ntpdate.service)

--------------------------------+
 staging-i686/PKGBUILD          |   52 +++++++++++++++++++++++++++++++++++++++
 staging-i686/ntp.conf          |   24 ++++++++++++++++++
 staging-i686/ntp.install       |    5 +++
 staging-i686/ntpd.service      |   13 +++++++++
 staging-i686/ntpdate.service   |   12 +++++++++
 staging-x86_64/PKGBUILD        |   52 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/ntp.conf        |   24 ++++++++++++++++++
 staging-x86_64/ntp.install     |    5 +++
 staging-x86_64/ntpd.service    |   13 +++++++++
 staging-x86_64/ntpdate.service |   12 +++++++++
 10 files changed, 212 insertions(+)

Copied: ntp/repos/staging-i686/PKGBUILD (from rev 258953, ntp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,52 @@
+# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: kevin <ke...@archlinux.org>
+
+pkgname=ntp
+_pkgname=ntp #-dev
+_pkgver=4.2.8p6
+pkgver=${_pkgver/p/.p}
+pkgrel=3
+pkgdesc='Network Time Protocol reference implementation'
+url='http://www.ntp.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('openssl' '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'
+        'ntpd.service'
+        'ntpdate.service')
+sha1sums=('7244b0fb66ceb66283480e8f83a4c4a2099f9cd7'
+          'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
+          '0cccca872385e0142888ab48d273fec0669b30a8'
+          '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
+
+options=('!emptydirs')
+install=ntp.install
+
+build() {
+       cd "${srcdir}/${_pkgname}-${_pkgver}"
+
+       ./configure \
+               --prefix=/usr \
+               --libexecdir=/usr/lib \
+               --enable-linuxcaps \
+               --enable-ntp-signd \
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${_pkgname}-${_pkgver}"
+
+       make DESTDIR="${pkgdir}" install
+
+       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"
+
+       install -d -o 87 "${pkgdir}"/var/lib/ntp
+       echo > "${pkgdir}/var/lib/ntp/.placeholder"
+}

Copied: ntp/repos/staging-i686/ntp.conf (from rev 258953, ntp/trunk/ntp.conf)
===================================================================
--- staging-i686/ntp.conf                               (rev 0)
+++ staging-i686/ntp.conf       2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,24 @@
+# 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
+
+# Associate to Arch's NTP pool
+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
+# - only time queries from remote hosts, protected by rate limiting and kod
+restrict default kod limited nomodify nopeer noquery notrap
+restrict 127.0.0.1
+restrict ::1
+
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift

Copied: ntp/repos/staging-i686/ntp.install (from rev 258953, 
ntp/trunk/ntp.install)
===================================================================
--- staging-i686/ntp.install                            (rev 0)
+++ staging-i686/ntp.install    2016-02-07 23:54:05 UTC (rev 258954)
@@ -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
+}

Copied: ntp/repos/staging-i686/ntpd.service (from rev 258953, 
ntp/trunk/ntpd.service)
===================================================================
--- staging-i686/ntpd.service                           (rev 0)
+++ staging-i686/ntpd.service   2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Copied: ntp/repos/staging-i686/ntpdate.service (from rev 258953, 
ntp/trunk/ntpdate.service)
===================================================================
--- staging-i686/ntpdate.service                                (rev 0)
+++ staging-i686/ntpdate.service        2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +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 -n -g -u ntp:ntp
+
+[Install]
+WantedBy=multi-user.target

Copied: ntp/repos/staging-x86_64/PKGBUILD (from rev 258953, ntp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,52 @@
+# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: kevin <ke...@archlinux.org>
+
+pkgname=ntp
+_pkgname=ntp #-dev
+_pkgver=4.2.8p6
+pkgver=${_pkgver/p/.p}
+pkgrel=3
+pkgdesc='Network Time Protocol reference implementation'
+url='http://www.ntp.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('openssl' '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'
+        'ntpd.service'
+        'ntpdate.service')
+sha1sums=('7244b0fb66ceb66283480e8f83a4c4a2099f9cd7'
+          'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1'
+          '0cccca872385e0142888ab48d273fec0669b30a8'
+          '059b382d1af0c55202e2d17f2ae065a2cbfec9ee')
+
+options=('!emptydirs')
+install=ntp.install
+
+build() {
+       cd "${srcdir}/${_pkgname}-${_pkgver}"
+
+       ./configure \
+               --prefix=/usr \
+               --libexecdir=/usr/lib \
+               --enable-linuxcaps \
+               --enable-ntp-signd \
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${_pkgname}-${_pkgver}"
+
+       make DESTDIR="${pkgdir}" install
+
+       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"
+
+       install -d -o 87 "${pkgdir}"/var/lib/ntp
+       echo > "${pkgdir}/var/lib/ntp/.placeholder"
+}

Copied: ntp/repos/staging-x86_64/ntp.conf (from rev 258953, ntp/trunk/ntp.conf)
===================================================================
--- staging-x86_64/ntp.conf                             (rev 0)
+++ staging-x86_64/ntp.conf     2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,24 @@
+# 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
+
+# Associate to Arch's NTP pool
+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
+# - only time queries from remote hosts, protected by rate limiting and kod
+restrict default kod limited nomodify nopeer noquery notrap
+restrict 127.0.0.1
+restrict ::1
+
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift

Copied: ntp/repos/staging-x86_64/ntp.install (from rev 258953, 
ntp/trunk/ntp.install)
===================================================================
--- staging-x86_64/ntp.install                          (rev 0)
+++ staging-x86_64/ntp.install  2016-02-07 23:54:05 UTC (rev 258954)
@@ -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
+}

Copied: ntp/repos/staging-x86_64/ntpd.service (from rev 258953, 
ntp/trunk/ntpd.service)
===================================================================
--- staging-x86_64/ntpd.service                         (rev 0)
+++ staging-x86_64/ntpd.service 2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Copied: ntp/repos/staging-x86_64/ntpdate.service (from rev 258953, 
ntp/trunk/ntpdate.service)
===================================================================
--- staging-x86_64/ntpdate.service                              (rev 0)
+++ staging-x86_64/ntpdate.service      2016-02-07 23:54:05 UTC (rev 258954)
@@ -0,0 +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 -n -g -u ntp:ntp
+
+[Install]
+WantedBy=multi-user.target

Reply via email to