public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Bind 8.2.3
@ 2001-02-14 20:38 Jerry A!
  2001-02-15  7:19 ` Achim Gottinger
  0 siblings, 1 reply; 11+ messages in thread
From: Jerry A! @ 2001-02-14 20:38 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Due to the announced security expliots in bind, I upgraded the v9
package in the CVS tree to 9.1.0.  I planned on upgrading the v8 package
to 8.2.3.  However, I wasn't able to get it to compile on my system.
I'm not suprised because more than likely I've gotten it dirty with all
the stuff I've been working on lately.

Anyway, I'm hoping that some soul out there will be kind enough to test
out the ebuild I'm attaching and let me know if it does or doesn't work
for them.  Oh, and please let me know the results.  8)

Thanks in advance...

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!

[-- Attachment #2: bind-8.2.3.ebuild --]
[-- Type: text/plain, Size: 2420 bytes --]

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /home/cvsroot/gentoo-x86/net-misc/bind/bind-8.2.2.7-r1.ebuild,v 1.2 2000/11/17 03:05:48 achim Exp $

A="bind-src.tar.gz bind-doc.tar.gz"
S=${WORKDIR}/src
DESCRIPTION="Name Server"
SRC_URI="ftp://ftp.isc.org/isc/bind/src/8.2.3/bind-src.tar.gz
         ftp://ftp.isc.org/isc/bind/src/8.2.3/bind-doc.tar.gz"
HOMEPAGE="http://www.isc.org/products/BIND"

DEPEND=">=sys-apps/bash-2.04
        >=sys-libs/glibc-2.1.3"


src_unpack() {
    unpack ${A}

    cd ${S}/port/linux
    cp Makefile.set Makefile.set.orig
    sed -e "s:CDEBUG=-O -g:CDEBUG=${CFLAGS}:" Makefile.set.orig > Makefile.set
}

src_compile() {
    cd ${S}
    try make depend
    try make
}

src_install() {
	into /usr
	for x in addr dig dnsquery host mkservdb nslookup nsupdate
	do
		dobin bin/${x}/${x}
	done	

	for x in dnskeygen irpd named named-bootconf named-xfer ndc
	do
		dosbin bin/${x}/${x}
	done

	dodoc CHANGES DNSSEC SUPPORT README LICENSE* TODO 
	docinto conf
	dodoc conf/README	
	docinto conf/recursive
	dodoc conf/recursive/* 
	docinto conf/recursive/pri
	dodoc conf/recursive/pri/* 
	docinto conf/workstation
	dodoc conf/workstation/* 
	docinto conf/workstation/pri
	dodoc conf/workstation/pri/* 
	dodir /etc/rc.d/init.d
	cp ${O}/files/named ${D}/etc/rc.d/init.d
	cp ${O}/files/named.conf ${D}/usr/doc/${PF}/conf/workstation/named.conf.gentoolinux
	dodir /etc/bind
	dodir /var/bind

    cd ${WORKDIR}/doc/html
    docinto html
    dodoc *

    cd ${WORKDIR}/doc/man
    for i in *.1 *.3 *.5 *.7 *.8
    do
        doman $i
    done
}

pkg_config() {
    . ${ROOT}/etc/rc.d/config/functions

    if [ -e ${ROOT}/etc/bind/named.conf ]; then
	echo "You already have a named.conf in ${ROOT}/etc/bind/named.conf, not creating one."
    else
	install -m0644 ${ROOT}/usr/doc/${PF}/conf/workstation/named.conf.gentoolinux ${ROOT}/etc/bind/named.conf
	mkdir ${ROOT}/var/bind/pri
	gzip -d ${ROOT}/usr/doc/${PF}/conf/workstation/root.cache.gz
	gzip -d ${ROOT}/usr/doc/${PF}/conf/workstation/pri/*.gz
	install -m0644 ${ROOT}/usr/doc/${PF}/conf/workstation/root.cache ${ROOT}/var/bind/root.cache
	install -m0644 ${ROOT}/usr/doc/${PF}/conf/workstation/pri/* ${ROOT}/var/bind/pri/
    fi
    echo; 

    ${ROOT}/usr/sbin/rc-update add named 
    echo; einfo "BIND enabled."
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-02-15 17:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-14 20:38 [gentoo-dev] Bind 8.2.3 Jerry A!
2001-02-15  7:19 ` Achim Gottinger
2001-02-15  7:25   ` Jerry A!
2001-02-15  7:49     ` Achim Gottinger
2001-02-15  7:56       ` Jerry A!
2001-02-15  9:43         ` Achim Gottinger
2001-02-15 10:03           ` Jerry A!
2001-02-15 10:07             ` Achim Gottinger
2001-02-15 10:14               ` Jerry A!
2001-02-15 10:30                 ` Jerry A!
2001-02-15 10:33                   ` Achim Gottinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox