# HG changeset patch # User Hans-G?nter Theisgen # Date 1645028155 -3600 # Node ID 8bed0ad1f0db892c1654c397151ecd87ccd8370b # Parent 3c9783d89208a55c5c65098f91ad822750a7525f updated daloradius (0.9-9 -> 1.1-2) diff -r 3c9783d89208 -r 8bed0ad1f0db daloradius/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/daloradius/description.txt Wed Feb 16 17:15:55 2022 +0100 @@ -0,0 +1,8 @@ +DaloRADIUS is an advanced RADIUS web platform aimed at managing +Hotspots and general-purpose ISP deployments. +It features rich user management, graphical reporting, accounting, +and integrates with GoogleMaps for geo-locating (GIS). +DaloRADIUS is written in PHP and JavaScript and utilizes a database +abstraction layer which means that it supports many database systems, +among them the popular MySQL, PostgreSQL, Sqlite, MsSQL, and many +others. diff -r 3c9783d89208 -r 8bed0ad1f0db daloradius/receipt --- a/daloradius/receipt Wed Feb 16 15:07:50 2022 +0100 +++ b/daloradius/receipt Wed Feb 16 17:15:55 2022 +0100 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="daloradius" -VERSION="0.9-9" +VERSION="1.1-2" CATEGORY="network" SHORT_DESC="A RADIUS web platform for managing Hotspots." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.daloradius.com/" + +TARBALL="$PACKAGE-$VERSION.zip" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="php-gd php-mysql freeradius" @@ -22,10 +23,13 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/daloradius $fs/etc/mysql.d - cp -a $src/* $fs/usr/share/daloradius - mv $fs/usr/share/daloradius/library/daloradius.conf.php $fs/etc/ - ln -s /etc/daloradius.conf.php $fs/usr/share/daloradius/library/daloradius.conf.php + mkdir -p $fs/usr/share/daloradius + mkdir -p $fs/etc/mysql.d + + cp -a $src/* $fs/usr/share/daloradius + mv $fs/usr/share/daloradius/daloradius/library/daloradius.conf.php \ + $fs/etc/ + ln -s /etc/daloradius.conf.php $fs/usr/share/daloradius/daloradius/library/daloradius.conf.php cat > $fs/etc/mysql.d/daloradius < "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/daloradius/" => "/usr/share/daloradius/",|g' -i "$1/etc/lighttpd/lighttpd.conf" - if [ -z "$1" ]; then + if [ -z "$1" ] + then # Start Web server. /etc/init.d/lighttpd stop /etc/init.d/lighttpd start @@ -50,8 +57,10 @@ fi fi # Configure apache server - if [ -f "$1/etc/apache/httpd.conf" ]; then - if [ ! -f "$1/etc/apache/conf.d/daloradius" ]; then + if [ -f "$1/etc/apache/httpd.conf" ] + then + if [ ! -f "$1/etc/apache/conf.d/daloradius" ] + then cat > "$1/etc/apache/conf.d/daloradius" < Alias /daloradius /usr/share/daloradius @@ -64,7 +73,8 @@ Allow from all EOT - if [ -z "$1" ]; then + if [ -z "$1" ] + then # Start Web server. /etc/init.d/apache stop /etc/init.d/apache start