Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 21:04:46 -0400 (EDT)
From:      Diane Bruce <db@db.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/68350: New port: comms/thebridge Amateur Radio EchoLink bridge
Message-ID:  <200406260104.i5Q14kc3066847@night.dbn>
Resent-Message-ID: <200406260110.i5Q1AMTa051230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68350
>Category:       ports
>Synopsis:       New port: comms/thebridge Amateur Radio EchoLink bridge
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 26 01:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Diane Bruce
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Diane Bruce
>Environment:
System: FreeBSD night.dbn 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Feb 25 22:33:42 EST 2004 root@night.db.net:/usr/src/sys/i386/compile/NIGHT i386


>Description:
>How-To-Repeat:
>Fix:


--- thebridge-port.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	thebridge-port
#	thebridge-port/files
#	thebridge-port/files/patch-aa
#	thebridge-port/files/patch-ab
#	thebridge-port/files/patch-ac
#	thebridge-port/pkg-descr
#	thebridge-port/Makefile
#	thebridge-port/pkg-plist
#	thebridge-port/distinfo
#
echo c - thebridge-port
mkdir -p thebridge-port > /dev/null 2>&1
echo c - thebridge-port/files
mkdir -p thebridge-port/files > /dev/null 2>&1
echo x - thebridge-port/files/patch-aa
sed 's/^X//' >thebridge-port/files/patch-aa << 'END-of-thebridge-port/files/patch-aa'
X--- Makefile.in.orig	Tue Sep  9 17:06:55 2003
X+++ Makefile.in	Wed Jun 23 17:50:24 2004
X@@ -85,10 +85,10 @@
X RANLIB = @RANLIB@
X VERSION = @VERSION@
X
X-SUBDIRS = common zlib src inc tbdcmd
X-EXTRA_DIST = theBridge.dsp tbd.conf README.txt FreeBSD RedHat config SCRIPTING.txt
X+SUBDIRS = common src inc tbdcmd
X+EXTRA_DIST = theBridge.dsp tbd.conf.sample README.txt FreeBSD RedHat config SCRIPTING.txt
X
X-sysconf_DATA = tbd.conf
X+sysconf_DATA = tbd.conf.sample
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
X CONFIG_HEADER = config.h
X--- src/Makefile.in.orig	Tue Sep  9 17:06:56 2003
X+++ src/Makefile.in	Wed Jun 23 17:38:55 2004
X@@ -86,7 +86,7 @@
X 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
X
X
X-tbd_LDADD = $(top_builddir)/common/libcommon.a $(top_builddir)/zlib/libzlib.a
X+tbd_LDADD = $(top_builddir)/common/libcommon.a -lz
X
X AM_CPPFLAGS = -I$(top_srcdir)/inc
X AM_CFLAGS = -Wall -DSYSCON_DIR=\"$(sysconfdir)\"
X@@ -102,8 +102,7 @@
X LIBS = @LIBS@
X tbd_OBJECTS =  conference.o configvars.o dirclient.o thebridge.o users.o \
X hostfile.o eventhook.o
X-tbd_DEPENDENCIES =  $(top_builddir)/common/libcommon.a \
X-$(top_builddir)/zlib/libzlib.a
X+tbd_DEPENDENCIES =  $(top_builddir)/common/libcommon.a
X tbd_LDFLAGS =
X CFLAGS = @CFLAGS@
X COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
END-of-thebridge-port/files/patch-aa
echo x - thebridge-port/files/patch-ab
sed 's/^X//' >thebridge-port/files/patch-ab << 'END-of-thebridge-port/files/patch-ab'
X--- FreeBSD/tbd.sh.orig	Wed Jun 23 16:02:28 2004
X+++ FreeBSD/tbd.sh	Wed Jun 23 16:02:59 2004
X@@ -2,7 +2,7 @@
X # $Id: tbd.sh,v 1.1.1.1 2002/08/10 20:33:40 wb6ymh Exp $
X
X pidfiledir=/var/run
X-tbd=/usr/local/libexec/tbd
X+tbd=%%PREFIX%%/libexec/tbd
X
X # start
X if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
END-of-thebridge-port/files/patch-ab
echo x - thebridge-port/files/patch-ac
sed 's/^X//' >thebridge-port/files/patch-ac << 'END-of-thebridge-port/files/patch-ac'
X--- configure.orig	Thu Jun 24 14:32:44 2004
X+++ configure	Thu Jun 24 14:33:09 2004
X@@ -1961,7 +1961,7 @@
X ac_given_srcdir=$srcdir
X ac_given_INSTALL="$INSTALL"
X
X-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
X+trap 'rm -fr `echo "Makefile src/Makefile common/Makefile inc/Makefile tbdcmd/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
X EOF
X cat >> $CONFIG_STATUS <<EOF
X
X@@ -2054,7 +2054,7 @@
X
X cat >> $CONFIG_STATUS <<EOF
X
X-CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile common/Makefile inc/Makefile tbdcmd/Makefile zlib/Makefile"}
X+CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile common/Makefile inc/Makefile tbdcmd/Makefile "}
X EOF
X cat >> $CONFIG_STATUS <<\EOF
X for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
END-of-thebridge-port/files/patch-ac
echo x - thebridge-port/pkg-descr
sed 's/^X//' >thebridge-port/pkg-descr << 'END-of-thebridge-port/pkg-descr'
XAmateur Radio echolink compatible conference bridge for unix
X
XWWW: http://cqinet.sourceforge.net/
X
X- Diane Bruce, VA3DB
Xdb@db.net
END-of-thebridge-port/pkg-descr
echo x - thebridge-port/Makefile
sed 's/^X//' >thebridge-port/Makefile << 'END-of-thebridge-port/Makefile'
X# ports collection makefile for:	thebridge
X# Date created:		22 June 2004
X# Whom:			db
X#
X# $FreeBSD$
X#
X
XPORTNAME=	thebridge
XPORTVERSION=	0.72
XCATEGORIES=	comms
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	cqinet
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	db@db.net
XCOMMENT=	Amateur Radio Echolink conference bridge
X
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
Xpost-patch:
X		@${REINPLACE_CMD} -e \
X		's|%%PREFIX%%|${PREFIX}|' \
X		${WRKSRC}/FreeBSD/tbd.sh
X		@${MV} ${WRKSRC}/tbd.conf ${WRKSRC}/tbd.conf.sample
X
Xpost-install:
X		@${MKDIR} ${PREFIX}/share/thebridge; \
X		${CP} ${WRKSRC}/README ${PREFIX}/share/thebridge
X		@${ECHO} "Installing ${STARTUP_SCRIPT} startup file." ;  \
X		${CP} ${WRKSRC}/FreeBSD/tbd.sh ${PREFIX}/etc/rc.d/tbd.sh.sample
X		@${ECHO} ""
X		@${ECHO} "Copy ${PREFIX}/etc/tbd.conf.sample to ${PREFIX}/etc/tbd.conf"
X		@${ECHO} "Then edit ${PREFIX}/etc/tbd.conf"
X		@${ECHO} ""
X
X.include <bsd.port.mk>
END-of-thebridge-port/Makefile
echo x - thebridge-port/pkg-plist
sed 's/^X//' >thebridge-port/pkg-plist << 'END-of-thebridge-port/pkg-plist'
Xbin/tbdcmd
Xetc/rc.d/tbd.sh.sample
Xetc/tbd.conf.sample
Xlibexec/tbd
Xshare/thebridge/README
X@dirrm share/thebridge
END-of-thebridge-port/pkg-plist
echo x - thebridge-port/distinfo
sed 's/^X//' >thebridge-port/distinfo << 'END-of-thebridge-port/distinfo'
XMD5 (thebridge-0.72.tgz) = 29b934c6f28c72de1e8fc24027cf2f3a
XSIZE (thebridge-0.72.tgz) = 286396
END-of-thebridge-port/distinfo
exit
--- thebridge-port.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406260104.i5Q14kc3066847>