Index: head/net/freenet6/pkg-message =================================================================== --- head/net/freenet6/pkg-message (revision 50283) +++ head/net/freenet6/pkg-message (nonexistent) @@ -1,7 +0,0 @@ -Now that the package is installed, please finish it with the following steps: - -- Copy /usr/local/etc/tspc.conf.sample to /usr/local/etc/tspc.conf -- Check the values of /usr/local/etc/tspc.conf. If you have registered at - the website, fill in your userid and password there. -- Run /usr/local/etc/rc.d/freenet6.sh to start the tunnel. -- Try to ping a IPv6 host, for example: ping6 mud6.fataldimensions.org Property changes on: head/net/freenet6/pkg-message ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/net/freenet6/Makefile =================================================================== --- head/net/freenet6/Makefile (revision 50283) +++ head/net/freenet6/Makefile (revision 50284) @@ -1,74 +1,73 @@ # New ports collection makefile for: freenet6 # Date created: 11 Oct 2001 # Whom: Edwin Groothuis (edwin@mavetju.org) # # $FreeBSD$ # PORTNAME= freenet6 PORTVERSION= 0.9.5 CATEGORIES= net ipv6 MASTER_SITES= # fetch manually EXTRACT_SUFX= .tgz MAINTAINER= edwin@mavetju.org MAN8= tspc.8 MAN5= tspc.conf.5 +PKGMESSAGE= ${WRKSRC}/pkg-message + .include .if ${OSVERSION} < 400000 IGNORE= This program might not be working on FreeBSD version below 4.0 .endif .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= May not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the version\ after reading and agreeing to the license at:\ http://www.freenet6.net/cgi-bin/download.cgi?fn=${DISTFILES} \ Once it has been downloaded, move it to\ ${DISTDIR} and then restart this build.\ You also can register to use this service at\ http://www.freenet6.net/cgi-bin/new_account.pl .endif NO_CDROM= "Redistribution not allowed" NO_PACKAGE= "Redistribution not allowed" .if ${OSVERSION} >= 440000 MAKE_ARGS= target=freebsd44 installdir=${PREFIX} .else MAKE_ARGS= target=freebsd4 installdir=${PREFIX} .endif do-install: @${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${PREFIX}/bin/tspc @${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf ${PREFIX}/etc/tspc.conf.sample @${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${PREFIX}/bin/checktunnel.sh @${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd44.sh ${PREFIX}/bin/tspc-freebsd44.sh @${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd4.sh ${PREFIX}/bin/tspc-freebsd4.sh @${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/man/man8 @${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/man/man5 - @${INSTALL_SCRIPT} ${FILESDIR}/freenet6.sh ${PREFIX}/etc/rc.d/ + @${INSTALL_SCRIPT} ${WRKSRC}/freenet6.sh ${PREFIX}/etc/rc.d/ post-install: - @${CAT} pkg-message + @${CAT} ${PKGMESSAGE} post-patch: @${MV} ${WRKSRC}/src/tspc.c ${WRKSRC}/src/tspc.c.orig @${SED} -e "s|tspc.conf|${PREFIX}/etc/tspc.conf|" < ${WRKSRC}/src/tspc.c.orig > ${WRKSRC}/src/tspc.c - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${FILESDIR}/freenet6.sh - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > pkg-message + @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/freenet6.sh.in > ${WRKSRC}/freenet6.sh + @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${FILESDIR}/pkg-message.in > ${WRKSRC}/pkg-message @${MV} ${WRKSRC}/man/man8/tspc.8 ${WRKSRC}/man/man8/tspc.8.orig @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man8/tspc.8.orig > ${WRKSRC}/man/man8/tspc.8 @${MV} ${WRKSRC}/man/man5/tspc.conf.5 ${WRKSRC}/man/man5/tspc.conf.5.orig @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" < ${WRKSRC}/man/man5/tspc.conf.5.orig > ${WRKSRC}/man/man5/tspc.conf.5 - -post-clean: - @${RM} -f ${FILESDIR}/freenet6.sh .include Property changes on: head/net/freenet6/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/net/freenet6/files/pkg-message.in =================================================================== --- head/net/freenet6/files/pkg-message.in (revision 50283) +++ head/net/freenet6/files/pkg-message.in (revision 50284) @@ -1,7 +1,7 @@ Now that the package is installed, please finish it with the following steps: - Copy @@PREFIX@@/etc/tspc.conf.sample to @@PREFIX@@/etc/tspc.conf - Check the values of @@PREFIX@@/etc/tspc.conf. If you have registered at the website, fill in your userid and password there. - Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel. -- Try to ping a IPv6 host, for example: ping6 mud6.fataldimensions.org +- Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org Property changes on: head/net/freenet6/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property