Opened 15 years ago

Closed 14 years ago

#24782 closed update (duplicate)

Update gallery 2.3 to 2.3.1

Reported by: mfisher@… Owned by: ckieffer@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: gallery

Description

Gallery 2.3 is incompatible with PHP 5.3. (See http://codex.gallery2.org/Gallery2:Installation_Requirements#PHP_Version_Compatibility.)

This patch brings Gallery 2.3 to 2.3.1 and attempts to simplify the use of non-MySQL databases.

--- Portfile    2009-09-24 12:45:22.000000000 -0400
+++ gallery-Portfile      2010-05-03 17:46:55.000000000 -0400
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                   gallery
-version                        2.3
+version                        2.3.1
 categories             www
 maintainers            gmail.com:ckieffer
 
@@ -22,8 +22,9 @@
 homepage               http://gallery.menalto.com
 master_sites           sourceforge
 distname               gallery-${version}-full
-checksums              md5 f85663db5f1de99d0b3bc13929f9ab39 \
-                               sha1 585e9530aeb4f44f198c7d430fe458d461c743bb
+checksums           md5     72074e85d53fb2c62439d539a84eea2b \
+                    sha1    6cecd8d9ca1dc036faebafe71352321b3b08074b \
+                    rmd160  751343d3ddaa7898eb0cb412e08c2c7570c70620
 platforms              darwin freebsd
 
 depends_run            port:jhead \
@@ -44,38 +45,48 @@
                        port:libpng \
                        port:tiff
 
-depends_lib            port:apache2 path:bin/php:php5 path:bin/mysql_config5:mysql5
+depends_lib            port:apache2 path:bin/php:php5 
+default_variants       mysql5
 
-variant apache {
+variant apache description {Use Apache v1} {
        depends_lib-append      port:apache
        depends_lib-delete      port:apache2
 }
 
-variant php4 {
+variant php4 description {Use PHP4} {
        depends_lib-append      port:php4
        depends_lib-delete      path:bin/php:php5
 }
 
-variant mysql3 conflicts mysql4 postgresql7 postgresql8 {
+variant mysql3 conflicts mysql4 mysql5 postgresql7 postgresql8 postgresql83 {
        depends_lib-append      port:mysql3
        depends_lib-delete      path:bin/mysql_config5:mysql5
 }
 
-variant mysql4 conflicts mysql3 postgresql7 postgresql8 {
+variant mysql4 conflicts mysql3 mysql5 postgresql7 postgresql8 postgresql83 {
        depends_lib-append      port:mysql4
        depends_lib-delete      path:bin/mysql_config5:mysql5
 }
 
-variant postgresql7 conflicts mysql3 mysql4 mysql5 postgresql8 {
+variant mysql5 conflicts mysql3 mysql4 postgresql7 postgresql8 postgresql83 {
+       depends_lib-append      path:bin/mysql_config5:mysql5
+}
+
+variant postgresql7 conflicts mysql3 mysql4 mysql5 postgresql8 postgresql83 {
        depends_lib-append      port:postgresql7
        depends_lib-delete      path:bin/mysql_config5:mysql5
 }
 
-variant postgresql8 conflicts mysql3 mysql4 mysql5 postgresql7 {
+variant postgresql8 conflicts mysql3 mysql4 mysql5 postgresql7 postgresql83 {
        depends_lib-append      port:postgresql80
        depends_lib-delete      path:bin/mysql_config5:mysql5
 }
 
+variant postgresql83 conflicts mysql3 mysql4 mysql5 postgresql7 postgresql8 {
+       depends_lib-append      port:postgresql83
+       depends_lib-delete      path:bin/mysql_config5:mysql5
+}
+
 use_configure   no
 build          {}
 

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: ckieffer@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to ckieffer@…
Port: gallery added; www/gallery removed
Version: 1.8.2

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Superseded by #27848.

Note: See TracTickets for help on using tickets.