1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add abills 0.23b, billing system for dialup and VPN users.

PR:		ports/78014
Submitted by:	Michael Lednev <liettneff@bk.ru>
This commit is contained in:
Sam Lawrance 2005-12-10 14:20:10 +00:00
parent 92edbb967e
commit 885e61e9e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150795
6 changed files with 181 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += GeoIP
SUBDIR += Sockets
SUBDIR += Sockets-devel
SUBDIR += abills
SUBDIR += acx100
SUBDIR += adasockets
SUBDIR += aget

50
net/abills/Makefile Normal file
View File

@ -0,0 +1,50 @@
# New ports collection makefile for: abills
# Date created: 2 February 2005
# Whom: Michael Lednev <liettneff@bk.ru>
#
# $FreeBSD$
#
PORTNAME= abills
PORTVERSION= 0.23b
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= abills
EXTRACT_SUFX= .tgz
MAINTAINER= liettneff@bk.ru
COMMENT= Billing system for dialup and VPN users
RUN_DEPENDS= radiusd:${PORTSDIR}/net/freeradius \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/Digest/MD4.pm:${PORTSDIR}/security/p5-Digest-MD4 \
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
${SITE_PERL}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES
USE_REINPLACE= yes
USE_PERL5_RUN= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.if defined(WITH_GRAPHICS)
RUN_DEPENDS+= ${SITE_PERL}/RRDp.pm:${PORTSDIR}/net/rrdtool
.endif
pre-everything::
@ ${ECHO} ""
@ ${ECHO} " Define WITH_GRAPHICS if you want traffic graphs (experimental)"
@ ${ECHO} ""
post-extract:
@ ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -i '' -e 's,/usr/abills,${PREFIX}/abills,g' {} \;
do-install:
@ ${CP} -R ${WRKSRC} ${PREFIX}
post-install:
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

2
net/abills/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (abills-0.23b.tgz) = c9f97794263edaa16205dc6aae5cc07f
SIZE (abills-0.23b.tgz) = 1239040

View File

@ -0,0 +1,8 @@
************************************************************
For configuration and upgrade, please read file:
%%PREFIX%%/abills/docs/index.html
************************************************************

7
net/abills/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
ABILLS (Asmodeus BILLing System) is free billing for dialup and vpn users.
Written completely in PERL it uses MySQL and FreeRadius for authentication.
WWW: http://abills.sourceforge.net/
- Michael Lednev
liettneff@bk.ru

113
net/abills/pkg-plist Normal file
View File

@ -0,0 +1,113 @@
@exec mkdir -p %D/abills/cgi-bin/admin/tmp
@exec mkdir -p %D/abills/cgi-bin/admin/graphics
@exec mkdir -p %D/abills/cgi-bin/admin/nets
@exec mkdir -p %D/abills/backup
@exec mkdir -p %D/abills/libexec/ext_acct
@exec mkdir -p %D/abills/var/q
@exec mkdir -p %D/abills/var/log/back
@exec mkdir -p %D/abills/var/devices
@exec mkdir -p %D/abills/miniserv/var
abills/abills.sql
abills/bin/abcm
abills/bin/showstats
abills/bin/uc
abills/bin/uc.conf
abills/bin/urdiff
abills/cgi-bin/admin/Abdocs.pm
abills/cgi-bin/admin/Abwconf.pm
abills/cgi-bin/admin/docs.cgi
abills/cgi-bin/admin/grapher.cgi
abills/cgi-bin/admin/messages.pl
abills/cgi-bin/admin/networks.cgi
abills/cgi-bin/admin/postfix.cgi
abills/cgi-bin/admin/users.cgi
abills/cgi-bin/excel.cgi
abills/cgi-bin/img.cgi
abills/cgi-bin/img/down_pointer.png
abills/cgi-bin/img/email-g.gif
abills/cgi-bin/img/host.gif
abills/cgi-bin/img/msg_inbox.gif
abills/cgi-bin/img/msg_savebox.gif
abills/cgi-bin/img/network.gif
abills/cgi-bin/img/network.png
abills/cgi-bin/img/none.jpg
abills/cgi-bin/img/red_dot.gif
abills/cgi-bin/img/signature.jpg
abills/cgi-bin/img/sort_none.png
abills/cgi-bin/img/stamp.jpg
abills/cgi-bin/img/up_pointer.png
abills/cgi-bin/img/vertblue.gif
abills/cgi-bin/img/vertgreen.gif
abills/cgi-bin/img/vertred.gif
abills/cgi-bin/img/vertyellow.gif
abills/cgi-bin/templates/account.tpl
abills/cgi-bin/users.cgi
abills/cgi-bin/win_dunes.cgi
abills/docs/img/inpayments.gif
abills/docs/img/nas_servers.gif
abills/docs/img/online.gif
abills/docs/img/payments.gif
abills/docs/img/user_interface.gif
abills/docs/img/user_manag.gif
abills/docs/img/user_stats.gif
abills/docs/img/users_list.gif
abills/docs/index.htm
abills/dunes.sql
abills/language/english.pl
abills/language/russian.pl
abills/language/ukraine.pl
abills/libexec/Base.pm
abills/libexec/billd
abills/libexec/config.pl
abills/libexec/linkupdown
abills/libexec/mail.pl
abills/libexec/modules/pm25.pl
abills/libexec/modules/usr.pl
abills/libexec/nas.pl
abills/libexec/periodic
abills/libexec/pppcons
abills/libexec/racct.pl
abills/libexec/radtest.sh
abills/libexec/rauth.pl
abills/libexec/sql.pl
abills/miniserv/etc/miniserv.pem
abills/miniserv/etc/miniserv.users
abills/miniserv/mime.types
abills/miniserv/miniserv.conf
abills/miniserv/miniserv.pem
abills/miniserv/miniserv.pl
abills/soft/exppp_asm-0.2.4.tar.gz
abills/soft/expppd-0.2.1.tar.gz
abills/soft/radpppd.tar.gz
abills/libexec/DES.pm
abills/libexec/MSCHAP.pm
abills/soft/kha0s-mpd.tar.gz
abills/docs/img/user_fees.gif
abills/docs/mpd.htm
abills/docs/mail.htm
abills/language/bulgarian.pl
@dirrm abills/cgi-bin/admin/tmp
@dirrm abills/cgi-bin/admin/graphics
@dirrm abills/cgi-bin/admin/nets
@dirrm abills/cgi-bin/admin
@dirrm abills/cgi-bin/img
@dirrm abills/cgi-bin/templates
@dirrm abills/cgi-bin
@dirrm abills/backup
@dirrm abills/soft
@dirrm abills/bin
@dirrm abills/libexec/ext_acct
@dirrm abills/libexec/modules
@dirrm abills/libexec
@dirrm abills/language
@dirrm abills/var/q
@dirrm abills/var/log/back
@dirrm abills/var/log
@dirrm abills/var/devices
@dirrm abills/var
@dirrm abills/docs/img
@dirrm abills/docs
@dirrm abills/miniserv/var
@dirrm abills/miniserv/etc
@dirrm abills/miniserv
@dirrm abills