From a09b2aa43b92968ba4720c495874ae126daa994c084f2d1fa0f75d13153daf80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 18 May 2016 04:21:11 +0000 Subject: [PATCH] Accepting request 396452 from home:pluskalm:branches:devel:libraries:c_c++ - Update to version 0.8.3: * Fix unportable sizeof() usage * Fix file descriptor leak in HASHFileChunk helper * Switch URLs from http or git to https * build: Support clock_gettime() provided in librt * man: Fix ungrammatical construct * test: Add a unit test for md5 * Add missing includes - Changes for 0.8.2: * test: Fix success return code for arc4random unit test * test: Add missing include * Fix heap buffer overflow in fgetwln() * test: Fix race condition in headers-*.sh - Enable internal tests - Use correct package categories OBS-URL: https://build.opensuse.org/request/show/396452 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=22 --- libbsd-0.8.1.tar.xz | 3 --- libbsd-0.8.1.tar.xz.asc | 17 ----------------- libbsd-0.8.3.tar.xz | 3 +++ libbsd-0.8.3.tar.xz.asc | 17 +++++++++++++++++ libbsd.changes | 19 +++++++++++++++++++ libbsd.spec | 29 ++++++++++++++++------------- 6 files changed, 55 insertions(+), 33 deletions(-) delete mode 100644 libbsd-0.8.1.tar.xz delete mode 100644 libbsd-0.8.1.tar.xz.asc create mode 100644 libbsd-0.8.3.tar.xz create mode 100644 libbsd-0.8.3.tar.xz.asc diff --git a/libbsd-0.8.1.tar.xz b/libbsd-0.8.1.tar.xz deleted file mode 100644 index 2c0e19b..0000000 --- a/libbsd-0.8.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:adbc8781ad720bce939b689f38a9f0247732a36792147a7c28027c393c2af9b0 -size 343624 diff --git a/libbsd-0.8.1.tar.xz.asc b/libbsd-0.8.1.tar.xz.asc deleted file mode 100644 index 888b0ca..0000000 --- a/libbsd-0.8.1.tar.xz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQIcBAABCAAGBQJWbjAYAAoJELlyvz6krlej2FMP/2041Fxxr5o+7CnkbKi/AYCJ -k6qrDV0K9AS9hkzNYnkq2HM5MyvKiQ7pYewnB0M/sGInsgAckk3tp8d91vfchj45 -tSTaTfEt9/E0lBqNy7tsn9P6ufc92HK+r5Hv4IAnnRH526K6GUwmLt/7MU59wjrn -EQo+PWMZWxzjck5pKydOeeWJDW2cliN/CsrHpjRtyxKVy1Ps3qHleHBjLcz5hZ11 -7r2ptiw5r6H2rAkkWadJ8wHmLi9Bp98RxRQnAG73u4eBySquiak81x6Te8NJJh08 -R65CdF72eNSjwZgHx4SCIKeN3oxOjaDGzXPs7a5WNDOoeRTJtuSBsjM9qBUH/BBn -tXd3zsxA6dNH7dIeGCu4E06CGQJNB0hAC18LTahLx4Yne2uOqsFDE0/NznCqjAVD -R3geqZIXStve8ujT9hHYrCCHAMFyRw/931S4c7WnaggNhh/+GzXKCW9EWrKdfXhm -VnszgB01SmhptkGjfMMyKbRygJzP9wMjtQVWfEBqAwH+iVOg/MAW7nSDMvBbuioB -n0tTgehMyZv36PeXQL15aPYazHvz5TluVfwh8cLIwR0fp5uXuUVNhLJMQ1ptDZkN -AHCmSXNqKtIOV9eeSp9QNg2384dkfTZcHGUxe6mUKHthBPQFoFBkBgRpkNq4imDP -lnDUeYUWdpFV0ORXSUc3 -=WO5O ------END PGP SIGNATURE----- diff --git a/libbsd-0.8.3.tar.xz b/libbsd-0.8.3.tar.xz new file mode 100644 index 0000000..2562a6f --- /dev/null +++ b/libbsd-0.8.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 +size 356772 diff --git a/libbsd-0.8.3.tar.xz.asc b/libbsd-0.8.3.tar.xz.asc new file mode 100644 index 0000000..c599dcb --- /dev/null +++ b/libbsd-0.8.3.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAABCgAGBQJXGzHSAAoJELlyvz6krlej4IEQAJ9wSqwZnDIdkI2ubHMA5hgs +jr+0MXhb7aq8v+BPjh/FGSJp9sElD5Q6LJFqEVc2TYP6DCrftmZ18zrFAPgaITai +zAvLe2cmJ48KyL4srlTMvaMw1VTDdXnFadObvmYKiHnIv77fV7WAgCO5MtpBhW4y +oIj2mIrWLSHGT0L9xA7C/S8Y8PkDpMHzrJDrWqMnHOcC90pfvL33I6IRO3QXjHBf +Vm3Xnc2axjpW/6YIZExDaYTJDI87LRlpHSecXGsJP1r4qcKGweIwj+dkFpLz7VHF +ZsUtlUnaOoa5XHEw2ZKSoLZC09oBC+XNQhNJJ9fV41eq/bSE7J3LkbHOuJONRS40 +AqccDntAGhsoElUdJ74IDzJWnxo3oNCAKbjJv+maZtRxPmsLb+HE3OqB4apcNb5/ +aQh+sBjXrfksGo0zhskM2XV4BpyvGGWSIvWY8j7pqeyYjN2BtK+i47thDi96Z7EG +PiKBWscEovumIEnRjX/NAxN3uCGJukrtclCzMKvBVX4nSQ4iUbp3Y+RCCrDEsyd5 +FhAhxzs4nMC7S3dLQAWPTZV4S+bds4d50unZs9btPUuF3V2BGtTGMaeTJyPNPzRk +4JWqyveRsFZ8dWxoc2w5I5EKpsCJsPY5b4prEirxd0QHRPb0MOdOYQlNBYgLsNp/ +e0mU6kZJ0VWEnr/GdO+L +=8WvS +-----END PGP SIGNATURE----- diff --git a/libbsd.changes b/libbsd.changes index 015173f..2476f9d 100644 --- a/libbsd.changes +++ b/libbsd.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue May 17 16:03:07 UTC 2016 - mpluskal@suse.com + +- Update to version 0.8.3: + * Fix unportable sizeof() usage + * Fix file descriptor leak in HASHFileChunk helper + * Switch URLs from http or git to https + * build: Support clock_gettime() provided in librt + * man: Fix ungrammatical construct + * test: Add a unit test for md5 + * Add missing includes +- Changes for 0.8.2: + * test: Fix success return code for arc4random unit test + * test: Add missing include + * Fix heap buffer overflow in fgetwln() + * test: Fix race condition in headers-*.sh +- Enable internal tests +- Use correct package categories + ------------------------------------------------------------------- Mon Dec 28 14:13:16 UTC 2015 - idonmez@suse.com diff --git a/libbsd.spec b/libbsd.spec index 5ae2121..f56d50d 100644 --- a/libbsd.spec +++ b/libbsd.spec @@ -1,7 +1,7 @@ # # spec file for package libbsd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,20 @@ %define lname libbsd0 Name: libbsd -Version: 0.8.1 +Version: 0.8.3 Release: 0 Summary: Provides useful functions commonly found on BSD systems License: BSD-3-Clause -Group: System Environment/Libraries +Group: Development/Languages/C and C++ Url: http://libbsd.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/git/libbsd #Git-Web: http://cgit.freedesktop.org/libbsd/ Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz Source1: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring -BuildRequires: pkg-config -BuildRequires: openssl-devel BuildRequires: fdupes +BuildRequires: openssl-devel +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -52,7 +52,7 @@ over again on each project. %package devel Summary: Development headers and files for libbsd -Group: Development/Libraries +Group: Development/Languages/C and C++ Requires: %{lname} = %{version} Requires: glibc-devel @@ -63,10 +63,10 @@ with strong BSD origins, without needing to embed the same code over and over again on each project. %package ctor-static -Summary: Development headers and files for libbsd -Group: Development/Libraries -Requires: %{lname} = %{version}-%{release} -Requires: pkgconfig +Summary: Development headers and files for libbsd +Group: Development/Languages/C and C++ +Requires: %{lname} = %{version}-%{release} +Requires: pkgconfig %description ctor-static The libbsd-ctor static library is required if setproctitle() is to be used @@ -83,12 +83,14 @@ configured using "pkg-config --libs libbsd-ctor". make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print +make %{?_smp_mflags} DESTDIR=%{buildroot} install +find %{buildroot} -type f -name "*.la" -delete -print %fdupes -s %{buildroot} -%post -n %{lname} -p /sbin/ldconfig +%check +make %{?_smp_mflags} check +%post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig %files -n %{lname} @@ -105,6 +107,7 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libbsd-overlay.pc %files ctor-static +%defattr(-,root,root) %{_libdir}/libbsd-ctor.a %{_libdir}/pkgconfig/libbsd-ctor.pc