Package: src:libecap
Version: 1.0.1-3
Tags: patch

Please could you consider applying the attached patch to the package?  It
includes the following fixes:

  * Don't encode the build environment in the include headers. Closes: #815820.
  * Bump standards and debhelper versions.
  * Drop obsolete g++ build dependency.
  * Build with optimization and hardening flags.
  * Create symbols file for the libecap3 shared library.

I'm planning to do a NMU later this/next months.

Thanks, Matthias
diff -Nru libecap-1.0.1/debian/changelog libecap-1.0.1/debian/changelog
--- libecap-1.0.1/debian/changelog      2016-02-17 00:59:20.000000000 +0100
+++ libecap-1.0.1/debian/changelog      2016-09-27 00:23:35.000000000 +0200
@@ -1,3 +1,14 @@
+libecap (1.0.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't encode the build environment in the include headers. Closes: #815820.
+  * Bump standards and debhelper versions.
+  * Drop obsolete g++ build dependency.
+  * Build with optimization and hardening flags.
+  * Create symbols file for the libecap3 shared library.
+
+ -- Matthias Klose <d...@debian.org>  Tue, 27 Sep 2016 00:23:35 +0200
+
 libecap (1.0.1-3) unstable; urgency=medium
 
   * Multiarchify the package (thanks to Matthias Klose) (Closes: #812911)
diff -Nru libecap-1.0.1/debian/control libecap-1.0.1/debian/control
--- libecap-1.0.1/debian/control        2016-02-17 00:59:20.000000000 +0100
+++ libecap-1.0.1/debian/control        2016-09-27 00:23:35.000000000 +0200
@@ -1,8 +1,8 @@
 Source: libecap
 Priority: extra
 Maintainer: Luigi Gangitano <lu...@debian.org>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev, cdbs, dh-autoreconf, g++ 
(>= 4:5.2)
-Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9), autotools-dev, cdbs, dh-autoreconf
+Standards-Version: 3.9.8
 Section: libs
 Homepage: http://www.e-cap.org/Downloads
 
diff -Nru libecap-1.0.1/debian/libecap3.symbols 
libecap-1.0.1/debian/libecap3.symbols
--- libecap-1.0.1/debian/libecap3.symbols       1970-01-01 01:00:00.000000000 
+0100
+++ libecap-1.0.1/debian/libecap3.symbols       2016-09-27 00:23:35.000000000 
+0200
@@ -0,0 +1,131 @@
+# SymbolsHelper-Confirmed: 1.0.1 amd64 armhf i386 powerpc
+libecap.so.3 libecap3 #MINVER#
+ _ZN7libecap10methodHeadE@Base 1.0.1
+ _ZN7libecap10methodPostE@Base 1.0.1
+ _ZN7libecap11metaVirusIdE@Base 1.0.1
+ _ZN7libecap11methodTraceE@Base 1.0.1
+ _ZN7libecap11protocolFtpE@Base 1.0.1
+ _ZN7libecap11protocolUrnE@Base 1.0.1
+ _ZN7libecap12RegisterHostERKNSt3tr110shared_ptrINS_4host4HostEEE@Base 1.0.1
+ _ZN7libecap12metaClientIpE@Base 1.0.1
+ _ZN7libecap12metaServerIpE@Base 1.0.1
+ _ZN7libecap12metaUserNameE@Base 1.0.1
+ _ZN7libecap12methodDeleteE@Base 1.0.1
+ _ZN7libecap12protocolHttpE@Base 1.0.1
+ _ZN7libecap12protocolWaisE@Base 1.0.1
+ 
_ZN7libecap13TextExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKci@Base
 1.0.1
+ 
_ZN7libecap13TextExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKci@Base
 1.0.1
+ _ZN7libecap13TextExceptionD0Ev@Base 1.0.1
+ _ZN7libecap13TextExceptionD1Ev@Base 1.0.1
+ _ZN7libecap13TextExceptionD2Ev@Base 1.0.1
+ _ZN7libecap13VersionStringEv@Base 1.0.1
+ _ZN7libecap13headerRefererE@Base 1.0.1
+ _ZN7libecap13methodConnectE@Base 1.0.1
+ _ZN7libecap13methodOptionsE@Base 1.0.1
+ _ZN7libecap13protocolHttpsE@Base 1.0.1
+ _ZN7libecap13protocolWhoisE@Base 1.0.1
+ _ZN7libecap14protocolGopherE@Base 1.0.1
+ _ZN7libecap15RegisterServiceEPNS_7adapter7ServiceE@Base 1.0.1
+ _ZN7libecap15headerXClientIpE@Base 1.0.1
+ _ZN7libecap15headerXServerIpE@Base 1.0.1
+ _ZN7libecap16metaNextServicesE@Base 1.0.1
+ _ZN7libecap16metaResponseDescE@Base 1.0.1
+ _ZN7libecap16metaResponseInfoE@Base 1.0.1
+ _ZN7libecap16metaSubscriberIdE@Base 1.0.1
+ _ZN7libecap19headerContentLengthE@Base 1.0.1
+ _ZN7libecap20StdStringAreaDetailsD0Ev@Base 1.0.1
+ _ZN7libecap20StdStringAreaDetailsD1Ev@Base 1.0.1
+ _ZN7libecap20StdStringAreaDetailsD2Ev@Base 1.0.1
+ _ZN7libecap21metaAuthenticatedUserE@Base 1.0.1
+ _ZN7libecap22headerTransferEncodingE@Base 1.0.1
+ _ZN7libecap23metaAuthenticatedGroupsE@Base 1.0.1
+ _ZN7libecap24RegisterVersionedServiceEPNS_7adapter7ServiceEPKc@Base 1.0.1
+ (arch-bits=32)_ZN7libecap4Area14FromTempBufferEPKcj@Base 1.0.1
+ (arch-bits=64)_ZN7libecap4Area14FromTempBufferEPKcm@Base 1.0.1
+ 
_ZN7libecap4Area14FromTempStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base
 1.0.1
+ _ZN7libecap4Name6NextIdEv@Base 1.0.1
+ _ZN7libecap4Name9TheLastIdE@Base 1.0.1
+ 
_ZN7libecap4NameC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 
1.0.1
+ 
_ZN7libecap4NameC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi@Base 
1.0.1
+ _ZN7libecap4NameC1Ev@Base 1.0.1
+ 
_ZN7libecap4NameC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 
1.0.1
+ 
_ZN7libecap4NameC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi@Base 
1.0.1
+ _ZN7libecap4NameC2Ev@Base 1.0.1
+ _ZN7libecap4NameD1Ev@Base 1.0.1
+ _ZN7libecap4NameD2Ev@Base 1.0.1
+ _ZN7libecap5ThrowEPKcS1_i@Base 1.0.1
+ _ZN7libecap5nsizeE@Base 1.0.1
+ _ZN7libecap6MyHostEv@Base 1.0.1
+ _ZN7libecap7Message10addTrailerEv@Base 1.0.1
+ _ZN7libecap7Message7trailerEv@Base 1.0.1
+ _ZN7libecap7adapter7Service4stopEv@Base 1.0.1
+ _ZN7libecap7adapter7Service5startEv@Base 1.0.1
+ _ZN7libecap7adapter7Service6resumeEv@Base 1.0.1
+ _ZN7libecap7adapter7Service6retireEv@Base 1.0.1
+ _ZN7libecap7adapter7Service7suspendER7timeval@Base 1.0.1
+ _ZN7libecap7adapter7Xaction6resumeEv@Base 1.0.1
+ _ZN7libecap7adapter7Xaction7abPauseEv@Base 1.0.1
+ _ZN7libecap7adapter7Xaction8abResumeEv@Base 1.0.1
+ _ZN7libecap9headerViaE@Base 1.0.1
+ _ZN7libecap9methodGetE@Base 1.0.1
+ _ZN7libecap9methodPutE@Base 1.0.1
+ _ZN7libecaplsERSoRKNS_4AreaE@Base 1.0.1
+ _ZNK7libecap13TextException4whatEv@Base 1.0.1
+ _ZNK7libecap13TextException5printERSo@Base 1.0.1
+ _ZNK7libecap4Area8toStringB5cxx11Ev@Base 1.0.1
+ _ZNK7libecap4Name12assignHostIdEi@Base 1.0.1
+ _ZNK7libecap4Name14assignedHostIdEv@Base 1.0.1
+ _ZNK7libecap7Message7trailerEv@Base 1.0.1
+ _ZNK7libecap7adapter7Service18makesAsyncXactionsEv@Base 1.0.1
+ _ZNK7libecap8BodySize7badSizeEv@Base 1.0.1
+ (optional=templinst)_ZNSt3tr110shared_ptrIN7libecap4host4HostEED1Ev@Base 1.0.1
+ (optional=templinst)_ZNSt3tr110shared_ptrIN7libecap4host4HostEED2Ev@Base 1.0.1
+ 
(optional=templinst)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEED1Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEED2Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt7__cxx114listISt4pairINS_12basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEESaISD_EED1Ev@Base
 1.0.1
+ 
(optional=templinst)_ZNSt7__cxx114listISt4pairINS_12basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEESaISD_EED2Ev@Base
 1.0.1
+ _ZTIN7libecap11AreaDetailsE@Base 1.0.1
+ _ZTIN7libecap13TextExceptionE@Base 1.0.1
+ _ZTIN7libecap20StdStringAreaDetailsE@Base 1.0.1
+ _ZTIN7libecap7MessageE@Base 1.0.1
+ _ZTIN7libecap7OptionsE@Base 1.0.1
+ _ZTIN7libecap7adapter7ServiceE@Base 1.0.1
+ _ZTIN7libecap7adapter7XactionE@Base 1.0.1
+ _ZTINSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armhf)_ZTINSt3tr111_Sp_deleterIN7libecap20StdStringAreaDetailsEEE@Base 
1.0.1
+ (arch=armhf)_ZTINSt3tr111_Sp_deleterIN7libecap7adapter7ServiceEEE@Base 1.0.1
+ _ZTINSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ 
_ZTINSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
+ 
_ZTINSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
+ _ZTSN7libecap11AreaDetailsE@Base 1.0.1
+ _ZTSN7libecap13TextExceptionE@Base 1.0.1
+ _ZTSN7libecap20StdStringAreaDetailsE@Base 1.0.1
+ _ZTSN7libecap7MessageE@Base 1.0.1
+ _ZTSN7libecap7OptionsE@Base 1.0.1
+ _ZTSN7libecap7adapter7ServiceE@Base 1.0.1
+ _ZTSN7libecap7adapter7XactionE@Base 1.0.1
+ _ZTSNSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ _ZTSNSt3tr111_Sp_deleterIN7libecap20StdStringAreaDetailsEEE@Base 1.0.1
+ _ZTSNSt3tr111_Sp_deleterIN7libecap7adapter7ServiceEEE@Base 1.0.1
+ _ZTSNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ 
_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
+ 
_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
+ _ZTVN7libecap13TextExceptionE@Base 1.0.1
+ _ZTVN7libecap20StdStringAreaDetailsE@Base 1.0.1
+ _ZTVN7libecap7MessageE@Base 1.0.1
+ _ZTVN7libecap7adapter7ServiceE@Base 1.0.1
+ _ZTVN7libecap7adapter7XactionE@Base 1.0.1
+ 
_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
+ 
_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base
 1.0.1
diff -Nru libecap-1.0.1/debian/patches/arch-indep-autoconf-header.diff 
libecap-1.0.1/debian/patches/arch-indep-autoconf-header.diff
--- libecap-1.0.1/debian/patches/arch-indep-autoconf-header.diff        
1970-01-01 01:00:00.000000000 +0100
+++ libecap-1.0.1/debian/patches/arch-indep-autoconf-header.diff        
2016-09-27 00:23:35.000000000 +0200
@@ -0,0 +1,14 @@
+Index: b/cfgaux/xstd_common.ac
+===================================================================
+--- a/cfgaux/xstd_common.ac
++++ b/cfgaux/xstd_common.ac
+@@ -1,9 +1,5 @@
+ dnl generally useful checks
+ 
+-dnl general stuff used by other checks
+-dnl AC_CANONICAL_HOST
+-AC_DEFINE_UNQUOTED(CONFIG_HOST_TYPE, "$host", "build environment")
+-
+ dnl check for programs
+ AC_PROG_INSTALL
+ 
diff -Nru libecap-1.0.1/debian/patches/automake-foreign.patch 
libecap-1.0.1/debian/patches/automake-foreign.patch
--- libecap-1.0.1/debian/patches/automake-foreign.patch 2016-02-17 
00:59:20.000000000 +0100
+++ libecap-1.0.1/debian/patches/automake-foreign.patch 2016-09-27 
00:23:35.000000000 +0200
@@ -3,8 +3,10 @@
 Bug-Debian: https://bugs.debian.org/766492
 Last-Update: 2014-11-08
 
---- libecap-0.2.0.orig/configure.in
-+++ libecap-0.2.0/configure.in
+Index: b/configure.in
+===================================================================
+--- a/configure.in
++++ b/configure.in
 @@ -14,7 +14,7 @@ AC_CONFIG_SRCDIR([src/libecap/adapter/se
  AC_CONFIG_HEADERS(src/libecap/common/ac-autoconf.h)
  AX_PREFIX_CONFIG_H(src/libecap/common/autoconf.h)
diff -Nru libecap-1.0.1/debian/patches/series 
libecap-1.0.1/debian/patches/series
--- libecap-1.0.1/debian/patches/series 2016-02-17 00:59:20.000000000 +0100
+++ libecap-1.0.1/debian/patches/series 2016-09-27 00:23:35.000000000 +0200
@@ -1 +1,2 @@
 automake-foreign.patch
+arch-indep-autoconf-header.diff
diff -Nru libecap-1.0.1/debian/rules libecap-1.0.1/debian/rules
--- libecap-1.0.1/debian/rules  2016-02-17 00:59:20.000000000 +0100
+++ libecap-1.0.1/debian/rules  2016-09-27 00:23:35.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-CXXFLAGS       += -Wall -std=c++11
+export DEB_CXXFLAGS_MAINT_APPEND = -Wall -std=c++11
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk

Reply via email to