2005-12-29 07:21:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.41 2005/12/29 06:22:04 jlam 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
|
2005-10-13 14:35:18 +02:00
|
|
|
PKGREVISION= 5
|
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
|
2001-06-28 22:28:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libconffile=${PREFIX}/etc/libsocks5.conf \
|
2001-06-28 22:28:56 +02:00
|
|
|
--with-srvconffile=${PREFIX}/etc/socks5.conf \
|
|
|
|
--with-srvpidfile=/var/run/socks5.pid \
|
|
|
|
--with-srvidtfile=/var/run/socks5.ident \
|
|
|
|
${EXTRA_CONFIGURE_ARGS}
|
|
|
|
LIBS+= -lcrypt
|
2005-08-31 20:47:36 +02:00
|
|
|
INSTALLATION_DIRS= include
|
2002-10-02 15:27:11 +02:00
|
|
|
RCD_SCRIPTS= socks5
|
|
|
|
|
2005-10-13 14:35:18 +02:00
|
|
|
EXAMPLE_FILES= README multiple_server.example server_2_multiple_server.example
|
|
|
|
EXAMPLE_FILES+= single_homed_host.example socks5.conf.dualhomed
|
|
|
|
EXAMPLE_FILES+= socks5.conf.gssapi socks5.conf.multipleservers
|
|
|
|
EXAMPLE_FILES+= socks5.conf.server2server socks5.conf.singlehomed
|
|
|
|
EXAMPLE_DIR= ${PREFIX}/share/examples/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
|
2005-10-13 15:22:46 +02:00
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
|
2005-10-13 14:35:18 +02:00
|
|
|
.for f in ${EXAMPLE_FILES}
|
2005-10-23 23:45:57 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLE_DIR}
|
2005-10-13 14:35:18 +02:00
|
|
|
.endfor
|
1997-11-21 15:51:06 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|