From 2d126baeb7abeb469efa9743244807513f3dbc84 Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Mon, 28 Mar 2005 23:40:35 +0000 Subject: install bin files (Portage version: 2.0.51.19) --- www-apps/freeradius-dialupadmin/files/setrootpath | 3 ++- .../freeradius-dialupadmin/freeradius-dialupadmin-1.0.2.ebuild | 8 ++++++-- 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 -- cgit v1.2.3-65-gdbad