[143322] trunk/dports/security/makepasswd

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


Revision: 143322
          https://trac.macports.org/changeset/143322
Author:   mojca at macports.org
Date:     2015-12-10 14:39:45 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
makepasswd: add forgotten patchfile, remove a no longer needed/working site for the patch

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

Added Paths:
-----------
    trunk/dports/security/makepasswd/files/
    trunk/dports/security/makepasswd/files/patch-usr-bin-makepasswd.diff

Modified: trunk/dports/security/makepasswd/Portfile
===================================================================
--- trunk/dports/security/makepasswd/Portfile	2015-12-10 22:34:22 UTC (rev 143321)
+++ trunk/dports/security/makepasswd/Portfile	2015-12-10 22:39:45 UTC (rev 143322)
@@ -14,7 +14,6 @@
 long_description    A port of Rob Levin's makepasswd tool.
 homepage            http://packages.debian.org/stable/source/makepasswd
 master_sites        http://ftp.debian.org/debian/pool/main/m/makepasswd/
-patch_sites         http://macports.quay.net/sources/security/makepasswd/files/
 
 distfiles           ${name}_${version}_all.deb
 

Added: trunk/dports/security/makepasswd/files/patch-usr-bin-makepasswd.diff
===================================================================
--- trunk/dports/security/makepasswd/files/patch-usr-bin-makepasswd.diff	                        (rev 0)
+++ trunk/dports/security/makepasswd/files/patch-usr-bin-makepasswd.diff	2015-12-10 22:39:45 UTC (rev 143322)
@@ -0,0 +1,20 @@
+--- usr/bin/makepasswd.orig
++++ usr/bin/makepasswd
+@@ -30,7 +30,7 @@ $Chars = "";
+ $Clear = "";
+ $Count = "";
+ $Crypt = 0;
+-$CryptMd5 = 0;
++$CryptMd5 = 1;
+ $CryptSalt = "";
+ $MaxChars = "";
+ $MinChars = "";
+@@ -470,7 +470,7 @@ Options are:
+ --count=N        Produce a total of N passwords (the default is one).
+ --crypt          Produce encrypted passwords.
+ --crypt-md5      Produce encrypted passwords using the MD5 digest (hash)
+-                       algorithm.
++                       algorithm (the default).
+ --cryptsalt=N    Use crypt() salt N, a positive number <= 4096.  If random
+                        seeds are desired, specify a zero value (the default).
+ --help           Ignore other operands and produce only this help display.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/67e886b7/attachment.html>


More information about the macports-changes mailing list