From d76f7f7fc23defbeded9716da5cdf91b3984e540 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 09:54:35 -0400 Subject: [PATCH] import dropwatch-1.5-1.el8 --- .dropwatch.metadata | 1 + .gitignore | 1 + SPECS/dropwatch.spec | 139 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+) create mode 100644 .dropwatch.metadata create mode 100644 .gitignore create mode 100644 SPECS/dropwatch.spec diff --git a/.dropwatch.metadata b/.dropwatch.metadata new file mode 100644 index 0000000..ab872a5 --- /dev/null +++ b/.dropwatch.metadata @@ -0,0 +1 @@ +cfc88dcb41399c94e96a90b2075d2990d8ef6798 SOURCES/dropwatch-1.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c3054c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dropwatch-1.5.tar.gz diff --git a/SPECS/dropwatch.spec b/SPECS/dropwatch.spec new file mode 100644 index 0000000..11253c5 --- /dev/null +++ b/SPECS/dropwatch.spec @@ -0,0 +1,139 @@ +Summary: Kernel dropped packet monitor +Name: dropwatch +Version: 1.5 +Release: 1%{?dist} +Source0: https://github.com/nhorman/dropwatch/archive/dropwatch-%{version}.tar.gz +URL: https://github.com/nhorman/dropwatch +License: GPLv2+ +Group: Applications/System +BuildRequires: kernel-headers readline-devel +BuildRequires: binutils-devel libnl3-devel pkgconfig +BuildRequires: autoconf automake libtool +Requires: libnl3, readline + + +%description +dropwatch is an utility to interface to the kernel to monitor for dropped +network packets. + +%prep +%setup -q -n dropwatch-dropwatch-1.5 + +%build +./autogen.sh +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +install -m0755 src/dropwatch $RPM_BUILD_ROOT%{_bindir} +install -m0644 doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1 + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* +%doc README.md +%doc COPYING + +%changelog +* Tue May 15 2018 Neil Horman - 1.5-1 +- Update to latest upstream and add CI harness + +* Wed Feb 07 2018 Fedora Release Engineering - 1.4-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Feb 01 2018 Neil Horman - 1.4-21 +- Fix linker flag recognition (bz 1541058) + +* Thu Feb 1 2018 Florian Weimer - 1.4-20 +- Build with linker flags from redhat-rpm-config + +* Tue Jan 30 2018 Merlin Mathesius - 1.4-19 +- Drop unnecessary BuildRequires for binutils-static + Not building kernel modules, so use kernel-headers instead of kernel-devel + +* Wed Aug 02 2017 Fedora Release Engineering - 1.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 13 2017 Neil Horman - 1.4-15 +- fix build error (bz 1412926) + +* Thu Jan 12 2017 Igor Gnatenko - 1.4-14 +- Rebuild for readline 7.x + +* Wed Feb 03 2016 Fedora Release Engineering - 1.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jul 06 2015 Neil Horman - 1.4-12 +- Fixed FTBFS issue (bz 1239436) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Aug 16 2014 Fedora Release Engineering - 1.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Nov 29 2013 Neil Horman - 1.4-8 +- Updating spec file + +* Fri Nov 29 2013 Neil Horman - 1.4-7 +- Drop libnl-devel BuildRequire (bz 1035791) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jan 20 2013 Dan HorĂ¡k - 1.4-4 +- rebuilt again for fixed soname in libnl3 + +* Fri Jan 18 2013 Neil Horman - 1.4-3 +- rebuilt to pull in new libnl3 dependencies + +* Wed Jul 18 2012 Fedora Release Engineering - 1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 01 2012 Neil Horman - 1.4-1 +- Update to latest upstream + +* Fri Jan 13 2012 Fedora Release Engineering - 1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.2-1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jun 30 2010 Neil Horman - 1.2 +- Update to latest upstream + +* Thu Apr 08 2010 Neil Horman - 1.1-2 +- Adding more missing buildrequires + +* Wed Apr 07 2010 Neil Horman - 1.1-1 +- Add missing buildrequires + +* Wed Apr 07 2010 Neil Horman - 1.1-0 +- Move to latest upstream sources + +* Fri Jul 24 2009 Fedora Release Engineering - 1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Mar 20 2009 Neil Horman 1.0-2 +- Fixed up Errors found in package review (bz 491240) + +* Tue Mar 17 2009 Neil Horman 1.0-1 +- Initial build +