Bug#902959: pluginhook: diff for NMU version 0~20150216.0~a320158-2.1

2019-06-18 Thread Ondrej Novy
Hi,

uploaded to DELAYED/10-day

Thanks.

-- 
Best regards
 Ondřej Nový


Bug#902959: pluginhook: diff for NMU version 0~20150216.0~a320158-2.1

2019-05-28 Thread Keng-Yu Lin
Control: tags 902959 + patch
Control: tags 902959 + pending

Dear maintainer,

I've prepared an NMU for pluginhook (versioned as 0~20150216.0~a320158-2.1) and
I am looking for a sponsor to uploaded it to DELAYED/7.
Please feel free to tell me if I should delay it longer.

Regards.
diff -Nru pluginhook-0~20150216.0~a320158/debian/changelog pluginhook-0~20150216.0~a320158/debian/changelog
--- pluginhook-0~20150216.0~a320158/debian/changelog	2015-07-01 15:31:36.0 +0800
+++ pluginhook-0~20150216.0~a320158/debian/changelog	2019-05-28 15:47:36.0 +0800
@@ -1,3 +1,20 @@
+pluginhook (0~20150216.0~a320158-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+- Replace golang-go.crypto-dev with golang-golang-x-crypto-dev
+  in Build-Depends. (Closes: #902959)
+- Bump Standards-Version to 4.3.0
+
+debian/control:
+  - Changed Priority from extra to optional, since the priority
+extra has been deprecated in Debian Policy version 4.0.1.
+
+debian/rules:
+  - override_auto_build to build in PIE mode, fixing the lintian
+warnings: hardening-no-relro and hardening-no-pie.
+
+ -- Keng-Yu Lin   Tue, 28 May 2019 15:47:36 +0800
+
 pluginhook (0~20150216.0~a320158-2) unstable; urgency=medium
 
   * Fix crypto's sub-repo import path (Closes: #790681)
diff -Nru pluginhook-0~20150216.0~a320158/debian/control pluginhook-0~20150216.0~a320158/debian/control
--- pluginhook-0~20150216.0~a320158/debian/control	2015-07-01 15:25:29.0 +0800
+++ pluginhook-0~20150216.0~a320158/debian/control	2019-05-28 15:47:36.0 +0800
@@ -1,14 +1,14 @@
 Source: pluginhook
 Section: utils
-Priority: extra
+Priority: optional
 Maintainer: Alessio Treglia 
 Build-Depends:
  debhelper (>= 9~),
  dh-golang,
  golang-go,
- golang-go.crypto-dev,
+ golang-golang-x-crypto-dev,
  golang-godebiancontrol-dev
-Standards-Version: 3.9.6
+Standards-Version: 4.3.0
 Homepage: http://github.com/progrium/pluginhook
 
 Package: pluginhook
diff -Nru pluginhook-0~20150216.0~a320158/debian/rules pluginhook-0~20150216.0~a320158/debian/rules
--- pluginhook-0~20150216.0~a320158/debian/rules	2015-07-01 15:25:29.0 +0800
+++ pluginhook-0~20150216.0~a320158/debian/rules	2019-05-28 15:47:36.0 +0800
@@ -2,12 +2,14 @@
 
 export DH_OPTIONS
 export DH_VERBOSE=1
-
 export DH_GOPKG := github.com/progrium/pluginhook
 
 %:
 	dh $@ --buildsystem=golang --with=golang
 
+override_dh_auto_build:
+	dh_auto_build -O--buildsystem=golang -- -buildmode=pie
+
 override_dh_auto_install:
 	dh_auto_install
 	rm -rf $(CURDIR)/debian/pluginhook/usr/share