diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2005-09-29 06:45:27 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2005-09-29 06:45:27 +0800 |
commit | b71f6d9bbf6ccfaa822e39dba7d48ea787f65e9c (patch) | |
tree | 2f68f9390507e3dd976dc678a9816b80a972692e /www | |
parent | 7937e38e100910640908c15a0ec0e61a633580ea (diff) | |
download | freebsd-ports-gnome-b71f6d9bbf6ccfaa822e39dba7d48ea787f65e9c.tar.gz freebsd-ports-gnome-b71f6d9bbf6ccfaa822e39dba7d48ea787f65e9c.tar.zst freebsd-ports-gnome-b71f6d9bbf6ccfaa822e39dba7d48ea787f65e9c.zip |
- Update to 1.5.2 that fixes some security issues and have lots of
features
- Do not define WWWOWN and WWWGRP, also fix bug with PHPMYFAQ_URL variable
- Take maintainership as I use this system somewhere
Diffstat (limited to 'www')
-rw-r--r-- | www/phpmyfaq/Makefile | 18 | ||||
-rw-r--r-- | www/phpmyfaq/distinfo | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile index a6f2584f3bae..9d1301b922ca 100644 --- a/www/phpmyfaq/Makefile +++ b/www/phpmyfaq/Makefile @@ -6,13 +6,13 @@ # PORTNAME= phpmyfaq -PORTVERSION= 1.4.11 +PORTVERSION= 1.5.2 CATEGORIES= www MASTER_SITES= http://www.phpmyfaq.de/download/ DISTNAME= ${PORTNAME}.${PORTVERSION}.full EXTRACT_SUFX= .zip -MAINTAINER= ports@FreeBSD.org +MAINTAINER= vsevolod@FreeBSD.org COMMENT= A multilingual, completely database-driven FAQ-system WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} @@ -30,7 +30,6 @@ pre-fetch: @${ECHO_MSG} "" .endif - # Get HOSTNAME .if exists(/sbin/sysctl) HOSTNAME!= /sbin/sysctl -n kern.hostname @@ -39,22 +38,20 @@ HOSTNAME!= /usr/sbin/sysctl -n kern.hostname .endif WWWDOCROOT?= www/data -PHPMYFAQ_URL?= faq -WWWOWN?= www -WWWGRP?= www -PHPMYFAQ_URL?= ${WWWDOCROOT}/${PHPMYFAQ_URL} +PHPMYFAQ_URL?= ${WWWDOCROOT}/faq PLIST= ${WRKDIR}/pkg-plist .include <bsd.port.pre.mk> pre-install: - cd ${WRKSRC} && ${FIND} -s . -type f | \ + cd ${WRKSRC} && ${FIND} -s . \( ! -path "*CVS*" -and -type f \) | \ ${SED} -e 's|^./||;s|^|${PHPMYFAQ_URL}/|' > ${PLIST} \ - && ${FIND} -d * -type d | \ + && ${FIND} -d * \( ! -path "*CVS*" -and -type d \) | \ ${SED} -e 's|^|@dirrm ${PHPMYFAQ_URL}/|' >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PHPMYFAQ_URL}/attachments/ >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PHPMYFAQ_URL}/data/ >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PHPMYFAQ_URL}/pdf/ >> ${PLIST} \ + && ${ECHO_CMD} @dirrm ${PHPMYFAQ_URL}/xml/ >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PHPMYFAQ_URL} >> ${PLIST} do-install: @@ -65,6 +62,7 @@ do-install: @${MKDIR} ${PREFIX}/${PHPMYFAQ_URL}/attachments/ @${MKDIR} ${PREFIX}/${PHPMYFAQ_URL}/data/ @${MKDIR} ${PREFIX}/${PHPMYFAQ_URL}/pdf/ + @${MKDIR} ${PREFIX}/${PHPMYFAQ_URL}/xml/ # set the correct permissions @${CHMOD} 777 ${PREFIX}/${PHPMYFAQ_URL}/inc/ @${CHMOD} 777 ${PREFIX}/${PHPMYFAQ_URL}/attachments/ @@ -72,6 +70,8 @@ do-install: @${CHMOD} 777 ${PREFIX}/${PHPMYFAQ_URL}/images/ @${CHMOD} 777 ${PREFIX}/${PHPMYFAQ_URL}/pdf/ @${CHMOD} 777 ${PREFIX}/${PHPMYFAQ_URL}/xml/ + @${FIND} ${PREFIX}/${PHPMYFAQ_URL} \( -type f -and -path "*CVS*" \) | ${XARGS} ${RM} + @${FIND} ${PREFIX}/${PHPMYFAQ_URL} \( -type d -and -path "*CVS*" \) | ${XARGS} ${RM} -r @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPMYFAQ_URL} post-install: diff --git a/www/phpmyfaq/distinfo b/www/phpmyfaq/distinfo index 3a499219b63e..a8b23397c441 100644 --- a/www/phpmyfaq/distinfo +++ b/www/phpmyfaq/distinfo @@ -1,2 +1,2 @@ -MD5 (phpmyfaq.1.4.11.full.zip) = 7ffd3a088e072df812cdd4f904d4b32a -SIZE (phpmyfaq.1.4.11.full.zip) = 727145 +MD5 (phpmyfaq.1.5.2.full.zip) = 70c9b77650587b3024e982037a1fd943 +SIZE (phpmyfaq.1.5.2.full.zip) = 828968 |