diff options
Diffstat (limited to 'net-dns/mydns')
-rw-r--r-- | net-dns/mydns/Manifest | 9 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns-1.2.8.27-m4.patch | 53 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch | 41 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch | 12 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch | 30 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns.confd | 4 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns.initd | 35 | ||||
-rw-r--r-- | net-dns/mydns/metadata.xml | 12 | ||||
-rw-r--r-- | net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 97 |
9 files changed, 0 insertions, 293 deletions
diff --git a/net-dns/mydns/Manifest b/net-dns/mydns/Manifest deleted file mode 100644 index 92eb37f68715..000000000000 --- a/net-dns/mydns/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX mydns-1.2.8.27-m4.patch 1983 BLAKE2B fb02b3acf709ff26c9448531989af0b014d520d5d7d75bf93a49732fe5e9a31d1d0bb93b10100657d811ba0812529870d4959d7443801500655806fdd9e45dae SHA512 0111a517bbeec7101bccf9cda54dc15e46952e156f3a27b9305e0a92d8aeda58756dd4fae568cc5695c2bda25e9232012e117dd52178f1f39992fb4be75167ea -AUX mydns-1.2.8.31-misc-libdir.patch 1708 BLAKE2B 0de7521fd391c84990f7b3478220910b383066fba41f96c7955792d67ad420bbf736c1141ecfe362b657f1eebdd4cf4c4609ad0ef4b9bcd3fdf19e6e2c22f874 SHA512 feeba4d7ccd8a8e0c08b2e24081dcf495bb651554a7da151a33708f974c67cdf90d8a5bc20969b68ee29a02e1c3c898d9f457a40938ee34a2df965d694d7c9aa -AUX mydns-1.2.8.31-ssl-libdir.patch 465 BLAKE2B 7fb59812e6b15a86c791c7d07801193981c10deeb9aa71694bc15d1003eb037be165c6dbd81eb92e6bc4786d144c5813608f31116402b10d4237780033016468 SHA512 a16a3b0a67663ea0270e6d5734c82ffe51db00e01a9fa097c6780228ef680b3a2619dc1fe20d981e99fa09dc89d32c79267f9aa97baecb9608d9f81cae57c460 -AUX mydns-1.2.8.31-texinfo.patch 923 BLAKE2B 64146ddd6714fd5fb29cf0e3d85d6cc4358693d5d8d0ab7ca09b2c58d6bcdddbab5725a28e426735bbeca1a8e39aae9a3ac51654f6a7fd8f0cb7f47d1ca5191b SHA512 a6539e9bf7c87425c9ae6c598edd6460e24c46a13de64b4eb08358a3127cc21bd78bdbf6dcb071795b76262d8944d79daa18e3729dbafaea94067b4c4061d915 -AUX mydns.confd 84 BLAKE2B e95e66b464e9f7e7d3742312c9cd9bebc5cedc1f4f49fb4e632ef1f51820c6400c598ea611af51fde11da6cca93dd126bda8dd8ef20905c4f165935612e92681 SHA512 7fd98de31583d0556734b7313afa257b9f73f4d74611ce03dd44f2d7e833ec4f95b4bf84dab627d59da18f89f7dc1d9eb6d840a90b16556b4e1d97439944452a -AUX mydns.initd 850 BLAKE2B 58275e0415dbf27344045e9cc19037e09a5ee9dd1a52f80b6c05852313b646c7b41a52f1be46ff13629bc0873b2b7fc1db73e0cd45cfc7bb4c6d9a0582524fa1 SHA512 919a7022a350b121c8c0eed962d7a7233dc41f2e4cfda1185d642114719a533cff580367b9302b24e8c9d377c2ccb9b02ad45d638d5b483b7c101405cb9ba1be -DIST mydns-1.2.8.31.tar.gz 958701 BLAKE2B a07ca8314f6f8d3ce6cf88ce3a49238d00f1ed8e2352f3a76a9ffa348711f76e0cf19fa304a92a71b420c39db2795094d42997daddb091c7046e4bf1b61f6fe8 SHA512 471dfed9b4f38b446fd5896939faa4c58f4e1b3a3e6928fa84eddf769eba8f3406ef08c77ab39ee79d2ac85c1e72a499b283c7404a0cae9830ffe0faee9e2737 -EBUILD mydns-1.2.8.31-r2.ebuild 2263 BLAKE2B 4036d1e329c899d33bfaced6ac075c82df77935dca6a8768ed9c98da46ca05d98446686da02058efda2ccaa5205ab8822ca5e9390ae62fe667a0364f00851711 SHA512 3a0fdcae643c4d9563b4c2b8e081c6257ec0d52ab55495e0ccf0d37155ea49446fb57d4c861975a20c1cf907930a1f9f9169cf73a9c5a86034544f9b94a732c6 -MISC metadata.xml 397 BLAKE2B 780148e4483a152c816000711494663e669cfdef7fe01f9434a97d5a7a3e7a928266ef022a4efd0f5f3bd6314c67eea33140c385f95962f8a32d60e382ed272b SHA512 e8f8dd0e1767be16fa1925a6d2f395dc088c8af16eabca369a8881af287ffd082eacad076a2f4224254f62d3084fb76cd001ded607354c58d348c8ff22596573 diff --git a/net-dns/mydns/files/mydns-1.2.8.27-m4.patch b/net-dns/mydns/files/mydns-1.2.8.27-m4.patch deleted file mode 100644 index c32e7613b466..000000000000 --- a/net-dns/mydns/files/mydns-1.2.8.27-m4.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- mydns-1.1.0/m4/mydns.m4.orig 2010-12-01 21:57:52.000000000 +0100 -+++ mydns-1.1.0/m4/mydns.m4 2010-12-01 22:07:24.000000000 +0100 -@@ -542,46 +542,10 @@ - ## - AC_DEFUN([AC_LIB_MYSQLCLIENT], - [ -- libmysqlclient_dirs="/usr/local/mysql/lib /usr/local/lib/mysql /usr/local/lib /usr/lib/mysql /usr/lib /lib" -- AC_ARG_WITH(mysql-lib, -- AC_HELP_STRING([--with-mysql-lib=DIR], [look for the MySQL client library in DIR]), -- libmysqlclient_dirs="$withval $libmysqlclient_dirs") -- libmysqlclient_found=no, libmysqlclient_ok=no -- for libmysqlclient_dir in $libmysqlclient_dirs; do -- if test "$libmysqlclient_found" != yes; then -- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient_r.so, libmysqlclient_found=yes, libmysqlclient_found=no) -- if test "$libmysqlclient_found" != yes; then -- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient.so, libmysqlclient_found=yes, libmysqlclient_found=no) -- fi -- if test "$libmysqlclient_found" != yes; then -- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient.a, libmysqlclient_found=yes, libmysqlclient_found=no) -- fi -- if test "$libmysqlclient_found" = yes; then -- ## libmysqlclient depends on libz -- if ! test -n "$LIBZ"; then -- AC_LIB_Z -- fi -- if ! test -n "$LIBZ"; then -- ## No zlib -- AC_MSG_ERROR([ -- --][ ### --][ ### zlib compression library (libz.a) not found. --][ ### --][ ### Please download and install the zlib compression --][ ### library from the following URL: --][ ### --][ ### http://www.gzip.org/zlib/ --][ ### --][ ### (Error detail might be available in `config.log') --][ ### --]) -- fi -- LIBMYSQLCLIENT="-L$libmysqlclient_dir -lmysqlclient" -- libmysqlclient_found=yes -- fi -- fi -- done -+ AC_CHECK_PROG(LIBMYSQLCLIENT,mysql_config,`mysql_config --libs`) -+ if test -z "$LIBMYSQLCLIENT"; then -+ AC_MSG_ERROR([Could not find mysql_config script. Make sure the mysql client libraries are installed]) -+ fi - AC_SUBST(LIBMYSQLCLIENT) - ] - ) diff --git a/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch b/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch deleted file mode 100644 index 0bab445621c6..000000000000 --- a/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff --git a/m4/mydns.m4 b/m4/mydns.m4 -index a2e39c2..c174a18 100644 ---- a/m4/mydns.m4 -+++ b/m4/mydns.m4 -@@ -446,7 +446,7 @@ AC_DEFUN([AC_ENABLE_STATUS], - ## - AC_DEFUN([AC_LIB_Z], - [ -- ac_zlib_dirs="/lib /usr/lib /usr/local/lib" -+ ac_zlib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib" - AC_ARG_WITH(zlib, - AC_HELP_STRING([--with-zlib=DIR], [look for the zlib compression library in DIR]), - ac_zlib_dirs="$withval $ac_zlib_dirs") -@@ -476,7 +476,7 @@ AC_DEFUN([AC_LIB_Z], - ## - AC_DEFUN([AC_LIB_Z_STATIC], - [ -- ac_zlib_static_dirs="/lib /usr/lib /usr/local/lib" -+ ac_zlib_static_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib" - AC_ARG_WITH(zlib_static, - AC_HELP_STRING([--with-zlib-static=DIR], [look for the static zlib compression library in DIR]), - ac_zlib_static_dirs="$withval $ac_zlib_static_dirs") -@@ -607,7 +607,7 @@ AC_DEFUN([AC_CHECK_MYSQL], - ## - AC_DEFUN([AC_LIB_PQ], - [ -- ac_mydns_lib_dirs="/usr/local/pgsql/lib /lib /usr/lib /usr/local/lib" -+ ac_mydns_lib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib /usr/local/pgsql/lib" - AC_ARG_WITH(pgsql-lib, - AC_HELP_STRING([--with-pgsql-lib=DIR], - [look for the PostgreSQL client library in DIR]), -@@ -635,8 +635,7 @@ AC_DEFUN([AC_LIB_PQ], - ## - AC_DEFUN([AC_HEADER_PQ], - [ -- ac_mydns_header_dirs="/usr/local/pgsql/include /usr/include/postgresql \ -- /usr/include /usr/local/include" -+ ac_mydns_header_dirs="/usr/include/postgresql /usr/include /usr/local/include /usr/local/pgsql/include" - ac_mydns_header_found=no, ac_mydns_header_ok=no - AC_ARG_WITH(pgsql-include, - AC_HELP_STRING([--with-pgsql-include=DIR], diff --git a/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch b/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch deleted file mode 100644 index febd52814006..000000000000 --- a/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/695574 ---- a/m4/mydns.m4 -+++ b/m4/mydns.m4 -@@ -37,7 +37,7 @@ - ## - AC_DEFUN([AC_WITH_OPENSSL_LIB], - [ -- ac_ssl_lib_dirs="/lib /usr/lib /usr/local/lib /usr/ssl/lib /usr/local/ssl/lib" -+ ac_ssl_lib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib /usr/ssl/lib /usr/local/ssl/lib" - AC_ARG_WITH(openssl-lib, - AC_HELP_STRING([--with-openssl-lib=DIR], [look for the OpenSSL libraries in DIR]), - ac_ssl_lib_dirs="$withval $ac_ssl_lib_dirs") diff --git a/net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch b/net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch deleted file mode 100644 index 7b6b3d1a5aa3..000000000000 --- a/net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d341ad19c32777757d2ade6dc8c096a8d14dfb77 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Thu, 13 Aug 2015 23:10:29 +0200 -Subject: [PATCH] Fix texinfo compilation - -Error was: -./fdl.texi:371: raising the section level of @appendixsubsec which is too low - -Applying idea from -https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708589 ---- - doc/fdl.texi | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/doc/fdl.texi b/doc/fdl.texi -index a497bba..fc801a8 100644 ---- a/doc/fdl.texi -+++ b/doc/fdl.texi -@@ -368,7 +368,7 @@ as a draft) by the Free Software Foundation. - @end enumerate - - @page --@appendixsubsec ADDENDUM: How to use this License for your documents -+@appendixsec ADDENDUM: How to use this License for your documents - - To use this License in a document you have written, include a copy of - the License in the document and put the following copyright and --- -2.5.0 - diff --git a/net-dns/mydns/files/mydns.confd b/net-dns/mydns/files/mydns.confd deleted file mode 100644 index 1040f4b93c15..000000000000 --- a/net-dns/mydns/files/mydns.confd +++ /dev/null @@ -1,4 +0,0 @@ -MYDNS_CONFFILE="/etc/mydns.conf" - -#MYDNS_EXTRA_OPTS="--verbose" -MYDNS_EXTRA_OPTS="" diff --git a/net-dns/mydns/files/mydns.initd b/net-dns/mydns/files/mydns.initd deleted file mode 100644 index d78d1df91cb0..000000000000 --- a/net-dns/mydns/files/mydns.initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -MYDNS_CHECKCONF="/usr/bin/mydnscheck" -MYDNS_CONFFILE="${MYDNS_CONFFILE:-/etc/mydns.conf}" - -command="/usr/sbin/mydns" -command_args="--background --conf=${MYDNS_CONFFILE} ${MYDNS_EXTRA_OPTS}" -extra_commands="configtest" -extra_started_commands="reload" -pidfile="$(grep '^pidfile' ${MYDNS_CONFFILE} | sed -e 's/^pidfile\s*=\s*\([^# ]\+\?\)\s*\(#.*\)\?$/\1/')" -pidfile="${pidfile:-/var/run/mydns.pid}" - -depend() { - need net - use logger mysql postgresql -} - -checkconfig() { - "${MYDNS_CHECKCONF}" --conf="${MYDNS_CONFFILE}" - return $? -} - -configtest() { - ebegin "Checking ${SVCNAME} configuration" - checkconfig - eend $? -} - -reload() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} diff --git a/net-dns/mydns/metadata.xml b/net-dns/mydns/metadata.xml deleted file mode 100644 index 755b95aae261..000000000000 --- a/net-dns/mydns/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="alias">Enable David Phillips aliasing</flag> - <flag name="status">Enable the STATUS opcode to check server status</flag> - </use> - <upstream> - <remote-id type="sourceforge">mydns-ng</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild deleted file mode 100644 index ee7fcd029337..000000000000 --- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -DESCRIPTION="A DNS-Server which gets its data from a MySQL/PostgreSQL-database" -HOMEPAGE="http://www.mydns.pl/" -SRC_URI="https://downloads.sourceforge.net/mydns-ng/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86" -IUSE="alias debug nls mysql postgres ssl static status" - -BDEPEND="app-alternatives/yacc" -RDEPEND=" - virtual/libiconv - mysql? ( dev-db/mysql-connector-c:= ) - nls? ( virtual/libintl ) - postgres? ( dev-db/postgresql ) - ssl? ( dev-libs/openssl:0= ) -" -DEPEND=" - ${RDEPEND} - nls? ( >=sys-devel/gettext-0.12 ) -" - -REQUIRED_USE="^^ ( mysql postgres )" - -PATCHES=( - "${FILESDIR}/${PN}-1.2.8.27-m4.patch" - "${FILESDIR}/${P}-texinfo.patch" - "${FILESDIR}/${PN}-1.2.8.31-ssl-libdir.patch" - "${FILESDIR}/${PN}-1.2.8.31-misc-libdir.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # bug #775134 - append-flags -fcommon - - econf \ - $(use_enable alias) \ - $(use_enable nls) \ - $(use_enable debug) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_enable static) \ - $(use_enable static static-build) \ - $(use_enable status) \ - $(use_with ssl openssl) \ - --without-included-gettext -} - -src_install() { - default - - dodoc AUTHORS BUGS ChangeLog QUICKSTART* NEWS README* TODO - docinto contrib - dodoc contrib/*.php contrib/*.pl contrib/*.pm contrib/README* - - newinitd "${FILESDIR}/mydns.initd" mydns - newconfd "${FILESDIR}/mydns.confd" mydns - - ## Avoid file collision - rm -f "${ED}/usr/share/locale/locale.alias" - - # Install config file - insinto /etc - newins mydns.conf mydns.conf - fowners root:root /etc/mydns.conf - fperms 0600 /etc/mydns.conf -} - -pkg_postinst() { - if use postgres; then - elog "# createdb mydns" - elog "# /usr/sbin/mydns --create-tables | psql mydns" - elog - elog "to create the tables in the PostgreSQL-Database." - elog "For more info see QUICKSTART.postgres." - fi - if use mysql; then - elog "# mysqladmin -u <useruname> -p create mydns" - elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns" - elog - elog "to create the tables in the MySQL-Database." - elog "For more info see QUICKSTART.mysql." - fi - elog -} |