remove orhaned packages
This commit is contained in:
parent
6cd4fa0e85
commit
392817ef99
|
@ -1,6 +0,0 @@
|
||||||
AUX knot-1.service 337 BLAKE2B a6645b2ab92612f3c6640f4e9601cefe087a519d8a40b222e05dbd44c8b8c5c87a01d500d5ac328fdee1cae3f9dd126448a8b82b979e13a4ff5285fa48b983d5 SHA512 58c4186e57ebd00b86dae34d5d208ed8801c0376da40cccb23b3d4542a7ee04a1003a12a4b89347b76a384b50eae4a61f96164bf22ec987ce05b1c65691659e7
|
|
||||||
AUX knot.init 861 BLAKE2B 30ffe287f4f83058407ceab00b2113dade3b60b38d76c86f156cc31c33cc4f2ec8cf7f22172823755b71385ca18cc1044605b5479c9de05284f911d500b5dc40 SHA512 e5faa96cbee618e9042bdfd0628f06c4bc4d23c7295521771e16f6eae715835a240799e8425317b03b1ea162966defb5d6b6592139cb1d9d61b47a24961ec9b9
|
|
||||||
AUX knot.service 275 BLAKE2B c39b50630a84cb20d33a02ad82c0fc0c994b098766af0cd3e11b4ac6e2f6e6ebc38d6e5b99c358d5e771022fd6ad14fb7e04e95fd77ba677d10950e1fc52e9a9 SHA512 37c4700320a2781aa93ca92bc2634c3e080c87337b7d632d0e2fa23f6e2e8fa1985d1d8e2516fed02b612da4d340472d5f8d0ae37c5b323ac17bbd61ca243a86
|
|
||||||
DIST knot-2.7.6.tar.xz 1151068 BLAKE2B aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa212999968654e5e5580969a173ec8e SHA512 6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
|
|
||||||
EBUILD knot-2.7.6.ebuild 1923 BLAKE2B 188b6e9f09fdfe7a2c2d8e608e67833ca97a7b355987ae28668b21dda27ae3e4aec16466c897cdf7b67be6aa20e3db27b6ce2db2a37a76ef3cca02733baa3abf SHA512 31c5bd0cca511d35d661de2593c4d467d32d6dbde95f58a9e5f0a40d4bd923932bd141aeb5deaea1daa8d742ea9be21dafdcdae9ac9ba7335f5f565853a6305b
|
|
||||||
MISC metadata.xml 1776 BLAKE2B 704ee480034e47aa62a552ae559671728d96df078dca931c9acc1ab58bcd502188c21820cc8300f536e793515765ed32f6e9cc8f48d9b01b91a959df98a9aa92 SHA512 57ec897a014478f4f5693cd242ecf76215dcf2c331e951bc2a5c0f7b492a76a49cb86d54885325fff2777470119da2f8ea140afece4b70ae410ffe50a4a4679a
|
|
|
@ -1,17 +0,0 @@
|
||||||
[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
|
|
||||||
User=knot
|
|
||||||
Group=knot
|
|
||||||
RuntimeDirectory=knot
|
|
||||||
RuntimeDirectoryMode=750
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,41 +0,0 @@
|
||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
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 $?
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
[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
|
|
|
@ -1,106 +0,0 @@
|
||||||
# Copyright 1999-2018 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit systemd user
|
|
||||||
|
|
||||||
DESCRIPTION="High-performance authoritative-only DNS server"
|
|
||||||
HOMEPAGE="https://www.knot-dns.cz/"
|
|
||||||
SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
KNOT_MODULES=(
|
|
||||||
"+cookies"
|
|
||||||
"+dnsproxy"
|
|
||||||
"dnstap"
|
|
||||||
"geoip"
|
|
||||||
"+noudp"
|
|
||||||
"+onlinesign"
|
|
||||||
"+queryacl"
|
|
||||||
"+rrl"
|
|
||||||
"+stats"
|
|
||||||
"+synthrecord"
|
|
||||||
"+whoami"
|
|
||||||
)
|
|
||||||
IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-db/lmdb
|
|
||||||
dev-libs/libedit
|
|
||||||
dev-libs/userspace-rcu:=
|
|
||||||
dev-python/lmdb
|
|
||||||
net-libs/gnutls
|
|
||||||
caps? ( sys-libs/libcap-ng )
|
|
||||||
dnstap? (
|
|
||||||
dev-libs/fstrm
|
|
||||||
dev-libs/protobuf-c
|
|
||||||
)
|
|
||||||
geoip? ( dev-libs/libmaxminddb )
|
|
||||||
idn? (
|
|
||||||
!libidn2? ( net-dns/libidn:* )
|
|
||||||
libidn2? ( net-dns/libidn2 )
|
|
||||||
)
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
"
|
|
||||||
BDEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( dev-python/sphinx )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P/_/-}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local u
|
|
||||||
local my_conf=(
|
|
||||||
--with-storage="${EPREFIX}/var/lib/${PN}"
|
|
||||||
--with-rundir="${EPREFIX}/var/run/${PN}"
|
|
||||||
$(use_enable fastparser)
|
|
||||||
$(use_enable dnstap)
|
|
||||||
$(use_enable doc documentation)
|
|
||||||
$(use_enable utils utilities)
|
|
||||||
--enable-systemd=$(usex systemd)
|
|
||||||
$(use_with idn libidn)
|
|
||||||
)
|
|
||||||
|
|
||||||
for u in "${KNOT_MODULES[@]#+}"; do
|
|
||||||
my_conf+=("$(use_with ${u} module-${u})")
|
|
||||||
done
|
|
||||||
|
|
||||||
econf "${my_conf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
emake -C doc html
|
|
||||||
HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
|
|
||||||
keepdir /var/lib/${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/knot.init" knot
|
|
||||||
if use systemd; then
|
|
||||||
systemd_newunit "${FILESDIR}/knot-1.service" knot.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
enewgroup knot 53
|
|
||||||
enewuser knot 53 -1 /var/lib/knot knot
|
|
||||||
}
|
|
|
@ -1,65 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>nemunaire@nemunai.re</email>
|
|
||||||
<name>Pierre-Olivier Mercier</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>proxy-maint@gentoo.org</email>
|
|
||||||
<name>Proxy Maintainers</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="cookies">
|
|
||||||
Enable the DNS cookie module (RFC 7873)
|
|
||||||
</flag>
|
|
||||||
<flag name="dnsproxy">
|
|
||||||
Enable the tiny DNS proxy module
|
|
||||||
</flag>
|
|
||||||
<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="geoip">
|
|
||||||
Enable the Geography-based responses module
|
|
||||||
</flag>
|
|
||||||
<flag name="libidn2">
|
|
||||||
If IDN support is enabled, use net-dns/libidn2 instead
|
|
||||||
of net-dns/libidn
|
|
||||||
</flag>
|
|
||||||
<flag name="noudp">
|
|
||||||
Enable the module which can send empty truncated
|
|
||||||
responses to UDP queries
|
|
||||||
</flag>
|
|
||||||
<flag name="onlinesign">
|
|
||||||
Enable the module that sign zones on the fly instead of
|
|
||||||
pre-signing zone
|
|
||||||
</flag>
|
|
||||||
<flag name="queryacl">
|
|
||||||
Enable the module for query access control
|
|
||||||
</flag>
|
|
||||||
<flag name="rosedb">
|
|
||||||
Enable the module that staticaly override certain
|
|
||||||
responses
|
|
||||||
</flag>
|
|
||||||
<flag name="rrl">
|
|
||||||
Enable the response rate limiting module
|
|
||||||
</flag>
|
|
||||||
<flag name="stats">
|
|
||||||
Enable the server statistics module
|
|
||||||
</flag>
|
|
||||||
<flag name="synthrecord">
|
|
||||||
Enable the automatic forward/reverse records module
|
|
||||||
</flag>
|
|
||||||
<flag name="utils">
|
|
||||||
Install Knot utilities, such as kdig, kzonecheck, ...
|
|
||||||
</flag>
|
|
||||||
<flag name="whoami">
|
|
||||||
Enable the whoami response module
|
|
||||||
</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
Loading…
Reference in New Issue