OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

226 lines
12 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../openvas-plugins/libtool-mode.patch
  5. # Copyright (C) 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN openvas-plugins-0.9.0.orig/plugins/3com_hub/Makefile openvas-plugins-0.9.0/plugins/3com_hub/Makefile
  17. --- openvas-plugins-0.9.0.orig/plugins/3com_hub/Makefile 2007-02-22 16:49:42.000000000 +0100
  18. +++ openvas-plugins-0.9.0/plugins/3com_hub/Makefile 2007-09-18 02:43:41.000000000 +0200
  19. @@ -5,8 +5,8 @@
  20. all : $(PLUGNAME).nes
  21. $(PLUGNAME).nes : $(PLUGNAME).c
  22. - $(LIBTOOL) $(CC) $(DEFS) $(include) -I/usr/local/include `libnet-config --defines --cflags` -c $(PLUGNAME).c
  23. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo `libnet-config --defines --libs` -L/usr/local/lib $(LIBS) \
  24. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -I/usr/local/include `libnet-config --defines --cflags` -c $(PLUGNAME).c
  25. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo `libnet-config --defines --libs` -L/usr/local/lib $(LIBS) \
  26. -rpath $(rootdir)/bin/plugins
  27. ../install_plug $(PLUGNAME) $(rootdir)
  28. clean :
  29. diff -ruN openvas-plugins-0.9.0.orig/plugins/find_service/Makefile openvas-plugins-0.9.0/plugins/find_service/Makefile
  30. --- openvas-plugins-0.9.0.orig/plugins/find_service/Makefile 2007-02-22 16:49:42.000000000 +0100
  31. +++ openvas-plugins-0.9.0/plugins/find_service/Makefile 2007-09-18 02:43:41.000000000 +0200
  32. @@ -4,8 +4,8 @@
  33. all : $(PLUGNAME).nes
  34. $(PLUGNAME).nes : $(PLUGNAME).c
  35. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  36. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  37. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  38. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  39. -rpath $(rootdir)/bin/plugins
  40. ../install_plug $(PLUGNAME) $(rootdir)
  41. clean :
  42. diff -ruN openvas-plugins-0.9.0.orig/plugins/ftp_write_dirs/Makefile openvas-plugins-0.9.0/plugins/ftp_write_dirs/Makefile
  43. --- openvas-plugins-0.9.0.orig/plugins/ftp_write_dirs/Makefile 2007-02-22 16:49:42.000000000 +0100
  44. +++ openvas-plugins-0.9.0/plugins/ftp_write_dirs/Makefile 2007-09-18 02:43:41.000000000 +0200
  45. @@ -4,8 +4,8 @@
  46. all : $(PLUGNAME).nes
  47. $(PLUGNAME).nes : $(PLUGNAME).c
  48. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  49. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  50. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  51. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  52. -rpath $(rootdir)/bin/plugins
  53. ../install_plug $(PLUGNAME) $(rootdir)
  54. clean :
  55. diff -ruN openvas-plugins-0.9.0.orig/plugins/hydra/Makefile openvas-plugins-0.9.0/plugins/hydra/Makefile
  56. --- openvas-plugins-0.9.0.orig/plugins/hydra/Makefile 2007-02-22 16:49:42.000000000 +0100
  57. +++ openvas-plugins-0.9.0/plugins/hydra/Makefile 2007-09-18 02:43:41.000000000 +0200
  58. @@ -4,8 +4,8 @@
  59. all : hydra.nes
  60. hydra.nes : $(PLUGNAME).c
  61. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  62. - $(LIBTOOL) $(CC) $(DEFS) -o libhydra.la $(PLUGNAME).lo $(LIBS) \
  63. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  64. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o libhydra.la $(PLUGNAME).lo $(LIBS) \
  65. -rpath $(rootdir)/bin/plugins
  66. ../install_plug hydra $(rootdir)
  67. clean :
  68. diff -ruN openvas-plugins-0.9.0.orig/plugins/linux_tftp/Makefile openvas-plugins-0.9.0/plugins/linux_tftp/Makefile
  69. --- openvas-plugins-0.9.0.orig/plugins/linux_tftp/Makefile 2007-02-22 16:49:42.000000000 +0100
  70. +++ openvas-plugins-0.9.0/plugins/linux_tftp/Makefile 2007-09-18 02:43:41.000000000 +0200
  71. @@ -4,8 +4,8 @@
  72. all : $(PLUGNAME).nes
  73. $(PLUGNAME).nes : $(PLUGNAME).c
  74. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  75. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  76. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  77. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  78. -rpath $(rootdir)/bin/plugins
  79. ../install_plug $(PLUGNAME) $(rootdir)
  80. clean :
  81. diff -ruN openvas-plugins-0.9.0.orig/plugins/nikto_wrapper/Makefile openvas-plugins-0.9.0/plugins/nikto_wrapper/Makefile
  82. --- openvas-plugins-0.9.0.orig/plugins/nikto_wrapper/Makefile 2007-02-22 16:49:41.000000000 +0100
  83. +++ openvas-plugins-0.9.0/plugins/nikto_wrapper/Makefile 2007-09-18 02:43:41.000000000 +0200
  84. @@ -4,8 +4,8 @@
  85. all : $(PLUGNAME).nes
  86. $(PLUGNAME).nes : $(PLUGNAME).c
  87. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  88. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  89. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  90. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  91. $(LIBUTIL) \
  92. -rpath $(rootdir)/bin/plugins
  93. ../install_plug $(PLUGNAME) $(rootdir)
  94. diff -ruN openvas-plugins-0.9.0.orig/plugins/nmap_tcp_connect/Makefile openvas-plugins-0.9.0/plugins/nmap_tcp_connect/Makefile
  95. --- openvas-plugins-0.9.0.orig/plugins/nmap_tcp_connect/Makefile 2007-02-22 16:49:43.000000000 +0100
  96. +++ openvas-plugins-0.9.0/plugins/nmap_tcp_connect/Makefile 2007-09-18 02:43:41.000000000 +0200
  97. @@ -4,8 +4,8 @@
  98. all : $(PLUGNAME).nes
  99. $(PLUGNAME).nes : $(PLUGNAME).c
  100. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  101. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  102. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  103. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  104. -rpath $(rootdir)/bin/plugins
  105. ../install_plug $(PLUGNAME) $(rootdir)
  106. clean :
  107. diff -ruN openvas-plugins-0.9.0.orig/plugins/nmap_wrapper/Makefile openvas-plugins-0.9.0/plugins/nmap_wrapper/Makefile
  108. --- openvas-plugins-0.9.0.orig/plugins/nmap_wrapper/Makefile 2007-02-22 16:49:42.000000000 +0100
  109. +++ openvas-plugins-0.9.0/plugins/nmap_wrapper/Makefile 2007-09-18 02:43:41.000000000 +0200
  110. @@ -4,8 +4,8 @@
  111. all : $(PLUGNAME).nes
  112. $(PLUGNAME).nes : $(PLUGNAME).c
  113. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  114. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) $(LIBUTIL) \
  115. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  116. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) $(LIBUTIL) \
  117. -rpath $(rootdir)/bin/plugins
  118. ../install_plug $(PLUGNAME) $(rootdir)
  119. clean :
  120. diff -ruN openvas-plugins-0.9.0.orig/plugins/objectserver/Makefile openvas-plugins-0.9.0/plugins/objectserver/Makefile
  121. --- openvas-plugins-0.9.0.orig/plugins/objectserver/Makefile 2007-02-22 16:49:42.000000000 +0100
  122. +++ openvas-plugins-0.9.0/plugins/objectserver/Makefile 2007-09-18 02:43:41.000000000 +0200
  123. @@ -4,8 +4,8 @@
  124. all : $(PLUGNAME).nes
  125. $(PLUGNAME).nes : $(PLUGNAME).c
  126. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  127. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  128. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  129. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  130. -rpath $(rootdir)/bin/plugins
  131. ../install_plug $(PLUGNAME) $(rootdir)
  132. clean :
  133. diff -ruN openvas-plugins-0.9.0.orig/plugins/openvas_tcp_scanner/Makefile openvas-plugins-0.9.0/plugins/openvas_tcp_scanner/Makefile
  134. --- openvas-plugins-0.9.0.orig/plugins/openvas_tcp_scanner/Makefile 2007-02-22 16:49:42.000000000 +0100
  135. +++ openvas-plugins-0.9.0/plugins/openvas_tcp_scanner/Makefile 2007-09-18 02:43:41.000000000 +0200
  136. @@ -7,8 +7,8 @@
  137. all : $(PLUGNAME).nes
  138. $(PLUGNAME).nes : $(PLUGNAME).c
  139. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  140. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \
  141. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  142. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \
  143. -rpath $(rootdir)/bin/plugins
  144. ../install_plug $(PLUGNAME) $(rootdir)
  145. clean :
  146. diff -ruN openvas-plugins-0.9.0.orig/plugins/smad/Makefile openvas-plugins-0.9.0/plugins/smad/Makefile
  147. --- openvas-plugins-0.9.0.orig/plugins/smad/Makefile 2007-02-22 16:49:41.000000000 +0100
  148. +++ openvas-plugins-0.9.0/plugins/smad/Makefile 2007-09-18 02:43:41.000000000 +0200
  149. @@ -4,8 +4,8 @@
  150. all : $(PLUGNAME).nes
  151. $(PLUGNAME).nes : $(PLUGNAME).c
  152. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  153. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  154. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  155. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  156. -rpath $(rootdir)/bin/plugins
  157. ../install_plug $(PLUGNAME) $(rootdir)
  158. clean :
  159. diff -ruN openvas-plugins-0.9.0.orig/plugins/snmp_portscan/Makefile openvas-plugins-0.9.0/plugins/snmp_portscan/Makefile
  160. --- openvas-plugins-0.9.0.orig/plugins/snmp_portscan/Makefile 2007-02-22 16:49:42.000000000 +0100
  161. +++ openvas-plugins-0.9.0/plugins/snmp_portscan/Makefile 2007-09-18 02:43:41.000000000 +0200
  162. @@ -4,8 +4,8 @@
  163. all : $(PLUGNAME).nes
  164. $(PLUGNAME).nes : $(PLUGNAME).c
  165. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  166. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  167. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  168. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  169. $(LIBUTIL) \
  170. -rpath $(rootdir)/bin/plugins
  171. ../install_plug $(PLUGNAME) $(rootdir)
  172. diff -ruN openvas-plugins-0.9.0.orig/plugins/ssl_ciphers/Makefile openvas-plugins-0.9.0/plugins/ssl_ciphers/Makefile
  173. --- openvas-plugins-0.9.0.orig/plugins/ssl_ciphers/Makefile 2007-02-22 16:49:43.000000000 +0100
  174. +++ openvas-plugins-0.9.0/plugins/ssl_ciphers/Makefile 2007-09-18 02:43:41.000000000 +0200
  175. @@ -4,8 +4,8 @@
  176. all : $(PLUGNAME).nes
  177. $(PLUGNAME).nes : $(PLUGNAME).c
  178. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  179. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  180. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  181. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  182. -rpath $(rootdir)/bin/plugins
  183. ../install_plug $(PLUGNAME) $(rootdir)
  184. clean :
  185. diff -ruN openvas-plugins-0.9.0.orig/plugins/synscan/Makefile openvas-plugins-0.9.0/plugins/synscan/Makefile
  186. --- openvas-plugins-0.9.0.orig/plugins/synscan/Makefile 2007-02-22 16:49:43.000000000 +0100
  187. +++ openvas-plugins-0.9.0/plugins/synscan/Makefile 2007-09-18 02:43:41.000000000 +0200
  188. @@ -4,8 +4,8 @@
  189. all : $(PLUGNAME).nes
  190. $(PLUGNAME).nes : $(PLUGNAME).c
  191. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  192. - $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  193. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  194. + $(LIBTOOL) --mode=link --tag CC $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  195. -rpath $(rootdir)/bin/plugins
  196. ../install_plug $(PLUGNAME) $(rootdir)
  197. clean :
  198. diff -ruN openvas-plugins-0.9.0.orig/plugins/tftp_grab_file/Makefile openvas-plugins-0.9.0/plugins/tftp_grab_file/Makefile
  199. --- openvas-plugins-0.9.0.orig/plugins/tftp_grab_file/Makefile 2007-02-22 16:49:43.000000000 +0100
  200. +++ openvas-plugins-0.9.0/plugins/tftp_grab_file/Makefile 2007-09-18 02:43:41.000000000 +0200
  201. @@ -4,8 +4,8 @@
  202. all : $(PLUGNAME).nes
  203. $(PLUGNAME).nes : $(PLUGNAME).c
  204. - $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  205. - $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  206. + $(LIBTOOL) --mode=compile --tag CC $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
  207. + $(LIBTOOL) --mode=link --tag CC $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
  208. -rpath $(rootdir)/bin/plugins
  209. ../install_plug $(PLUGNAME) $(rootdir)
  210. clean :