Author: qboosh Date: Sat Apr 23 06:42:51 2011 GMT Module: packages Tag: HEAD ---- Log message: - updated to 2.1.1 - enabled tcp_wrappers (libwrap) support, added nolibs patch to avoid libnsl linking
---- Files affected: packages/audit: audit.spec (1.80 -> 1.81) , audit-nolibs.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/audit/audit.spec diff -u packages/audit/audit.spec:1.80 packages/audit/audit.spec:1.81 --- packages/audit/audit.spec:1.80 Sat Apr 2 09:09:28 2011 +++ packages/audit/audit.spec Sat Apr 23 08:42:46 2011 @@ -8,16 +8,17 @@ Summary: User space tools for 2.6 kernel auditing Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do audytu jąder 2.6 Name: audit -Version: 2.1 +Version: 2.1.1 Release: 1 License: GPL v2+ Group: Daemons Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz -# Source0-md5: 5a936571764a4d39eae69c2958331e20 +# Source0-md5: 24c15eb02a100b0fcf809a29b32f0dbd Source2: %{name}d.init Source3: %{name}d.sysconfig Patch0: %{name}-install.patch Patch1: %{name}-m4.patch +Patch2: %{name}-nolibs.patch URL: http://people.redhat.com/sgrubb/audit/ BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.9 @@ -27,6 +28,7 @@ BuildRequires: libcap-ng-devel %{?with_prelude:BuildRequires: libprelude-devel} BuildRequires: libtool +BuildRequires: libwrap-devel BuildRequires: linux-libc-headers >= 7:2.6.20 BuildRequires: openldap-devel %if %{with python} @@ -134,6 +136,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %if %{without python} sed 's#swig/Makefile ##' -i configure.ac @@ -147,8 +150,9 @@ %{__autoheader} %{__automake} %configure \ - --with-apparmor \ --enable-gssapi-krb5 \ + --with-apparmor \ + --with-libwrap \ %{?with_prelude:--with-prelude} # override auditd_{C,LD}FLAGS to avoid -fPIE unsupported by gcc 3.3 %{__make} \ @@ -305,6 +309,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.81 2011/04/23 06:42:46 qboosh +- updated to 2.1.1 +- enabled tcp_wrappers (libwrap) support, added nolibs patch to avoid libnsl linking + Revision 1.80 2011/04/02 07:09:28 qboosh - updated to 2.1 ================================================================ Index: packages/audit/audit-nolibs.patch diff -u /dev/null packages/audit/audit-nolibs.patch:1.1 --- /dev/null Sat Apr 23 08:42:51 2011 +++ packages/audit/audit-nolibs.patch Sat Apr 23 08:42:46 2011 @@ -0,0 +1,20 @@ +--- audit-2.1.1/configure.ac.orig 2011-04-20 22:53:56.000000000 +0200 ++++ audit-2.1.1/configure.ac 2011-04-23 08:24:34.033844797 +0200 +@@ -193,8 +193,6 @@ + AC_CHECK_HEADER(tcpd.h, [], + AC_MSG_ERROR([Could not find libwrap headers]),) + AC_CHECK_LIB(wrap, request_init, [ LIBWRAP_LIBS="-lwrap" ]) +- AC_CHECK_LIB(nsl, yp_get_default_domain, [ +- LIBWRAP_LIBS="$LIBWRAP_LIBS -lnsl" ]) + ;; + *) + AC_MSG_RESULT(yes) +@@ -206,8 +204,6 @@ + AC_CHECK_HEADER(tcpd.h, [], + AC_MSG_ERROR([Could not find libwrap headers])) + AC_CHECK_LIB(wrap, request_init, []) +- AC_CHECK_LIB(nsl, yp_get_default_domain, [ +- LIBWRAP_LIBS="$LIBWRAP_LIBS -lnsl" ]) + OLDLIBS="$LIBS" + LIBS="$LIBWRAP_LIBS $LIBS" + AC_TRY_LINK([ int allow_severity; int deny_severity; ], ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/audit/audit.spec?r1=1.80&r2=1.81&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
