summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-01-02 22:01:38 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-01-02 22:04:35 +0100
commit4ebb7a0d2617997a5b42187b67aabef2472f1663 (patch)
treed94af1a8ce3f26fea199caf278aa8c4bde975ddf /app-forensics/aide/files
parentx11-terms/xterm: Remove old (diff)
downloadgentoo-4ebb7a0d2617997a5b42187b67aabef2472f1663.tar.gz
gentoo-4ebb7a0d2617997a5b42187b67aabef2472f1663.tar.bz2
gentoo-4ebb7a0d2617997a5b42187b67aabef2472f1663.zip
app-forensics/aide: Remove old
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-forensics/aide/files')
-rw-r--r--app-forensics/aide/files/aide-0.13.1-as-needed.patch36
-rw-r--r--app-forensics/aide/files/aide-0.13.1-configure.patch74
-rw-r--r--app-forensics/aide/files/aide-0.13.1-equ-matching.patch83
-rw-r--r--app-forensics/aide/files/aide-0.13.1-gentoo.patch36
-rw-r--r--app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch49
-rw-r--r--app-forensics/aide/files/aide-0.13.1-zlib.patch12
6 files changed, 0 insertions, 290 deletions
diff --git a/app-forensics/aide/files/aide-0.13.1-as-needed.patch b/app-forensics/aide/files/aide-0.13.1-as-needed.patch
deleted file mode 100644
index 9e0ec4d73aff..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-as-needed.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur aide-0.13.1.orig/configure.in aide-0.13.1/configure.in
---- aide-0.13.1.orig/configure.in 2006-12-09 06:49:21.000000000 +0900
-+++ aide-0.13.1/configure.in 2009-12-16 19:30:17.000000000 +0900
-@@ -546,12 +546,12 @@
- if test x$with_zlib = xyes; then
- AC_CHECK_HEADERS(zlib.h,,
- [AC_MSG_ERROR([You don't have zlib properly installed. Install it or try --without-zlib.])])
-- save_LDFLAGS=$LDFLAGS
-- LDFLAGS="$LDFLAGS $LD_STATIC_FLAG"
-+# saveLIBS=$LIBS
-+ LIBS="$LIBS -lz $LD_STATIC_FLAG"
- AC_CHECK_LIB(z,gzdopen,,
- [AC_MSG_ERROR([You don't have zlib properly installed. Install it or try --without-zlib.])]
- )
-- LDFLAGS=$save_LDFLAGS
-+# LIBS=$saveLIBS
- AC_DEFINE(WITH_ZLIB,1,[use zlib])
- fi
-
-@@ -565,13 +565,13 @@
- fi
- AC_CHECK_HEADERS(curl/curl.h,,
- [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])])
--# save_LDFLAGS=$LDFLAGS
-+# saveLIBS=$LIBS
- CFLAGS="$CFLAGS $CURL_CFLAGS"
-- LDFLAGS="$LDFLAGS $CURL_LIBS $LD_STATIC_FLAG"
-+ LIBS="$LIBS $CURL_LIBS $LD_STATIC_FLAG"
- AC_CHECK_LIB(curl,curl_easy_init,havecurl=yes,
- [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])]
- )
--# LDFLAGS=$save_LDFLAGS
-+# LIBS=$saveLIBS
- AC_DEFINE(WITH_CURL,1,[use curl])
- compoptionstring="${compoptionstring}WITH_CURL\\n"],
- fi
diff --git a/app-forensics/aide/files/aide-0.13.1-configure.patch b/app-forensics/aide/files/aide-0.13.1-configure.patch
deleted file mode 100644
index 75eb5559ebba..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-configure.patch
+++ /dev/null
@@ -1,74 +0,0 @@
---- configure.in.old 2008-01-26 15:07:28.000000000 +0100
-+++ configure.in 2008-01-26 15:14:05.000000000 +0100
-@@ -160,7 +160,9 @@
- fi
-
- # Check whether static linking has explicitly been disabled
--AC_ARG_ENABLE(static,[ --disable-static Disable static linking (lowers the security of aide)], [aide_static_choice=$enableval], [aide_static_choice=yes])
-+AC_ARG_ENABLE(static,
-+ AC_HELP_STRING([--disable-static],[Disable static linking (lowers the security of aide)]),
-+ [aide_static_choice=$enableval], [aide_static_choice=yes])
-
- if test "$aide_static_choice" != "yes"; then
- LD_STATIC_FLAG=""
-@@ -190,8 +192,8 @@
- AC_CHECK_FUNCS(stricmp strnstr strnlen)
-
- AC_ARG_WITH([mmap],
-- [AC_HELP_STRING([--with-mmap],
-- [use mmap @<:@default=check@:>@])],
-+ AC_HELP_STRING([--with-mmap],
-+ [use mmap @<:@default=check@:>@]),
- [],
- [with_mmap=check]
- )
-@@ -283,8 +285,8 @@
- AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h)
-
- AC_ARG_WITH([locale],
-- [AC_HELP_STRING([--with-locale],
-- [use locale stuff])],
-+ AC_HELP_STRING([--with-locale],
-+ [use locale stuff]),
- [],
- [with_locale=no]
- )
-@@ -369,10 +371,10 @@
- [AC_HELP_STRING([--with-posix-acl],
- [use POSIX ACLs (no checking)])],
- [],
-- [with_posix_acl_support=no]
-+ [with_posix_acl=no]
- )
-
--AS_IF([test "x$with_posix_acl_support" != xno],
-+AS_IF([test "x$with_posix_acl" != xno],
- [AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs])
- AC_DEFINE(WITH_ACL,1,[use ACL])
- ACLLIB="-lacl"
-@@ -388,10 +390,10 @@
- [AC_HELP_STRING([--with-selinux],
- [use SELinux (no checking)])],
- [],
-- [with_selinux_support=no]
-+ [with_selinux=no]
- )
-
--AS_IF([test "x$with_selinux_support" != xno],
-+AS_IF([test "x$with_selinux" != xno],
- [AC_DEFINE(WITH_SELINUX,1,[use SELinux])
- if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then
- SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static)
-@@ -410,10 +412,10 @@
- [AC_HELP_STRING([--with-xattr],
- [use xattr (no checking)])],
- [],
-- [with_xattr_support=no]
-+ [with_xattr=no]
- )
-
--AS_IF([test "x$with_xattr_support" != xno],
-+AS_IF([test "x$with_xattr" != xno],
- [AC_DEFINE(WITH_XATTR,1,[use xattr])
- ATTRLIB=-lattr
- compoptionstring="${compoptionstring}WITH_XATTR\\n"
diff --git a/app-forensics/aide/files/aide-0.13.1-equ-matching.patch b/app-forensics/aide/files/aide-0.13.1-equ-matching.patch
deleted file mode 100644
index e5d02a5ea7d5..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-equ-matching.patch
+++ /dev/null
@@ -1,83 +0,0 @@
---- src/gen_list.c.orig 2007-12-19 15:37:13.000000000 -0800
-+++ src/gen_list.c 2007-12-19 16:19:43.000000000 -0800
-@@ -732,33 +732,6 @@
- return retval;
- }
-
--//this is used to check if $text if equal to a node in $rxrlist
--//should be used to check equ_rx_lst only
--int check_list_for_equal(list* rxrlist,char* text,DB_ATTR_TYPE* attr)
--{
-- list* r=NULL;
-- int retval=1;
-- char *temp;
--
-- for(r=rxrlist;r;r=r->next){
-- temp=((rx_rule*)r->data)->rx;
--
-- //FIXME, if rx not begin with ^, may need to do something else
-- if(temp[0]=='^') //^ is for reg exp, we can ignore this character
-- temp++;
--
-- //we don't need to worry about buff-overflow, so strcmp is safe
-- if((retval=strcmp(temp, text))==0){
-- *attr=((rx_rule*)r->data)->attr;
-- error(231,"\"%s\" matches string from line #%ld: %s\n",text,((rx_rule*)r->data)->conf_lineno,((rx_rule*)r->data)->rx);
-- break;
-- } else {
-- error(231,"\"%s\" doesn't match string from line #%ld: %s\n",text,((rx_rule*)r->data)->conf_lineno,((rx_rule*)r->data)->rx);
-- }
-- }
-- return retval;
--}
--
- /*
- * Function check_node_for_match()
- * calls itself recursively to go to the top and then back down.
-@@ -783,35 +756,24 @@
- return retval;
- }
-
-- /* We need this to check whether this was the first one *
-- * to be called and not a recursive call */
-- if(!((retval&16)==16)){
-- retval|=16;
-+ /* if this call is not recursive we check the equals list and we set top *
-+ * and retval so we know following calls are recursive */
-+ if(!(retval&16)){
- top=1;
-- } else {
-- top=0;
-- }
--
-- /* if no deeper match found */
-- if(!((retval&8)==8)&&!((retval&4)==4)){
-+ retval|=16;
-+
- if(!check_list_for_match(node->equ_rx_lst,text,attr)){
-- /*
-- Zhi Wen Wong added this line to fix bug that equ not work for
-- compare
-- if we do "=/bin", we should only check /bin
-- so, /bin/bash or /bin/something should return 0 as neg
-- */
-- if(!check_list_for_equal(node->equ_rx_lst,text,attr))
-- retval|=(2|4);
-- };
-- };
-+ retval|=2|4;
-+ }
-+ }
- /* We'll use retval to pass information on whether to recurse
- * the dir or not */
-
-
-- if(!((retval&8)==8)&&!((retval&4)==4)){
-+ /* If 4 and 8 are not set, we will check for matches */
-+ if(!(retval&(4|8))){
- if(!check_list_for_match(node->sel_rx_lst,text,attr))
-- retval|=(1|8);
-+ retval|=1|8;
- }
-
- /* Now let's check the ancestors */
diff --git a/app-forensics/aide/files/aide-0.13.1-gentoo.patch b/app-forensics/aide/files/aide-0.13.1-gentoo.patch
deleted file mode 100644
index 9c1c07b5ce5f..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-gentoo.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur aide-0.13.1.orig/Makefile.am aide-0.13.1/Makefile.am
---- aide-0.13.1.orig/Makefile.am 2006-10-11 03:39:01.000000000 +0900
-+++ aide-0.13.1/Makefile.am 2007-09-27 01:35:39.000000000 +0900
-@@ -33,7 +33,7 @@
- src/aide -c doc/aide.conf -V20
-
- update-db: all
-- src/aide -B "database_out=file://$(top_srcdir)/doc/aide.db" -c doc/aide.conf -i
-+ src/aide -B "database_out=file://$(abs_top_srcdir)/doc/aide.db" -c doc/aide.conf -i
-
- dist-hook: configure
- mkdir $(distdir)/include
-diff -Naur aide-0.13.1.orig/doc/aide.conf.in aide-0.13.1/doc/aide.conf.in
---- aide-0.13.1.orig/doc/aide.conf.in 2006-11-25 04:53:56.000000000 +0900
-+++ aide-0.13.1/doc/aide.conf.in 2007-09-27 01:35:39.000000000 +0900
-@@ -19,7 +19,7 @@
- # corresponding line.
- #
-
--@@define TOPDIR @top_srcdir@
-+@@define TOPDIR @abs_top_srcdir@
-
- @@ifndef TOPDIR
- @@define TOPDIR /
-diff -Naur aide-0.13.1.orig/src/Makefile.am aide-0.13.1/src/Makefile.am
---- aide-0.13.1.orig/src/Makefile.am 2006-10-28 06:10:38.000000000 +0900
-+++ aide-0.13.1/src/Makefile.am 2007-09-27 01:35:39.000000000 +0900
-@@ -20,6 +20,8 @@
- # This is no longer needed
- # SUBDIRS = crypt
-
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-+
- bin_PROGRAMS = aide
-
- aide_SOURCES = \
diff --git a/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch b/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch
deleted file mode 100644
index 56b39693f4ff..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff -urp aide-0.13.1.orig/doc/aide.1 aide-0.13.1/doc/aide.1
---- aide-0.13.1.orig/doc/aide.1 2009-04-14 15:46:20.000000000 -0700
-+++ aide-0.13.1/doc/aide.1 2009-04-14 15:49:18.000000000 -0700
-@@ -67,6 +67,7 @@ conditions:
- .IP "16 Unimplemented function error"
- .IP "17 Invalid configureline error"
- .IP "18 IO error"
-+.IP "19 Version mismatch error"
- .PP
- .SH NOTES
- Please note that due to mmap issues, aide cannot be terminated with
-diff -urp aide-0.13.1.orig/doc/aide.1.in aide-0.13.1/doc/aide.1.in
---- aide-0.13.1.orig/doc/aide.1.in 2009-04-14 15:46:20.000000000 -0700
-+++ aide-0.13.1/doc/aide.1.in 2009-04-14 15:49:56.000000000 -0700
-@@ -67,6 +67,7 @@ conditions:
- .IP "16 Unimplemented function error"
- .IP "17 Invalid configureline error"
- .IP "18 IO error"
-+.IP "19 Version mismatch error"
- .PP
- .SH NOTES
- Please note that due to mmap issues, aide cannot be terminated with
-diff -urp aide-0.13.1.orig/include/report.h aide-0.13.1/include/report.h
---- aide-0.13.1.orig/include/report.h 2009-04-14 15:46:20.000000000 -0700
-+++ aide-0.13.1/include/report.h 2009-04-14 15:46:28.000000000 -0700
-@@ -31,6 +31,7 @@
- #define UNIMPLEMENTED_FUNCTION_ERROR 16
- #define INVALID_CONFIGURELINE_ERROR 17
- #define IO_ERROR 18
-+#define VERSION_MISMATCH_ERROR 19
-
- /* Errorcodes */
- #define HASH_ALGO_ERROR 30
-diff -urp aide-0.13.1.orig/src/md.c aide-0.13.1/src/md.c
---- aide-0.13.1.orig/src/md.c 2009-04-14 15:46:20.000000000 -0700
-+++ aide-0.13.1/src/md.c 2009-04-14 15:46:28.000000000 -0700
-@@ -201,6 +201,12 @@ int init_md(struct md_container* md) {
- #endif
- #ifdef WITH_GCRYPT
- error(255,"Gcrypt library initialization\n");
-+ if(!gcry_check_version(GCRYPT_VERSION)) {
-+ error(0,"libgcrypt version mismatch\n");
-+ exit(VERSION_MISMATCH_ERROR);
-+ }
-+ gcry_control(GCRYCTL_DISABLE_SECMEM, 0);
-+ gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
- if(gcry_md_open(&md->mdh,0,0)!=GPG_ERR_NO_ERROR){
- error(0,"gcrypt_md_open failed\n");
- exit(IO_ERROR);
diff --git a/app-forensics/aide/files/aide-0.13.1-zlib.patch b/app-forensics/aide/files/aide-0.13.1-zlib.patch
deleted file mode 100644
index 0ca5af25275d..000000000000
--- a/app-forensics/aide/files/aide-0.13.1-zlib.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur aide-0.13.1.orig//src/be.c aide-0.13.1//src/be.c
---- aide-0.13.1.orig//src/be.c 2006-12-15 01:09:24.000000000 +0900
-+++ aide-0.13.1//src/be.c 2010-05-26 20:08:10.000000000 +0900
-@@ -161,7 +161,7 @@
- #endif
- #ifdef WITH_ZLIB
- if(iszipped && !inout){
-- fh=gzdopen(fd,"wb9+");
-+ fh=gzdopen(fd,"wb9");
- if(fh==NULL){
- error(0,_("Couldn't open file %s for %s"),u->value,
- inout?"reading\n":"writing\n");