Skip site navigation (1)Skip section navigation (2)
Date:      16 Nov 2005 00:43:37 -0000
From:      Dale Woolridge <dale.woolridge@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89096: New port: sysutils/ucspi-proxy A proxy program for UCSPI servers and clients
Message-ID:  <20051116004337.73803.qmail@najla.woolridge.ca>
Resent-Message-ID: <200511160050.jAG0oFEk043550@freefall.freebsd.org>

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

>Number:         89096
>Category:       ports
>Synopsis:       New port: sysutils/ucspi-proxy  A proxy program for UCSPI servers and clients
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 00:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dale Woolridge
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD najla.woolridge.ca 4.7-STABLE FreeBSD 4.7-STABLE #11: Tue Jul 6 21:16:08 EDT 2004 root@najla.woolridge.ca:/usr/obj/usr/src/sys/NAJLA i386

>Description:
	This package contains a proxy program that passes data back and forth
	between two connections set up by a UCSPI server and a UCSPI client.

>How-To-Repeat:
	
>Fix:

	# 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:
#
#	sysutils/ucspi-proxy
#	sysutils/ucspi-proxy/Makefile
#	sysutils/ucspi-proxy/distinfo
#	sysutils/ucspi-proxy/pkg-descr
#	sysutils/ucspi-proxy/pkg-plist
#	sysutils/ucspi-proxy/files
#	sysutils/ucspi-proxy/files/patch-INSTHIER
#	sysutils/ucspi-proxy/files/_patch-Makefile
#
echo c - sysutils/ucspi-proxy
mkdir -p sysutils/ucspi-proxy > /dev/null 2>&1
echo x - sysutils/ucspi-proxy/Makefile
sed 's/^X//' >sysutils/ucspi-proxy/Makefile << 'END-of-sysutils/ucspi-proxy/Makefile'
X# New ports collection makefile for:	ucspi-proxy
X# Date created:				15 November 2005
X# Whom:					Dale Woolridge <dale.woolridge@gmail.com>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	ucspi-proxy
XPORTVERSION=	0.96
XCATEGORIES=	sysutils
XMASTER_SITES=	http://untroubled.org/ucspi-proxy/
X
XMAINTAINER=	dale.woolridge@gmail.com
XCOMMENT=	A proxy program for UCSPI servers and clients
X
XBUILD_DEPENDS=  ${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs
X
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-s -L${LOCALBASE}/lib
XBGLIBS_LIB=	${LOCALBASE}/lib/bglibs
XBGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
X
XMAN1=		ucspi-proxy-http-xlate.1 ucspi-proxy.1
X
Xdo-configure:
X	${ECHO_CMD} "${PREFIX}/bin"     > ${WRKSRC}/conf-bin
X	${ECHO_CMD} "${MANPREFIX}/man"  > ${WRKSRC}/conf-man
X	${ECHO_CMD} "${CC} ${CFLAGS}"   > ${WRKSRC}/conf-cc
X	${ECHO_CMD} "${CC} ${LDFLAGS}"  > ${WRKSRC}/conf-ld
X	${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
X	${ECHO_CMD} "${BGLIBS_LIB}"     > ${WRKSRC}/conf-bglibs
X
X.include <bsd.port.mk>
END-of-sysutils/ucspi-proxy/Makefile
echo x - sysutils/ucspi-proxy/distinfo
sed 's/^X//' >sysutils/ucspi-proxy/distinfo << 'END-of-sysutils/ucspi-proxy/distinfo'
XMD5 (ucspi-proxy-0.96.tar.gz) = a58adfd3631bfddcd9af180ee39ac99a
XSIZE (ucspi-proxy-0.96.tar.gz) = 25582
END-of-sysutils/ucspi-proxy/distinfo
echo x - sysutils/ucspi-proxy/pkg-descr
sed 's/^X//' >sysutils/ucspi-proxy/pkg-descr << 'END-of-sysutils/ucspi-proxy/pkg-descr'
XThis package contains a proxy program that passes data back and forth
Xbetween two connections set up by a UCSPI server and a UCSPI client.
X
XWWW: http://untroubled.org/ucspi-proxy/
END-of-sysutils/ucspi-proxy/pkg-descr
echo x - sysutils/ucspi-proxy/pkg-plist
sed 's/^X//' >sysutils/ucspi-proxy/pkg-plist << 'END-of-sysutils/ucspi-proxy/pkg-plist'
Xbin/ucspi-proxy
Xbin/ucspi-proxy-log
Xbin/ucspi-proxy-pop3
Xbin/ucspi-proxy-imap
Xbin/ucspi-proxy-http-xlate
END-of-sysutils/ucspi-proxy/pkg-plist
echo c - sysutils/ucspi-proxy/files
mkdir -p sysutils/ucspi-proxy/files > /dev/null 2>&1
echo x - sysutils/ucspi-proxy/files/patch-INSTHIER
sed 's/^X//' >sysutils/ucspi-proxy/files/patch-INSTHIER << 'END-of-sysutils/ucspi-proxy/files/patch-INSTHIER'
X--- INSTHIER    Sun Oct  9 16:58:22 2005
X+++ INSTHIER    Sun Oct  9 16:58:30 2005
X@@ -1,4 +1,5 @@
X >bin
X+c:::755::ucspi-proxy
X c:::755::ucspi-proxy-http-xlate
X c:::755::ucspi-proxy-imap
X c:::755::ucspi-proxy-log
END-of-sysutils/ucspi-proxy/files/patch-INSTHIER
echo x - sysutils/ucspi-proxy/files/_patch-Makefile
sed 's/^X//' >sysutils/ucspi-proxy/files/_patch-Makefile << 'END-of-sysutils/ucspi-proxy/files/_patch-Makefile'
X--- Makefile.orig	Wed Dec 20 15:38:59 2000
X+++ Makefile	Fri Aug  5 16:13:58 2005
X@@ -1,21 +1,15 @@
X PACKAGE = ucspi-proxy
X VERSION = 0.95
X 
X-CC = gcc
X-CFLAGS = -O -g -W -Wall
X+CFLAGS += -O -g -W -Wall ${CPPFLAGS}
X 
X-LD = $(CC)
X-LDFLAGS = -g
X-LIBS =
X+LDFLAGS += -g
X+LIBS +=
X 
X-prefix = /usr
X-install_prefix =
X-bindir = $(install_prefix)$(prefix)/bin
X-mandir = $(install_prefix)$(prefix)/man
X+bindir = $(PREFIX)/bin
X+mandir = $(PREFIX)/man
X man1dir = $(mandir)/man1
X 
X-install = /usr/bin/install
X-
X PROGS = ucspi-proxy ucspi-proxy-log \
X 	ucspi-proxy-pop3-relay \
X 	ucspi-proxy-imap-relay \
X@@ -39,33 +33,33 @@
X ucspi-proxy.o: ucspi-proxy.c ucspi-proxy.h
X 
X ucspi-proxy: ucspi-proxy.o null-filter.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o null-filter.o $(LIBS)
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o null-filter.o $(LIBS)
X 
X ucspi-proxy-ftp: ucspi-proxy.o ftp-filter.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o ftp-filter.o $(LIBS)
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o ftp-filter.o $(LIBS)
X 
X ucspi-proxy-log: ucspi-proxy.o log-filter.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o log-filter.o $(LIBS)
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o log-filter.o $(LIBS)
X 
X ucspi-proxy-pop3-relay: ucspi-proxy.o pop3-relay-filter.o \
X 	relay-filter.o base64.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o pop3-relay-filter.o \
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o pop3-relay-filter.o \
X 		relay-filter.o base64.o $(LIBS)
X 
X ucspi-proxy-imap-relay: ucspi-proxy.o imap-relay-filter.o \
X 	relay-filter.o base64.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o imap-relay-filter.o \
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o imap-relay-filter.o \
X 		relay-filter.o base64.o $(LIBS)
X 
X ucspi-proxy-http-xlate: ucspi-proxy.o http-xlate-filter.o relay-filter.o
X-	$(LD) $(LDFLAGS) -o $@ ucspi-proxy.o http-xlate-filter.o $(LIBS)
X+	$(CC) $(LDFLAGS) -o $@ ucspi-proxy.o http-xlate-filter.o $(LIBS)
X 
X install: $(PROGS) $(MAN1S)
X-	$(install) -d $(bindir)
X-	$(install) -m 755 $(PROGS) $(SCRIPTS) $(bindir)
X+	install -d $(bindir)
X+	install -m 755 $(PROGS) $(SCRIPTS) $(bindir)
X 
X-	$(install) -d $(man1dir)
X-	$(install) -m 644 $(MAN1S) $(man1dir)
X+	install -d $(man1dir)
X+	install -m 644 $(MAN1S) $(man1dir)
X 
X clean:
X 	$(RM) *.o $(PROGS)
END-of-sysutils/ucspi-proxy/files/_patch-Makefile
exit

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



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