summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-09-09 20:49:56 +0000
committerAlin Năstac <mrness@gentoo.org>2006-09-09 20:49:56 +0000
commit5614ba4a64029d1f78c2940ca74c1f7eb09df8bc (patch)
tree76bdd8daaa10a0a0a31e88984b6dbaa93d56ba2c /www-apps/freeradius-dialupadmin
parentRemove unnecessary dev-libs/popt dependency. (diff)
downloadhistorical-5614ba4a64029d1f78c2940ca74c1f7eb09df8bc.tar.gz
historical-5614ba4a64029d1f78c2940ca74c1f7eb09df8bc.tar.bz2
historical-5614ba4a64029d1f78c2940ca74c1f7eb09df8bc.zip
Version bump
Package-Manager: portage-2.1-r2
Diffstat (limited to 'www-apps/freeradius-dialupadmin')
-rw-r--r--www-apps/freeradius-dialupadmin/ChangeLog11
-rw-r--r--www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.22
-rw-r--r--www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.33
-rw-r--r--www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch11
-rw-r--r--www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild79
5 files changed, 105 insertions, 1 deletions
diff --git a/www-apps/freeradius-dialupadmin/ChangeLog b/www-apps/freeradius-dialupadmin/ChangeLog
index ded037d45be7..f0f6e17a3dea 100644
--- a/www-apps/freeradius-dialupadmin/ChangeLog
+++ b/www-apps/freeradius-dialupadmin/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for www-apps/freeradius-dialupadmin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/freeradius-dialupadmin/ChangeLog,v 1.5 2006/05/13 08:16:48 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/freeradius-dialupadmin/ChangeLog,v 1.6 2006/09/09 20:49:56 mrness Exp $
+
+*freeradius-dialupadmin-1.70.3 (09 Sep 2006)
+
+ 09 Sep 2006; Alin Nastac <mrness@gentoo.org>
+ +files/freeradius-dialupadmin-1.70.3-sqldebug.patch,
+ -files/freeradius-dialupadmin-1.70-sqldebug.patch,
+ -freeradius-dialupadmin-1.70-r1.ebuild,
+ +freeradius-dialupadmin-1.70.3.ebuild:
+ Version bump.
*freeradius-dialupadmin-1.70.2 (13 May 2006)
diff --git a/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.2 b/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.2
index 24f581764b66..0011e81f8fc7 100644
--- a/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.2
+++ b/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.2
@@ -1 +1,3 @@
MD5 b38b24f6352090fdb571b9e8da52e12e freeradius-1.1.1.tar.gz 2358196
+RMD160 f9947c299ec2a7d0189d0718edf10c8dc5783119 freeradius-1.1.1.tar.gz 2358196
+SHA256 413bf3181b35dc547c0bf8718603e5d706706d7da3618f5925566265c4d58388 freeradius-1.1.1.tar.gz 2358196
diff --git a/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.3 b/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.3
new file mode 100644
index 000000000000..4649a66b54e2
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/digest-freeradius-dialupadmin-1.70.3
@@ -0,0 +1,3 @@
+MD5 d8724cdc15bc23c330a7d3a2080829bd freeradius-1.1.3.tar.gz 3068204
+RMD160 4ba264d2ed85e5300d48017d1e343b1db35fce90 freeradius-1.1.3.tar.gz 3068204
+SHA256 f615f67fb807494892015e671593801fe3ac30c04740cd1dc8d2f18fc218da35 freeradius-1.1.3.tar.gz 3068204
diff --git a/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch
new file mode 100644
index 000000000000..1fab1838917b
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch
@@ -0,0 +1,11 @@
+--- dialup_admin/conf/admin.conf~ 2005-07-24 17:32:01.000000000 -0400
++++ dialup_admin/conf/admin.conf 2005-07-24 17:32:24.000000000 -0400
+@@ -247,7 +247,7 @@
+ #
+ # Uncomment to enable sql debug
+ #
+-sql_debug: true
++#sql_debug: true
+ #
+ # If set to yes then the HTTP credentials (http authentication)
+ # will be used to connect to the sql server instead of sql_username
diff --git a/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild
new file mode 100644
index 000000000000..45e07712fe86
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2006 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.70.3.ebuild,v 1.1 2006/09/09 20:49:56 mrness Exp $
+
+inherit eutils webapp
+MY_FREERADIUS_P="freeradius-1.1.3"
+
+DESCRIPTION="Web administration interface of freeradius server"
+SRC_URI="ftp://ftp.freeradius.org/pub/radius/${MY_FREERADIUS_P}.tar.gz"
+HOMEPAGE="http://www.freeradius.org/dialupadmin.html"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+LICENSE="GPL-2"
+
+DEPEND="virtual/php
+ dev-perl/DateManip
+ sys-apps/findutils
+ >=net-dialup/${MY_FREERADIUS_P}"
+
+S="${WORKDIR}/${MY_FREERADIUS_P}/dialup_admin"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-sqldebug.patch"
+
+ sed -i -e 's:/usr/local:/usr:' \
+ -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' | (
+ local PHPFILE
+ while read PHPFILE; do
+ mv "${PHPFILE}" "${PHPFILE/.php3/.php}"
+ done
+ )) && \
+ (find . -type f | xargs sed -i -e 's:[.]php3:.php:g') || \
+ die "failed to replace php3 with php"
+
+ #fix dangling ../ to deal with the way webapp-config installs files
+ find . -name '*.php' | xargs sed -i \
+ -e 's:../conf/:../../conf/:' \
+ -e 's:../html/:../../html/:' \
+ -e 's:../lib/:../../lib/:'
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/*
+ insinto "${MY_HOSTROOTDIR}"
+ doins -r conf html lib
+ exeinto "${MY_HOSTROOTDIR}/bin"
+ dodoc bin/*.cron bin/Changelog*
+ rm bin/*.cron bin/Changelog*
+ doexe bin/*
+
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins sql/*
+
+ dodoc Changelog README doc/*
+
+ webapp_hook_script "${FILESDIR}/setrootpath"
+
+ cd "${D}/${MY_HOSTROOTDIR}"
+ local CONFFILE
+ for CONFFILE in conf/* ; do
+ webapp_configfile "${MY_HOSTROOTDIR}/${CONFFILE}"
+ webapp_serverowned "${MY_HOSTROOTDIR}/${CONFFILE}"
+ done
+
+ webapp_src_install
+}