Bug 84387 - [MAINTAINER] Update www/eventum to 1.6.0
Summary: [MAINTAINER] Update www/eventum to 1.6.0
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: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 14:20 UTC by babak
Modified: 2005-09-04 15:02 UTC (History)
0 users

See Also:


Attachments
eventum-1.6.0.patch (1.35 KB, patch)
2005-07-31 14:20 UTC, babak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description babak 2005-07-31 14:20:25 UTC

    
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-08-01 16:53:25 UTC
Extra files after deinstall:
www/data-dist/eventum/config.inc.php
www/data-dist/eventum/setup.conf.php

-- 
Sem.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2005-08-01 20:34:14 UTC
Security note: this version fixes the problem described at
<http://www.frsirt.com/english/advisories/2005/1287>.

-- 
Th. Thomas.
Comment 3 babak 2005-08-26 15:44:45 UTC
Hello,

You may want to ignore the previous patch and consider this one as update to 
1.6.1:

--- eventum-1.6.1.patch begins here ---
diff -ruN eventum.orig/Makefile eventum/Makefile
--- eventum.orig/Makefile       Sun Jul 31 16:17:22 2005
+++ eventum/Makefile    Fri Aug 26 17:18:54 2005
@@ -6,7 +6,7 @@
 #

 PORTNAME=      eventum
-PORTVERSION=   1.5.5
+PORTVERSION=   1.6.1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_MYSQL}
 MASTER_SITE_SUBDIR=    eventum
@@ -25,8 +25,8 @@
 SUB_FILES=     pkg-message

 pre-install:
-       @${MV} ${WRKSRC}/setup.conf.php ${WRKSRC}/setup.conf.php-dist
-       @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-dist
+       @${CP} ${WRKSRC}/setup.conf.php ${WRKSRC}/setup.conf.php-dist
+       @${CP} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-dist
        @cd ${WRKSRC} && ${FIND} -s * -type f | \
                ${SED} -e 's|^|${EVENTUM}/|' > ${PLIST} \
                && ${FIND} -d * -type d | \
@@ -35,8 +35,8 @@

 do-install:
        @${MKDIR} ${PREFIX}/${EVENTUM}
-       @${CP} ${WRKSRC}/setup.conf.php-dist ${WRKSRC}/setup.conf.php
-       @${CP} ${WRKSRC}/config.inc.php-dist ${WRKSRC}/config.inc.php
+#      @${CP} ${WRKSRC}/setup.conf.php-dist ${WRKSRC}/setup.conf.php
+#      @${CP} ${WRKSRC}/config.inc.php-dist ${WRKSRC}/config.inc.php
        @${CP} -R ${WRKSRC}/ ${PREFIX}/${EVENTUM}
        @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${EVENTUM}
        @${CHMOD} -R 755 ${PREFIX}/${EVENTUM}
diff -ruN eventum.orig/distinfo eventum/distinfo
--- eventum.orig/distinfo       Sun Jul 31 16:17:22 2005
+++ eventum/distinfo    Fri Aug 26 17:12:11 2005
@@ -1,2 +1,2 @@
-MD5 (eventum-1.5.5.tar.gz) = cadc9530b5fa905fb6d9d61ce837ca3a
-SIZE (eventum-1.5.5.tar.gz) = 844331
+MD5 (eventum-1.6.1.tar.gz) = bb05ecdb46b02580ffe892e270e536b3
+SIZE (eventum-1.6.1.tar.gz) = 864693
diff -ruN eventum.orig/files/pkg-message.in eventum/files/pkg-message.in
--- eventum.orig/files/pkg-message.in   Sun Jul 31 16:17:22 2005
+++ eventum/files/pkg-message.in        Fri Aug 26 17:08:09 2005
@@ -1,7 +1,10 @@

 ===========================================================

-If you are upgrading from an older version of eventum, please
-check upgrade scripts located at %%PREFIX%%/%%EVENTUM%%/misc/upgrade
+* If you are upgrading from an older version of eventum, please
+  check upgrade scripts located at %%PREFIX%%/%%EVENTUM%%/misc/upgrade
+
+* You may need to change memory_limit in php.ini file if the images
+  are not displayed correctly

 ===========================================================
--- eventum-1.6.1.patch ends here ---



Thank you
--
Babak Farrokhi
babak@farrokhi.net
Comment 4 Sam Lawrance freebsd_committer freebsd_triage 2005-09-04 08:42:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Take
Comment 5 Sam Lawrance freebsd_committer freebsd_triage 2005-09-04 15:00:02 UTC
State Changed
From-To: open->closed

Committed, thanks! 

I made a small change: the port shouldn't install setup.conf.php 
and config.inc.php, as it might clobber a users's existing 
configuration.  Check pkg-message.in.