2009-06-30 02:07:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.48 2009/06/30 00:07:21 joerg 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
|
2007-01-09 06:20:15 +01:00
|
|
|
PKGREVISION= 6
|
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
|
2007-10-31 22:45:02 +01:00
|
|
|
# XXX missing
|
|
|
|
LICENSE= socks5-license
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2006-04-22 11:22:05 +02:00
|
|
|
RESTRICTED= no commercial use
|
2008-09-12 02:48:05 +02:00
|
|
|
# Set all pending someone looking at the license.
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
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
|
|
|
|
2009-05-19 10:59:00 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2009-05-19 10:59:00 +02:00
|
|
|
CONFLICTS= socks4-[0-9]*
|
|
|
|
|
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
|
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
|
|
|
|
|
2009-02-10 18:18:43 +01:00
|
|
|
INSTALLATION_DIRS= bin include ${EXAMPLE_DIR} ${PKGMANDIR}/man1 \
|
|
|
|
${PKGMANDIR}/man5
|
|
|
|
INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
|
|
|
|
SHLIB_DIR=${DESTDIR}${PREFIX}/lib \
|
|
|
|
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} \
|
|
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
|
|
|
|
prefix=${DESTDIR}${PREFIX} \
|
|
|
|
exec_prefix=${DESTDIR}${PREFIX}
|
|
|
|
|
1997-11-21 15:51:06 +01:00
|
|
|
post-install:
|
2009-02-10 18:18:43 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && chmod 555 rarchie rfinger rftp rping rtelnet rtraceroute runsocks rwhois
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/lib/libsocks5_sh.so ${DESTDIR}${PREFIX}/lib/libsocks5_sh.so.0.0
|
|
|
|
${LN} -sf libsocks5_sh.so.0.0 ${DESTDIR}${PREFIX}/lib/libsocks5_sh.so.0
|
|
|
|
${LN} -sf libsocks5_sh.so.0.0 ${DESTDIR}${PREFIX}/lib/libsocks5_sh.so
|
2005-10-13 14:35:18 +02:00
|
|
|
.for f in ${EXAMPLE_FILES}
|
2009-02-10 18:18:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}${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"
|