From c33f92f68514b62a21347e543634d664ed0270fe Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 24 Mar 2009 17:28:40 +0000 Subject: [PATCH 1/4] Initialize branch F-10 for dropwatch --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..dc32377 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-10 From 3e4a3ed2d769b276569792fd9ccd6e3c1ad8b6dd Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Tue, 24 Mar 2009 18:53:17 +0000 Subject: [PATCH 2/4] Initial Import --- .cvsignore | 1 + dropwatch.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 52 insertions(+) create mode 100644 dropwatch.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..df25e0d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dropwatch-1.0.tbz2 diff --git a/dropwatch.spec b/dropwatch.spec new file mode 100644 index 0000000..ee86d05 --- /dev/null +++ b/dropwatch.spec @@ -0,0 +1,49 @@ +Summary: Kernel dropped packet monitor +Name: dropwatch +Version: 1.0 +Release: 2%{?dist} +Source0: https://fedorahosted.org/releases/d/r/dropwatch/dropwatch-%{version}.tbz2 +URL: http://fedorahosted.org/dropwatch +License: GPLv2+ +Group: Applications/System +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: kernel-devel, libnl-devel, readline-devel +Requires: libnl, readline + +%description +dropwatch is an utility to interface to the kernel to monitor for dropped +network packets. + +%prep +%setup -q + +%build +cd src +export CFLAGS=$RPM_OPT_FLAGS +make + +%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 + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_mandir}/man1/* +%doc README +%doc COPYING + +%changelog +* 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 + diff --git a/import.log b/import.log new file mode 100644 index 0000000..5dd294a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +dropwatch-1_0-2_fc10:F-10:dropwatch-1.0-2.fc10.src.rpm:1237920778 diff --git a/sources b/sources index e69de29..ea50cab 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +34338735d1d2d339c92f21d9c7f1202f dropwatch-1.0.tbz2 From bd023778f8471f191a06308e2268c037f57b81de Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:25:21 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3763a40..4dec0cd 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := dropwatch SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 572faa7294f9e188a26f07562c0ed24954cc83b7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 13:15:47 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 4dec0cd..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: dropwatch -# $Id$ -NAME := dropwatch -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index dc32377..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-10 diff --git a/import.log b/import.log deleted file mode 100644 index 5dd294a..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -dropwatch-1_0-2_fc10:F-10:dropwatch-1.0-2.fc10.src.rpm:1237920778