diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 09:03:29 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-24 09:03:29 +0000 |
commit | 29995e67bab90e35d0ff0fd868f0e2ee4a5e3962 (patch) | |
tree | 137c03b893b470f4bb4483ffa2bcf01528eb7f8e /security | |
parent | df082994fde37f6e5e94a221fa77af886c86b72b (diff) | |
download | ports-29995e67bab90e35d0ff0fd868f0e2ee4a5e3962.tar.gz ports-29995e67bab90e35d0ff0fd868f0e2ee4a5e3962.zip |
Make security/audit compiling on -current again
Noticed by: bento
PR: ports/45667
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes:
svn path=/head/; revision=70973
Diffstat (limited to 'security')
-rw-r--r-- | security/audit/Makefile | 3 | ||||
-rw-r--r-- | security/audit/files/patch-ac | 13 | ||||
-rw-r--r-- | security/audit/files/patch-ad | 13 | ||||
-rw-r--r-- | security/audit/files/patch-ae | 12 | ||||
-rw-r--r-- | security/audit/files/patch-af | 12 |
5 files changed, 52 insertions, 1 deletions
diff --git a/security/audit/Makefile b/security/audit/Makefile index 4f3733a0a280..c736c8b045e4 100644 --- a/security/audit/Makefile +++ b/security/audit/Makefile @@ -7,6 +7,7 @@ PORTNAME= audit PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://community.corest.com/pub/audit/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ @@ -58,7 +59,7 @@ post-patch: ${REINPLACE_CMD} -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec \ ${REINPLACE_CMD} -e \ - "s@^LIB=(.*){VERSION}@SOVERSION=\t${LIBVERSION}\nLIB=\1\{SOVERSION\}@" {} \;) + "s!^LIB=\(.*\).{VERSION}!LIB=\1${LIBVERSION}!" {} \;) ${REINPLACE_CMD} -e "s@AUDIT_VERSION@\"${LIBVERSION}\"@g" \ ${WRKSRC}/src/lib/modules.c .for f in ${FIXPREFIX_CONF} diff --git a/security/audit/files/patch-ac b/security/audit/files/patch-ac new file mode 100644 index 000000000000..495d981dc14f --- /dev/null +++ b/security/audit/files/patch-ac @@ -0,0 +1,13 @@ +--- src/auditd/auditd.c.orig Sun Nov 24 05:22:21 2002 ++++ src/auditd/auditd.c Sun Nov 24 05:25:39 2002 +@@ -54,6 +54,10 @@ + #include <sysexits.h> + #include <unistd.h> + #include <openssl/evp.h> ++#include <sys/param.h> ++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) ++#include <limits.h> ++#endif + + #include "version.h" + #include "sysdep.h" diff --git a/security/audit/files/patch-ad b/security/audit/files/patch-ad new file mode 100644 index 000000000000..f89021de5b3d --- /dev/null +++ b/security/audit/files/patch-ad @@ -0,0 +1,13 @@ +--- src/auditd/ia.c.orig Sun Nov 24 05:32:00 2002 ++++ src/auditd/ia.c Sun Nov 24 05:32:23 2002 +@@ -54,6 +54,10 @@ + #include <sysexits.h> + #include <unistd.h> + #include <openssl/evp.h> ++#include <sys/param.h> ++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) ++#include <limits.h> ++#endif + + #include "version.h" + #include "sysdep.h" diff --git a/security/audit/files/patch-ae b/security/audit/files/patch-ae new file mode 100644 index 000000000000..acbc497ebe23 --- /dev/null +++ b/security/audit/files/patch-ae @@ -0,0 +1,12 @@ +--- src/modules/attr/mysql/attr_mysql.c.orig Sun Nov 24 06:01:45 2002 ++++ src/modules/attr/mysql/attr_mysql.c Sun Nov 24 06:01:58 2002 +@@ -35,6 +35,9 @@ + */ + + #include <sys/param.h> ++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) ++#include <limits.h> ++#endif + + #ifdef __linux__ + #include <netinet/in.h> diff --git a/security/audit/files/patch-af b/security/audit/files/patch-af new file mode 100644 index 000000000000..281d56102733 --- /dev/null +++ b/security/audit/files/patch-af @@ -0,0 +1,12 @@ +--- src/modules/attr/pgsql/attr_pgsql.c.orig Sun Nov 24 06:02:19 2002 ++++ src/modules/attr/pgsql/attr_pgsql.c Sun Nov 24 06:02:28 2002 +@@ -35,6 +35,9 @@ + */ + + #include <sys/param.h> ++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) ++#include <limits.h> ++#endif + + #ifdef __linux__ + #include <netinet/in.h> |