1998-04-27 15:53:22 -04:00
|
|
|
# New ports collection makefile for: socks5
|
|
|
|
# Version required: v1.0r3
|
|
|
|
# Date created: 21 Apr 1998
|
1998-10-20 04:39:43 -04:00
|
|
|
# Whom: form@OpenBSD.ORG
|
1998-04-27 15:53:22 -04:00
|
|
|
#
|
1999-02-17 02:09:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 1999/02/17 07:09:24 marc Exp $
|
1998-04-27 15:53:22 -04:00
|
|
|
#
|
|
|
|
|
1998-12-01 00:10:23 -05:00
|
|
|
DISTNAME= socks5-v1.0r8
|
|
|
|
PKGNAME= socks5-1.0.8
|
1998-04-27 15:53:22 -04:00
|
|
|
CATEGORIES= net security
|
1998-07-28 22:57:18 -04:00
|
|
|
#EXTRACT_SUFX= .tar.gz
|
1998-04-27 15:53:22 -04:00
|
|
|
|
1998-10-20 04:39:43 -04:00
|
|
|
MAINTAINER= form@OpenBSD.ORG
|
1998-04-27 15:53:22 -04:00
|
|
|
|
|
|
|
NO_CDROM= "NEC has a funky license for this software"
|
|
|
|
RESTRICTED= "no commercial use"
|
1998-12-16 17:16:00 -05:00
|
|
|
MIRROR_DISTFILE=no
|
1998-08-05 17:59:31 -04:00
|
|
|
IS_INTERACTIVE= yes
|
1998-04-27 15:53:22 -04: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-28 22:57:18 -04:00
|
|
|
ETCDIR?= /etc
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
1998-04-27 15:53:22 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-28 22:57:18 -04:00
|
|
|
CONFIGURE_ARGS= --with-libconffile=${ETCDIR}/libsocks5.conf \
|
|
|
|
--with-srvconffile=${ETCDIR}/socks5.conf \
|
|
|
|
--with-srvpidfile=/var/run/socks5.pid \
|
1998-04-27 15:53:22 -04:00
|
|
|
--with-srvidtfile=/var/run/socks5.ident \
|
|
|
|
${EXTRA_CONFIGURE_ARGS}
|
|
|
|
MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
|
|
|
|
MAN5= libsocks5.conf.5 socks5.conf.5
|
|
|
|
|
1998-07-28 22:57:18 -04:00
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
|
|
|
${ECHO} ""; \
|
|
|
|
${ECHO} "NEC requires that you grab the dist files from their"; \
|
1999-02-17 02:09:24 -05:00
|
|
|
${ECHO} "web site at http://www.socks.nec.com. Please make sure"; \
|
1998-07-28 22:57:18 -04:00
|
|
|
${ECHO} "you have ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}"; \
|
|
|
|
${ECHO} "and run make again."; \
|
|
|
|
${ECHO} ""; \
|
|
|
|
exit 1;\
|
|
|
|
fi
|
1998-04-27 15:53:22 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|