1996-04-24 05:09:41 +00:00
|
|
|
# New ports collection makefile for: socks5
|
1999-09-25 05:27:58 +00:00
|
|
|
# Version required: v1.0r10
|
1996-04-24 05:09:41 +00:00
|
|
|
# Date created: 24 Apr 1996
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1996-04-24 05:09:41 +00:00
|
|
|
#
|
|
|
|
|
1999-09-25 05:27:58 +00:00
|
|
|
DISTNAME= socks5-v1.0r10
|
|
|
|
PKGNAME= socks5-1.0.10
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= net security
|
1997-12-24 18:42:25 +00:00
|
|
|
EXTRACT_SUFX= .tar.gz
|
1996-04-24 05:09:41 +00:00
|
|
|
|
1997-12-24 18:42:25 +00:00
|
|
|
MAINTAINER= imp@freebsd.org
|
1996-04-24 18:31:23 +00:00
|
|
|
|
1996-12-08 09:48:59 +00:00
|
|
|
NO_CDROM= "NEC has a funky license for this software"
|
|
|
|
RESTRICTED= "no commercial use"
|
1996-04-24 05:09:41 +00: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 21:26:50 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
1996-04-24 05:09:41 +00: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 \
|
|
|
|
${EXTRA_CONFIGURE_ARGS}
|
1997-08-28 06:49:07 +00:00
|
|
|
MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN5= libsocks5.conf.5 socks5.conf.5
|
1999-09-25 05:27:58 +00:00
|
|
|
CONFIGURE_ENV= LIBS=-lcrypt
|
1996-04-24 05:09:41 +00:00
|
|
|
|
1998-07-12 21:26:50 +00:00
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
|
|
|
${ECHO} ""; \
|
|
|
|
${ECHO} "NEC requires that you grab the dist files from their"; \
|
1998-10-07 18:51:28 +00:00
|
|
|
${ECHO} "web site at http://www.socks.nec.com. Please make sure"; \
|
1998-07-12 21:26:50 +00:00
|
|
|
${ECHO} "you have ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}"; \
|
|
|
|
${ECHO} "and run make again."; \
|
|
|
|
${ECHO} ""; \
|
|
|
|
exit 1;\
|
|
|
|
fi
|
|
|
|
|
1997-12-24 18:42:25 +00:00
|
|
|
.include <bsd.port.mk>
|