public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jerry A! <jerry@thehutt.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Bind 8.2.3
Date: Wed Feb 14 20:38:01 2001	[thread overview]
Message-ID: <20010214223723.A1278@kabbu.akopia.com> (raw)

[-- 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."
}

             reply	other threads:[~2001-02-15  3:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 20:38 Jerry A! [this message]
2001-02-15  7:19 ` [gentoo-dev] Bind 8.2.3 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010214223723.A1278@kabbu.akopia.com \
    --to=jerry@thehutt.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox