Commit d01a55dd authored by SZ Lin (林上智)'s avatar SZ Lin (林上智)

Remove patches

parent f65fed98
10_cmake_mandir.dpatch
10_no_use_werror.dpatch
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_clean_libraries.dpatch by <jfs@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' openvas-scanner-3.0.1~/Makefile openvas-scanner-3.0.1/Makefile
--- openvas-scanner-3.0.1~/Makefile 2010-03-22 03:24:00.000000000 +0100
+++ openvas-scanner-3.0.1/Makefile 2010-03-22 03:24:27.000000000 +0100
@@ -118,6 +118,7 @@
cd openvassd && $(MAKE) clean
cd ssl && $(MAKE) clean
cd cnvts && ./make_world clean
+ rm -f bin/*.nes
distclean: clean
[ -z "${rootdir}" ] || rm -f ${rootdir}/include/config.h ${rootdir}/include/corevers.h
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_cmake_mandir.diff.dpatch by <jfs@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' openvas-scanner-3.2.3~/CMakeLists.txt openvas-scanner-3.2.3/CMakeLists.txt
--- openvas-scanner-3.2.3~/CMakeLists.txt 2011-04-11 09:29:40.000000000 +0200
+++ openvas-scanner-3.2.3/CMakeLists.txt 2011-04-26 02:00:22.000000000 +0200
@@ -142,6 +142,10 @@
set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
endif (NOT DATADIR)
+if (NOT MANDIR)
+ set (MANDIR "${CMAKE_INSTALL_PREFIX}/share/man/man8")
+endif (NOT MANDIR)
+
#if (NOT SYSCONFDIR)
# set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
#endif (NOT SYSCONFDIR)
@@ -266,7 +270,7 @@
install (FILES doc/openvas-adduser.8 doc/openvas-mkcert.8
doc/openvas-nvt-sync.8 doc/openvas-rmuser.8 doc/openvassd.8
doc/greenbone-nvt-sync.8
- DESTINATION ${DATADIR}/man/man8 )
+ DESTINATION ${MANDIR} )
install (DIRECTORY DESTINATION ${OPENVAS_NVT_DIR})
install (DIRECTORY DESTINATION ${OPENVAS_CACHE_DIR})
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_no_use_werror.dpatch by <darkjunix@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' openvas-scanner-3.2.3~/CMakeLists.txt openvas-scanner-3.2.3/CMakeLists.txt
--- openvas-scanner-3.2.3~/CMakeLists.txt 2012-05-13 01:24:42.000000000 -0500
+++ openvas-scanner-3.2.3/CMakeLists.txt 2012-05-13 00:41:48.000000000 -0500
@@ -234,7 +234,7 @@
set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE")
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE")
add_subdirectory (src)
#! /bin/sh /usr/share/dpatch/dpatch-run
## 30_strip_cvnts.dpatch by <jfs@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' openvas-scanner-3.0.2~/Makefile openvas-scanner-3.0.2/Makefile
--- openvas-scanner-3.0.2~/Makefile 2010-03-22 03:25:03.000000000 +0100
+++ openvas-scanner-3.0.2/Makefile 2010-03-24 00:28:44.000000000 +0100
@@ -96,7 +96,7 @@
test -d $(DESTDIR)${libdir}/openvas/plugins || $(INSTALL_DIR) -m 755 \
$(DESTDIR)${libdir}/openvas/plugins
for plugins in bin/*.nes; do \
- $(INSTALL) -m 555 $$plugins \
+ $(INSTALL) -s -m 555 $$plugins \
$(DESTDIR)${libdir}/openvas/plugins; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment