update to 1.226_1 [release 1.226_1-1mamba;Tue Dec 12 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:35:39 +01:00
parent 0e4e72f131
commit 653c00acf4

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d_ -f1)
%define pkgver %(echo %version | tr _ -)
Name: netcat-openbsd
Version: 1.105_7
Version: 1.226_1
Release: 1mamba
Summary: A simple Unix utility which reads and writes data across network connections using TCP or UDP protocol
Group: Applications/Networking
@ -10,13 +10,12 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://packages.debian.org/sid/netcat-openbsd
Source: http://ftp.de.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_%{majver}.orig.tar.gz
Source1: http://ftp.de.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_%{pkgver}.debian.tar.gz
Source1: http://ftp.de.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_%{pkgver}.debian.tar.xz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbsd-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A simple Unix utility which reads and writes data across network connections using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
@ -26,7 +25,9 @@ This package contains the OpenBSD rewrite of netcat, including support for IPv6,
%prep
%setup -q -n %{name}-%{majver} -a1
for f in debian/patches/*.patch; do patch -p1 <$f; done
cat debian/patches/series | while read line; do
patch -p1 < debian/patches/$line
done
%build
%make
@ -46,5 +47,8 @@ install -D -m0644 nc.1 %{buildroot}%{_mandir}/man1/nc.1
%doc debian/copyright
%changelog
* Tue Dec 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.226_1-1mamba
- update to 1.226_1
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.105_7-1mamba
- package created using the webbuild interface