[visualvm] 07/09: Enabled hardening on the native libraries

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri May 2 09:04:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository visualvm.

commit dbec8522d443aaccebc4607d9666591cd3e5b3d3
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri May 2 10:43:37 2014 +0200

    Enabled hardening on the native libraries
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 2 ++
 3 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 40e274f..405d11e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ visualvm (1.3.7-1) UNRELEASED; urgency=medium
     instead of /usr/lib/visualvm
   * Never use Java 6 at runtime and accept OpenJDK 8 as an alternative JRE
   * Added a manpage
+  * Enabled hardening on the native libraries
   * Added debian/README.source to document the workflow used with this package
   * debian/rules: Revamped to use the dh command sequencer
   * debian/copyright:
diff --git a/debian/control b/debian/control
index d6b59ec..bcedcf1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Matthias Klose <doko at ubuntu.com>
 Build-Depends: debhelper (>= 9),
  default-jdk,
  ant-optional,
+ hardening-wrapper,
  libnb-platform-devel-java (>= 7.0),
  libnb-platform18-java,
  quilt,
diff --git a/debian/rules b/debian/rules
index 9736360..d397d95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 export JAVA_HOME = $(firstword $(wildcard /usr/lib/jvm/java-7-openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/default-java))
 
+export DEB_BUILD_HARDENING=1
+
 %:
 	dh $@
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/visualvm.git



More information about the pkg-java-commits mailing list