summaryrefslogtreecommitdiff
path: root/pcr/knot
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-11-01 09:47:48 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-11-01 09:47:48 -0500
commita9d576382f3c2eed831b5359a89b9e7b41ec1be5 (patch)
tree529a510ab87d513faaaafa313ea3b06b22f5f2f4 /pcr/knot
parent8cb3de1669549474203564e712d3aa1e687b79f9 (diff)
downloadabslibre-a9d576382f3c2eed831b5359a89b9e7b41ec1be5.tar.gz
abslibre-a9d576382f3c2eed831b5359a89b9e7b41ec1be5.tar.bz2
abslibre-a9d576382f3c2eed831b5359a89b9e7b41ec1be5.zip
Removing knot: This package is in [community] repo
Diffstat (limited to 'pcr/knot')
-rw-r--r--pcr/knot/PKGBUILD59
-rw-r--r--pcr/knot/install12
-rw-r--r--pcr/knot/knot.service12
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