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
|
2008-06-19 10:38:38 +02:00
|
|
|
PORTREVISION= 5
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= net security
|
2008-12-09 08:51:58 +01:00
|
|
|
MASTER_SITES= http://reality.sgiweb.org/freeware/source/socks5/ \
|
|
|
|
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
|
|
|
|
2008-09-06 22:16:45 +02:00
|
|
|
MAINTAINER= jpaetzel@FreeBSD.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
|
|
|
|
2007-04-16 06:26:28 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}.sh
|
2008-12-09 08:51:58 +01:00
|
|
|
NO_CDROM= NEC has a funky license for this software
|
|
|
|
RESTRICTED= no commercial use
|
1996-04-24 07:09:41 +02:00
|
|
|
|
2006-10-31 14:40:43 +01:00
|
|
|
CONFLICTS= dante-[0-9]*
|
|
|
|
|
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}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
1996-04-24 07:09:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-04-16 06:26:28 +02:00
|
|
|
CFLAGS+= -DHAVE_VSNPRINTF
|
1996-04-24 07:09:41 +02:00
|
|
|
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 !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>
|