[Debian-iot-packaging] [yder] 02/02: Import Debian changes 1.1.1-1
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Mar 19 21:44:55 UTC 2018
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository yder.
commit c9d86e792e20d27c3d6b9d9ac3f7775ce31f810c
Merge: 4785c39 352bb7a
Author: Thorsten Alteholz <debian at alteholz.de>
Date: Sun Jan 21 18:01:00 2018 +0100
Import Debian changes 1.1.1-1
yder (1.1.1-1) unstable; urgency=medium
* New upstream release
* debian/control: bump standard to 4.1.3 (no changes)
* debian/control: use dh11
.gitignore | 1 +
README.md | 45 +++++++++
debian/changelog | 8 ++
debian/compat | 2 +-
debian/control | 13 +--
debian/patches/hardening.patch | 19 ++--
src/Makefile | 24 ++++-
src/yder.c | 214 ++++++++++++++++++++---------------------
src/yder.h | 2 +-
9 files changed, 198 insertions(+), 130 deletions(-)
diff --cc debian/changelog
index fe6d756,0000000..fc3164c
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,18 -1,0 +1,26 @@@
++yder (1.1.1-1) unstable; urgency=medium
++
++ * New upstream release
++ * debian/control: bump standard to 4.1.3 (no changes)
++ * debian/control: use dh11
++
++ -- Thorsten Alteholz <debian at alteholz.de> Sun, 21 Jan 2018 18:01:00 +0100
++
+yder (1.1-3) unstable; urgency=medium
+
+ * debian/control: bump standard to 4.1.0 (no changes)
+ * debian/control: add VCS URLs
+
+ -- Thorsten Alteholz <debian at alteholz.de> Sat, 02 Sep 2017 19:28:42 +0200
+
+yder (1.1-2) unstable; urgency=medium
+
+ * update dependencies
+
+ -- Thorsten Alteholz <debian at alteholz.de> Mon, 24 Jul 2017 20:18:42 +0200
+
+yder (1.1-1) unstable; urgency=medium
+
+ * Initial release
+
+ -- Thorsten Alteholz <debian at alteholz.de> Sun, 23 Jul 2017 19:32:33 +0200
diff --cc debian/compat
index f599e28,0000000..b4de394
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 10
++11
diff --cc debian/control
index 005a3ba,0000000..399508c
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,37 -1,0 +1,38 @@@
+Source: yder
+Section: devel
+Priority: optional
+Maintainer: Thorsten Alteholz <debian at alteholz.de>
- Build-Depends: debhelper (>= 10)
++Build-Depends: debhelper (>= 11)
+ , liborcania-dev
+ , libjansson-dev
- Standards-Version: 4.1.0
++Standards-Version: 4.1.3
+Homepage: https://github.com/babelouest/yder
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-iot/yder.git
+Vcs-Git: https://anonscm.debian.org/git/debian-iot/yder.git
+
+Package: libyder2.0
+Architecture: any
++Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: logging library written in C
- Simple and easy to use logging library. You can log messages to the
++ Simple and easy to use logging library. You can log messages to the
+ console, a file or syslog.
+ .
- Yder is mono-thread, which mean that you can use only one instance
++ Yder is mono-thread, which mean that you can use only one instance
+ of yder log at the same time in your program.
+
+Package: libyder-dev
+Architecture: any
+Section: libdevel
+Depends: libyder2.0 (= ${binary:Version})
+ , ${misc:Depends}
+ , liborcania-dev
+ , libjansson-dev
+Description: logging library written in C - development
- Simple and easy to use logging library. You can log messages to the
++ Simple and easy to use logging library. You can log messages to the
+ console, a file or syslog.
+ .
- Yder is mono-thread, which mean that you can use only one instance
++ Yder is mono-thread, which mean that you can use only one instance
+ of yder log at the same time in your program.
+ .
+ This package contains the development files.
diff --cc debian/patches/hardening.patch
index 12c8ed3,0000000..2647442
mode 100644,000000..100644
--- a/debian/patches/hardening.patch
+++ b/debian/patches/hardening.patch
@@@ -1,29 -1,0 +1,34 @@@
+Description: add hardening flags
+Author: Thorsten Alteholz <debian at alteholz.de>
- Index: yder-1.1/src/Makefile
++Index: yder-1.1.1/src/Makefile
+===================================================================
- --- yder-1.1.orig/src/Makefile 2017-05-25 14:44:28.000000000 +0200
- +++ yder-1.1/src/Makefile 2017-07-18 15:51:53.404125171 +0200
- @@ -20,7 +20,7 @@
++--- yder-1.1.1.orig/src/Makefile 2018-01-22 12:31:56.623344237 +0100
+++++ yder-1.1.1/src/Makefile 2018-01-22 12:34:13.535344439 +0100
++@@ -20,22 +20,23 @@
+ #
+ PREFIX=/usr/local
+ CC=gcc
+-CFLAGS=-c -fPIC -Wall -D_REENTRANT $(ADDITIONALFLAGS)
++CFLAGS+=-c -fPIC -Wall -D_REENTRANT $(ADDITIONALFLAGS)
+ LIBS=-lc -lorcania
+ OUTPUT=libyder.so
- VERSION=2.0
- @@ -28,11 +28,11 @@
++-VERSION=1.1.1
+++#we still have soname 2.0: VERSION=1.1.1
+++VERSION=2.0
++
+ all: release
+
+ libyder.so: yder.o
+- $(CC) -shared -Wl,-soname,$(OUTPUT) -o $(OUTPUT).$(VERSION) yder.o $(LIBS)
++ $(CC) -shared -Wl,-soname,$(OUTPUT).$(VERSION) -o $(OUTPUT).$(VERSION) yder.o $(LIBS) $(LDFLAGS)
+ ln -sf $(OUTPUT).$(VERSION) $(OUTPUT)
+
++ libyder.a: yder.o
++ ar rcs libyder.a yder.o
++
+ yder.o: yder.h yder.c
+- $(CC) $(CFLAGS) yder.c
++ $(CC) $(CFLAGS) $(CPPFLAGS) yder.c
+
+ clean:
- rm -f *.o *.so $(OUTPUT) $(OUTPUT).*
++ rm -f *.o *.so *.a $(OUTPUT) $(OUTPUT).*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/yder.git
More information about the Debian-iot-packaging
mailing list