Date: Tue, 28 Oct 2008 04:02:53 GMT From: Chih Liang <jliang@so-net.net.tw> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/128428: Update ports: www/simplog to 0.9.3.4 Message-ID: <200810280402.m9S42rsd022624@www.freebsd.org> Resent-Message-ID: <200810280410.m9S4A2aA014276@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128428 >Category: ports >Synopsis: Update ports: www/simplog to 0.9.3.4 >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: Tue Oct 28 04:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Chih Liang >Release: 7.0-RELEASE i386 >Organization: >Environment: FreeBSD 7.0-RELEASE-p4 #0: Wed Sep 10 15:07:06 CST 2008 root@matrix:/usr/obj/usr/src/sys/MATRIX i386 >Description: - Upgrade www/simplog from 0.9.3.2 to 0.9.3.4 This release fix a SQL injection vulnerability, it's an upgrade version only with a file, so it will use old source code of 0.9.3.2. I changed the MASTER_SITES from ${MASTER_SITE_SOURCEFORGE} to SF, because it failed to fetch source from ${MASTER_SITE_SOURCEFORGE}. I also modified the do-install target to fix what directories need to copy. And, I modified the pkg-plist to fix problem that won't create empty directory when using pkg_add. >How-To-Repeat: >Fix: diff -ur /usr/ports/www/simplog/Makefile ./Makefile --- /usr/ports/www/simplog/Makefile 2008-08-29 16:11:40.000000000 +0800 +++ ./Makefile 2008-10-28 11:31:38.000000000 +0800 @@ -6,10 +6,12 @@ # PORTNAME= simplog -PORTVERSION= 0.9.3.2 +PORTVERSION= 0.9.3.4 CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF:src \ + http://www.simplog.org/dl/:update +DISTFILES= ${PORTNAME}-0.9.3.2.tar.gz:src \ + ${PORTNAME}_update_only-${PORTVERSION}.tar.gz:update MAINTAINER= ports@FreeBSD.org COMMENT= A complete and powerful blogging tool @@ -23,8 +25,7 @@ @${ECHO} "" @${ECHO} "===> Installing simplog" @${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${CP} -R adodb doc images install templates * \ - ${DATADIR} + cd ${WRKSRC} && ${CP} -R * ${DATADIR} post-install: @${ECHO} "" @@ -33,5 +34,6 @@ README in ${DATADIR} first." @${ECHO} "For more informations, documentation is available at\ ${DATADIR}/doc/index.php." + @${ECHO} "" .include <bsd.port.mk> Only in .: diff diff -ur /usr/ports/www/simplog/distinfo ./distinfo --- /usr/ports/www/simplog/distinfo 2008-08-08 11:31:32.000000000 +0800 +++ ./distinfo 2008-10-28 11:30:16.000000000 +0800 @@ -1,3 +1,6 @@ MD5 (simplog-0.9.3.2.tar.gz) = 9f20cb99e1b193856f296cdf0d37f340 SHA256 (simplog-0.9.3.2.tar.gz) = 7bdc498acbc6fcd1bcdf65cc9f9a8629f236d23b45f27fef8a3c8815bd020ad5 SIZE (simplog-0.9.3.2.tar.gz) = 676589 +MD5 (simplog_update_only-0.9.3.4.tar.gz) = 3e75e8ec93b23c19985c87b7c729aa95 +SHA256 (simplog_update_only-0.9.3.4.tar.gz) = a3484ead9c1ad5e5074fef3c51553651c41016e60f7a0ca1c8467aabff4f67f8 +SIZE (simplog_update_only-0.9.3.4.tar.gz) = 1326 diff -ur /usr/ports/www/simplog/pkg-plist ./pkg-plist --- /usr/ports/www/simplog/pkg-plist 2008-08-08 11:31:32.000000000 +0800 +++ ./pkg-plist 2008-10-28 11:20:17.000000000 +0800 @@ -334,6 +334,8 @@ %%DATADIR%%/simplog.js %%DATADIR%%/simplog.css %%DATADIR%%/rss2.php +@exec [ -e %D/%%DATADIR%%/cache ] || mkdir -p %D/%%DATADIR%%/cache +@unexec [ -e %D/%%DATADIR%%/cache ] && rm -rf %D/%%DATADIR%%/cache @dirrm %%DATADIR%%/adodb/tests @dirrm %%DATADIR%%/adodb/session/old @dirrm %%DATADIR%%/adodb/session @@ -352,7 +354,6 @@ @dirrm %%DATADIR%%/images/smile @dirrm %%DATADIR%%/images @dirrm %%DATADIR%%/doc -@dirrm %%DATADIR%%/cache @dirrm %%DATADIR%%/install @dirrm %%DATADIR%%/templates/images @dirrm %%DATADIR%%/templates >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810280402.m9S42rsd022624>