[122731] trunk/dports/devel/bugzilla
devans at macports.org
devans at macports.org
Sun Jul 27 23:40:06 PDT 2014
Revision: 122731
https://trac.macports.org/changeset/122731
Author: devans at macports.org
Date: 2014-07-27 23:40:06 -0700 (Sun, 27 Jul 2014)
Log Message:
-----------
bugzilla: update to version 4.4.5 (#30243), replace p5.12 with p5.16 (#44405), drop +mysql4 variant, dependencies, notes, livecheck.
Modified Paths:
--------------
trunk/dports/devel/bugzilla/Portfile
Removed Paths:
-------------
trunk/dports/devel/bugzilla/files/
Modified: trunk/dports/devel/bugzilla/Portfile
===================================================================
--- trunk/dports/devel/bugzilla/Portfile 2014-07-28 04:24:07 UTC (rev 122730)
+++ trunk/dports/devel/bugzilla/Portfile 2014-07-28 06:40:06 UTC (rev 122731)
@@ -4,8 +4,8 @@
PortSystem 1.0
name bugzilla
-version 2.22.3
-revision 3
+version 4.4.5
+license MPL-2
categories devel www databases
maintainers nomaintainer
platforms darwin
@@ -22,51 +22,59 @@
organizations across the globe.
homepage http://www.bugzilla.org/
-master_sites http://ftp.mozilla.org/pub/mozilla.org/webtools/ \
- ftp://ftp.mozilla.org/pub/mozilla.org/webtools/
+master_sites http://ftp.mozilla.org/pub/mozilla.org/webtools/
-checksums rmd160 787f84e343297b1a8caee8310354e01f7c8cc2f8 \
- sha256 17fe0de4921d31fe7c8ec4d92658f4f7025ffaed9942575892220922851e13ef
+checksums rmd160 af53b39d035de36f636f615e3e3dabef6d051772 \
+ sha256 70609fa5bbe55a3b802afcf749a098824d7a96dc87b91ce07b000cfdd7987da5
depends_lib port:apache2 \
- port:perl5.12 \
- port:p5.12-appconfig \
- port:p5.12-timedate \
- port:p5.12-dbi \
- port:p5.12-dbd-mysql \
- port:p5.12-xml-parser \
- port:p5.12-patchreader \
- port:p5.12-gd \
- port:p5.12-gdtextutil \
- port:p5.12-gdgraph \
- port:p5.12-chart \
- port:p5.12-template-toolkit \
- port:p5.12-mime-tools \
- port:patchutils \
- port:p5.12-perl-ldap \
- port:p5.12-xml-twig
+ port:perl5.16 \
+ port:p5.16-cgi \
+ port:p5.16-timedate \
+ port:p5.16-datetime \
+ port:p5.16-datetime-timezone \
+ port:p5.16-dbi \
+ port:p5.16-template-toolkit \
+ port:p5.16-digest-sha \
+ port:p5.16-email-send \
+ port:p5.16-email-mime \
+ port:p5.16-uri \
+ port:p5.16-list-moreutils \
+ port:p5.16-math-random-isaac \
+ port:p5.16-dbd-mysql \
+ port:p5.16-gd \
+ port:p5.16-chart \
+ port:p5.16-template-gd \
+ port:p5.16-gdtextutil \
+ port:p5.16-gdgraph \
+ port:p5.16-mime-tools \
+ port:p5.16-xml-twig \
+ port:p5.16-libwww-perl \
+ port:p5.16-patchreader \
+ port:p5.16-perl-ldap \
+ port:p5.16-authen-sasl \
+ port:p5.16-net-smtp-ssl \
+ port:p5.16-soap-lite \
+ port:p5.16-json-xs \
+ port:p5.16-test-taint \
+ port:p5.16-html-parser \
+ port:p5.16-html-scrubber \
+ port:p5.16-encode \
+ port:p5.16-encode-detect \
+ port:p5.16-file-mimeinfo \
+ port:p5.16-io-stringy \
+ port:patchutils
-variant mysql4 conflicts mysql5 description "Use mysql4 database" {
- depends_lib-append port:mysql4
-}
-variant mysql5 conflicts mysql4 description "Use mysql5 database" {
+variant mysql5 description "Use mysql5 database" {
depends_lib-append path:bin/mysql_config5:mysql5
}
-if {![variant_isset mysql4]} {
- default_variants +mysql5
-}
-patchfiles patch-checksetup.pl
+default_variants +mysql5
+
post-patch {
- foreach item [exec find ${worksrcpath} -type f -name .cvsignore] {
- file delete -force ${item}
- }
- foreach item [exec find ${worksrcpath} -type d -name CVS] {
- file delete -force ${item}
- }
foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
${worksrcpath}/contrib/*.pl ${worksrcpath}/docs/*.pl] {
- reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
+ reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.16%" ${item}
}
foreach item [glob ${worksrcpath}/*.pl ${worksrcpath}/contrib/*.pl \
${worksrcpath}/Bugzilla/*.pm ${worksrcpath}/docs/html/*.html \
@@ -115,9 +123,7 @@
set docPath "${prefix}/share/doc/${name}"
xinstall -d -m 0755 ${destroot}${docPath}
xinstall -m 0644 \
- ${worksrcpath}/README ${worksrcpath}/QUICKSTART \
- ${worksrcpath}/UPGRADING \
- ${worksrcpath}/UPGRADING-pre-2.8 \
+ ${worksrcpath}/README \
${destroot}${docPath}/
ui_info "copying docs\n to ${destroot}${docPath}/guide"
system "cp -R ${worksrcpath}/docs ${destroot}${docPath}/guide"
@@ -130,10 +136,10 @@
}
notes "
-To complete the installation of ${name}, you should read the quick start\
-document found here:
+To complete the installation of ${name}, you should read the Bugzilla Quick Start Guide
+section of the README document found here:
- ${prefix}/share/doc/${name}/QUICKSTART
+ ${prefix}/share/doc/${name}/README
For step 4, the ${name} configuration file can be found here:
@@ -144,3 +150,8 @@
${prefix}/www/${name}
"
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140727/82615541/attachment.html>
More information about the macports-changes
mailing list