Sync from SUSE:SLFO:Main libpipeline revision f586af30d9767960d36d65fdd079cf54

This commit is contained in:
Adrian Schröter 2024-05-03 15:29:18 +02:00
commit e8e5253b14
6 changed files with 5515 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libpipeline-1.5.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmNxcY4ACgkQOTWH2X2G
UAu27w//cPsH5hVvSaiyr+s+y3jWlqtA1ILztMIlB9XZ+1227sSdTmixPAd0J7OT
9ryU/CYgtPI+C6I4BgFZUtXZwdmjrnv/jbVC5xEj6JiWheqy8Y9R2W2DWuidH0Ns
r2STuFn5eXuCjO0ptfUPPotSOad+YiiggcC/Zbiz19iE7wKvDNu5QPW9IrvErc+8
NUwvIb1QxdGeG3+xdXmnvkkoNJXIsnYpZSqWz0HP1aPULBB/bGiItmr3KCJML+XT
1yk2LYpFQtS+l4WBKNTgerWHOd96oDsHdgRYp85DBLFkKBw0hJTzYhK4RmCVhuj6
5HDIQ/j5vUBBHDNOaBSiTCwVL4TSKYPgJzfHZM0aQzYGo5ObnDUyBOS4gggz38mc
uRAjYbSMp8RnqzJTmHrVBpB0SjZcWroZTgM9nx9XmHQnHaQwmNgKXwpFrUzrNI+j
ZkvnfUT7mEdE2X/AVx5tVy2MGqbqhRrlmwKZnpGKU5gjX2OsVXcrBqoq4LtyaXap
LQzAFFqDpk7ELsMYvUFMoGsmwybYjB9fFtv0Yho+97HXogPisOnrO1/HYbWVEPEr
9Ur9lhShlrSe5LkjjFwwVhyZraIaRAHaKQv2/23eWq9hMAMKptJfJhmf+52GRCyO
e7jXlGfspS89lB5LgvErG1WEwQ01wkHpDmFWMocKgEkgLEhcj+I=
=MPbs
-----END PGP SIGNATURE-----

111
libpipeline.changes Normal file
View File

@ -0,0 +1,111 @@
-------------------------------------------------------------------
Thu Nov 17 16:24:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.5.7:
* Add notes to libpipeline(3) of when functions were added.
* Transferred Git repository to https://gitlab.com/libpipeline/libpipeline.
* Make `socketpair` tests used by `./configure --enable-socketpair-pipe`
compatible with C23.
-------------------------------------------------------------------
Thu Apr 28 18:56:02 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.5.6:
* Fix handling of leading whitespace in `pipecmd_new_argstr` and
`pipecmd_argstr`.
-------------------------------------------------------------------
Tue Jan 11 08:03:36 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Update to 1.5.5:
* Move release process to GitLab CI.
- Back to download from savannah.nongnu.org for a fully bootstrapped
tar ball without the need of autoconfig and gl
Compare https://gitlab.com/cjwatson/libpipeline/-/releases
and https://gitlab.com/cjwatson/libpipeline/-/packages/4425007
-------------------------------------------------------------------
Fri Dec 17 16:00:32 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Use autoconf
-------------------------------------------------------------------
Mon Dec 6 08:07:08 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.5.4:
* Building libpipeline now requires Autoconf >= 2.64.
* Developmed moved to Gitlab
-------------------------------------------------------------------
Sun Sep 13 19:33:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.5.3:
* Fix implementation-defined behaviour while handling read/write errors.
* Port tests to the modern Check API.
* `pipecmd_exec' now calls `_exit' rather than `exit', to avoid bugs such as
* functions registered using `atexit' being called multiple times.
* Document that standard FDs must be open before calling `pipeline_start'.
* Building libpipeline now requires Autoconf >= 2.63 and Automake >= 1.11.2.
* Various portability improvements, via Gnulib.
-------------------------------------------------------------------
Fri Nov 23 14:12:20 UTC 2018 - Dr. Werner Fink <werner@suse.de>
- Update to version 1.5.0
* Add `pipecmd_pre_exec' to install a pre-exec handler for a single command.
* Fix EOF detection in get_line.
-------------------------------------------------------------------
Mon Nov 9 19:40:32 UTC 2015 - p.drouand@gmail.com
- Update to version 1.4.1
* Fix test failure with Check 0.10.0.
-------------------------------------------------------------------
Sun Jul 12 17:14:37 UTC 2015 - mpluskal@suse.com
- Add gpg signature
- Cleanup spec file with spec-cleaner
- Add missing dependency on pkg-config
-------------------------------------------------------------------
Thu Feb 12 17:07:32 UTC 2015 - p.drouand@gmail.com
- Update to version 1.4.0
* Various portability fixes for Solaris. This includes a
PIPELINE_QUIET environment variable which suppresses the error
message normally emitted when a subprocess is terminated by a signal.
* Add `pipecmd_fchdir', which is analogous to `pipecmd_chdir' but
takes an open file descriptor rather than a path.
-------------------------------------------------------------------
Wed Mar 19 09:02:03 UTC 2014 - werner@suse.de
- Update to libpipeline 1.2.6 (18 December 2013)
* Fix test_pump_tee to wait for its child processes before testing
their output, since otherwise not all their output might be flushed.
* pipeline_want_infile and pipeline_want_outfile now take copies of
their file name arguments.
* Restore compatibility with Automake 1.10.
* Build with large file support on systems where it is available.
* Provide a replacement clearenv function in order to support
non-glibc systems. Now tested on FreeBSD.
* Don't read uninitialised memory when testing for the end of long
lines (over 4096 bytes).
-------------------------------------------------------------------
Fri Jun 21 01:16:46 UTC 2013 - crrodriguez@opensuse.org
- Use LFS_CFLAGS properly for 32 bit archs.
-------------------------------------------------------------------
Mon Apr 15 12:46:05 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Mon Oct 1 14:04:57 UTC 2012 - werner@suse.de
- Initial package libpipeline as new man-db depend on it

5265
libpipeline.keyring Normal file

File diff suppressed because it is too large Load Diff

97
libpipeline.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package libpipeline
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libpipeline1
Name: libpipeline
Version: 1.5.7
Release: 0
Summary: A pipeline manipulation library
License: GPL-3.0-or-later
Group: System/Libraries
URL: https://www.nongnu.org/libpipeline/
Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: pkgconfig
%description
libpipeline is a C library for setting up and running pipelines of
processes, without needing to involve shell command-line parsing which
is often error-prone and insecure. This alleviates programmers of the
need to laboriously construct pipelines using lower-level primitives
such as fork(2) and execve(2).
%package -n %{lname}
Summary: A pipeline manipulation library
Group: System/Libraries
%description -n %{lname}
libpipeline is a C library for setting up and running pipelines of
processes, without needing to involve shell command-line parsing which
is often error-prone and insecure. This alleviates programmers of the
need to laboriously construct pipelines using lower-level primitives
such as fork(2) and execve(2).
%package devel
Summary: A pipeline manipulation library
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Provides: pkgconfig(%{name}) = %{version}
%description devel
libpipeline is a C library for setting up and running pipelines of
processes, without needing to involve shell command-line parsing which
is often error-prone and insecure. This alleviates programmers of the
need to laboriously construct pipelines using lower-level primitives
such as fork(2) and execve(2).
%prep
%setup -q
%build
export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
%configure \
--enable-shared \
--enable-threads=posix \
--disable-rpath \
--enable-socketpair-pipe \
--with-pic=yes \
--with-gnu-ld
%make_build
%install
%make_install
rm -vf %{buildroot}%{_libdir}/libpipeline.la
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}
%defattr(-,root,root,0755)
%{_libdir}/libpipeline.so.*
%files devel
%defattr(-,root,root,0755)
%license COPYING
%doc ChangeLog README.md
%{_libdir}/libpipeline.so
%{_libdir}/pkgconfig/libpipeline.pc
%{_includedir}/pipeline.h
%{_mandir}/man3/*.3%{?ext_man}
%changelog