summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-10-13 12:35:18 +0000
committerabs <abs@pkgsrc.org>2005-10-13 12:35:18 +0000
commit114bfd3e52f2f9fa166fc07b2885dd3a85318638 (patch)
tree7f01e7c4831b205e75a7ff9b4929d2437cd3ce84 /net
parent568b381d79f01b8516321850c38c3bc9a2e0f192 (diff)
downloadpkgsrc-114bfd3e52f2f9fa166fc07b2885dd3a85318638.tar.gz
update socks5 to socks5-1.0.2nb5
socks5 comes with a set of examples configurations - install them
Diffstat (limited to 'net')
-rw-r--r--net/socks5/Makefile14
-rw-r--r--net/socks5/PLIST30
2 files changed, 32 insertions, 12 deletions
diff --git a/net/socks5/Makefile b/net/socks5/Makefile
index 1b2e1445888..03111bafee4 100644
--- a/net/socks5/Makefile
+++ b/net/socks5/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2005/08/31 18:47:36 reed Exp $
+# $NetBSD: Makefile,v 1.37 2005/10/13 12:35:18 abs Exp $
DISTNAME= socks5-v1_0r2
PKGNAME= socks5-1.0.2
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= net security
MASTER_SITES= # empty -- manual fetch needed
EXTRACT_SUFX= _tar.gz
@@ -39,9 +39,19 @@ LIBS+= -lcrypt
INSTALLATION_DIRS= include
RCD_SCRIPTS= socks5
+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
+
post-install:
${MV} ${PREFIX}/lib/libsocks5_sh.so ${PREFIX}/lib/libsocks5_sh.so.0.0
${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
+.for f in ${EXAMPLE_FILES}
+ ${MKDIR} ${EXAMPLE_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/$f ${EXAMPLE_DIR}
+.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/net/socks5/PLIST b/net/socks5/PLIST
index 466c2d57915..bca33878033 100644
--- a/net/socks5/PLIST
+++ b/net/socks5/PLIST
@@ -1,24 +1,34 @@
-@comment $NetBSD: PLIST,v 1.4 2005/05/02 20:34:04 reed Exp $
-bin/socks5
-bin/runsocks
-bin/stopsocks
+@comment $NetBSD: PLIST,v 1.5 2005/10/13 12:35:18 abs Exp $
bin/rarchie
bin/rfinger
bin/rftp
bin/rping
bin/rtelnet
bin/rtraceroute
+bin/runsocks
bin/rwhois
+bin/socks5
+bin/stopsocks
include/socks.h
-man/man1/socks5.1.gz
+lib/libsocks5.a
+lib/libsocks5_sh.so
+lib/libsocks5_sh.so.0
+lib/libsocks5_sh.so.0.0
man/man1/runsocks.1.gz
-man/man1/stopsocks.1.gz
+man/man1/socks5.1.gz
man/man1/socks5_clients.1.gz
+man/man1/stopsocks.1.gz
man/man5/libsocks5.conf.5.gz
man/man5/socks5.conf.5.gz
man/man5/socks5.passwd.5
-lib/libsocks5.a
-lib/libsocks5_sh.so
-lib/libsocks5_sh.so.0
-lib/libsocks5_sh.so.0.0
share/examples/rc.d/socks5
+share/examples/socks5/README
+share/examples/socks5/multiple_server.example
+share/examples/socks5/server_2_multiple_server.example
+share/examples/socks5/single_homed_host.example
+share/examples/socks5/socks5.conf.dualhomed
+share/examples/socks5/socks5.conf.gssapi
+share/examples/socks5/socks5.conf.multipleservers
+share/examples/socks5/socks5.conf.server2server
+share/examples/socks5/socks5.conf.singlehomed
+@dirrm share/examples/socks5