summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/apg/files')
-rw-r--r--app-admin/apg/files/apg-2.3.0b-crypt_password.patch19
-rw-r--r--app-admin/apg/files/digest-apg-2.3.0b-r33
2 files changed, 22 insertions, 0 deletions
diff --git a/app-admin/apg/files/apg-2.3.0b-crypt_password.patch b/app-admin/apg/files/apg-2.3.0b-crypt_password.patch
new file mode 100644
index 000000000000..1f55c230a56f
--- /dev/null
+++ b/app-admin/apg/files/apg-2.3.0b-crypt_password.patch
@@ -0,0 +1,19 @@
+--- apg.c 2007-03-08 17:32:40.000000000 +0300
++++ apg.c 2007-03-08 17:34:07.000000000 +0300
+@@ -100,6 +100,7 @@
+ #else /* CLISERV */
+ #if defined(APG_USE_CRACKLIB)
+ #define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vkt"
++#include <crack.h>
+ #else /* CRACKLIB */
+ #define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vt"
+ #endif /* CRACKLIB */
+@@ -709,7 +710,7 @@
+ */
+ char * crypt_passstring (const char *p)
+ {
+- char salt[10];
++ char salt[11];
+ gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
+ return (crypt(p, salt));
+ }
diff --git a/app-admin/apg/files/digest-apg-2.3.0b-r3 b/app-admin/apg/files/digest-apg-2.3.0b-r3
new file mode 100644
index 000000000000..bfa7c2e787b1
--- /dev/null
+++ b/app-admin/apg/files/digest-apg-2.3.0b-r3
@@ -0,0 +1,3 @@
+MD5 bd82400a5a731070ce895313576afe24 apg-2.3.0b.tar.gz 109995
+RMD160 18f9955d6fdb721bec26613860b312d7fea6fba7 apg-2.3.0b.tar.gz 109995
+SHA256 d1e52029709e2d7f9cb99bedce3e02ee7a63cff7b8e2b4c2bc55b3dc03c28b92 apg-2.3.0b.tar.gz 109995