| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/security/vm-to-tor/ |
Upload File : |
PORTNAME= vm-to-tor
PORTVERSION= 1.0
CATEGORIES= security net
MAINTAINER= yuri@FreeBSD.org
COMMENT= Connect virtual machines to the tor network
WWW= https://github.com/yurivict/vm-to-tor
LICENSE= BSD4CLAUSE
RUN_DEPENDS= tor:security/tor \
tiny-network-utilities>=1.0:net/tiny-network-utilities
USE_GITHUB= yes
GH_ACCOUNT= yurivict
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
PLIST_FILES+= etc/rc.d/${PORTNAME} bin/vm-ctrl
PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.simple.sample"
PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.complex.sample"
post-patch:
@${REINPLACE_CMD} 's|"/usr/local"|"${LOCALBASE}"|' \
${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
-e 's|etc/rc\.conf\.|etc/${PORTNAME}.rc.conf.|' \
${WRKSRC}/rc.conf.*.sample
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/vm-ctrl ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.simple.sample \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.simple.sample
${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.complex.sample \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.complex.sample
.include <bsd.port.mk>