diff options
author | Jerry Alexandratos <jerry@gentoo.org> | 2000-12-20 20:50:02 +0000 |
---|---|---|
committer | Jerry Alexandratos <jerry@gentoo.org> | 2000-12-20 20:50:02 +0000 |
commit | d8319dc418de37b5845ece864e309706c5801279 (patch) | |
tree | b18f9d436f615ce67e29e50cf05a8148622e2846 /net-misc | |
parent | fixed it (diff) | |
download | gentoo-2-d8319dc418de37b5845ece864e309706c5801279.tar.gz gentoo-2-d8319dc418de37b5845ece864e309706c5801279.tar.bz2 gentoo-2-d8319dc418de37b5845ece864e309706c5801279.zip |
Added "--localstatedir=/var" to configure line.
Before named would start and try to put pidfile in /usr/var.
Added "--with-libtool".
This allows shared libraries to be built.
Have ${O}/files/named.conf install into ${D}/etc/bind instead of ${D}/etc.
This now matches the "--etcdir=/etc/bind" configuration parameter.
Removed the old portage as a matter of housekeeping...
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/bind/bind-9.0.1-r1.ebuild (renamed from net-misc/bind/bind-9.0.1.ebuild) | 20 | ||||
-rw-r--r-- | net-misc/bind/files/digest-bind-9.0.1-r1 (renamed from net-misc/bind/files/digest-bind-9.0.1) | 0 |
2 files changed, 11 insertions, 9 deletions
diff --git a/net-misc/bind/bind-9.0.1.ebuild b/net-misc/bind/bind-9.0.1-r1.ebuild index dd916deff439..51e3375767bd 100644 --- a/net-misc/bind/bind-9.0.1.ebuild +++ b/net-misc/bind/bind-9.0.1-r1.ebuild @@ -1,7 +1,7 @@ # 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: /var/cvsroot/gentoo-x86/net-misc/bind/bind-9.0.1.ebuild,v 1.1 2000/11/17 03:05:48 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bind/bind-9.0.1-r1.ebuild,v 1.1 2000/12/20 20:50:02 jerry Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -10,27 +10,29 @@ SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/"${A} HOMEPAGE="http://www.isc.org/products/BIND" DEPEND=">=sys-apps/bash-2.04 - >=sys-libs/glibc-2.1.3" + >=sys-devel/libtool-1.3.5 + >=sys-libs/glibc-2.1.3" src_compile() { - try ./configure --prefix=/usr --sysconfdir=/etc/bind --host=${CHOST} --build=${CHOST} + try ./configure --prefix=/usr --host=${CHOST} \ + --sysconfdir=/etc/bind --localstatedir=/var --with-libtool try make all } src_install() { - dodir /usr/bin - dodir /etc/rc.d/init.d - try make DESTDIR=${D} install + dodir /usr/bin + try make DESTDIR=${D} install + doman doc/man/*/*.[1-8] + + dodir /etc/rc.d/init.d cp ${O}/files/named ${D}/etc/rc.d/init.d - cp ${O}/files/named.conf ${D}/etc/named.conf + cp ${O}/files/named.conf ${D}/etc/bind/named.conf } pkg_config() { - . ${ROOT}/etc/rc.d/config/functions echo "BIND enabled." } - diff --git a/net-misc/bind/files/digest-bind-9.0.1 b/net-misc/bind/files/digest-bind-9.0.1-r1 index 848bbfa0d484..848bbfa0d484 100644 --- a/net-misc/bind/files/digest-bind-9.0.1 +++ b/net-misc/bind/files/digest-bind-9.0.1-r1 |