From 8c131742d2e43eb68edadcb01b167839ca1fbfe8 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 7 Jun 2024 21:16:27 +0300 Subject: net-dns/mydns: treeclean Closes: https://bugs.gentoo.org/928942 Signed-off-by: Arthur Zamarin --- net-dns/mydns/Manifest | 1 - net-dns/mydns/files/mydns-1.2.8.27-m4.patch | 53 ------------ .../mydns/files/mydns-1.2.8.31-misc-libdir.patch | 41 --------- .../mydns/files/mydns-1.2.8.31-ssl-libdir.patch | 12 --- net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch | 30 ------- net-dns/mydns/files/mydns.confd | 4 - net-dns/mydns/files/mydns.initd | 35 -------- net-dns/mydns/metadata.xml | 12 --- net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 97 ---------------------- 9 files changed, 285 deletions(-) delete mode 100644 net-dns/mydns/Manifest delete mode 100644 net-dns/mydns/files/mydns-1.2.8.27-m4.patch delete mode 100644 net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch delete mode 100644 net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch delete mode 100644 net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch delete mode 100644 net-dns/mydns/files/mydns.confd delete mode 100644 net-dns/mydns/files/mydns.initd delete mode 100644 net-dns/mydns/metadata.xml delete mode 100644 net-dns/mydns/mydns-1.2.8.31-r2.ebuild (limited to 'net-dns') diff --git a/net-dns/mydns/Manifest b/net-dns/mydns/Manifest deleted file mode 100644 index 08befe1ea41c..000000000000 --- a/net-dns/mydns/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mydns-1.2.8.31.tar.gz 958701 BLAKE2B a07ca8314f6f8d3ce6cf88ce3a49238d00f1ed8e2352f3a76a9ffa348711f76e0cf19fa304a92a71b420c39db2795094d42997daddb091c7046e4bf1b61f6fe8 SHA512 471dfed9b4f38b446fd5896939faa4c58f4e1b3a3e6928fa84eddf769eba8f3406ef08c77ab39ee79d2ac85c1e72a499b283c7404a0cae9830ffe0faee9e2737 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 -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 @@ - - - - - - Enable David Phillips aliasing - Enable the STATUS opcode to check server status - - - mydns-ng - - 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 -p create mydns" - elog "# /usr/sbin/mydns --create-tables | mysql -u -p mydns" - elog - elog "to create the tables in the MySQL-Database." - elog "For more info see QUICKSTART.mysql." - fi - elog -} -- cgit v1.2.3-65-gdbad