]> git.pld-linux.org Git - packages/nessus-plugins.git/commitdiff
- rel 3 auto/th/nessus-plugins-2_2_7-3
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 15 Apr 2010 12:02:49 +0000 (12:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed libtool usage

Changed files:
    nessus-plugins-libtool.patch -> 1.1
    nessus-plugins.spec -> 1.32

nessus-plugins-libtool.patch [new file with mode: 0644]
nessus-plugins.spec

diff --git a/nessus-plugins-libtool.patch b/nessus-plugins-libtool.patch
new file mode 100644 (file)
index 0000000..5a735bb
--- /dev/null
@@ -0,0 +1,70 @@
+diff -ur nessus-plugins/pf/Makefile nessus-plugins-libtool/pf/Makefile
+--- nessus-plugins/pf/Makefile 1999-09-05 16:28:21.000000000 +0200
++++ nessus-plugins-libtool/pf/Makefile 2010-04-15 14:01:07.847311689 +0200
+@@ -5,8 +5,8 @@
+ all : $(PLUGNAME).nes
+ $(PLUGNAME).nes : $(PLUGNAME).c
+-      $(SHELL) libtool $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
+-      $(SHELL) libtool $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
++      $(SHELL) libtool --mode=compile $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
++      $(SHELL) libtool --mode=link $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
+       -rpath $(prefix)/plugins/
+       
+ clean :
+diff -ur nessus-plugins/plugins/find_service/Makefile nessus-plugins-libtool/plugins/find_service/Makefile
+--- nessus-plugins/plugins/find_service/Makefile       1999-09-05 16:28:21.000000000 +0200
++++ nessus-plugins-libtool/plugins/find_service/Makefile       2010-04-15 14:00:10.919124226 +0200
+@@ -4,8 +4,8 @@
+ all : $(PLUGNAME).nes
+ $(PLUGNAME).nes : $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
++      $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
++      $(LIBTOOL) --mode=link $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
+       -rpath $(rootdir)/bin/plugins
+       ../install_plug $(PLUGNAME) $(rootdir)
+ clean :
+diff -ur nessus-plugins/plugins/nessus_tcp_scanner/Makefile nessus-plugins-libtool/plugins/nessus_tcp_scanner/Makefile
+--- nessus-plugins/plugins/nessus_tcp_scanner/Makefile 2005-08-19 11:08:51.000000000 +0200
++++ nessus-plugins-libtool/plugins/nessus_tcp_scanner/Makefile 2010-04-15 14:00:23.460186421 +0200
+@@ -7,8 +7,8 @@
+ all : $(PLUGNAME).nes
+ $(PLUGNAME).nes : $(PLUGNAME).c 
+-      $(LIBTOOL) $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \
++      $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
++      $(LIBTOOL) --mode=link $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \
+       -rpath $(rootdir)/bin/plugins
+       ../install_plug $(PLUGNAME) $(rootdir)
+ clean :
+diff -ur nessus-plugins/plugins/ssl_ciphers/Makefile nessus-plugins-libtool/plugins/ssl_ciphers/Makefile
+--- nessus-plugins/plugins/ssl_ciphers/Makefile        2002-02-08 21:31:29.000000000 +0100
++++ nessus-plugins-libtool/plugins/ssl_ciphers/Makefile        2010-04-15 14:00:39.245249118 +0200
+@@ -4,8 +4,8 @@
+ all : $(PLUGNAME).nes
+ $(PLUGNAME).nes : $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
++      $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
++      $(LIBTOOL) --mode=link $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
+       -rpath $(rootdir)/bin/plugins
+       ../install_plug $(PLUGNAME) $(rootdir)
+ clean :
+diff -ur nessus-plugins/plugins/synscan/Makefile nessus-plugins-libtool/plugins/synscan/Makefile
+--- nessus-plugins/plugins/synscan/Makefile    2003-02-06 04:27:19.000000000 +0100
++++ nessus-plugins-libtool/plugins/synscan/Makefile    2010-04-15 14:00:50.753125161 +0200
+@@ -4,8 +4,8 @@
+ all : $(PLUGNAME).nes
+ $(PLUGNAME).nes : $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
+-      $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
++      $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(include) -c  $(PLUGNAME).c
++      $(LIBTOOL) --mode=link $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
+       -rpath $(rootdir)/bin/plugins
+       ../install_plug $(PLUGNAME) $(rootdir)
+ clean :
index da399562d6131405f494666cf636581422b4d0f9..a6e48f8fed4d269866d4d06fb7f1dbfad35b8b2e 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Nessus plugins
 Summary(pl.UTF-8):     Wtyczki do Nessusa
 Name:          nessus-plugins
 Version:       2.2.7
-Release:       2
+Release:       3
 License:       GPL
 Group:         Networking
 Vendor:                Nessus Project
 Source0:       ftp://ftp.nessus.org/pub/nessus/nessus-%{version}/src/%{name}-GPL-%{version}.tar.gz
 # Source0-md5: 2e51f5ad96dd55888e835382a61de585
+Patch0:                %{name}-libtool.patch
 URL:           http://www.nessus.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -30,6 +31,7 @@ użyciu zdalnego skanera zabezpieczeń.
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.076847 seconds and 4 git commands to generate.