1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Wrap IPv6 patch part in OS version checking

- Use latest IPv6 patch

Submitted by:	ben
This commit is contained in:
Munechika SUMIKAWA 2000-12-26 18:12:15 +00:00
parent f14af94421
commit eda5ae273b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36387
2 changed files with 9 additions and 3 deletions

View File

@ -7,16 +7,21 @@
PORTNAME= wwwoffle
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/httpd/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/www/servers
EXTRACT_SUFX= .tgz
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \
ftp://ftp.pasta.cs.uit.no/pub/IPv6/misc/
PATCHFILES= wwwoffle-26-v6-20001121.diff.gz
PATCHFILES= wwwoffle-26-v6-20001122.diff.gz
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= sumikawa@FreeBSD.org
@ -57,6 +62,7 @@ post-install:
@${MKDIR} ${SPOOL}/wwwoffle
@${INSTALL_SCRIPT} ${WRKSRC}/upgrade-config.pl ${SPOOL}/wwwoffle
@${SED} 's@%PREFIX%@${LOCALBASE}@' ${FILESDIR}/wwwoffled.sh > ${PREFIX}/etc/rc.d/wwwoffled.sh
@${CHMOD} +x ${PREFIX}/etc/rc.d/wwwoffled.sh
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (wwwoffle-2.6.tgz) = 40360860c6f57c27316f1a6efcc90457
MD5 (wwwoffle-26-v6-20001121.diff.gz) = 21704a043ecc8e2cfa0d16ab0b065b62
MD5 (wwwoffle-26-v6-20001122.diff.gz) = 135cecfa74212c07ddb3479f39b035a1