diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-28 01:38:57 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-28 01:38:57 +0000 |
commit | f6d371c819cefcdc35a730e9685be7b443f86820 (patch) | |
tree | 1f8d0f1b51f53bd1d8f53674c0190bbe44b63138 /net-dns/mydns | |
parent | amd64 stable for both versions, bug 252747 (diff) | |
download | historical-f6d371c819cefcdc35a730e9685be7b443f86820.tar.gz historical-f6d371c819cefcdc35a730e9685be7b443f86820.tar.bz2 historical-f6d371c819cefcdc35a730e9685be7b443f86820.zip |
Fixed static issue, bug #183518. Replaced autoconf to eautoreconf, bug #226413. Fixed QA issue.
Package-Manager: portage-2.1.6.3/cvs/Linux 2.6.28-gentoo x86_64
Diffstat (limited to 'net-dns/mydns')
-rw-r--r-- | net-dns/mydns/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/mydns/Manifest | 5 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns-1.1.0-gentoo.patch | 55 | ||||
-rw-r--r-- | net-dns/mydns/mydns-1.1.0-r2.ebuild (renamed from net-dns/mydns/mydns-1.1.0.ebuild) | 70 |
4 files changed, 103 insertions, 37 deletions
diff --git a/net-dns/mydns/ChangeLog b/net-dns/mydns/ChangeLog index 91864f0c6afc..0d178bd83706 100644 --- a/net-dns/mydns/ChangeLog +++ b/net-dns/mydns/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dns/mydns # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.31 2008/05/21 18:53:56 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.32 2008/12/28 01:38:57 matsuu Exp $ + +*mydns-1.1.0-r2 (28 Dec 2008) + + 28 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> + +files/mydns-1.1.0-gentoo.patch, -mydns-1.1.0.ebuild, + +mydns-1.1.0-r2.ebuild: + Fixed static issue, bug #183518. Replaced autoconf to eautoreconf, bug + #226413. Fixed QA issue. Removed old revision. 21 May 2008; Tiziano Müller <dev-zero@gentoo.org> mydns-1.1.0.ebuild, mydns-1.1.0-r1.ebuild: diff --git a/net-dns/mydns/Manifest b/net-dns/mydns/Manifest index 817fe84d670a..b34a5554d756 100644 --- a/net-dns/mydns/Manifest +++ b/net-dns/mydns/Manifest @@ -1,9 +1,10 @@ AUX 04-update-smash-fix.dpatch 1175 RMD160 344a2360a1b746da4d612a7fc070aca5a552930a SHA1 8ecd7ab4365e9b4f42d8cd74c5daa2e86137cfbc SHA256 2f4054a5c65e59e2f41e6633b07078bbc736b8196db22c11aaae3bae2cb9f11e AUX mydns-1.1.0-gcc41.patch 9447 RMD160 d04c549f711f8afc405dc05e97582a7e8c994e06 SHA1 29826d1cd87935ec72e8289bad852d6334a8648a SHA256 2f1431b9c08735203351d12d3043c469bd5ec65d77c0f44bcc6ca4c3801b0a1b +AUX mydns-1.1.0-gentoo.patch 2069 RMD160 dfe4248f3a5a7ab816f3542e0b876d7b54c2571e SHA1 aa78ac0b185940135c9aad3671420ce97175595b SHA256 6e776c52b4eaf824a0582dac84b3a15cf9a140c414eef8292b1cbf4850f41338 AUX mydns-1.1.0-m4.patch 3055 RMD160 2a0c9843f05b713efd6d21671d960ab079766780 SHA1 aa5e2820608f8047f23d460e84dcb71bfc8d26d0 SHA256 9cf87e1dd03cd83655099eb850285f2b67893fe490cd20f053c33e9bec8046c2 AUX mydns.rc6 903 RMD160 bb97a7ce94249f9de78e4a5e9164f17339f873c9 SHA1 fb1477b08584cbc2e9027fe1351c3a5e34e802f6 SHA256 36dadbe2c880928a43d33049c02026df47478f79ff97768a6143db6cddc3aba4 DIST mydns-1.1.0.tar.bz2 573261 RMD160 ffd7c5d42d5e004e06562d4fb497cc515f31fed9 SHA1 71979409bf46e38b443ee940a6ecb0e42464bc0b SHA256 ecfcc8bb8fd9f707d2e7af808317cdcc3a4d701375265840944c4e0ff0d66bf6 EBUILD mydns-1.1.0-r1.ebuild 2198 RMD160 f6a81b574cc61537152c97868ad262a3508b4f73 SHA1 02cd06dc27751711e0671b08949034b5eed23b23 SHA256 e5d2dad724db2cbbbefbd5d8f5862f6a09e57e67aef6eebb3d6f62ce5b680690 -EBUILD mydns-1.1.0.ebuild 2188 RMD160 3e2822b8dc9b5f00d3dc4c5bc134e164b076bde2 SHA1 09667960987f8df18b001c1e06ab39183eca9aa5 SHA256 ded7262fc5a2f84d911990d6732c8b6096a1d688db37ddf79481dc3e38bef033 -MISC ChangeLog 4241 RMD160 b10bf8d844a47965e835b2cdd06a01ad67081299 SHA1 43f4745273f192c06ec1109d09e4b7cf886bae3c SHA256 e7bf57c74fe2c1434a8437d9441c808d8d6a37293ad59d4aabc57735c26bd705 +EBUILD mydns-1.1.0-r2.ebuild 2330 RMD160 d465593bfa39ecdc386463af6c51cdf4e5946814 SHA1 a5a97e65260dd5adbf27df60a991361f86915a4a SHA256 fbe1786e2fd5ef774d5ae0c96b3740fd852a4ebaf5ef8e449854dce6a1aaca03 +MISC ChangeLog 4524 RMD160 4515097a2a658292b01c74a3bf72ba33990e22fa SHA1 3fcd6df4f731c29ab86cc35486790afdf2ab5bf3 SHA256 93eeca95d675937cdb45ab1381faa55652a111d67fd1e45b61987ce42f52a27c MISC metadata.xml 251 RMD160 58a8bec2df5c245608872a877e07f17c9dce67ae SHA1 fe701cce1a33ccb7f6228660553010a20fd4cd0e SHA256 efde3011d6052ddee742d4c78f9ef9134cefd919991e705cfd4fede1b0658eee diff --git a/net-dns/mydns/files/mydns-1.1.0-gentoo.patch b/net-dns/mydns/files/mydns-1.1.0-gentoo.patch new file mode 100644 index 000000000000..e27acf6978d5 --- /dev/null +++ b/net-dns/mydns/files/mydns-1.1.0-gentoo.patch @@ -0,0 +1,55 @@ +diff -Naur mydns-1.1.0.orig/doc/Makefile.am mydns-1.1.0/doc/Makefile.am +--- mydns-1.1.0.orig/doc/Makefile.am 2004-02-28 03:28:06.000000000 +0900 ++++ mydns-1.1.0/doc/Makefile.am 2008-12-28 09:48:57.000000000 +0900 +@@ -33,25 +33,25 @@ + fi + + mydns.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydnscheck.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydns.conf.5: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydns-conf.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydnsexport.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydnsimport.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + mydnsptrconvert.8: sedfile ${@:=.in} +- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ ++ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@ + + html: + if [ -x /usr/local/bin/mydns-texi2html ]; then /usr/local/bin/mydns-texi2html mydns.texi; fi +diff -Naur mydns-1.1.0.orig/m4/mydns.m4 mydns-1.1.0/m4/mydns.m4 +--- mydns-1.1.0.orig/m4/mydns.m4 2006-01-19 07:08:14.000000000 +0900 ++++ mydns-1.1.0/m4/mydns.m4 2008-12-28 09:29:30.000000000 +0900 +@@ -363,7 +363,6 @@ + AC_C_CFLAGS(-fomit-frame-pointer) + AC_C_CFLAGS(-finline-functions) + AC_C_CFLAGS(-ffast-math) +- LDFLAGS="$LDFLAGS -static" + fi + fi + ], [ +@@ -372,7 +371,6 @@ + AC_C_CFLAGS(-fomit-frame-pointer) + AC_C_CFLAGS(-finline-functions) + AC_C_CFLAGS(-ffast-math) +- LDFLAGS="$LDFLAGS -static" + fi + ] + ) diff --git a/net-dns/mydns/mydns-1.1.0.ebuild b/net-dns/mydns/mydns-1.1.0-r2.ebuild index fd5c8f61322a..d1cb5a0190bc 100644 --- a/net-dns/mydns/mydns-1.1.0.ebuild +++ b/net-dns/mydns/mydns-1.1.0-r2.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.1.0.ebuild,v 1.11 2008/05/21 18:53:56 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.1.0-r2.ebuild,v 1.1 2008/12/28 01:38:57 matsuu Exp $ -inherit eutils +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools eutils DESCRIPTION="A DNS-Server which gets its data from mysql-databases" HOMEPAGE="http://mydns.bboy.net/" @@ -10,11 +13,10 @@ SRC_URI="http://mydns.bboy.net/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~hppa ia64 ~ppc sparc x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" IUSE="debug nls postgres ssl static zlib" -RDEPEND="virtual/libc - ssl? ( dev-libs/openssl ) +RDEPEND="ssl? ( dev-libs/openssl ) zlib? ( sys-libs/zlib ) postgres? ( virtual/postgresql-server ) !postgres? ( virtual/mysql )" @@ -25,45 +27,45 @@ src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-m4.patch - #epatch "${FILESDIR}"/${P}-gcc41.patch - autoconf || die + epatch "${FILESDIR}/${P}-m4.patch" + epatch "${FILESDIR}/04-update-smash-fix.dpatch" + epatch "${FILESDIR}/${P}-gentoo.patch" + eautoreconf } src_compile() { - local myconf + local myconf="--enable-alias" - if ! use postgres; then - myconf="${myconf} --with-mysql" - else + if use postgres; then myconf="${myconf} --without-mysql --with-pgsql" + else + myconf="${myconf} --with-mysql" fi - econf --enable-alias \ - `use_enable nls` \ - `use_enable debug` \ - `use_enable static static-build` \ - `use_with ssl openssl` \ - `use_with zlib` \ + econf \ + $(use_enable nls) \ + $(use_enable debug) \ + $(use_enable static) \ + $(use_enable static static-build) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ ${myconf} || die - emake || die } src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die dodoc AUTHORS BUGS ChangeLog NEWS README TODO - newinitd "${FILESDIR}"/mydns.rc6 mydns || die - - if ! use postgres; then - sed -i -e 's/__db__/mysql/g' "${D}"/etc/init.d/mydns || die - dodoc QUICKSTART.mysql README.mysql - else - sed -i -e 's/__db__/postgresql/g' "${D}"/etc/init.d/mydns || die + if use postgres; then + sed -e 's/__db__/postgresql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die dodoc QUICKSTART.postgres + else + sed -e 's/__db__/mysql/g' "${FILESDIR}/mydns.rc6" > "${T}/mydns.rc6" || die + dodoc QUICKSTART.mysql README.mysql fi + newinitd "${T}/mydns.rc6" mydns || die } pkg_postinst() { @@ -72,18 +74,18 @@ pkg_postinst() { elog elog "# /usr/sbin/mydns --dump-config > /etc/mydns.conf" elog "# chmod 0600 /etc/mydns.conf" - if ! use postgres; 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." - else + 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." + else + 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 } |