ports/79996: [PATCH] www/plog: update to 1.0
Yen-Ming Lee
leeym at FreeBSD.org
Sat Apr 16 08:20:23 UTC 2005
>Number: 79996
>Category: ports
>Synopsis: [PATCH] www/plog: update to 1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 16 08:20:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.4-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 15 10:20:57 CST 2005
>Description:
- Update to 1.0
Removed file(s):
- pkg-plist
Port maintainer (clsung at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- plog-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/plog/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 30 Dec 2004 05:05:45 -0000 1.4
+++ Makefile 16 Apr 2005 08:17:20 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= plog
-PORTVERSION= 0.3.2
+PORTVERSION= 1.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= plog
@@ -14,13 +14,13 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= A PHP and MySQL based blogging platform
-USE_BZIP2= YES
+USE_ZIP= YES
USE_PHP= mysql pcre session
PHP4_PORT?= www/mod_php4
NO_BUILD= YES
WANT_PHP_WEB= YES
-PLOGDIR?= www/data-dist/plog
+PLOGDIR?= www/data/plog
PLIST= ${WRKDIR}/pkg-plist
OPTIONS= GD "With GD Support" on \
@@ -42,19 +42,20 @@
.endif
pre-install:
- @${RM} ${WRKSRC}/.cvsignore
- cd ${WRKSRC} && ${FIND} -s . -type f | \
+ @${RM} -f ${PLIST}
+ @cd ${WRKSRC} && ${FIND} -s . -type f | \
${SED} -e 's|^./||;s|^|${PLOGDIR}/|' > ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \
&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
do-install:
- -${MKDIR} ${PREFIX}/${PLOGDIR}
- @${CHOWN} www:www ${PREFIX}/${PLOGDIR}
+ -@${MKDIR} ${PREFIX}/${PLOGDIR}
+ @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}
@${CHMOD} 755 ${PREFIX}/${PLOGDIR}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
- @${CHOWN} www:www ${PREFIX}/${PLOGDIR}/tmp
+ @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}/tmp \
+ ${PREFIX}/${PLOGDIR}/config/config.properties.php
post-install:
@${SED} -e 's|%%PLOGDIR%%|${PREFIX}/${PLOGDIR}|' ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/plog/distinfo,v
retrieving revision 1.1
diff -u -u -r1.1 distinfo
--- distinfo 28 Oct 2004 02:32:09 -0000 1.1
+++ distinfo 16 Apr 2005 08:17:20 -0000
@@ -1,2 +1,2 @@
-MD5 (plog-0.3.2.tar.bz2) = 1c6bb120930306646af92ddc0f0b557f
-SIZE (plog-0.3.2.tar.bz2) = 1003647
+MD5 (plog-1.0.zip) = 4d48680437c8be9a6427ba78964b0e9f
+SIZE (plog-1.0.zip) = 2420990
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 28 Oct 2004 02:32:09 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
- at comment real PLIST will be generated in pre-install phase
--- plog-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list