diff options
-rw-r--r-- | net-dns/pdns/Manifest | 2 | ||||
-rw-r--r-- | net-dns/pdns/files/pdns | 61 | ||||
-rw-r--r-- | net-dns/pdns/pdns-4.0.2.ebuild | 153 | ||||
-rw-r--r-- | net-dns/pdns/pdns-4.0.3-r3.ebuild | 153 | ||||
-rw-r--r-- | net-dns/pdns/pdns-4.0.3.ebuild | 153 |
5 files changed, 0 insertions, 522 deletions
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index bc8e3b0769aa..5efd44bfb6ca 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,4 +1,2 @@ -DIST pdns-4.0.2.tar.bz2 1314886 SHA256 d051e53b63f586c924f00ce8a81662f7bd285b461d125d4991538f92cf7e629d SHA512 6720289332ee5186f4c58a00a720f3bb58480c0ae7f09915148ca8b40e2dfdc77e2f14123df903692afa464539eeef6b21e8ea3d284278897751ba807e2cdffe WHIRLPOOL 6b58de4f2fc6fe830255203c281ca518a543b373171f73021cd8efd597c146b438a7ffd6ed018b637816fe07153a51f947818a0fa76dc237ba0f50903d3afbe9 -DIST pdns-4.0.3.tar.bz2 1312299 SHA256 60fa21550b278b41f58701af31c9f2b121badf271fb9d7642f6d35bfbea8e282 SHA512 58d33ac6cf457a916bae6abd8d2dc17f76fbcd1bd9e649948584dd669f5596b43e3e4d91841700ea1ea2cd1ac102749e503cd9075273540f33a2321e20d8bfc2 WHIRLPOOL a28ab5011b3365423f13331c31e8f0fdb9aef0798155ce6fcbe328f82ebc3ca57a966b77f48c31422d374837ee4be3f7f0bc935bab463add19714eb8abd46493 DIST pdns-4.0.4.tar.bz2 1320327 SHA256 d974ab89de69477c7f581a3233bc731eacbb43d479291e472b2c531c83b6d763 SHA512 4ef4705cd990b03976775167c7c37850d45907e198549feda5f5701172e008e3f1f74a35a9bebdb24b63dec15ff63cb2cc9dfc8f92e4e1012e0539c5a88b845b WHIRLPOOL 5ac68a15155424d42fb4b84be1b34eb2e51498ae5193ae104215e4bb52a72845923f82dc6b112ce165444cdbfe3aaf01557d2f6ab42f6531dd525aee15ee1b19 DIST pdns-4.1.0-rc1.tar.bz2 1106039 SHA256 a973202ca1c9333c236d76286ab1d8566d420a877a003130381150171d63d4ff SHA512 7356277126578b34587579039d4c63e9ba7822ddd39810b4a43eb06d076c2d247d8b8db7162b2aafd1cb73fd83047b0b5584d4d8bb333ec77597717bac76b450 WHIRLPOOL 19a003a7564691f5ba812f34b376d79c6acbb538df7e4b978a7058f919ef71d778770527d7a091a689a433e915cfccfc22152bc4da46e36ba6c335a31bcdb40f diff --git a/net-dns/pdns/files/pdns b/net-dns/pdns/files/pdns deleted file mode 100644 index c16037913112..000000000000 --- a/net-dns/pdns/files/pdns +++ /dev/null @@ -1,61 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_commands="monitor" -extra_started_commands="reload dump" - -PDNS_INSTANCE="${SVCNAME#pdns[.-]}" -PDNS_CONFIG="" - -if [ -n "${PDNS_INSTANCE}" ] && [ "${PDNS_INSTANCE}" != "pdns" ] -then - PDNS_CONFIG="--config-name=${PDNS_INSTANCE}" -else - PDNS_INSTANCE="default" -fi - -depend() { - need net - use mysql postgresql -} - -start() { - ebegin "Starting PowerDNS (${PDNS_INSTANCE})" - /usr/sbin/pdns_server \ - ${PDNS_CONFIG} \ - --daemon=yes \ - --guardian=yes - eend $? -} - -stop() { - ebegin "Stopping PowerDNS (${PDNS_INSTANCE})" - /usr/bin/pdns_control ${PDNS_CONFIG} quit >/dev/null 2>&1 - eend $? -} - -reload() { - ebegin "Reloading PowerDNS (${PDNS_INSTANCE})" - /usr/bin/pdns_control ${PDNS_CONFIG} cycle >/dev/null 2>&1 - eend $? -} - -dump() { - ebegin "Dumping PowerDNS (${PDNS_INSTANCE}) variables" - /usr/bin/pdns_control ${PDNS_CONFIG} list - eend $? -} - -monitor() { - ebegin "Starting PowerDNS (${PDNS_INSTANCE}) in monitor mode" - /usr/sbin/pdns_server \ - ${PDNS_CONFIG} \ - --daemon=no \ - --guardian=no \ - --control-console=yes \ - --loglevel=9 \ - --log-dns-details=yes \ - --query-logging=yes - eend $? -} diff --git a/net-dns/pdns/pdns-4.0.2.ebuild b/net-dns/pdns/pdns-4.0.2.ebuild deleted file mode 100644 index 99bcbba8399b..000000000000 --- a/net-dns/pdns/pdns-4.0.2.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils multilib user toolchain-funcs versionator - -DESCRIPTION="The PowerDNS Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -# other possible flags: -# db2: we lack the dep -# oracle: dito (need Oracle Client Libraries) -# xdb: (almost) dead, surely not supported - -IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" - -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" - -RDEPEND=" - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:= - botan? ( =dev-libs/botan-1.10*[threads] ) - lua? ( dev-lang/lua:= ) - luajit? ( dev-lang/luajit:= ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4 ) - sqlite? ( dev-db/sqlite:3 ) - opendbx? ( dev-db/opendbx ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - protobuf? ( dev-libs/protobuf )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/${P/_/-} - -src_configure() { - local dynmodules="pipe bind" # the default backends, always enabled - - #use db2 && dynmodules+=" db2" - use ldap && dynmodules+=" ldap" - use lua && dynmodules+=" lua" - use mydns && dynmodules+=" mydns" - use mysql && dynmodules+=" gmysql" - use opendbx && dynmodules+=" opendbx" - #use oracle && dynmodules+=" goracle oracle" - use postgres && dynmodules+=" gpgsql" - use remote && dynmodules+=" remote" - use sqlite && dynmodules+=" gsqlite3" - use tinydns && dynmodules+=" tinydns" - use geoip && dynmodules+=" geoip" - #use xdb && dynmodules+=" xdb" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-modules= \ - --with-dynmodules="${dynmodules}" \ - --with-pgsql-includes=/usr/include \ - --with-pgsql-lib=/usr/$(get_libdir) \ - --with-mysql-lib=/usr/$(get_libdir) \ - $(use_enable botan botan1.10) \ - $(use_enable debug verbose-logging) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with lua) \ - $(use_with luajit) \ - $(use_with protobuf) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - doinitd "${FILESDIR}"/pdns - - keepdir /var/empty - - use doc && dohtml -r codedocs/html/. - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - prune_libtool_files --all -} - -pkg_preinst() { - enewgroup pdns - enewuser pdns -1 -1 /var/empty pdns -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." - - if use ldap ; then - ewarn "The official LDAP backend module is only compile-tested by upstream." - ewarn "Try net-dns/pdns-ldap-backend if you have problems with it." - fi - - local old - for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 3.2 - [[ $? -eq 1 ]] || continue - - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - ewarn "Check if this is correct for your setup" - ewarn "This is a one-time change and will not happen on subsequent updates." - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} - - break - done -} diff --git a/net-dns/pdns/pdns-4.0.3-r3.ebuild b/net-dns/pdns/pdns-4.0.3-r3.ebuild deleted file mode 100644 index 2ba5df54f29e..000000000000 --- a/net-dns/pdns/pdns-4.0.3-r3.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils multilib user toolchain-funcs versionator - -DESCRIPTION="The PowerDNS Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# other possible flags: -# db2: we lack the dep -# oracle: dito (need Oracle Client Libraries) -# xdb: (almost) dead, surely not supported - -IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" - -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" - -RDEPEND=" - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:= - botan? ( =dev-libs/botan-1.10*[threads] ) - lua? ( dev-lang/lua:= ) - luajit? ( dev-lang/luajit:= ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4 ) - sqlite? ( dev-db/sqlite:3 ) - opendbx? ( dev-db/opendbx ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - protobuf? ( dev-libs/protobuf )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/${P/_/-} - -src_configure() { - local dynmodules="pipe bind" # the default backends, always enabled - - #use db2 && dynmodules+=" db2" - use ldap && dynmodules+=" ldap" - use lua && dynmodules+=" lua" - use mydns && dynmodules+=" mydns" - use mysql && dynmodules+=" gmysql" - use opendbx && dynmodules+=" opendbx" - #use oracle && dynmodules+=" goracle oracle" - use postgres && dynmodules+=" gpgsql" - use remote && dynmodules+=" remote" - use sqlite && dynmodules+=" gsqlite3" - use tinydns && dynmodules+=" tinydns" - use geoip && dynmodules+=" geoip" - #use xdb && dynmodules+=" xdb" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-modules= \ - --with-dynmodules="${dynmodules}" \ - --with-pgsql-includes=/usr/include \ - --with-pgsql-lib=/usr/$(get_libdir) \ - --with-mysql-lib=/usr/$(get_libdir) \ - $(use_enable botan botan1.10) \ - $(use_enable debug verbose-logging) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with lua) \ - $(use_with luajit) \ - $(use_with protobuf) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - newinitd "${FILESDIR}"/pdns-r1 pdns - - keepdir /var/empty - - use doc && dohtml -r codedocs/html/. - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - prune_libtool_files --all -} - -pkg_preinst() { - enewgroup pdns - enewuser pdns -1 -1 /var/empty pdns -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." - - if use ldap ; then - ewarn "The official LDAP backend module is only compile-tested by upstream." - ewarn "Try net-dns/pdns-ldap-backend if you have problems with it." - fi - - local old - for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 3.2 - [[ $? -eq 1 ]] || continue - - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - ewarn "Check if this is correct for your setup" - ewarn "This is a one-time change and will not happen on subsequent updates." - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} - - break - done -} diff --git a/net-dns/pdns/pdns-4.0.3.ebuild b/net-dns/pdns/pdns-4.0.3.ebuild deleted file mode 100644 index c7455c660e77..000000000000 --- a/net-dns/pdns/pdns-4.0.3.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils multilib user toolchain-funcs versionator - -DESCRIPTION="The PowerDNS Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# other possible flags: -# db2: we lack the dep -# oracle: dito (need Oracle Client Libraries) -# xdb: (almost) dead, surely not supported - -IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" - -REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" - -RDEPEND=" - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:= - botan? ( =dev-libs/botan-1.10*[threads] ) - lua? ( dev-lang/lua:= ) - luajit? ( dev-lang/luajit:= ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4 ) - sqlite? ( dev-db/sqlite:3 ) - opendbx? ( dev-db/opendbx ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - protobuf? ( dev-libs/protobuf )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/${P/_/-} - -src_configure() { - local dynmodules="pipe bind" # the default backends, always enabled - - #use db2 && dynmodules+=" db2" - use ldap && dynmodules+=" ldap" - use lua && dynmodules+=" lua" - use mydns && dynmodules+=" mydns" - use mysql && dynmodules+=" gmysql" - use opendbx && dynmodules+=" opendbx" - #use oracle && dynmodules+=" goracle oracle" - use postgres && dynmodules+=" gpgsql" - use remote && dynmodules+=" remote" - use sqlite && dynmodules+=" gsqlite3" - use tinydns && dynmodules+=" tinydns" - use geoip && dynmodules+=" geoip" - #use xdb && dynmodules+=" xdb" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-modules= \ - --with-dynmodules="${dynmodules}" \ - --with-pgsql-includes=/usr/include \ - --with-pgsql-lib=/usr/$(get_libdir) \ - --with-mysql-lib=/usr/$(get_libdir) \ - $(use_enable botan botan1.10) \ - $(use_enable debug verbose-logging) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with lua) \ - $(use_with luajit) \ - $(use_with protobuf) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - doinitd "${FILESDIR}"/pdns - - keepdir /var/empty - - use doc && dohtml -r codedocs/html/. - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - prune_libtool_files --all -} - -pkg_preinst() { - enewgroup pdns - enewuser pdns -1 -1 /var/empty pdns -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." - - if use ldap ; then - ewarn "The official LDAP backend module is only compile-tested by upstream." - ewarn "Try net-dns/pdns-ldap-backend if you have problems with it." - fi - - local old - for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 3.2 - [[ $? -eq 1 ]] || continue - - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - ewarn "Check if this is correct for your setup" - ewarn "This is a one-time change and will not happen on subsequent updates." - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} - - break - done -} |