mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
317ce5aa12
- When shutdown, the correct behavior is to send SIGHUP. - New patch patch-icmp_echo_engine.c: When PID of the gogoc process greater than 65536, it can not perform timeout ping check correctly, due to echo_id in icmp_hdr is declared as uint16_t. - New patch patch-freebsd.sh: To mute dmesg noise "nd6_dad_timer: cancel DAD on tun0 because of ND6_IFF_IFDISABLED." - Don't overwrite gogoc.conf on install. PR: 211426 Submitted by: Clive Lin <clive@tongi.org> Approved by: maintainer timeout (8 months)
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Tomaž Muraus <kami@k5-storitve.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gogoc
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://gogo6.com/downloads/
|
|
DISTNAME= gogoc-1_2-RELEASE
|
|
|
|
MAINTAINER= kami@k5-storitve.net
|
|
COMMENT= GogoCLIENT, connect to Freenet6 tunnel
|
|
|
|
USES= gmake ssl
|
|
USE_RC_SUBR= gogoc
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PORTDOCS= CLIENT-LICENSE.TXT GUI-LICENSE.TXT INSTALL README
|
|
|
|
SUB_FILES= gogoc
|
|
SUB_LIST= LOCALBASE=${LOCALBASE}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/gogoc-tsp/ && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} \
|
|
${MAKE_CMD} platform=freebsd installdir=${STAGEDIR}${PREFIX} install
|
|
${RM} ${STAGEDIR}${PREFIX}/bin/gogoc.conf*
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gogoc
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gogoc-tsp/bin/gogoc.conf.sample ${STAGEDIR}${EXAMPLESDIR}
|
|
@${REINPLACE_CMD} -e \
|
|
's|gogoc_dir=${STAGEDIR}${PREFIX}|gogoc_dir=${PREFIX}|g' \
|
|
${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample
|
|
@${RM} ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample.bak # pass stage-qa
|
|
${INSTALL_DATA} ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/gogoc.conf
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|