Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138730 Details for
Bug 202571
net-dns/mydns CVE-2007-2362 Remote Buffer Overflow Vulnerability
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild update
mydns-1.1.0-r2.ebuild (text/plain), 1.98 KB, created by
Pedro Fragoso
on 2007-12-17 13:41:39 UTC
(
hide
)
Description:
ebuild update
Filename:
MIME Type:
Creator:
Pedro Fragoso
Created:
2007-12-17 13:41:39 UTC
Size:
1.98 KB
patch
obsolete
>nherit 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? ( dev-db/postgresql ) > !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 > epatch "${FILESDIR}"/05-fix-update-gobble-dns.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 <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 > 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 202571
: 138730 |
138731