[med-svn] [Git][med-team/libgzstream][master] 4 commits: routine-update: Packaging update
Lance Lin (@linqigang)
gitlab at salsa.debian.org
Tue Feb 20 12:54:51 GMT 2024
Lance Lin pushed to branch master at Debian Med / libgzstream
Commits:
3273dea8 by Lance Lin at 2024-02-19T22:02:55+07:00
routine-update: Packaging update
- - - - -
dfd4b196 by Lance Lin at 2024-02-19T22:03:17+07:00
routine-update: Standards-Version: 4.6.2
- - - - -
41b93113 by Lance Lin at 2024-02-20T19:42:15+07:00
d/rules: Copy gzstream.h back to original location (Closes: #1049635)
- - - - -
a1469d3f by Lance Lin at 2024-02-20T19:50:58+07:00
d/patches: Update hardening.patch to include missing CXXFLAGS for blhc
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/patches/hardening.patch
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libgzstream (1.5+git20171107.9a20658-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Standards-Version: 4.6.2 (routine-update)
+ * d/rules: Copy gzstream.h back to original location (Closes: #1049635)
+ * d/patches: Update hardening.patch to include missing CXXFLAGS for blhc
+
+ -- Lance Lin <lq27267 at gmail.com> Mon, 19 Feb 2024 22:01:17 +0700
+
libgzstream (1.5+git20171107.9a20658-1) unstable; urgency=medium
* Watchfile using mode=git
=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Priority: optional
Build-Depends: debhelper-compat (= 13),
d-shlibs,
zlib1g-dev
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/med-team/libgzstream
Vcs-Git: https://salsa.debian.org/med-team/libgzstream.git
Homepage: https://www.cs.unc.edu/Research/compgeom/gzstream/
=====================================
debian/patches/hardening.patch
=====================================
@@ -4,18 +4,19 @@ Description: Propagate hardening options
--- a/Makefile
+++ b/Makefile
-@@ -37,8 +37,8 @@ SOVERSION=0
+@@ -37,8 +37,9 @@
# CXX = CC -n32 -LANG:std # for SGI Irix 6.5, MIPSpro CC version 7.30
CXX = g++ # for Linux RedHat 6.1, g++ version 2.95.2
-CPPFLAGS = -I. -O
-LDFLAGS = -L. -lgzstream -lz
++CXXFLAGS+= -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
+CPPFLAGS+= -I. -O
+LDFLAGS += -L. -lgzstream -lz
AR = ar cr
# ----------------------------------------------------------------------------
-@@ -68,13 +68,13 @@ install: libgzstream.a test
+@@ -68,19 +69,19 @@
# *** O.K. Installation finished successfully. ***
gzstream.o : gzstream.C gzstream.h
@@ -32,3 +33,10 @@ Description: Propagate hardening options
libgzstream.a : gzstream.o
${AR} libgzstream.a gzstream.o
+
+ libgzstream.so : gzstream.C gzstream.h
+- ${CXX} ${CPPFLAGS} -fPIC -c -o gzstream.o gzstream.C
++ ${CXX} ${CPPFLAGS} ${CXXFLAGS} -fPIC -c -o gzstream.o gzstream.C
+ ${CXX} ${LDFLAGS} -shared -Wl,-soname,$@.$(SOVERSION) -o $@.$(SOVERSION) gzstream.o
+ ln -s $@.$(SOVERSION) $@
+
=====================================
debian/rules
=====================================
@@ -33,6 +33,7 @@ override_dh_install:
--exclude-la \
--movedev *.h usr/include \
debian/tmplibs/*.so
+ cp debian/libgzstream-dev/usr/include/gzstream.h gzstream.h
get-orig-source:
wget -O ../gzstream.tgz http://www.cs.unc.edu/Research/compgeom/gzstream/gzstream.tgz
View it on GitLab: https://salsa.debian.org/med-team/libgzstream/-/compare/33f34591577ff2472960138f874620dce7422390...a1469d3f83e03c0abf62f2bcebf309183d78b930
--
View it on GitLab: https://salsa.debian.org/med-team/libgzstream/-/compare/33f34591577ff2472960138f874620dce7422390...a1469d3f83e03c0abf62f2bcebf309183d78b930
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240220/dfded528/attachment-0001.htm>
More information about the debian-med-commit
mailing list