From 8c3c4671f0e9ba47b604c09169071d9360f70621 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 27 Jun 2004 13:56:54 +0000 Subject: Add thebridge, an amateur radio EchoLink compatible conference bridge reimplementation for UNIX PR: ports/68350 Submitted by: Diane Bruce --- comms/Makefile | 1 + comms/thebridge/Makefile | 34 +++++++++++++++++++++++++++++ comms/thebridge/distinfo | 2 ++ comms/thebridge/files/patch-FreeBSD-tbd.sh | 11 ++++++++++ comms/thebridge/files/patch-Makefile.in | 16 ++++++++++++++ comms/thebridge/files/patch-configure | 20 +++++++++++++++++ comms/thebridge/files/patch-src-Makefile.in | 21 ++++++++++++++++++ comms/thebridge/pkg-descr | 6 +++++ comms/thebridge/pkg-plist | 4 ++++ 9 files changed, 115 insertions(+) create mode 100644 comms/thebridge/Makefile create mode 100644 comms/thebridge/distinfo create mode 100644 comms/thebridge/files/patch-FreeBSD-tbd.sh create mode 100644 comms/thebridge/files/patch-Makefile.in create mode 100644 comms/thebridge/files/patch-configure create mode 100644 comms/thebridge/files/patch-src-Makefile.in create mode 100644 comms/thebridge/pkg-descr create mode 100644 comms/thebridge/pkg-plist (limited to 'comms') diff --git a/comms/Makefile b/comms/Makefile index 5c6f688fa6ab..cb89d18efbac 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -70,6 +70,7 @@ SUBDIR += sms_client SUBDIR += snooper SUBDIR += sredird + SUBDIR += thebridge SUBDIR += tilp SUBDIR += tits SUBDIR += tkhylafax diff --git a/comms/thebridge/Makefile b/comms/thebridge/Makefile new file mode 100644 index 000000000000..9f912c7a870b --- /dev/null +++ b/comms/thebridge/Makefile @@ -0,0 +1,34 @@ +# ports collection makefile for: thebridge +# Date created: 22 June 2004 +# Whom: db +# +# $FreeBSD$ +# + +PORTNAME= thebridge +PORTVERSION= 0.72 +CATEGORIES= comms +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cqinet +EXTRACT_SUFX= .tgz + +MAINTAINER= db@db.net +COMMENT= Amateur Radio Echolink conference bridge + +GNU_CONFIGURE= yes +USE_REINPLACE= yes + +PORTDOCS= README + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/FreeBSD/tbd.sh + @${MV} ${WRKSRC}/tbd.conf ${WRKSRC}/tbd.conf.sample + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + ${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/tbd.sh ${PREFIX}/etc/rc.d/tbd.sh.sample + +.include diff --git a/comms/thebridge/distinfo b/comms/thebridge/distinfo new file mode 100644 index 000000000000..a83099d67234 --- /dev/null +++ b/comms/thebridge/distinfo @@ -0,0 +1,2 @@ +MD5 (thebridge-0.72.tgz) = 29b934c6f28c72de1e8fc24027cf2f3a +SIZE (thebridge-0.72.tgz) = 286396 diff --git a/comms/thebridge/files/patch-FreeBSD-tbd.sh b/comms/thebridge/files/patch-FreeBSD-tbd.sh new file mode 100644 index 000000000000..6a32ae0835bc --- /dev/null +++ b/comms/thebridge/files/patch-FreeBSD-tbd.sh @@ -0,0 +1,11 @@ +--- FreeBSD/tbd.sh.orig Wed Jun 23 16:02:28 2004 ++++ FreeBSD/tbd.sh Wed Jun 23 16:02:59 2004 +@@ -2,7 +2,7 @@ + # $Id: tbd.sh,v 1.1.1.1 2002/08/10 20:33:40 wb6ymh Exp $ + + pidfiledir=/var/run +-tbd=/usr/local/libexec/tbd ++tbd=%%PREFIX%%/libexec/tbd + + # start + if [ "x$1" = "x" -o "x$1" = "xstart" ]; then diff --git a/comms/thebridge/files/patch-Makefile.in b/comms/thebridge/files/patch-Makefile.in new file mode 100644 index 000000000000..4e99ac3cf636 --- /dev/null +++ b/comms/thebridge/files/patch-Makefile.in @@ -0,0 +1,16 @@ +--- Makefile.in.orig Tue Sep 9 17:06:55 2003 ++++ Makefile.in Wed Jun 23 17:50:24 2004 +@@ -85,10 +85,10 @@ + RANLIB = @RANLIB@ + VERSION = @VERSION@ + +-SUBDIRS = common zlib src inc tbdcmd +-EXTRA_DIST = theBridge.dsp tbd.conf README.txt FreeBSD RedHat config SCRIPTING.txt ++SUBDIRS = common src inc tbdcmd ++EXTRA_DIST = theBridge.dsp tbd.conf.sample README.txt FreeBSD RedHat config SCRIPTING.txt + +-sysconf_DATA = tbd.conf ++sysconf_DATA = tbd.conf.sample + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs + CONFIG_HEADER = config.h diff --git a/comms/thebridge/files/patch-configure b/comms/thebridge/files/patch-configure new file mode 100644 index 000000000000..0396c744ee62 --- /dev/null +++ b/comms/thebridge/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig Thu Jun 24 14:32:44 2004 ++++ configure Thu Jun 24 14:33:09 2004 +@@ -1961,7 +1961,7 @@ + ac_given_srcdir=$srcdir + ac_given_INSTALL="$INSTALL" + +-trap 'rm -fr `echo "Makefile src/Makefile common/Makefile inc/Makefile tbdcmd/Makefile zlib/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 ++trap 'rm -fr `echo "Makefile src/Makefile common/Makefile inc/Makefile tbdcmd/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 + EOF + cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF + for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/comms/thebridge/files/patch-src-Makefile.in b/comms/thebridge/files/patch-src-Makefile.in new file mode 100644 index 000000000000..9a3adda8f580 --- /dev/null +++ b/comms/thebridge/files/patch-src-Makefile.in @@ -0,0 +1,21 @@ +--- src/Makefile.in.orig Tue Sep 9 23:06:56 2003 ++++ src/Makefile.in Sun Jun 27 15:46:18 2004 +@@ -86,7 +86,7 @@ + tbd_SOURCES = conference.c conference.h configvars.c configvars.h dirclient.c dirclient.h thebridge.c users.c users.h hostfile.c hostfile.h eventhook.c eventhook.h + + +-tbd_LDADD = $(top_builddir)/common/libcommon.a $(top_builddir)/zlib/libzlib.a ++tbd_LDADD = $(top_builddir)/common/libcommon.a -lz + + AM_CPPFLAGS = -I$(top_srcdir)/inc + AM_CFLAGS = -Wall -DSYSCON_DIR=\"$(sysconfdir)\" +@@ -102,8 +102,7 @@ + LIBS = @LIBS@ + tbd_OBJECTS = conference.o configvars.o dirclient.o thebridge.o users.o \ + hostfile.o eventhook.o +-tbd_DEPENDENCIES = $(top_builddir)/common/libcommon.a \ +-$(top_builddir)/zlib/libzlib.a ++tbd_DEPENDENCIES = $(top_builddir)/common/libcommon.a + tbd_LDFLAGS = + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) diff --git a/comms/thebridge/pkg-descr b/comms/thebridge/pkg-descr new file mode 100644 index 000000000000..3ff46668375b --- /dev/null +++ b/comms/thebridge/pkg-descr @@ -0,0 +1,6 @@ +Amateur Radio EchoLink compatible conference bridge for UNIX + +WWW: http://cqinet.sourceforge.net/ + +- Diane Bruce, VA3DB +db@db.net diff --git a/comms/thebridge/pkg-plist b/comms/thebridge/pkg-plist new file mode 100644 index 000000000000..762abb470ef3 --- /dev/null +++ b/comms/thebridge/pkg-plist @@ -0,0 +1,4 @@ +bin/tbdcmd +etc/rc.d/tbd.sh.sample +etc/tbd.conf.sample +libexec/tbd -- cgit v1.2.3