Date: Monday, March 24, 2014 @ 22:36:00 Author: thestinger Revision: 108210
archrelease: copy trunk to community-i686, community-x86_64 Added: chrony/repos/community-i686/PKGBUILD (from rev 108209, chrony/trunk/PKGBUILD) chrony/repos/community-i686/chrony.install (from rev 108209, chrony/trunk/chrony.install) chrony/repos/community-i686/service (from rev 108209, chrony/trunk/service) chrony/repos/community-x86_64/PKGBUILD (from rev 108209, chrony/trunk/PKGBUILD) chrony/repos/community-x86_64/chrony.install (from rev 108209, chrony/trunk/chrony.install) chrony/repos/community-x86_64/service (from rev 108209, chrony/trunk/service) Deleted: chrony/repos/community-i686/PKGBUILD chrony/repos/community-i686/service chrony/repos/community-x86_64/PKGBUILD chrony/repos/community-x86_64/service ---------------------------------+ /PKGBUILD | 102 ++++++++++++++++++++++++++++++++++++++ /service | 22 ++++++++ community-i686/PKGBUILD | 48 ----------------- community-i686/chrony.install | 18 ++++++ community-i686/service | 11 ---- community-x86_64/PKGBUILD | 48 ----------------- community-x86_64/chrony.install | 18 ++++++ community-x86_64/service | 11 ---- 8 files changed, 160 insertions(+), 118 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2014-03-24 21:35:18 UTC (rev 108209) +++ community-i686/PKGBUILD 2014-03-24 21:36:00 UTC (rev 108210) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Daniel Micay <danielmi...@gmail.com> -# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> -# Contributor: Patrick Leslie Polzer <leslie.pol...@gmx.net> -# Contributor: cdhotfire <cdhotf...@gmail.com> -# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> -# Contributor: Elisamuel Resto <ry...@simplysam.us> - -pkgname=chrony -pkgver=1.29.1 -pkgrel=1 -pkgdesc='Lightweight NTP client and server' -arch=('i686' 'x86_64') -url="http://chrony.tuxfamily.org/" -options=(strip emptydirs) -license=('GPL') -depends=('readline' 'libcap') -backup=('etc/chrony.conf') -source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz - service) -sha256sums=('658c9bb4d8c8d8ec7d0908429aa266e5f8413ba86bd4acbfd2f9669f6065af27' - 'bef4305fa7e5828e1a1fd43aa8e631f22f21902f6cdc2d3b5b41a57bd9a175dc') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf" - - echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf" - - sed -i '/^! rtconutc$/ s/^! //' "$pkgdir/etc/chrony.conf" - - mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin" - rmdir "$pkgdir/usr/sbin" - - install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service" - - install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" - echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" -} Copied: chrony/repos/community-i686/PKGBUILD (from rev 108209, chrony/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Daniel Micay <danielmi...@gmail.com> +# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> +# Contributor: Patrick Leslie Polzer <leslie.pol...@gmx.net> +# Contributor: cdhotfire <cdhotf...@gmail.com> +# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> +# Contributor: Elisamuel Resto <ry...@simplysam.us> + +pkgname=chrony +pkgver=1.29.1 +pkgrel=2 +pkgdesc='Lightweight NTP client and server' +arch=('i686' 'x86_64') +url="http://chrony.tuxfamily.org/" +options=(strip emptydirs) +license=('GPL') +depends=('readline' 'libcap') +backup=('etc/chrony.conf') +source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz + service) +install=${pkgname}.install +sha256sums=('658c9bb4d8c8d8ec7d0908429aa266e5f8413ba86bd4acbfd2f9669f6065af27' + '3c9d05aaba6c0bef43fd1923a6dd7ac5f9b9539d21efbd1fbe592b54dec8d493') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf" + + echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf" + + sed -i '/^! rtconutc$/ s/^! //' "$pkgdir/etc/chrony.conf" + + mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin" + rmdir "$pkgdir/usr/sbin" + + install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service" + + install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" + echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" + + chown 183:183 "$pkgdir/var/lib/chrony" +} Copied: chrony/repos/community-i686/chrony.install (from rev 108209, chrony/trunk/chrony.install) =================================================================== --- community-i686/chrony.install (rev 0) +++ community-i686/chrony.install 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,18 @@ +post_install() { + getent group chrony &>/dev/null || groupadd -g 183 chrony >/dev/null + getent passwd chrony &>/dev/null || useradd -u 183 -g chrony -d /var/lib/chrony -c 'Network Time Protocol' -s /bin/false chrony >/dev/null + true +} + +post_upgrade() { + if [[ $(vercmp $2 1.29.1-2) -le 0 ]]; then + post_install + chown -R 183:183 /var/lib/chrony + fi +} + +post_remove() { + getent passwd chrony &>/dev/null && userdel chrony >/dev/null + getent group chrony &>/dev/null && groupdel chrony >/dev/null + true +} Deleted: community-i686/service =================================================================== --- community-i686/service 2014-03-24 21:35:18 UTC (rev 108209) +++ community-i686/service 2014-03-24 21:36:00 UTC (rev 108210) @@ -1,11 +0,0 @@ -[Unit] -Description=Chrony Network Time Daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/chronyd -PIDFile=/var/run/chronyd.pid - -[Install] -WantedBy=multi-user.target Copied: chrony/repos/community-i686/service (from rev 108209, chrony/trunk/service) =================================================================== --- community-i686/service (rev 0) +++ community-i686/service 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,11 @@ +[Unit] +Description=Chrony Network Time Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/chronyd -u chrony +PIDFile=/var/run/chronyd.pid + +[Install] +WantedBy=multi-user.target Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2014-03-24 21:35:18 UTC (rev 108209) +++ community-x86_64/PKGBUILD 2014-03-24 21:36:00 UTC (rev 108210) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Daniel Micay <danielmi...@gmail.com> -# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> -# Contributor: Patrick Leslie Polzer <leslie.pol...@gmx.net> -# Contributor: cdhotfire <cdhotf...@gmail.com> -# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> -# Contributor: Elisamuel Resto <ry...@simplysam.us> - -pkgname=chrony -pkgver=1.29.1 -pkgrel=1 -pkgdesc='Lightweight NTP client and server' -arch=('i686' 'x86_64') -url="http://chrony.tuxfamily.org/" -options=(strip emptydirs) -license=('GPL') -depends=('readline' 'libcap') -backup=('etc/chrony.conf') -source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz - service) -sha256sums=('658c9bb4d8c8d8ec7d0908429aa266e5f8413ba86bd4acbfd2f9669f6065af27' - 'bef4305fa7e5828e1a1fd43aa8e631f22f21902f6cdc2d3b5b41a57bd9a175dc') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf" - - echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf" - - sed -i '/^! rtconutc$/ s/^! //' "$pkgdir/etc/chrony.conf" - - mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin" - rmdir "$pkgdir/usr/sbin" - - install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service" - - install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" - echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" -} Copied: chrony/repos/community-x86_64/PKGBUILD (from rev 108209, chrony/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Daniel Micay <danielmi...@gmail.com> +# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> +# Contributor: Patrick Leslie Polzer <leslie.pol...@gmx.net> +# Contributor: cdhotfire <cdhotf...@gmail.com> +# Contributor: Shinlun Hsieh <yngwi...@yahoo.com.tw> +# Contributor: Elisamuel Resto <ry...@simplysam.us> + +pkgname=chrony +pkgver=1.29.1 +pkgrel=2 +pkgdesc='Lightweight NTP client and server' +arch=('i686' 'x86_64') +url="http://chrony.tuxfamily.org/" +options=(strip emptydirs) +license=('GPL') +depends=('readline' 'libcap') +backup=('etc/chrony.conf') +source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz + service) +install=${pkgname}.install +sha256sums=('658c9bb4d8c8d8ec7d0908429aa266e5f8413ba86bd4acbfd2f9669f6065af27' + '3c9d05aaba6c0bef43fd1923a6dd7ac5f9b9539d21efbd1fbe592b54dec8d493') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf" + + echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf" + + sed -i '/^! rtconutc$/ s/^! //' "$pkgdir/etc/chrony.conf" + + mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin" + rmdir "$pkgdir/usr/sbin" + + install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/chrony.service" + + install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" + echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" + + chown 183:183 "$pkgdir/var/lib/chrony" +} Copied: chrony/repos/community-x86_64/chrony.install (from rev 108209, chrony/trunk/chrony.install) =================================================================== --- community-x86_64/chrony.install (rev 0) +++ community-x86_64/chrony.install 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,18 @@ +post_install() { + getent group chrony &>/dev/null || groupadd -g 183 chrony >/dev/null + getent passwd chrony &>/dev/null || useradd -u 183 -g chrony -d /var/lib/chrony -c 'Network Time Protocol' -s /bin/false chrony >/dev/null + true +} + +post_upgrade() { + if [[ $(vercmp $2 1.29.1-2) -le 0 ]]; then + post_install + chown -R 183:183 /var/lib/chrony + fi +} + +post_remove() { + getent passwd chrony &>/dev/null && userdel chrony >/dev/null + getent group chrony &>/dev/null && groupdel chrony >/dev/null + true +} Deleted: community-x86_64/service =================================================================== --- community-x86_64/service 2014-03-24 21:35:18 UTC (rev 108209) +++ community-x86_64/service 2014-03-24 21:36:00 UTC (rev 108210) @@ -1,11 +0,0 @@ -[Unit] -Description=Chrony Network Time Daemon -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/chronyd -PIDFile=/var/run/chronyd.pid - -[Install] -WantedBy=multi-user.target Copied: chrony/repos/community-x86_64/service (from rev 108209, chrony/trunk/service) =================================================================== --- community-x86_64/service (rev 0) +++ community-x86_64/service 2014-03-24 21:36:00 UTC (rev 108210) @@ -0,0 +1,11 @@ +[Unit] +Description=Chrony Network Time Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/chronyd -u chrony +PIDFile=/var/run/chronyd.pid + +[Install] +WantedBy=multi-user.target