summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/quagga/quagga-0.97.2.ebuild')
-rw-r--r--net-misc/quagga/quagga-0.97.2.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/net-misc/quagga/quagga-0.97.2.ebuild b/net-misc/quagga/quagga-0.97.2.ebuild
index 2b75b326338d..602a0d5a2e76 100644
--- a/net-misc/quagga/quagga-0.97.2.ebuild
+++ b/net-misc/quagga/quagga-0.97.2.ebuild
@@ -1,7 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Copyright 2003-2004 DataCore GmbH
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.97.2.ebuild,v 1.2 2004/11/02 23:40:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.97.2.ebuild,v 1.3 2005/03/20 18:09:43 mrness Exp $
inherit eutils
@@ -18,7 +17,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
IUSE="ipv6 snmp pam tcpmd5 ospfapi"
RDEPEND="sys-apps/iproute2
- =sys-libs/libcap-1.10-r3
+ >=sys-libs/libcap-1.10-r3
!sys-apps/zebra
!sys-apps/zebra-ag-svn
!sys-apps/zebra-pj-cvs
@@ -80,7 +79,7 @@ src_compile() {
# configure the stuff
- ./configure --host=${HOST} \
+ ./configure --host=${CHOST} \
--prefix=${D}/usr \
--enable-tcp-zebra \
--enable-nssa \
@@ -118,7 +117,9 @@ src_install() {
pkg_postinst() {
# empty dir for pid files for the new priv separation auth
- install -d -m0755 -o quagga -g quagga ${ROOT}/var/run/quagga
+ #set proper owner/group/perms even if dir already existed
+ install -d -m0700 -o ${QUAGGA_USER_NAME} -g ${QUAGGA_GROUP_NAME} ${ROOT}/etc/quagga
+ install -d -m0755 -o ${QUAGGA_USER_NAME} -g ${QUAGGA_GROUP_NAME} ${ROOT}/var/run/quagga
einfo "Sample configuration files can be found in /etc/quagga/sample."
einfo "You have to create config files in /etc/quagga before"