Page MenuHomePhabricator

No OneTemporary

diff --git a/debian/control b/debian/control
index 19d65d06..578f03a3 100644
--- a/debian/control
+++ b/debian/control
@@ -1,35 +1,35 @@
Source: python-sipsimple
Section: python
Priority: optional
Maintainer: Dan Pascu <dan@ag-projects.com>
Uploaders: Adrian Georgescu <ag@ag-projects.com>, Lucian Stanescu <luci@ag-projects.com>, Saul Ibarra <saul@ag-projects.com>
-Build-Depends: debhelper (>= 7.3.5), python-all-dev (>= 2.6), python-all-dbg (>= 2.6), cython-dbg (>= 0.13.0), libasound2-dev, libssl-dev
+Build-Depends: debhelper (>= 7.3.5), python-all-dev (>= 2.6), python-all-dbg (>= 2.6), cython-dbg (>= 0.13.0), libasound2-dev, libssl-dev, hardening-wrapper
Standards-Version: 3.9.3
Homepage: http://sipsimpleclient.com
Package: python-sipsimple
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-application (>= 1.4.0), python-backports, python-dateutil, python-dnspython (>= 1.6), python-eventlib, python-gnutls, python-lxml, python-msrplib (>= 0.15.0), python-twisted-core (>= 8.1.0), python-xcaplib (>= 1.0.17)
Suggests: libavahi-compat-libdnssd1
Provides: ${python:Provides}
Description: Python SDK for development of SIP end-points
SIP SIMPLE client SDK is a Software Development Kit for easy development of
SIP end-points that support rich media like Audio, Instant Messaging, File
Transfers, Desktop Sharing and Presence. Other media types can be easily
added by using an extensible high-level API.
Package: python-sipsimple-dbg
Architecture: any
Priority: extra
Section: debug
Depends: ${shlibs:Depends}, ${misc:Depends}, python-sipsimple (= ${binary:Version})
Recommends: python-all-dbg
Provides: ${python:Provides}
Description: Python SDK for development of SIP end-points (debug symbols)
SIP SIMPLE client SDK is a Software Development Kit for easy development of
SIP end-points that support rich media like Audio, Instant Messaging, File
Transfers, Desktop Sharing and Presence. Other media types can be easily
added by using an extensible high-level API.
.
This package includes debugging symbols for the python-sipsimple package.
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
deleted file mode 100644
index b5a5dec9..00000000
--- a/debian/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-python-sipsimple binary: possible-gpl-code-linked-with-openssl
-python-sipsimple-dbg binary: possible-gpl-code-linked-with-openssl
diff --git a/debian/python-sipsimple-dbg.lintian-overrides b/debian/python-sipsimple-dbg.lintian-overrides
new file mode 100644
index 00000000..2b326e41
--- /dev/null
+++ b/debian/python-sipsimple-dbg.lintian-overrides
@@ -0,0 +1 @@
+binary: possible-gpl-code-linked-with-openssl
diff --git a/debian/python-sipsimple.lintian-overrides b/debian/python-sipsimple.lintian-overrides
new file mode 100644
index 00000000..2b326e41
--- /dev/null
+++ b/debian/python-sipsimple.lintian-overrides
@@ -0,0 +1 @@
+binary: possible-gpl-code-linked-with-openssl
diff --git a/debian/rules b/debian/rules
index b34edddd..e320e2f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,45 +1,41 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-BUILDFLAGS_MK=/usr/share/dpkg/buildflags.mk
-if [ -a $(BUILDFLAGS_MK) ]; then \
- DPKG_EXPORT_BUILDFLAGS=1; \
- include $(BUILDFLAGS_MK); \
-fi; \
+export DEB_BUILD_HARDENING=1
PYVERS:=$(shell pyversions -r)
%:
dh $@ --with python2
override_dh_clean:
dh_clean
rm -rf build dist MANIFEST
override_dh_auto_build:
for python in $(PYVERS); do \
$$python-dbg setup.py build_ext --pjsip-clean-compile; \
$$python setup.py build_ext --pjsip-clean-compile; \
$$python setup.py build; \
done
override_dh_auto_install:
for python in $(PYVERS); do \
$$python-dbg setup.py install --force --skip-build --no-compile --prefix /usr --root $(CURDIR)/debian/tmp --install-layout deb; \
$$python setup.py install --force --skip-build --no-compile --prefix /usr --root $(CURDIR)/debian/tmp --install-layout deb; \
done
override_dh_install:
# Install everything excluding the *_d.so debug extensions
dh_install -X"*_d.so" "debian/tmp/*" -p python-sipsimple
# Install the debug extensions to -dbg package
dh_install "debian/tmp/usr/lib/python*/*-packages/sipsimple/core/*_d.so" -p python-sipsimple-dbg
# Continue with regular dh_install
dh_install
override_dh_strip:
# Stripped symbols go into -dbg package
dh_strip --dbg-package=python-sipsimple-dbg
.PHONY: override_dh_clean override_dh_auto_build override_dh_auto_install override_dh_install override_dh_strip

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 6:27 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3408935
Default Alt Text
(4 KB)

Event Timeline