[132680] trunk/dports/perl/p5-mogilefs-server/Portfile

devans at macports.org devans at macports.org
Sat Feb 7 01:22:01 PST 2015


Revision: 132680
          https://trac.macports.org/changeset/132680
Author:   devans at macports.org
Date:     2015-02-07 01:22:01 -0800 (Sat, 07 Feb 2015)
Log Message:
-----------
p5-mogilefs-server: update to version 2.72, homepage, license, dependencies, test configuration and comments, builds successfully but some test issues remain (#46460).

Modified Paths:
--------------
    trunk/dports/perl/p5-mogilefs-server/Portfile

Modified: trunk/dports/perl/p5-mogilefs-server/Portfile
===================================================================
--- trunk/dports/perl/p5-mogilefs-server/Portfile	2015-02-07 09:17:44 UTC (rev 132679)
+++ trunk/dports/perl/p5-mogilefs-server/Portfile	2015-02-07 09:22:01 UTC (rev 132680)
@@ -4,9 +4,9 @@
 PortSystem          1.0
 PortGroup           perl5 1.0
 
-perl5.branches      5.16
-perl5.setup         mogilefs-server 2.32
-revision            3
+perl5.branches      5.16 5.18 5.20
+perl5.setup         MogileFS-Server 2.72
+license             {Artistic-1 GPL}
 categories          perl net sysutils
 platforms           darwin
 maintainers         nomaintainer
@@ -14,24 +14,41 @@
 description         MogileFS (distributed filesystem) server
 long_description    ${description}
 
-homepage            http://www.danga.com/mogilefs
-master_sites        http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO \
-                    http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ
+homepage            https://code.google.com/p/mogilefs/
 
-checksums           md5 999122fa9cb641a19b84dbfe25535fd3 \
-                    sha1 1a9246d2d08fd6b0f751253f0618bd01043e5b66
+checksums           rmd160  1a274d9262b3b1c38df694d522ca7e6d3c07caa0 \
+                    sha256  d7d5a45d50127bf62e451c6d86eb247103b01c46662898ae4e18daa08be8e0bf
 
 if {${perl5.major} != ""} {
-    # add a warning about installing a MySQL database somewhere
-    depends_run-append \
+#
+# requires one of
+#   p5-dbd-sqlite
+#   p5-dbd-mysql
+#   p5-dbd-pg
+# depending on database to be used
+# add variants to select ?
+# default configuration is MySQL
+
+depends_lib-append \
             port:p${perl5.major}-danga-socket \
             port:p${perl5.major}-dbd-mysql \
             port:p${perl5.major}-dbi \
-            port:p${perl5.major}-gearman \
-            port:p${perl5.major}-gearman-server \
-            port:p${perl5.major}-gearman-client-async \
             port:p${perl5.major}-io-aio \
+            port:p${perl5.major}-mogilefs-client \
+            port:p${perl5.major}-mogilefs-utils \
             port:p${perl5.major}-net-netmask \
             port:p${perl5.major}-perlbal \
             port:p${perl5.major}-sys-syscall
+
+    post-patch {
+            eval reinplace "s|/usr/bin/perl|${perl5.bin}|" [glob ${worksrcpath}/mog*]
+    }
+
+# add perl5.bindir to PATH so mogadm can be found
+    test.env-append     PATH="$env(PATH):${perl5.bindir}"
+
+# test configuration for MySQL, see TESTING for others
+    test.args-append    MOGTEST_DBUSER=test \
+                        MOGTEST_DBNAME=test \
+                        MOGTEST_DBTYPE=MySQL
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150207/3b2d4f1d/attachment-0001.html>


More information about the macports-changes mailing list