summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-28 23:40:35 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-28 23:40:35 +0000
commit2d126baeb7abeb469efa9743244807513f3dbc84 (patch)
tree9e430bb0347af2b09f64be435721c9847ad29b11 /www-apps
parentstable on amd64 wrt #73241 (diff)
downloadgentoo-2-2d126baeb7abeb469efa9743244807513f3dbc84.tar.gz
gentoo-2-2d126baeb7abeb469efa9743244807513f3dbc84.tar.bz2
gentoo-2-2d126baeb7abeb469efa9743244807513f3dbc84.zip
install bin files
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/freeradius-dialupadmin/files/setrootpath3
-rw-r--r--www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild8
2 files changed, 8 insertions, 3 deletions
diff --git a/www-apps/freeradius-dialupadmin/files/setrootpath b/www-apps/freeradius-dialupadmin/files/setrootpath
index 6098945fbcd4..d7d8d000d366 100644
--- a/www-apps/freeradius-dialupadmin/files/setrootpath
+++ b/www-apps/freeradius-dialupadmin/files/setrootpath
@@ -1,5 +1,6 @@
#!/bin/sh
if [ "$1" = "install" ]; then
- sed -i -e "s:/usr/dialup_admin:${VHOST_ROOT}:" ${VHOST_ROOT}/conf/{._*admin.conf,admin.conf}
+ sed -i -e "s:/usr/dialup_admin:${VHOST_ROOT}:" ${VHOST_ROOT}/{conf/._*admin.conf,conf/admin.conf,bin/*}
+ chmod -R o-rwx ${VHOST_ROOT}/conf
fi
diff --git a/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild
index a5fd2d0c8081..09986085071e 100644
--- a/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild
+++ b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild,v 1.1 2005/03/28 22:58:29 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild,v 1.2 2005/03/28 23:40:35 mrness Exp $
inherit webapp
@@ -29,6 +29,7 @@ src_unpack() {
-e 's:/usr/etc/raddb:${general_raddb_dir}:' \
-e 's:/usr/radiusd::' \
conf/admin.conf
+ sed -i -e 's:/usr/local:/usr:' bin/*
#rename files .php3 -> .php
(find . -iname '*.php3' | (
@@ -48,11 +49,13 @@ src_install() {
doins -r htdocs/*
insinto ${MY_HOSTROOTDIR}
doins -r conf html lib
+ exeinto ${MY_HOSTROOTDIR}/bin
+ doexe bin/[a-z]*
insinto ${MY_SQLSCRIPTSDIR}
doins sql/*
- dodoc Changelog README doc/*
+ dodoc Changelog bin/Changelog* README doc/*
webapp_hook_script ${FILESDIR}/setrootpath
@@ -60,6 +63,7 @@ src_install() {
local CONFFILE
for CONFFILE in conf/* ; do
webapp_configfile ${MY_HOSTROOTDIR}/${CONFFILE}
+ webapp_serverowned ${MY_HOSTROOTDIR}/${CONFFILE}
done
webapp_src_install