View | Details | Raw Unified | Return to bug 92731
Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	dante
8
PORTNAME=	dante
9
PORTVERSION=	1.1.15
9
PORTVERSION=	1.1.19
10
CATEGORIES=	net security
10
CATEGORIES=	net security
11
MASTER_SITES=	ftp://ftp.inet.no/pub/socks/ \
11
MASTER_SITES=	ftp://ftp.inet.no/pub/socks/ \
12
		ftp://ftp.nuug.no/pub/anders/distfiles/ \
12
		ftp://ftp.nuug.no/pub/anders/distfiles/ \
Lines 24-36 Link Here
24
24
25
INSTALLS_SHLIB=	yes
25
INSTALLS_SHLIB=	yes
26
26
27
USE_RC_SUBR=	sockd.sh
28
27
MAN5=	sockd.conf.5 socks.conf.5
29
MAN5=	sockd.conf.5 socks.conf.5
28
MAN8=	sockd.8
30
MAN8=	sockd.8
29
31
30
post-install:
32
post-install:
31
	@${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${PREFIX}/etc/socks.conf.example
33
	@${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${PREFIX}/etc/socks.conf.example
32
	@${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${PREFIX}/etc/sockd.conf.example
34
	@${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${PREFIX}/etc/sockd.conf.example
33
	@${INSTALL_SCRIPT} ${FILESDIR}/sockd.sh ${PREFIX}/etc/rc.d/sockd.sh-dist
34
.if !defined(NOPORTDOCS)
35
.if !defined(NOPORTDOCS)
35
	${INSTALL} -d -m 555 ${DOCSDIR}
36
	${INSTALL} -d -m 555 ${DOCSDIR}
36
	@${INSTALL_DATA} ${WRKSRC}/doc/README* ${DOCSDIR}
37
	@${INSTALL_DATA} ${WRKSRC}/doc/README* ${DOCSDIR}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dante-1.1.15.tar.gz) = c737faf4ba6282777070d8c0580c3832
1
MD5 (dante-1.1.19.tar.gz) = 58b56d1e964f3f0186f3eeed3d95d9a4
2
SHA256 (dante-1.1.15.tar.gz) = a2bc514933305e3a03558c8520e871dcaa9e031e241c7af9e2ef88346ea23d69
2
SHA256 (dante-1.1.19.tar.gz) = b49f0936282a14c41a03cd70158d1a11e6af3564a18d4b3337f291fb6dae0936
3
SIZE (dante-1.1.15.tar.gz) = 839660
3
SIZE (dante-1.1.19.tar.gz) = 895713
(-)pkg-plist (-2 lines)
Lines 1-7 Link Here
1
bin/socksify
1
bin/socksify
2
etc/sockd.conf.example
2
etc/sockd.conf.example
3
etc/socks.conf.example
3
etc/socks.conf.example
4
etc/rc.d/sockd.sh-dist
5
include/socks.h
4
include/socks.h
6
lib/libdsocks.so
5
lib/libdsocks.so
7
lib/libdsocks.so.1
6
lib/libdsocks.so.1
Lines 9-15 Link Here
9
lib/libsocks.so
8
lib/libsocks.so
10
lib/libsocks.so.1
9
lib/libsocks.so.1
11
sbin/sockd
10
sbin/sockd
12
%%PORTDOCS%%%%DOCSDIR%%/README.msproxy
13
%%PORTDOCS%%%%DOCSDIR%%/README.socksify
11
%%PORTDOCS%%%%DOCSDIR%%/README.socksify
14
%%PORTDOCS%%%%DOCSDIR%%/README.survey
12
%%PORTDOCS%%%%DOCSDIR%%/README.survey
15
%%PORTDOCS%%%%DOCSDIR%%/README.usage
13
%%PORTDOCS%%%%DOCSDIR%%/README.usage
(-)files/sockd.sh (-15 lines)
Removed Link Here
1
#!/bin/sh
2
3
case "$1" in
4
start)
5
	[ -x /usr/local/sbin/sockd ] && /usr/local/sbin/sockd -D > /dev/null && echo -n ' sockd'
6
	;;
7
stop)
8
	[ -r /var/run/sockd.pid ] && kill `cat /var/run/sockd.pid` && echo -n ' sockd'
9
	;;
10
*)
11
	echo "Usage: `basename $0` {start|stop}" >&2
12
	;;
13
esac
14
15
exit 0
(-)files/sockd.sh.in (+29 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
# PROVIDE: sockd
7
# REQUIRE: NETWORKING
8
# KEYWORD: FreeBSD shutdown
9
10
#
11
# Add the following lines to /etc/rc.conf to enable sockd:
12
#
13
#sockd_enable="YES"
14
#
15
16
. %%RC_SUBR%%
17
18
name=sockd
19
rcvar=`set_rcvar`
20
21
command=%%PREFIX%%/sbin/sockd
22
pidfile=/var/run/sockd.pid
23
required_files=%%PREFIX%%/etc/sockd.conf
24
25
sockd_enable=${sockd_enable:-"NO"}
26
sockd_flags=${sockd_flags:-"-D"}
27
28
load_rc_config $name
29
run_rc_command "$1"

Return to bug 92731