diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-05-11 13:27:55 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-05-11 13:27:55 +0000 |
commit | 273f49dffc6167c22731b8fbfb0e6dbf3eb105b0 (patch) | |
tree | d5c0dcbd5460eb8363b9eecf8ef087a01e21a3c1 /security | |
parent | Update to 1.11 (diff) |
Patch include.inc.php to fix a javascript error caused by a missing form name
Submitted by: Davide D'Amico <d.damico__informeditalia.net> on pfw maillist
Diffstat (limited to 'security')
-rw-r--r-- | security/pfw/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/pfw/Makefile b/security/pfw/Makefile index 465d1e5f3524..9e885f9679d8 100644 --- a/security/pfw/Makefile +++ b/security/pfw/Makefile @@ -7,6 +7,7 @@ PORTNAME= pfw PORTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= http://www.allard.nu/pfw/download/ EXTRACT_SUFX= .tgz @@ -18,7 +19,7 @@ RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo WRKSRC= ${WRKDIR}/${PORTNAME} -USE_PHP= session pcre sqlite +USE_PHP= session pcre # sqlite WANT_PHP_WEB= yes DEFAULT_PHP_VER=5 BROKEN_WITH_PHP=4 @@ -38,6 +39,10 @@ PORTDOCS= INSTALL README README_TEST IGNORE= pf is only in 5.x and newer .endif +post-patch: + @${REINPLACE_CMD} -E 's,id=("theform"),name=\1 id=\1,' \ + ${WRKSRC}/include.inc.php + do-install: ${MKDIR} ${PFW_PREFIX} ${INSTALL_DATA} ${WRKSRC}/include.inc.php ${PFW_PREFIX} |