ChangeLog

# 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 $

21 May 2008; Tiziano Müller mydns-1.1.0.ebuild,
mydns-1.1.0-r1.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server

02 Nov 2007; Steve Dibb mydns-1.1.0-r1.ebuild:
amd64 stable, bug 196072

15 May 2007; Thilo Bangert metadata.xml:
add no-herd

06 May 2007; Marius Mauch mydns-1.1.0.ebuild,
mydns-1.1.0-r1.ebuild:
Replacing einfo with elog

02 May 2007; Jose Luis Rivero mydns-1.1.0-r1.ebuild:
Stable on alpha wrt security #176130

02 May 2007; Gustavo Zacarias mydns-1.1.0-r1.ebuild:
Stable on sparc wrt security #176130

30 Apr 2007; Raúl Porcel mydns-1.1.0-r1.ebuild:
ia64 + x86 stable wrt security bug 176130

*mydns-1.1.0-r1 (30 Apr 2007)

30 Apr 2007; MATSUU Takuto
+files/04-update-smash-fix.dpatch, files/mydns.rc6,
+mydns-1.1.0-r1.ebuild:
Fixed security bug #176130.
Fixed bug #162644.

29 Apr 2007; Torsten Veller mydns-1.1.0.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)

01 Mar 2007; MATSUU Takuto mydns-1.1.0.ebuild:
Removed mysql USE flag, bug #168179.

23 Nov 2006; Francesco Riosa mydns-1.1.0.ebuild:
dev-db/mysql => virtual/mysql

22 Oct 2006; +files/mydns-1.1.0-gcc41.patch,
mydns-1.1.0.ebuild:
Added patch to build against gcc-4.1, the patch is currently #commented out
for testing. MATSUU please check it

27 Apr 2006; Jason Wever mydns-1.1.0.ebuild:
Stable on SPARC.

26 Apr 2006; MATSUU Takuto -files/mydns.rc6-0.11.0,
-mydns-0.11.0.ebuild, -mydns-1.0.0.ebuild:
Removed old versions

10 Mar 2006; Aron Griffis mydns-1.1.0.ebuild:
Mark 1.1.0 stable on ia64

23 Jan 2006; Jose Luis Rivero mydns-1.1.0.ebuild:
Stable on alpha wrt security bug #119548

22 Jan 2006; Mark Loeser mydns-1.1.0.ebuild:
Stable on x86; bug #119548

*mydns-1.1.0 (22 Jan 2006)

22 Jan 2006; MATSUU Takuto +mydns-1.1.0.ebuild:
Version bump , fixed security bug 119548.
Added mysql_config support, bug 119111.

05 Nov 2005; MATSUU Takuto mydns-1.0.0.ebuild:
Stable on x86.

15 Sep 2005; Aron Griffis mydns-0.11.0.ebuild:
Mark 0.11.0 stable on alpha

01 Apr 2005; Aron Griffis mydns-0.11.0.ebuild:
stable on ia64

*mydns-1.0.0 (15 Jan 2005)

15 Jan 2005; MATSUU Takuto files/mydns.rc6,
-mydns-0.10.3.ebuild, mydns-0.11.0.ebuild, +mydns-1.0.0.ebuild:
Version bumped.
Fixed init.d script. Bug 77895.

01 Jul 2004; Jeremy Huddleston mydns-0.10.3.ebuild,
mydns-0.11.0.ebuild:
virtual/glibc -> virtual/libc

*mydns-0.11.0 (13 Jun 2004)

13 Jun 2004; files/mydns.rc6, +files/mydns.rc6-0.11.0,
-mydns-0.10.4.ebuild, +mydns-0.11.0.ebuild:
Version bumped.
Fixed typo in files/mydns.rc6. Bug #53562.
Fixed default database problem. Bug #53449.

09 Jun 2004; Aron Griffis mydns-0.10.3.ebuild,
mydns-0.10.4.ebuild:
Fix use invocation

*mydns-0.10.4 (01 May 2004)

01 May 2004; -mydns-0.10.2.ebuild, mydns-0.10.3.ebuild,
+mydns-0.10.4.ebuild:
Version bumped.

*mydns-0.10.3 (27 Mar 2004)

27 Mar 2004; mydns-0.10.3.ebuild:
Version bump; this closes bug #45726.

*mydns-0.10.2 (21 Feb 2004)

21 Feb 2004; MATSUU Takuto mydns-0.10.0.ebuild,
mydns-0.10.2.ebuild:
Version bump; this closes bug #41807.

*mydns-0.10.1 (22 Dec 2003)

22 Dec 2003; mydns-0.10.1.ebuild:
Version bump; this closes bug #36244.

*mydns-0.10.0 (27 Sep 2003)

27 Sep 2003; MATSUU Takuto mydns-0.10.0.ebuild,
files/mydns.rc6:
Initial import.

Manifest

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-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
MISC metadata.xml 251 RMD160 58a8bec2df5c245608872a877e07f17c9dce67ae SHA1 fe701cce1a33ccb7f6228660553010a20fd4cd0e SHA256 efde3011d6052ddee742d4c78f9ef9134cefd919991e705cfd4fede1b0658eee

files

metadata.xml




no-herd

matsuu@gentoo.org
MATSUU Takuto

mydns-1.1.0-r1.ebuild

# 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-r1.ebuild,v 1.7 2008/05/21 18:53:56 dev-zero Exp $

inherit eutils

DESCRIPTION="A DNS-Server which gets its data from mysql-databases"
HOMEPAGE="http://mydns.bboy.net/"
SRC_URI="http://mydns.bboy.net/download/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86"
IUSE="debug nls postgres ssl static zlib"

RDEPEND="virtual/libc
ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )
postgres? ( virtual/postgresql-server )
!postgres? ( virtual/mysql )"
DEPEND="${RDEPEND}
sys-devel/bison"

src_unpack() {
unpack ${A}

cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch
epatch "${FILESDIR}"/04-update-smash-fix.dpatch
autoconf || die
}

src_compile() {
local myconf

if ! use postgres; then
myconf="${myconf} --with-mysql"
else
myconf="${myconf} --without-mysql --with-pgsql"
fi

econf --enable-alias \
`use_enable nls` \
`use_enable debug` \
`use_enable static static-build` \
`use_with ssl openssl` \
`use_with zlib` \
${myconf} || die

emake || die
}

src_install() {
make 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
dodoc QUICKSTART.postgres
fi
}

pkg_postinst() {
elog
elog "You should now run these commands:"
elog
elog "# /usr/sbin/mydns --dump-config > /etc/mydns.conf"
elog "# chmod 0600 /etc/mydns.conf"
if ! use postgres; 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."
else
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
elog
}

mydns-1.1.0.ebuild

# 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 $

inherit eutils

DESCRIPTION="A DNS-Server which gets its data from mysql-databases"
HOMEPAGE="http://mydns.bboy.net/"
SRC_URI="http://mydns.bboy.net/download/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ~hppa ia64 ~ppc sparc x86"
IUSE="debug nls postgres ssl static zlib"

RDEPEND="virtual/libc
ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )
postgres? ( virtual/postgresql-server )
!postgres? ( virtual/mysql )"
DEPEND="${RDEPEND}
sys-devel/bison"

src_unpack() {
unpack ${A}

cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch
#epatch "${FILESDIR}"/${P}-gcc41.patch
autoconf || die
}

src_compile() {
local myconf

if ! use postgres; then
myconf="${myconf} --with-mysql"
else
myconf="${myconf} --without-mysql --with-pgsql"
fi

econf --enable-alias \
`use_enable nls` \
`use_enable debug` \
`use_enable static static-build` \
`use_with ssl openssl` \
`use_with zlib` \
${myconf} || die

emake || die
}

src_install() {
make 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
dodoc QUICKSTART.postgres
fi
}

pkg_postinst() {
elog
elog "You should now run these commands:"
elog
elog "# /usr/sbin/mydns --dump-config > /etc/mydns.conf"
elog "# chmod 0600 /etc/mydns.conf"
if ! use postgres; 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."
else
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
elog
}