ports/51471: New port: www/middleman

Kirill Ponomarew ponomarew at oberon.net
Sun Apr 27 17:10:16 UTC 2003


>Number:         51471
>Category:       ports
>Synopsis:       New port: www/middleman
>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:   Sun Apr 27 10:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: www/middleman

Middleman is a robust proxy server with many features

>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:
#
#	www/middleman/files/patch-aa
#	www/middleman/Makefile
#	www/middleman/distinfo
#	www/middleman/files
#	www/middleman/pkg-descr
#	www/middleman/pkg-plist
#
echo x - www/middleman/files/patch-aa
sed 's/^X//' >www/middleman/files/patch-aa << 'END-of-www/middleman/files/patch-aa'
X--- scripts/mman.init.orig	Sun Apr 27 18:38:32 2003
X+++ scripts/mman.init	Sun Apr 27 18:38:54 2003
X@@ -1,9 +1,9 @@
X #!/bin/sh
X 
X-PROGRAM=/usr/bin/mman
X+PROGRAM=/usr/local/bin/mman
X PIDFILE=/var/run/mman.pid
X LOGFILE=/var/log/mman.log
X-CONFIG=/etc/mman/config.xml
X+CONFIG=/usr/local/etc/mman.xml
X LOGLEVEL=2047
X case "$1" in
X 	start|--start)
END-of-www/middleman/files/patch-aa
echo x - www/middleman/Makefile
sed 's/^X//' >www/middleman/Makefile << 'END-of-www/middleman/Makefile'
X# New ports collection makefile for: 	middleman
X# Date created:		Sun Apr 27 15:48:16 CEST 2003
X# Whom:                Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	middleman
XPORTVERSION=	1.5.2
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	middle-man
XDISTNAME=	${PORTNAME}-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ponomarew at oberon.net
XCOMMENT=	Middleman is a robust proxy server
X
XWRKSRC=		${WRKDIR}/middleman
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
X.if defined(WITH_SYSLOG)
XCONFIGURE_ARGS+=	--enable-syslog
X.endif
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=	--enable-debug
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/mman.xml
X	${INSTALL_DATA} ${WRKSRC}/scripts/mman.init ${PREFIX}/etc/rc.d/mman.sh.sample
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/middleman
X	${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl ${PREFIX}/share/doc/middleman/
X	${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/middleman/
X.endif
X
X.include <bsd.port.mk>
END-of-www/middleman/Makefile
echo x - www/middleman/distinfo
sed 's/^X//' >www/middleman/distinfo << 'END-of-www/middleman/distinfo'
XMD5 (middleman-1.5.2.tgz) = d118bf0e9521b729b7d87e31d76ddd26
END-of-www/middleman/distinfo
echo c - www/middleman/files
mkdir -p www/middleman/files > /dev/null 2>&1
echo x - www/middleman/pkg-descr
sed 's/^X//' >www/middleman/pkg-descr << 'END-of-www/middleman/pkg-descr'
XMiddleman is a robust proxy server with many features designed
Xto remove unwanted content, increase privacy, and to simply
Xmake surfing the Web a more pleasant experience. Some of the
Xhighlights of Middleman include banner and popup blocking, HTTP
Xand FTP content caching, NTLM and Basic authentication when
Xforwarding through another proxy server, regular expression
Xsubstitution in downloaded files and HTTP headers, complete
Xsupport for HTTP/1.1 including persistent connections and gzip
Xencoding, and an intutive Web interface for configuring the
Xproxy.
X
XWWW: http://sourceforge.net/projects/middle-man
END-of-www/middleman/pkg-descr
echo x - www/middleman/pkg-plist
sed 's/^X//' >www/middleman/pkg-plist << 'END-of-www/middleman/pkg-plist'
Xbin/mman
Xetc/rc.d/mman.sh.sample
Xetc/mman.xml
X%%PORTDOCS%%share/doc/middleman/README.html
X%%PORTDOCS%%share/doc/middleman/filter.pl
X at dirrm %%PORTDOCS%%share/doc/middleman
END-of-www/middleman/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list