Bug 128428 - Update ports: www/simplog to 0.9.3.4
Summary: Update ports: www/simplog to 0.9.3.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-28 04:10 UTC by Chih Liang
Modified: 2008-11-04 05:50 UTC (History)
0 users

See Also:


Attachments
file.diff (196 bytes, patch)
2008-10-28 04:10 UTC, Chih Liang
no flags Details | Diff
file.diff (1.34 KB, patch)
2008-10-28 04:10 UTC, Chih Liang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chih Liang 2008-10-28 04:10:01 UTC
- 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.

Fix: 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
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-10-28 05:36:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-11-04 05:45:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-11-04 05:45:25 UTC
miwi        2008-11-04 05:45:12 UTC

  FreeBSD ports repository

  Modified files:
    www/simplog          Makefile distinfo pkg-plist 
  Log:
  - Update to 0.9.3.4
  
  PR:             128428
  Submitted by:   Chih Liang <jliang@so-net.net.tw>
  
  Revision  Changes    Path
  1.12      +7 -5      ports/www/simplog/Makefile
  1.8       +3 -0      ports/www/simplog/distinfo
  1.9       +2 -1      ports/www/simplog/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"