Annotation of pkgsrc/net/socks5/Makefile, Revision 1.45
1.45 ! gdt 1: # $NetBSD: Makefile,v 1.44 2007/10/31 21:45:02 gdt Exp $
1.1 agc 2:
1.22 fredb 3: DISTNAME= socks5-v1_0r2
1.1 agc 4: PKGNAME= socks5-1.0.2
1.43 rillig 5: PKGREVISION= 6
1.1 agc 6: CATEGORIES= net security
1.23 wiz 7: MASTER_SITES= # empty -- manual fetch needed
1.22 fredb 8: EXTRACT_SUFX= _tar.gz
1.1 agc 9:
10: MAINTAINER= ambrisko@ambrisko.roble.com
1.27 grant 11: HOMEPAGE= http://www.socks.permeo.com/
1.17 wiz 12: COMMENT= SOCKS v5 application layer gateway and clients
1.10 agc 13:
1.21 jlam 14: CONFLICTS= socks4-[0-9]*
1.1 agc 15:
1.44 gdt 16: # XXX missing
17: LICENSE= socks5-license
1.42 rillig 18: RESTRICTED= no commercial use
1.45 ! gdt 19: # Set all pending someone looking at the license.
! 20: NO_SRC_ON_FTP= ${RESTRICTED}
! 21: NO_BIN_ON_FTP= ${RESTRICTED}
1.16 hubertf 22: NO_SRC_ON_CDROM= ${RESTRICTED}
23: NO_BIN_ON_CDROM= ${RESTRICTED}
1.1 agc 24:
25: # here are some extra configure args you may wish to use
26: # see the readme file before screwing with them
27: #
1.4 hubertf 28: #EXTRA_CONFIGURE_ARGS+= \
1.20 jlam 29: # --with-default-server=socks.mydomain.com \
30: # --with-syslog-facility=LOG_AUTH \
31: # --with-passwd
32:
1.31 jlam 33: PKG_INSTALLATION_TYPES= overwrite pkgviews
34:
1.32 agc 35: WRKSRC= ${WRKDIR}/socks5-v1.0r2
1.20 jlam 36: GNU_CONFIGURE= yes
1.40 rillig 37: CONFIGURE_ARGS+= --with-libconffile=${PREFIX}/etc/libsocks5.conf \
1.20 jlam 38: --with-srvconffile=${PREFIX}/etc/socks5.conf \
39: --with-srvpidfile=/var/run/socks5.pid \
40: --with-srvidtfile=/var/run/socks5.ident \
41: ${EXTRA_CONFIGURE_ARGS}
42: LIBS+= -lcrypt
1.36 reed 43: INSTALLATION_DIRS= include
1.25 grant 44: RCD_SCRIPTS= socks5
45:
1.37 abs 46: EXAMPLE_FILES= README multiple_server.example server_2_multiple_server.example
47: EXAMPLE_FILES+= single_homed_host.example socks5.conf.dualhomed
48: EXAMPLE_FILES+= socks5.conf.gssapi socks5.conf.multipleservers
49: EXAMPLE_FILES+= socks5.conf.server2server socks5.conf.singlehomed
50: EXAMPLE_DIR= ${PREFIX}/share/examples/socks5
51:
1.1 agc 52: post-install:
1.43 rillig 53: cd ${PREFIX}/bin && chmod 555 rarchie rfinger rftp rping rtelnet rtraceroute runsocks rwhois
1.15 rh 54: ${MV} ${PREFIX}/lib/libsocks5_sh.so ${PREFIX}/lib/libsocks5_sh.so.0.0
1.18 wiz 55: ${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so.0
56: ${LN} -sf libsocks5_sh.so.0.0 ${PREFIX}/lib/libsocks5_sh.so
1.38 wiz 57: ${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
1.37 abs 58: .for f in ${EXAMPLE_FILES}
1.39 rillig 59: ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLE_DIR}
1.37 abs 60: .endfor
1.1 agc 61:
1.9 agc 62: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>