Author: qboosh Date: Fri Mar 21 17:47:47 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - added system-lua patch, use system lua51
---- Files affected: SPECS: nmap.spec (1.135 -> 1.136) ---- Diffs: ================================================================ Index: SPECS/nmap.spec diff -u SPECS/nmap.spec:1.135 SPECS/nmap.spec:1.136 --- SPECS/nmap.spec:1.135 Fri Mar 21 14:40:19 2008 +++ SPECS/nmap.spec Fri Mar 21 18:47:42 2008 @@ -1,7 +1,6 @@ # $Revision$, $Date$ # # TODO: -# - use system lua51 # - use system libdnet # - desktop file for zenmap # @@ -21,12 +20,14 @@ Source0: http://www.insecure.org/nmap/dist/%{name}-%{version}.tar.bz2 # Source0-md5: 6201551054050c11182fd6dd91682cb1 Patch0: %{name}-am18.patch +Patch1: %{name}-system-lua.patch URL: http://www.insecure.org/nmap/index.html BuildRequires: autoconf BuildRequires: automake BuildRequires: libpcap-devel BuildRequires: libstdc++-devel BuildRequires: libtool +BuildRequires: lua51-devel >= 5.1 BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: python-devel >= 1:2.5 @@ -108,6 +109,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 # should be libtool with added "libtool: @LIBTOOL_DEPS@" rule in fact # (but the latter would fail due to bug in libtool 2.2) @@ -125,7 +127,10 @@ done CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" \ -%configure +CPPFLAGS="-I/usr/include/lua51" +%configure \ + LIBLUA_LIBS="-llua51" \ + --with-liblua %{__make} @@ -186,6 +191,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.136 2008-03-21 17:47:42 qboosh +- added system-lua patch, use system lua51 + Revision 1.135 2008-03-21 13:40:19 adamg - updated to 4.60 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nmap.spec?r1=1.135&r2=1.136&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
