blob: 2ef0e3577f2bd2e9b946ab9d23ac7f7dbbe2f63c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= dante
PORTVERSION= 1.3.2
CATEGORIES= net security
MASTER_SITES= ftp://ftp.inet.no/pub/socks/ \
ftp://ftp.nuug.no/pub/anders/distfiles/ \
http://atreides.freenix.no/~anders/ \
ftp://ftp.inet.no/pub/socks/old/
MAINTAINER= anders@FreeBSD.org
COMMENT= Circuit-level firewall/proxy
CONFLICTS= socks5-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
--with-sockd-conf=${PREFIX}/etc/sockd.conf
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_RC_SUBR= sockd
LICENSE= BSD
MAN1= socksify.1
MAN5= sockd.conf.5 socks.conf.5
MAN8= sockd.8
NO_STAGE= yes
post-install:
@${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${PREFIX}/etc/socks.conf.example
@${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${PREFIX}/etc/sockd.conf.example
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 555 ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/README* ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/rfc* ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4*.protocol ${DOCSDIR}
.endif
.include <bsd.port.mk>
|