diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/openntpd/PKGBUILD | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/openntpd/PKGBUILD')
-rw-r--r-- | community/openntpd/PKGBUILD | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/community/openntpd/PKGBUILD b/community/openntpd/PKGBUILD deleted file mode 100644 index 4eafda56d..000000000 --- a/community/openntpd/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# $Id: PKGBUILD 91455 2013-05-22 23:28:35Z seblu $ -# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> -# Contributor: Mark Rosenstand <mark@borkware.net> -# Contributor: Giorgio Lando <patroclo7@gmail.com> (adjtimex patch) -# Contributor: Alexander Rødseth <rodseth@gmail.com> - -pkgname=openntpd -pkgver=3.9p1 -pkgrel=22 -pkgdesc='Free, easy to use implementation of the Network Time Protocol.' -url='http://www.openntpd.org/' -arch=('x86_64' 'i686') -license=('BSD') -depends=('openssl') -conflicts=('ntp') -backup=('etc/ntpd.conf') -install=$pkgname.install -source=("ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$pkgname-$pkgver.tar.gz" - 'linux-adjtimex.patch' - 'openntpd.tmpfiles' - 'openntpd.service') -sha256sums=('83dd7c1e8ec8b4567afe49af539271b5a73562fb7a3ca51df73eccba89ec8c49' - '3abcec94c072b5913ef7156a22049d796ff04e19105befe1ea81a66522928fd2' - 'fe12841110c3c080519e248988c4b6334f54bd9646b015753c7e15de2a9600c5' - '3239fc6f69d661cd9233233da9e68bebdf7b12888febbc2f2d794742db2d8ed1') - -prepare() { - patch -Np1 -d $pkgname-$pkgver < linux-adjtimex.patch -} - -build() { - cd $pkgname-$pkgver - autoreconf -fi - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --with-privsep-user=ntp \ - --with-privsep-path=/run/openntpd/ \ - --with-adjtimex - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENCE" - sed -i 's/\*/0.0.0.0/' $pkgdir/etc/ntpd.conf - - install -Dm644 "$srcdir/openntpd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/openntpd.conf" - install -Dm644 "$srcdir/openntpd.service" "$pkgdir/usr/lib/systemd/system/openntpd.service" - - # avoid conflict with filesystem>=2012.06 - rm -r "$pkgdir/run" - - install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d" - echo "$pkgname.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list" -} - -# vim:set ts=2 sw=2 et: |