diff options
Diffstat (limited to 'net/AquaGatekeeper2')
-rw-r--r-- | net/AquaGatekeeper2/Makefile | 66 | ||||
-rw-r--r-- | net/AquaGatekeeper2/distinfo.amd64 | 2 | ||||
-rw-r--r-- | net/AquaGatekeeper2/distinfo.i386 | 2 | ||||
-rw-r--r-- | net/AquaGatekeeper2/files/agk.sh.sample | 37 | ||||
-rw-r--r-- | net/AquaGatekeeper2/pkg-deinstall | 65 | ||||
-rw-r--r-- | net/AquaGatekeeper2/pkg-descr | 12 | ||||
-rw-r--r-- | net/AquaGatekeeper2/pkg-install | 80 | ||||
-rw-r--r-- | net/AquaGatekeeper2/pkg-message | 5 | ||||
-rw-r--r-- | net/AquaGatekeeper2/pkg-plist | 23 |
9 files changed, 0 insertions, 292 deletions
diff --git a/net/AquaGatekeeper2/Makefile b/net/AquaGatekeeper2/Makefile deleted file mode 100644 index b2fe2c140f9a..000000000000 --- a/net/AquaGatekeeper2/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# New ports collection makefile for: AquaGatekeeper -# Date created: 2 November 2003 -# Whom: Eugene Grosbein <eugen@grosbein.pp.ru> -# -# $FreeBSD$ -# - -PORTNAME= AquaGatekeeper -PORTVERSION= 1.22 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.aqua.comptek.ru/pub/GateKeeper/ \ - ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/ -EXTRACT_SUFX= .tgz - -MAINTAINER= eugen@grosbein.pp.ru -COMMENT= Aqua H323 Gatekeeper and proxy - -WRKSRC= ${WRKDIR}/${PORTNAME} -NO_BUILD= yes -ONLY_FOR_ARCHS= amd64 i386 -MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} - -NO_PACKAGE= "No commercial redistribution" -NO_CDROM= "No commercial redistribution" - -.if !defined(BATCH) && !defined(PACKAGE_BUILDING) -IS_INTERACTIVE= yes -.endif - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/AquaGatekeeper ${PREFIX}/sbin/ - @${INSTALL_SCRIPT} ${FILESDIR}/agk.sh.sample ${PREFIX}/etc/rc.d/ - @${INSTALL_DATA} ${WRKSRC}/Config/AquaGatekeeper.cfg ${PREFIX}/etc/AquaGatekeeper.cfg.sample - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/Config/Example.cfg ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @for docfile in ${WRKSRC}/Help/*; \ - do ${INSTALL_MAN} $$docfile ${DOCSDIR}; \ - done - @${MKDIR} ${DOCSDIR}/Rus - @for docfile in ${WRKSRC}/Help.Rus/*; \ - do ${INSTALL_MAN} $$docfile ${DOCSDIR}/Rus; \ - done -.endif - -post-install: - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${SED} "s'%%PREFIX%%'${PREFIX}'" < pkg-message - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 400000 -BROKEN= "Supported only on 4.x systems and later" -.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386" -LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x -.endif - -.if ${ARCH} == "amd64" -DISTNAME= AquaGatekeeper122FreeBSDamd64Build131 -.else -DISTNAME= AquaGatekeeper122FreeBSDBuild131 -.endif - -.include <bsd.port.post.mk> diff --git a/net/AquaGatekeeper2/distinfo.amd64 b/net/AquaGatekeeper2/distinfo.amd64 deleted file mode 100644 index 903a02118719..000000000000 --- a/net/AquaGatekeeper2/distinfo.amd64 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (AquaGatekeeper122FreeBSDamd64Build131.tgz) = 3ae343325e21fd49ef71c865bc5e22dc -SIZE (AquaGatekeeper122FreeBSDamd64Build131.tgz) = 2926031 diff --git a/net/AquaGatekeeper2/distinfo.i386 b/net/AquaGatekeeper2/distinfo.i386 deleted file mode 100644 index 2f846298a151..000000000000 --- a/net/AquaGatekeeper2/distinfo.i386 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (AquaGatekeeper122FreeBSDBuild131.tgz) = e5dede37d29462641f214a5076eb4766 -SIZE (AquaGatekeeper122FreeBSDBuild131.tgz) = 3011253 diff --git a/net/AquaGatekeeper2/files/agk.sh.sample b/net/AquaGatekeeper2/files/agk.sh.sample deleted file mode 100644 index c989f61899db..000000000000 --- a/net/AquaGatekeeper2/files/agk.sh.sample +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -PREFIX=$(expr `realpath $0` : "\(/.*\)/etc/rc\.d/`basename $0`\$") -PROG=$PREFIX/sbin/AquaGatekeeper -CFG=$PREFIX/etc/agk.cfg -TIMEOUT=30 - -case "$1" in -start) - shift - su -m agk -c "[ -x $PROG -a -r $CFG ] && - echo -n ' AquaGatekeeper' && $PROG -d --configuration=$CFG $@" - ;; -stop) - shift - signal=-TERM - [ -n "$1" ] && signal="$1" - killall $signal AquaGatekeeper - [ $signal != -2 -a $signal != -INT ] && exit 0 - i=1 - while [ $i -le $TIMEOUT ] - do - ps -axc | grep -q AquaGatekeeper || break - i=$(($i+1)) - sleep 1 - done - ;; -restart) - `realpath $0` stop -INT - `realpath $0` start - ;; -*) - echo "Usage: `basename $0` {start|stop|restart}" >&2 - ;; -esac - -exit 0 diff --git a/net/AquaGatekeeper2/pkg-deinstall b/net/AquaGatekeeper2/pkg-deinstall deleted file mode 100644 index d89d859698b4..000000000000 --- a/net/AquaGatekeeper2/pkg-deinstall +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -USER=agk -GROUP=agk - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -delete_account() { - local u g - - u=$1 - g=$2 - if yesno "Do you want me to remove group \"${g}\"" y; then - pw groupdel -n ${g} - echo "Done." - fi - if yesno "Do you want me to remove user \"${u}\"" y; then - pw userdel -n ${u} - echo "Done." - fi -} - -[ "$2" = DEINSTALL ] || exit 0 - -export PATH=/bin:/usr/bin:/usr/sbin - -if ps -axc | grep -q AquaGatekeeper; then - if yesno "There are some AquaGatekeeper processes running. Shall I kill them" y - then - killall AquaGatekeeper - sleep 2 - else - echo "OK ... I hope you know what you are doing." - fi -fi - -delete_account ${USER} ${GROUP} -exit 0 diff --git a/net/AquaGatekeeper2/pkg-descr b/net/AquaGatekeeper2/pkg-descr deleted file mode 100644 index a8ba595db4a2..000000000000 --- a/net/AquaGatekeeper2/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Aqua Gatekeeper is H.323 gatekeeper and proxy by Aqua Project Group. -It is compatible with many hardware/software like Cisco H.323 gateways and -Microsoft NetMeeting 3.01 for Windows 2000 and later. - -This port presents Aqua Gatekeeper Startup Edition. -It is not a free software but may be used free of charge. -The Aqua Gatekeeper Startup Edition is limited to 30 concurrent calls. - -WWW: http://www.aqua.comptek.ru/man/voip/gatekeeper/index.htm - -- Grosbein -eugen@grosbein.pp.ru diff --git a/net/AquaGatekeeper2/pkg-install b/net/AquaGatekeeper2/pkg-install deleted file mode 100644 index 233bb70ff96a..000000000000 --- a/net/AquaGatekeeper2/pkg-install +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -USER=agk -UID=172 -GROUP=${USER} -GID=${UID} - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -make_account() { - local u g uid gid gcos - - u=$1 - uid=$2 - g=$3 - gid=$4 - gcos=$5 - - if pw group show "${g}" >/dev/null 2>&1; then - echo "You already have a group \"${g}\", so I will use it." - else - echo "You need a group \"${g}\"." - if which -s pw && yesno "Would you like me to create it" y; then - pw groupadd -n ${g} -g ${gid} || exit - echo "Done." - else - echo "Please create it, and try again." - if ! grep -q "^${u}:" /etc/passwd; then - echo "While you're at it, please create a user \"${u}\" too," - echo "with a default group of \"${g}\"." - fi - exit 1 - fi - fi - - if pw user show "${u}" >/dev/null 2>&1; then - echo "You already have a user \"${u}\", so I will use it." - else - echo "You need a user \"${u}\"." - if which -s pw && yesno "Would you like me to create it" y; then - pw useradd -n ${u} -u ${uid} -g ${g} -h - -d /nonexistent \ - -s /nonexistent -c "${gcos}" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi -} - -[ "$2" = POST-INSTALL ] || exit 0 - -make_account ${USER} ${UID} ${GROUP} ${GID} "AquaGateKeeper" diff --git a/net/AquaGatekeeper2/pkg-message b/net/AquaGatekeeper2/pkg-message deleted file mode 100644 index 005fb0e618f2..000000000000 --- a/net/AquaGatekeeper2/pkg-message +++ /dev/null @@ -1,5 +0,0 @@ -**************************************************************************** - Please read documentation located in %%PREFIX%%/share/doc/AquaGatekeeper - You will need to write configuration file to run the Gatekeeper. - Some examples are in %%PREFIX%%/share/examples/AquaGatekeeper -**************************************************************************** diff --git a/net/AquaGatekeeper2/pkg-plist b/net/AquaGatekeeper2/pkg-plist deleted file mode 100644 index 1a4fc5ac43b0..000000000000 --- a/net/AquaGatekeeper2/pkg-plist +++ /dev/null @@ -1,23 +0,0 @@ -sbin/AquaGatekeeper -etc/rc.d/agk.sh.sample -etc/AquaGatekeeper.cfg.sample -%%PORTDOCS%%%%DOCSDIR%%/AdministratorGuide.pdf -%%PORTDOCS%%%%DOCSDIR%%/AquaGatekeeper.htm -%%PORTDOCS%%%%DOCSDIR%%/CommandLineOptions.htm -%%PORTDOCS%%%%DOCSDIR%%/ConfigSyntax.htm -%%PORTDOCS%%%%DOCSDIR%%/License.rtf -%%PORTDOCS%%%%DOCSDIR%%/LicenseRus.rtf -%%PORTDOCS%%%%DOCSDIR%%/OperationPrinciples.htm -%%PORTDOCS%%%%DOCSDIR%%/RevisionHistory.htm -%%PORTDOCS%%%%DOCSDIR%%/default.css -%%PORTDOCS%%%%DOCSDIR%%/Rus/AdministratorGuideRus.pdf -%%PORTDOCS%%%%DOCSDIR%%/Rus/AquaGatekeeper.htm -%%PORTDOCS%%%%DOCSDIR%%/Rus/CommandLineOptions.htm -%%PORTDOCS%%%%DOCSDIR%%/Rus/ConfigSyntax.htm -%%PORTDOCS%%%%DOCSDIR%%/Rus/OperationPrinciples.htm -%%PORTDOCS%%%%DOCSDIR%%/Rus/RevisionHistory.htm -%%PORTDOCS%%%%DOCSDIR%%/Rus/default.css -%%EXAMPLESDIR%%/Example.cfg -%%PORTDOCS%%@dirrm %%DOCSDIR%%/Rus -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |