diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-12-10 14:20:10 +0000 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-12-10 14:20:10 +0000 |
commit | c14c78637da60c150c95e0f2e35f04f6a6a84da5 (patch) | |
tree | 417c8b49a091a170262ec8298b487bb3e24baf34 /net/abills | |
parent | 12d9e0c7a21ac891bf70cb4e55587d13710b8537 (diff) | |
download | FreeBSD-ports-c14c78637da60c150c95e0f2e35f04f6a6a84da5.zip FreeBSD-ports-c14c78637da60c150c95e0f2e35f04f6a6a84da5.tar.gz |
Add abills 0.23b, billing system for dialup and VPN users.
PR: ports/78014
Submitted by: Michael Lednev <liettneff@bk.ru>
Diffstat (limited to 'net/abills')
-rw-r--r-- | net/abills/Makefile | 50 | ||||
-rw-r--r-- | net/abills/distinfo | 2 | ||||
-rw-r--r-- | net/abills/files/pkg-message.in | 8 | ||||
-rw-r--r-- | net/abills/pkg-descr | 7 | ||||
-rw-r--r-- | net/abills/pkg-plist | 113 |
5 files changed, 180 insertions, 0 deletions
diff --git a/net/abills/Makefile b/net/abills/Makefile new file mode 100644 index 0000000..11f086e --- /dev/null +++ b/net/abills/Makefile @@ -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> diff --git a/net/abills/distinfo b/net/abills/distinfo new file mode 100644 index 0000000..f584cdf --- /dev/null +++ b/net/abills/distinfo @@ -0,0 +1,2 @@ +MD5 (abills-0.23b.tgz) = c9f97794263edaa16205dc6aae5cc07f +SIZE (abills-0.23b.tgz) = 1239040 diff --git a/net/abills/files/pkg-message.in b/net/abills/files/pkg-message.in new file mode 100644 index 0000000..e15b66f --- /dev/null +++ b/net/abills/files/pkg-message.in @@ -0,0 +1,8 @@ + +************************************************************ + +For configuration and upgrade, please read file: +%%PREFIX%%/abills/docs/index.html + +************************************************************ + diff --git a/net/abills/pkg-descr b/net/abills/pkg-descr new file mode 100644 index 0000000..68aca71 --- /dev/null +++ b/net/abills/pkg-descr @@ -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 diff --git a/net/abills/pkg-plist b/net/abills/pkg-plist new file mode 100644 index 0000000..5a193ee --- /dev/null +++ b/net/abills/pkg-plist @@ -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 |