summaryrefslogtreecommitdiff
path: root/net/gnugk
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2004-10-09 20:47:21 +0000
committermjl <mjl@pkgsrc.org>2004-10-09 20:47:21 +0000
commitefee3f376756883ad966fe470960fbeabc892df7 (patch)
tree98798efc4ad51217f294b3e2c43eddad31ed2f62 /net/gnugk
parent53662976243882e4988ae350363a75dbf101aff5 (diff)
downloadpkgsrc-efee3f376756883ad966fe470960fbeabc892df7.tar.gz
Initial import of gnugk 2.0.8
The GNU Gatekeeper is an open-source project that implement an H.323 gatekeeper. A gatekeeper provides call control services to the H.323 endpoints. It is an integral part of most usefull internet telephony installations that are based on the H.323 standard.
Diffstat (limited to 'net/gnugk')
-rw-r--r--net/gnugk/DESCR4
-rw-r--r--net/gnugk/Makefile43
-rw-r--r--net/gnugk/PLIST55
-rw-r--r--net/gnugk/distinfo5
-rw-r--r--net/gnugk/files/gnugk.sh21
-rw-r--r--net/gnugk/patches/patch-aa16
6 files changed, 144 insertions, 0 deletions
diff --git a/net/gnugk/DESCR b/net/gnugk/DESCR
new file mode 100644
index 00000000000..e6d77f3ad94
--- /dev/null
+++ b/net/gnugk/DESCR
@@ -0,0 +1,4 @@
+The GNU Gatekeeper is an open-source project that implement
+an H.323 gatekeeper. A gatekeeper provides call control services
+to the H.323 endpoints. It is an integral part of most usefull
+internet telephony installations that are based on the H.323 standard.
diff --git a/net/gnugk/Makefile b/net/gnugk/Makefile
new file mode 100644
index 00000000000..5d63ef9a9e0
--- /dev/null
+++ b/net/gnugk/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/09 20:47:21 mjl Exp $
+#
+
+DISTNAME= gnugk-2.0.8
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323gk/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://openh323gk.sourceforge.net/
+COMMENT= H.323 Gatekeeper
+
+WRKSRC= ${WRKDIR}/openh323gk
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS= make
+USE_PKGINSTALL= YES
+NO_CONFIGURE= YES
+ALL_TARGET= opt
+
+PKG_SYSCONFSUBDIR= ${PKGBASE}
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+
+CONF_FILES= ${EGDIR}/gnugk.ini ${PKG_SYSCONFDIR}/gnugk.ini
+RCD_SCRIPTS= gnugk
+
+MAKE_ENV+= PWLIBDIR=${PREFIX} OPENH323DIR=${PREFIX} SYSLIBDIR=${PREFIX}/lib
+MAKE_ENV+= NO_RADIUS=1 NO_LDAP=1 NO_MYSQL=1 NO_PGSQL=1 LIBTOOL=${LIBTOOL}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}
+ ${INSTALL_DATA_DIR} ${PREFIX}/doc/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/docs; \
+ for f in `find . -type f -print` ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/doc/${PKGBASE}; done
+ cd ${WRKSRC}/etc; \
+ for f in `find . -type f -print` ; do \
+ ${INSTALL_DATA} $$f ${EGDIR}; done
+
+.include "../../devel/pwlib/buildlink3.mk"
+.include "../../net/openh323/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/gnugk/PLIST b/net/gnugk/PLIST
new file mode 100644
index 00000000000..7bc06b042f3
--- /dev/null
+++ b/net/gnugk/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/09 20:47:21 mjl Exp $
+doc/gnugk/GkStatusMsgFmt.html
+doc/gnugk/changing_ip.txt
+doc/gnugk/comparison.txt
+doc/gnugk/compiling.txt
+doc/gnugk/gk_faq.html
+doc/gnugk/gkstatus.txt
+doc/gnugk/performance.txt
+doc/gnugk/reference.txt
+doc/gnugk/signalling.txt
+doc/gnugk/test-status.txt
+doc/gnugk/todo.txt
+doc/gnugk/tutorial.txt
+doc/gnugk/Windows_LDAP_Servers.txt
+doc/gnugk/wldap_OIDs.txt
+doc/gnugk/wldap_compiling.txt
+doc/gnugk/wldap_ini.txt
+doc/gnugk/RELEASE-NOTES
+doc/gnugk/manual-1.html
+doc/gnugk/manual-pt.sgml
+doc/gnugk/manual.sgml
+doc/gnugk/manual-zh.sgml
+doc/gnugk/radauth.txt
+doc/gnugk/wldapauth.txt
+doc/gnugk/manual-2.html
+doc/gnugk/manual-3.html
+doc/gnugk/manual-4.html
+doc/gnugk/manual-5.html
+doc/gnugk/manual.html
+bin/gnugk
+share/examples/gnugk/radaliasauth.ini
+share/examples/gnugk/billing.pl
+share/examples/gnugk/child.ini
+share/examples/gnugk/citron.ini
+share/examples/gnugk/complete.ini
+share/examples/gnugk/failover.ini
+share/examples/gnugk/fileacct.ini
+share/examples/gnugk/gnugk.ini
+share/examples/gnugk/ldap_reg.pl
+share/examples/gnugk/mysql.ini
+share/examples/gnugk/neighbor.ini
+share/examples/gnugk/password.ini
+share/examples/gnugk/proxy.ini
+share/examples/gnugk/radacct.ini
+share/examples/gnugk/radius_billing.pl
+share/examples/gnugk/radauth.ini
+share/examples/gnugk/routed.ini
+share/examples/gnugk/rrqauth.ini
+share/examples/gnugk/sql.ini
+share/examples/gnugk/status.ini
+share/examples/gnugk/voip.schema
+share/examples/gnugk/unregister_ip.pl
+share/examples/gnugk/vqueue.ini
+@dirrm doc/gnugk
+@dirrm share/examples/gnugk
diff --git a/net/gnugk/distinfo b/net/gnugk/distinfo
new file mode 100644
index 00000000000..d43e3332817
--- /dev/null
+++ b/net/gnugk/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/09 20:47:21 mjl Exp $
+
+SHA1 (gnugk-2.0.8.tgz) = 3ce42e17b9f47b96d6e5923f4504e1c7a09a79be
+Size (gnugk-2.0.8.tgz) = 689053 bytes
+SHA1 (patch-aa) = 34f2b05f14875c20299ea2787c264b606974d210
diff --git a/net/gnugk/files/gnugk.sh b/net/gnugk/files/gnugk.sh
new file mode 100644
index 00000000000..ea087e01564
--- /dev/null
+++ b/net/gnugk/files/gnugk.sh
@@ -0,0 +1,21 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: gnugk.sh,v 1.1.1.1 2004/10/09 20:47:21 mjl Exp $
+#
+
+# PROVIDE: gnugk
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="gnugk"
+help_name="gnugk"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+required_files="@PKG_SYSCONFDIR@/gnugk.ini"
+command_args="-c $required_files 2>&1 > /dev/null &"
+# pidfile="@JABBERD_PIDDIR@/${help_name}.pid"
+# jabberd_user="@JABBERD_USER@"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/net/gnugk/patches/patch-aa b/net/gnugk/patches/patch-aa
new file mode 100644
index 00000000000..a64e82f3d01
--- /dev/null
+++ b/net/gnugk/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/09 20:47:21 mjl Exp $
+
+--- Makefile.orig 2004-10-09 09:27:17.000000000 +0200
++++ Makefile 2004-10-09 09:27:40.000000000 +0200
+@@ -119,9 +119,9 @@
+ OPENH323DIR=$(HOME)/openh323
+ endif
+
+-VERSION_FILE := $(OPENH323DIR)/version.h
++VERSION_FILE := $(OPENH323DIR)/include/openh323/version.h
+
+-include $(OPENH323DIR)/openh323u.mak
++include $(OPENH323DIR)/share/openh323/openh323u.mak
+
+ ### Remove -fdata-sections gcc option that cause problems during link step
+ temp_STDCCFLAGS := $(subst -fdata-sections,,$(STDCCFLAGS))