packages: sqlmap/sqlmap.spec - clean up .svn dir's - added some requires
marti
marti at pld-linux.org
Wed Apr 27 09:09:39 CEST 2011
Author: marti Date: Wed Apr 27 07:09:39 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- clean up .svn dir's
- added some requires
---- Files affected:
packages/sqlmap:
sqlmap.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/sqlmap/sqlmap.spec
diff -u packages/sqlmap/sqlmap.spec:1.2 packages/sqlmap/sqlmap.spec:1.3
--- packages/sqlmap/sqlmap.spec:1.2 Tue Apr 26 21:02:31 2011
+++ packages/sqlmap/sqlmap.spec Wed Apr 27 09:09:33 2011
@@ -2,7 +2,7 @@
Summary: sqlmap: Automatic SQL injection tool
Name: sqlmap
Version: 0.9
-Release: 0.5
+Release: 0.6
License: GPL v2
Group: Networking
Source0: http://dl.sourceforge.net/sqlmap/%{name}-%{version}.tar.gz
@@ -11,7 +11,8 @@
BuildRequires: python-devel
Patch0: %{name}-paths.patch
BuildRequires: rpmbuild(macros) >= 1.234
-Requires: python
+Requires: python(abi) >= 2.6
+Requires: upx
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,6 +34,29 @@
%patch0 -p1
%{__sed} -i -e '1s,^#!.*python,#!%{__python},' sqlmap.py
+#Remove binary plugins
+rm -rf udf
+rm -rf lib/contrib/upx
+rm -f shell/runcmd.exe_
+
+#Uncloack files
+cd shell
+find backdoor.*_ stager.*_ -type f -exec python ../extra/cloak/cloak.py -d -i '{}' \;
+cd ..
+
+#Remove source files for other OS
+rm -rf extra/runcmd
+rm -rf extra/udfhack/windows
+
+#Rwmove .svn files
+find ./ -name ".svn" |xargs rm -rf
+
+%build
+#cd extra/udfhack/linux/lib_mysqludf_sys
+#make all
+#cd ../lib_postgresqludf_sys
+#make all
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir}}
@@ -58,6 +82,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/04/27 07:09:33 marti
+- clean up .svn dir's
+- added some requires
+
Revision 1.2 2011/04/26 19:02:31 marti
- up to 0.9
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sqlmap/sqlmap.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list