Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 May 2001 21:10:14 +0200 (CEST)
From:      Dimitry Andric <dim@xs4all.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27083: Add docs and examples to socks5 port
Message-ID:  <20010504191014.6F0AD15028@tensor.xs4all.nl>

next in thread | raw e-mail | index | archive | help

>Number:         27083
>Category:       ports
>Synopsis:       Add docs and examples to socks5 port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 12:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD tensor.xs4all.nl 4.3-STABLE FreeBSD 4.3-STABLE #0: Sat Apr 21 23:40:23 CEST 2001 root@tensor.xs4all.nl:/usr/obj/usr/src/sys/TENSOR i386
>Description:
The net/socks5 port doesn't contain any examples of configuration
files, or separate documentation, although they are present in the
original distribution from NEC. Here's a patch to add them.
>How-To-Repeat:
Install net/socks5 port, see that there are no examples and/or docs.
>Fix:
Apply following patch to net/socks5 directory and build port.

diff -urNd net/socks5.orig/Makefile net/socks5/Makefile
--- net/socks5.orig/Makefile	Fri Apr 20 20:39:54 2001
+++ net/socks5/Makefile	Fri May  4 20:43:55 2001
@@ -36,6 +36,12 @@
 MAN5=		libsocks5.conf.5 socks5.conf.5
 CONFIGURE_ENV=	LIBS=-lcrypt
 
+post-install:
+	@${MKDIR} ${PREFIX}/share/examples/socks5
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/socks5
+	@${MKDIR} ${PREFIX}/share/doc/socks5
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/socks5
+
 .include <bsd.port.pre.mk>
 
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
diff -urNd net/socks5.orig/pkg-plist net/socks5/pkg-plist
--- net/socks5.orig/pkg-plist	Thu Jun 15 19:59:28 2000
+++ net/socks5/pkg-plist	Fri May  4 20:47:31 2001
@@ -12,3 +12,18 @@
 man/man5/socks5.passwd.5
 lib/libsocks5.a
 lib/libsocks5_sh.so
+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
+share/doc/socks5/rfc1928.txt
+share/doc/socks5/rfc1929.txt
+share/doc/socks5/rfc1961.txt
+share/doc/socks5/socks.faq
+@dirrm share/doc/socks5
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010504191014.6F0AD15028>