* [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/files/, net-dns/mydns/
@ 2015-08-13 21:27 Sebastian Pipping
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pipping @ 2015-08-13 21:27 UTC (permalink / raw
To: gentoo-commits
commit: e70eb77fc20f81cc8f1ce7e84c7294eea4b1c532
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 21:25:26 2015 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 21:26:08 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70eb77f
net-dns/mydns: Fix compilation (bug #526964)
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch | 30 ++++++++++++++++++++++++
net-dns/mydns/mydns-1.2.8.31.ebuild | 3 ++-
2 files changed, 32 insertions(+), 1 deletion(-)
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
new file mode 100644
index 0000000..7b6b3d1
--- /dev/null
+++ b/net-dns/mydns/files/mydns-1.2.8.31-texinfo.patch
@@ -0,0 +1,30 @@
+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/mydns-1.2.8.31.ebuild b/net-dns/mydns/mydns-1.2.8.31.ebuild
index f415cff..52e131e 100644
--- a/net-dns/mydns/mydns-1.2.8.31.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -29,6 +29,7 @@ REQUIRED_USE="^^ ( mysql postgres )"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.2.8.27-m4.patch"
eautoreconf
+ epatch "${FILESDIR}/${P}-texinfo.patch"
}
src_configure() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/files/, net-dns/mydns/
@ 2016-04-28 23:44 Austin English
0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2016-04-28 23:44 UTC (permalink / raw
To: gentoo-commits
commit: d6199160ccda34719b5a35e0896870a1dfb61b19
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 22:47:25 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 22:47:25 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6199160
net-dns/mydns: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
net-dns/mydns/files/mydns.initd | 4 +-
net-dns/mydns/mydns-1.2.8.31-r1.ebuild | 85 ++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+), 2 deletions(-)
diff --git a/net-dns/mydns/files/mydns.initd b/net-dns/mydns/files/mydns.initd
index 9708761..d78d1df 100644
--- a/net-dns/mydns/files/mydns.initd
+++ b/net-dns/mydns/files/mydns.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
MYDNS_CHECKCONF="/usr/bin/mydnscheck"
diff --git a/net-dns/mydns/mydns-1.2.8.31-r1.ebuild b/net-dns/mydns/mydns-1.2.8.31-r1.ebuild
new file mode 100644
index 0000000..21949bb
--- /dev/null
+++ b/net-dns/mydns/mydns-1.2.8.31-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database"
+HOMEPAGE="http://www.mydns.pl/"
+SRC_URI="mirror://sourceforge/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"
+
+RDEPEND="mysql? ( virtual/mysql )
+ nls? ( virtual/libintl )
+ postgres? ( dev-db/postgresql )
+ ssl? ( dev-libs/openssl )
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ nls? ( >=sys-devel/gettext-0.12 )
+ sys-devel/bison"
+
+REQUIRED_USE="^^ ( mysql postgres )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.2.8.27-m4.patch"
+ eautoreconf
+ epatch "${FILESDIR}/${P}-texinfo.patch"
+}
+
+src_configure() {
+ 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
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/files/, net-dns/mydns/
@ 2021-03-09 11:44 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-03-09 11:44 UTC (permalink / raw
To: gentoo-commits
commit: c75f1a32274c3e88845fa7c6e4e0ca432bad6bd3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 9 11:37:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 9 11:44:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75f1a32
net-dns/mydns: fix openssl libdir search path
Thanks-to: Xepher <xepher <AT> xepher.net>
Closes: https://bugs.gentoo.org/695574
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch | 12 ++++++++++++
net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 1 +
2 files changed, 13 insertions(+)
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
new file mode 100644
index 00000000000..febd5281400
--- /dev/null
+++ b/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch
@@ -0,0 +1,12 @@
+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/mydns-1.2.8.31-r2.ebuild b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
index febcd54ce5d..fac52425d23 100644
--- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
@@ -28,6 +28,7 @@ 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"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/files/, net-dns/mydns/
@ 2021-03-09 11:44 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-03-09 11:44 UTC (permalink / raw
To: gentoo-commits
commit: b63f030857c045cdc7d7bc65e8f0c85055859332
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 9 11:43:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 9 11:44:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63f0308
net-dns/mydns: add extended libdir patch for postgresql, zlib, etc
Bug: https://bugs.gentoo.org/695574
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../mydns/files/mydns-1.2.8.31-misc-libdir.patch | 41 ++++++++++++++++++++++
net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 1 +
2 files changed, 42 insertions(+)
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
new file mode 100644
index 00000000000..0bab445621c
--- /dev/null
+++ b/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch
@@ -0,0 +1,41 @@
+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/mydns-1.2.8.31-r2.ebuild b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
index fac52425d23..6c69c1c647b 100644
--- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
@@ -29,6 +29,7 @@ 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() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-09 11:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 11:44 [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/files/, net-dns/mydns/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2021-03-09 11:44 Sam James
2016-04-28 23:44 Austin English
2015-08-13 21:27 Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox