summaryrefslogtreecommitdiff
path: root/app-admin/apg/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/apg/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/apg/files')
-rw-r--r--app-admin/apg/files/apg-2.3.0b-cracklib.patch17
-rw-r--r--app-admin/apg/files/apg-2.3.0b-crypt_password.patch31
-rw-r--r--app-admin/apg/files/apg-glibc-2.4.patch11
3 files changed, 0 insertions, 59 deletions
diff --git a/app-admin/apg/files/apg-2.3.0b-cracklib.patch b/app-admin/apg/files/apg-2.3.0b-cracklib.patch
deleted file mode 100644
index a1c34a14f5a0..000000000000
--- a/app-admin/apg/files/apg-2.3.0b-cracklib.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile 2003-08-07 09:40:39.000000000 -0600
-+++ Makefile.cracklib 2004-10-14 07:16:17.288530686 -0600
-@@ -44,10 +44,10 @@
- # If you want to use cracklib for password quality check then you
- # must uncomment the folowing 4 lines (you must not do this for WIN32)
- #
--#CRACKLIB_DICTPATH = "/usr/local/lib/pw_dict"
--#STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib
--#CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib
--#APG_CLIBS += -lcrack
-+CRACKLIB_DICTPATH = "/usr/lib/cracklib_dict"
-+STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}'
-+CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}'
-+APG_CLIBS += -lcrack
-
- ##################################################################
- # Support for ANSI X9.17/SHA1 PRNG
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
deleted file mode 100644
index 93f3f152a2b4..000000000000
--- a/app-admin/apg/files/apg-2.3.0b-crypt_password.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- restrict.c 2007-03-09 13:48:27.000000000 +0300
-+++ restrict.c 2007-03-09 13:49:31.000000000 +0300
-@@ -33,6 +33,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#if defined(APG_USE_CRACKLIB)
-+#include <crack.h>
-+#endif /* APG_USE_CRACKLIB */
- #include "restrict.h"
- extern struct sym smbl[94];
- /*
---- 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/apg-glibc-2.4.patch b/app-admin/apg/files/apg-glibc-2.4.patch
deleted file mode 100644
index be90c6355e66..000000000000
--- a/app-admin/apg/files/apg-glibc-2.4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- restrict.h.orig 2006-03-26 03:33:50.168661936 +0400
-+++ restrict.h 2006-03-26 03:34:10.427582112 +0400
-@@ -33,6 +33,8 @@
- #ifndef APG_RESTRICT_H
- #define APG_RESTRICT_H 1
-
-+#define uint32_t int
-+
- #if defined(APG_USE_CRACKLIB)
- #include <packer.h>
- #endif