2004-01-20 13:18:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.32 2004/01/20 12:22:22 agc Exp $
|
2002-08-25 20:38:05 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.14 1997/08/28 06:49:06 obrien Exp
|
1997-11-21 15:51:06 +01:00
|
|
|
#
|
|
|
|
|
2002-04-05 13:41:09 +02:00
|
|
|
DISTNAME= socks5-v1_0r2
|
1997-11-21 15:51:06 +01:00
|
|
|
PKGNAME= socks5-1.0.2
|
2003-12-19 13:25:02 +01:00
|
|
|
PKGREVISION= 3
|
1997-11-21 15:51:06 +01:00
|
|
|
CATEGORIES= net security
|
2002-07-02 16:36:43 +02:00
|
|
|
MASTER_SITES= # empty -- manual fetch needed
|
2002-04-05 13:41:09 +02:00
|
|
|
EXTRACT_SUFX= _tar.gz
|
1997-11-21 15:51:06 +01:00
|
|
|
|
|
|
|
MAINTAINER= ambrisko@ambrisko.roble.com
|
2003-10-11 13:16:20 +02:00
|
|
|
HOMEPAGE= http://www.socks.permeo.com/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= SOCKS v5 application layer gateway and clients
|
1997-11-21 15:51:06 +01:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS= socks4-[0-9]*
|
1998-06-11 18:05:40 +02:00
|
|
|
|
2001-06-28 22:28:56 +02:00
|
|
|
RESTRICTED= "no commercial use"
|
2000-08-19 00:46:29 +02:00
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
1997-11-21 15:51:06 +01:00
|
|
|
|
|
|
|
# here are some extra configure args you may wish to use
|
|
|
|
# see the readme file before screwing with them
|
|
|
|
#
|
1997-12-22 08:45:38 +01:00
|
|
|
#EXTRA_CONFIGURE_ARGS+= \
|
2001-06-28 22:28:56 +02:00
|
|
|
# --with-default-server=socks.mydomain.com \
|
|
|
|
# --with-syslog-facility=LOG_AUTH \
|
|
|
|
# --with-passwd
|
|
|
|
|
2004-01-05 12:17:10 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/socks5-v1.0r2
|
2004-01-05 12:17:10 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2001-06-28 22:28:56 +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 \
|
|
|
|
${EXTRA_CONFIGURE_ARGS}
|
|
|
|
LIBS+= -lcrypt
|
1997-11-21 15:51:06 +01:00
|
|
|
|
2002-10-02 15:27:11 +02:00
|
|
|
RCD_SCRIPTS= socks5
|
|
|
|
|
1997-11-21 15:51:06 +01:00
|
|
|
post-install:
|
2000-05-03 19:44:27 +02:00
|
|
|
${MV} ${PREFIX}/lib/libsocks5_sh.so ${PREFIX}/lib/libsocks5_sh.so.0.0
|
2001-02-23 14:38:41 +01:00
|
|
|
${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so.0
|
|
|
|
${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so
|
1997-11-21 15:51:06 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|