1996-04-24 07:09:41 +02:00
|
|
|
# New ports collection makefile for: socks5
|
|
|
|
# Date created: 24 Apr 1996
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1996-04-24 07:09:41 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= socks5
|
2000-08-30 21:43:28 +02:00
|
|
|
PORTVERSION= 1.0.11
|
2004-04-02 21:39:10 +02:00
|
|
|
PORTREVISION= 3
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= net security
|
2005-06-16 21:36:12 +02:00
|
|
|
MASTER_SITES= http://freeware.sgi.com/source/socks5/
|
2000-08-30 21:43:28 +02:00
|
|
|
DISTNAME= socks5-v1.0r11
|
1996-04-24 07:09:41 +02:00
|
|
|
|
2005-05-29 01:20:50 +02:00
|
|
|
MAINTAINER= josh@tcbug.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= SOCKS v5 application layer gateway and clients
|
1996-04-24 20:31:23 +02:00
|
|
|
|
1996-12-08 10:48:59 +01:00
|
|
|
NO_CDROM= "NEC has a funky license for this software"
|
|
|
|
RESTRICTED= "no commercial use"
|
1996-04-24 07:09:41 +02:00
|
|
|
|
|
|
|
# here are some extra configure args you may wish to use
|
|
|
|
# see the readme file before screwing with them
|
|
|
|
#
|
|
|
|
#EXTRA_CONFIGURE_ARGS= \
|
|
|
|
# --with-default-server=socks.mydomain.com \
|
|
|
|
# --with-syslog-facility=LOG_AUTH \
|
|
|
|
# --with-passwd
|
|
|
|
|
1998-07-12 23:26:50 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1996-04-24 07:09:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-libconffile=${PREFIX}/etc/libsocks5.conf \
|
|
|
|
--with-srvconffile=${PREFIX}/etc/socks5.conf \
|
|
|
|
--with-srvpidfile=/var/run/socks5.pid \
|
|
|
|
--with-srvidtfile=/var/run/socks5.ident \
|
2004-04-02 21:39:10 +02:00
|
|
|
--with-srvpwdfile=${PREFIX}/etc/socks5.passwd \
|
1996-04-24 07:09:41 +02:00
|
|
|
${EXTRA_CONFIGURE_ARGS}
|
1997-08-28 08:49:07 +02:00
|
|
|
MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
|
2001-05-17 09:34:47 +02:00
|
|
|
MAN5= libsocks5.conf.5 socks5.conf.5 socks5.passwd.5
|
2001-04-20 20:39:54 +02:00
|
|
|
CONFIGURE_ENV= LIBS=-lcrypt
|
|
|
|
|
2001-05-17 09:34:47 +02:00
|
|
|
post-install:
|
2004-04-02 21:39:10 +02:00
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/socks5.sh ]; then \
|
|
|
|
${ECHO} "Creating ${PREFIX}/etc/rc.d/socks5.sh startup file."; \
|
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/socks5.sh.sample ${PREFIX}/etc/rc.d/socks5.sh; \
|
|
|
|
fi
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-27 03:35:35 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
2001-05-17 09:34:47 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-16 21:36:12 +02:00
|
|
|
.include <bsd.port.mk>
|