diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-24 17:03:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-24 17:03:29 +0800 |
commit | 599fa11ed0088e394c753af90c656d0c40af7162 (patch) | |
tree | 08861c803f3613538923554fc795c9af1ffb65f5 /security | |
parent | 88cbf494f67d78f35760a0b20eb30cd5892055fa (diff) | |
download | freebsd-ports-gnome-599fa11ed0088e394c753af90c656d0c40af7162.tar.gz freebsd-ports-gnome-599fa11ed0088e394c753af90c656d0c40af7162.tar.zst freebsd-ports-gnome-599fa11ed0088e394c753af90c656d0c40af7162.zip |
Make security/audit compiling on -current again
Noticed by: bento
PR: ports/45667
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
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> |