net-dns/knot: Version bump
Package-Manager: portage-2.2.26
This commit is contained in:
parent
1ea4c4df4c
commit
ea53492bd0
9
net-dns/knot/Manifest
Normal file
9
net-dns/knot/Manifest
Normal file
@ -0,0 +1,9 @@
|
||||
AUX 1.6.3-dont-create-extra-directories.patch 499 SHA256 9c8a18a56117830b9b9c50d95503928a08450cb8864d93cb72be98f532711a82 SHA512 69def6e4c5282dfaa070c41275ec6cdeccccf90c96ccb6c570e410ac3fba6cdf569468c9bdbcb3604de0c1c128d51d28846f5daa0f411a0c62d1fd2e5093795f WHIRLPOOL ccfdb194a1c0622939acf206ecd3e1dc0b33b03fb0a899364f15f1b920b08bdfab918f20f812da08c504fc9c98d132080272c7e249abf44c75a0d2da13d25cbb
|
||||
AUX 2.0.2-dont-create-extra-directories.patch 595 SHA256 27e9e307dfca4a534efca368689d5bf8738d7019991a064f3d9e4f32ca6331c6 SHA512 942a063102fe0d5273b1727432111798375a0cc3f9131e85184226a7de194c5bcfa96c64f3440dfcee3949ac8ecd9afd67ac75b5b47a677e09ad6e50db8bb083 WHIRLPOOL 1bf8403474b7e950b2a519d3f0122166dd290627a45e728afd9439f2a6bcc181df81b65a390a61a7a69b523d4a2294fcad834608f4cbe7a72499e620686076ec
|
||||
AUX knot.init 867 SHA256 0344aaf2d2c387de95ec1f1ca96b0c3ff1af879c3d84d967242837d4bac10dfb SHA512 d3441bffedd3157a3e278f54d8ca380fa034f28e4098a3cc7cc3874fa7c41fa92e7e98541c00ad07694ced2043c9dbadaa0674506e283da337c6bb853467b7ce WHIRLPOOL 1fac611b529b17ee1b9012e098d40cd274668ce0e2c51c34e3a83ab8087979fcbc6068a7958c79aa9dde61b9e058fa49a583338edccbcb9feb1e74ecbf2e2903
|
||||
AUX knot.service 275 SHA256 3b091f61652f7d91189659e1d297e5ead76c79f4b0515c9eb4c7f054894e6810 SHA512 37c4700320a2781aa93ca92bc2634c3e080c87337b7d632d0e2fa23f6e2e8fa1985d1d8e2516fed02b612da4d340472d5f8d0ae37c5b323ac17bbd61ca243a86 WHIRLPOOL 39623f669bf141e785b630cd5caa71f47e67d6aa923cbfda074a4644faf83f05214484d133618a2c3731342f5bb44ef942d7559f36e7e2cade3c2318e8461dcb
|
||||
DIST knot-1.6.7.tar.xz 793964 SHA256 ed3cd8e281aff9b28ab9d8de8d59cae7aae48e435660193c117a43e8979b4d48 SHA512 37d58621dc76174a3b9fdfe4a27fbbe1a68e0249e879337ac6046248507350bbcd3213819e15db3fe666caf2826721eab9423e9d1c6fa95310b7fbf05bba1d11 WHIRLPOOL 142efa769990deaeefc742ad64e18637087333fc1ebfe802c89fe6210d2ad5d06025b66720cb7c0490e04acbb843fef970888a73f6bc9c07f79a5604ea71a234
|
||||
DIST knot-2.1.1.tar.xz 998820 SHA256 e110d11d4a4c4b5abb091b32fcb073934fb840046e975234323e0fc15f2f8f5b SHA512 9b69cc207f43f5330cbf0b30aba8c03cacb34b065809b8a92c053332dcd5e00a228ec7edf3bd760c9251306b982f94a4196dd04dfdf4906e50ff77218dd10a86 WHIRLPOOL 7b1e3df8f1813b9e5dd5b6ba193ccd4ed324f16875f79791902da3638091364280c69bcec75222818927bd097484c9c7e87b8a9ec689051c35740dca082f63f5
|
||||
EBUILD knot-1.6.7.ebuild 2253 SHA256 37759aedb2d568592e975ebbf83b162bffb8ed5cf633ee53d20b319b1eebf187 SHA512 6d788148df3c62ce55c2ff0940ab3e4e190107386bc453c65a5c83c748f22908e9f575b522a9abbebbe28a0912ff10fdfd8af53a9c5cb4491ca61ae2b6e85609 WHIRLPOOL 98e0b9b9d0391570255235be68af35ec7866f9e451a3dea4a7931fb9133199749c0332fe87dfccd45743453b67b0aff2a1dc2e409eca952da46a653457f0748d
|
||||
EBUILD knot-2.1.1.ebuild 2369 SHA256 85338f9a4eb4f0b4c1a9e4eb1c15bac7c45a162ac29174e5530146528e42e84f SHA512 9af442ee65afc9f37b2e2d76afb525f20716b98e16d1925b7c64e89300b2e9c0719e7518eb7fb2ac6888e6a448c6bf8c22f6ea28dd6e4302f3acc0e1be847193 WHIRLPOOL 41751647db51f2db3af8cb88677f13ccfe232b3a4497f0f95ccf94ab25b6d8b7dd17277ebfdd3c0b0d29421a06dd996331b77a1ae15cddd92fb28372e5046bb4
|
||||
MISC metadata.xml 860 SHA256 fe726aad8fcb32cf2af9a862edb095dbc78b142124b154bc9e4467af9fdc068c SHA512 6c9094cbfd9ba5dde5a07ec21bfdceb8da8ad008ab34fcc76fe5b8478ab1439e887ae2c1f6ce9143d0f4b9a190fad4df50e6c57cf41c928f7095917557fa33b2 WHIRLPOOL db84dd7cb1c2206e026cb73119c3970256479d34e6548a123bc399a1b55abe02459797763791b9c695c4b42df313b4b17e9b47e26695dd01aa00b463abbfe2b4
|
15
net-dns/knot/files/1.6.3-dont-create-extra-directories.patch
Normal file
15
net-dns/knot/files/1.6.3-dont-create-extra-directories.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/Makefile.in.orig 2015-05-03 16:34:53.177934984 +0200
|
||||
+++ src/Makefile.in 2015-05-03 16:35:11.481325329 +0200
|
||||
@@ -2712,12 +2712,6 @@
|
||||
uninstall-sbinPROGRAMS
|
||||
|
||||
|
||||
-# Create storage and run-time directories
|
||||
-install-data-hook:
|
||||
- $(INSTALL) -d $(DESTDIR)/@config_dir@
|
||||
- $(INSTALL) -d $(DESTDIR)/@run_dir@
|
||||
- $(INSTALL) -d $(DESTDIR)/@storage_dir@
|
||||
-
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
15
net-dns/knot/files/2.0.2-dont-create-extra-directories.patch
Normal file
15
net-dns/knot/files/2.0.2-dont-create-extra-directories.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/Makefile.in.orig 2015-05-10 20:59:26.854079700 +0200
|
||||
+++ src/Makefile.in 2015-05-10 21:00:01.870857369 +0200
|
||||
@@ -3401,12 +3401,6 @@
|
||||
uninstall-pkgconfigDATA uninstall-sbinPROGRAMS
|
||||
|
||||
|
||||
-# Create storage and run-time directories
|
||||
-@HAVE_DAEMON_TRUE@install-data-hook:
|
||||
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@config_dir@
|
||||
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@run_dir@
|
||||
-@HAVE_DAEMON_TRUE@ $(INSTALL) -d $(DESTDIR)/@storage_dir@
|
||||
-
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
42
net-dns/knot/files/knot.init
Normal file
42
net-dns/knot/files/knot.init
Normal file
@ -0,0 +1,42 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
command=/usr/sbin/knotd
|
||||
command_args="-d"
|
||||
pidfile=/var/run/knot/knot.pid
|
||||
required_files=/etc/knot/knot.conf
|
||||
extra_started_commands="reload"
|
||||
description_reload="Reload configuration and changed zones."
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
checkpath -d -m 0750 -o knot:knot /var/run/knot/ /var/lib/knot/
|
||||
|
||||
ebegin "Starting knot"
|
||||
start-stop-daemon --start \
|
||||
--pidfile $pidfile --exec $command -- $command_args
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stoping knot"
|
||||
/usr/sbin/knotc stop >/dev/null 2>&1
|
||||
# In case remote control is not working
|
||||
if [ "$?" != 0 ]; then
|
||||
if [ -f $pidfile ]; then
|
||||
start-stop-daemon --stop --pidfile $pidfile
|
||||
fi
|
||||
fi
|
||||
ewend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading knot"
|
||||
/usr/sbin/knotc reload >/dev/null
|
||||
eend $?
|
||||
}
|
14
net-dns/knot/files/knot.service
Normal file
14
net-dns/knot/files/knot.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Knot high-performance DNS Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/knotd
|
||||
ExecReload=/usr/sbin/knotc reload
|
||||
ExecStop=/usr/sbin/knotc stop
|
||||
PrivateTmp=true
|
||||
RuntimeDirectory=knot
|
||||
RuntimeDirectoryMode=750
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
95
net-dns/knot/knot-1.6.7.ebuild
Normal file
95
net-dns/knot/knot-1.6.7.ebuild
Normal file
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="High-performance authoritative-only DNS server"
|
||||
HOMEPAGE="http://www.knot-dns.cz/"
|
||||
SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug dnstap doc caps +fastparser idn lmdb systemd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-1.0.1
|
||||
>=dev-libs/userspace-rcu-0.5.4
|
||||
caps? ( >=sys-libs/libcap-ng-0.6.4 )
|
||||
dnstap? ( dev-libs/fstrm dev-libs/protobuf-c )
|
||||
idn? ( net-dns/libidn )
|
||||
lmdb? ( dev-db/lmdb )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
doc? ( dev-python/sphinx app-text/texlive-core sys-apps/texinfo )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.6.3-dont-create-extra-directories.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-storage="${EPREFIX}/var/lib/${PN}" \
|
||||
--with-rundir="${EPREFIX}/var/run/${PN}" \
|
||||
$(use_enable fastparser) \
|
||||
$(use_enable debug debug server,zones,xfr,packet,rr,ns,loader,dnssec) \
|
||||
$(use_enable debug debuglevel details) \
|
||||
$(use_enable dnstap) \
|
||||
$(use_enable lmdb) \
|
||||
$(use_with idn libidn) \
|
||||
$(usex systemd --enable-systemd=yes --enable-systemd=no)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && emake -C doc html-local singlehtml pdf-local info-local
|
||||
}
|
||||
|
||||
# Portage's automatic test code runs "make -n check" to see if there
|
||||
# is a "check" target, but that fails here because the test
|
||||
# infrastructure hasn't been built yet. Just run "make check", which
|
||||
# will build it and then run the tests.
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/lib/${PN}
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/_build/latex/KnotDNS.pdf
|
||||
|
||||
docinto html
|
||||
dodoc doc/_build/html/*.html doc/_build/html/*.js
|
||||
docinto html/_sources
|
||||
dodoc doc/_build/html/_sources/*
|
||||
docinto html/_static
|
||||
dodoc doc/_build/html/_static/*
|
||||
|
||||
docinto singlehtml
|
||||
dodoc doc/_build/singlehtml/index.html
|
||||
docinto singlehtml/_static/
|
||||
dodoc doc/_build/singlehtml/_static/*
|
||||
|
||||
doinfo doc/_build/texinfo/KnotDNS.info
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/knot.init" knot
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup knot 53
|
||||
enewuser knot 53 -1 /var/lib/knot knot
|
||||
}
|
97
net-dns/knot/knot-2.1.1.ebuild
Normal file
97
net-dns/knot/knot-2.1.1.ebuild
Normal file
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit bash-completion-r1 eutils systemd user
|
||||
|
||||
DESCRIPTION="High-performance authoritative-only DNS server"
|
||||
HOMEPAGE="http://www.knot-dns.cz/"
|
||||
SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug dnstap doc caps +fastparser idn systemd"
|
||||
|
||||
RDEPEND="
|
||||
>=net-libs/gnutls-3.0
|
||||
>=dev-libs/jansson-2.3
|
||||
>=dev-db/lmdb-0.9.15
|
||||
>=dev-libs/userspace-rcu-0.5.4
|
||||
caps? ( >=sys-libs/libcap-ng-0.6.4 )
|
||||
dnstap? ( dev-libs/fstrm dev-libs/protobuf-c )
|
||||
idn? ( net-dns/libidn )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx app-text/texlive-core sys-apps/texinfo )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/2.0.2-dont-create-extra-directories.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-storage="${EPREFIX}/var/lib/${PN}" \
|
||||
--with-rundir="${EPREFIX}/var/run/${PN}" \
|
||||
--with-lmdb \
|
||||
--with-bash-completions="$(get_bashcompdir)" \
|
||||
$(use_enable fastparser) \
|
||||
$(use_enable debug debug server,zones,ns,loader,dnssec) \
|
||||
$(use_enable debug debuglevel details) \
|
||||
$(use_enable dnstap) \
|
||||
$(use_enable doc documentation) \
|
||||
$(use_with idn libidn) \
|
||||
$(usex systemd --enable-systemd=yes --enable-systemd=no)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && emake -C doc html-local singlehtml pdf-local info-local
|
||||
}
|
||||
|
||||
# Portage's automatic test code runs "make -n check" to see if there
|
||||
# is a "check" target, but that fails here because the test
|
||||
# infrastructure hasn't been built yet. Just run "make check", which
|
||||
# will build it and then run the tests.
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/lib/${PN}
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/_build/latex/KnotDNS.pdf
|
||||
|
||||
docinto html
|
||||
dodoc doc/_build/html/*.html doc/_build/html/*.js
|
||||
docinto html/_sources
|
||||
dodoc doc/_build/html/_sources/*
|
||||
docinto html/_static
|
||||
dodoc doc/_build/html/_static/*
|
||||
|
||||
docinto singlehtml
|
||||
dodoc doc/_build/singlehtml/index.html
|
||||
docinto singlehtml/_static/
|
||||
dodoc doc/_build/singlehtml/_static/*
|
||||
|
||||
doinfo doc/_build/texinfo/KnotDNS.info
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/knot.init" knot
|
||||
systemd_dounit "${FILESDIR}/knot.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup knot 53
|
||||
enewuser knot 53 -1 /var/lib/knot knot
|
||||
}
|
28
net-dns/knot/metadata.xml
Normal file
28
net-dns/knot/metadata.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ondrej@sury.org</email>
|
||||
<name>Ondřej Surý</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>scarabeus@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="dnstap">Include support for the dnstap
|
||||
binary log format (http://dnstap.info/).
|
||||
</flag>
|
||||
<flag name="fastparser">Use a zone file parser that is
|
||||
faster, but requires more memory and CPU time to
|
||||
compile.
|
||||
</flag>
|
||||
<flag name="lmdb">Use the LMDB database to store
|
||||
timers for slave zones on disk, making the timers
|
||||
persist across server restarts.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user