[143321] trunk/dports/security/makepasswd/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 09:29:31 PST 2015


Revision: 143321
          https://trac.macports.org/changeset/143321
Author:   mojca at macports.org
Date:     2015-12-10 14:34:22 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
makepasswd: update to version 1.10-9, use perl5 portgroup & p5.22

Modified Paths:
--------------
    trunk/dports/security/makepasswd/Portfile

Modified: trunk/dports/security/makepasswd/Portfile
===================================================================
--- trunk/dports/security/makepasswd/Portfile	2015-12-10 22:29:05 UTC (rev 143320)
+++ trunk/dports/security/makepasswd/Portfile	2015-12-10 22:34:22 UTC (rev 143321)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                makepasswd
-version             1.10-3
-revision            2
+version             1.10-9
 categories          security
 license             GPL-2
 platforms           darwin
@@ -18,15 +18,16 @@
 
 distfiles           ${name}_${version}_all.deb
 
-patchfiles          patch-makepasswd.diff
+patchfiles          patch-usr-bin-makepasswd.diff
 
-checksums           ${name}_${version}_all.deb \
-                    sha1 6f89e016f52e43068f6feb2bda5f8a8c475a3ef5 \
-                    patch-makepasswd.diff \
-                    sha1 58b6d05b1da01ae75cb04fadd27aa6902fe9d403
+checksums           rmd160  f9030e907dda724d46e71675fc97e9594de70924 \
+                    sha256  a20939a863dc262cbb22c2e7061e5bd22839149d59a5b82ebfbc1e149f4d9d5e
 
-depends_lib         port:p5.16-crypt-passwdmd5
+perl5.branches      5.22
 
+depends_run         port:p${perl5.major}-crypt-passwdmd5 \
+                    port:p${perl5.major}-crypt-openssl-random
+
 extract.cmd         ar
 extract.pre_args    -x
 extract.post_args   data.tar.gz && mkdir ${worksrcpath} && \
@@ -35,7 +36,7 @@
 use_configure       no
 
 post-configure {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
               "${worksrcpath}/usr/bin/makepasswd"
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/d2ea4b3e/attachment.html>


More information about the macports-changes mailing list