diff options
-rw-r--r-- | pcr/knot/PKGBUILD | 59 | ||||
-rw-r--r-- | pcr/knot/install | 12 | ||||
-rw-r--r-- | pcr/knot/knot.service | 12 |
3 files changed, 0 insertions, 83 deletions
diff --git a/pcr/knot/PKGBUILD b/pcr/knot/PKGBUILD deleted file mode 100644 index bc342f453..000000000 --- a/pcr/knot/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> -# Contributor: Ondřej Surý <ondrej@sury. -# Contributor: Oleander Reis <oleander@oleander.cc> -# Contributor: Otto Sabart <seberm[at]gmail[dot]com> - -pkgname=knot -pkgver=2.3.1 -pkgrel=1 -pkgdesc='high-performance authoritative-only DNS server' -url='https://www.knot-dns.cz/' -arch=('i686' 'x86_64') -license=('GPL3') -install=install -depends=('liburcu' 'openssl>=1.0.0' 'zlib' 'jansson') -makedepends=('autoconf>=2.65' 'libtool' 'flex>=2.5.3' 'bison>=2.3' 'systemd') -source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc} - 'knot.service') -validpgpkeys=('DEF35D16E5AE59D820BDF780ACE24DA9EE37A832') -sha512sums=('10d8c09d7cce88aba95b067da9b138af710864de4ef9c00d7ab165b4aca621d9ff15a49b5102e0cdd7bfb14e2806ed8587fd138b6e6af74a01e26e6d6ffe1163' - 'SKIP' - '51ecaa53fd4d5ccf86d6e6eb4795d9349386149ed9bf667934b6162e3c1cdee391a630370bd2ef7f558daac35b120a75067cbfa67c7142fa23c6d88a4182aa9a') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - -# export systemd_CFLAGS="-I/usr/include" \ -# systemd_LIBS="-L/usr/lib -lsystemd" - - ./configure \ - --prefix /usr \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --libexecdir=/usr/lib/knot \ - --sbindir=/usr/bin \ - --with-rundir=/run/knot \ - --with-storage=/var/lib/knot \ - --enable-recvmmsg=yes \ - --enable-systemd=yes \ - --disable-silent-rules - - make -} - -check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}/" install - install -Dm 644 "${srcdir}/knot.service" "${pkgdir}/usr/lib/systemd/system/knot.service" -} - -check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check -} diff --git a/pcr/knot/install b/pcr/knot/install deleted file mode 100644 index 90ece5b42..000000000 --- a/pcr/knot/install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - getent group knot &>/dev/null || groupadd -r knot >/dev/null - getent passwd knot &>/dev/null || useradd -r -g knot -d /dev/null -s /bin/false -c knot knot >/dev/null - chown knot:knot /var/lib/knot - chmod 700 /var/lib/knot -} - -post_remove() { - getent passwd knot &>/dev/null && userdel knot >/dev/null - getent group knot &>/dev/null && groupdel knot >/dev/null - true -} diff --git a/pcr/knot/knot.service b/pcr/knot/knot.service deleted file mode 100644 index 760152e82..000000000 --- a/pcr/knot/knot.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Knot DNS server -After=syslog.target network.target - -[Service] -#EnvironmentFile=/etc/conf.d/knot -ExecStart=/usr/bin/knotd -c /etc/knot/knot.conf $OPTIONS -ExecReload=/usr/bin/knotc reload -Restart=on-abort - -[Install] -WantedBy=multi-user.target |