From ef17e0d805220f3c3a6a7539729a9ce5e9d4670e Mon Sep 17 00:00:00 2001 From: jwboyer Date: Sun, 8 Apr 2007 15:24:17 +0000 Subject: [PATCH 1/4] Initialize branch EL-4 for websec --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..6ec5cef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-4 From 8e2a2b2918bacd754a297994c4c8428d5e61051a Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Sun, 8 Apr 2007 16:07:40 +0000 Subject: [PATCH 2/4] add websec (review in #235573) --- .cvsignore | 1 + sources | 1 + websec.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 websec.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f5d9945 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +websec-1.9.0.tar.gz diff --git a/sources b/sources index e69de29..b6feb4a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +697f7e40fd74c5769df3d9f202eb0309 websec-1.9.0.tar.gz diff --git a/websec.spec b/websec.spec new file mode 100644 index 0000000..46fa59b --- /dev/null +++ b/websec.spec @@ -0,0 +1,72 @@ +Name: websec +Version: 1.9.0 +Release: 3.4 +Summary: Web Secretary - Web page monitoring software with highlighting + +Group: Applications/Internet +License: GPL +URL: http://baruch.ev-en.org/proj/websec/ +Source0: http://baruch.ev-en.org/proj/websec/websec-1.9.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: /usr/sbin/sendmail + +%description +Web Secretary is a web page change monitoring software. It will detect changes +based on content analysis, making sure that it's not just HTML that changed, +but actual content. You can tell it what to ignore in the page (hit counters +and such), and it can mail you the document with the changes highlighted or +load the highlighted page in a browser. + + +%prep +%setup -q + + +%build +make PREFIX=%{_prefix} %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT .__doc +make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} + +# proper permissions for man pages +chmod 0644 $RPM_BUILD_ROOT%{_datadir}/man/man*/* + +# temp doc dir +mv $RPM_BUILD_ROOT%{_datadir}/doc/websec .__doc + +# having the next two in the proper place would require proper dependencies, +# which is probably not worth the trouble as that would be bloat for most +# users; so ship them as doc, that's better then not shipping them at all +mv $RPM_BUILD_ROOT%{_datadir}/vim/vim61 $RPM_BUILD_ROOT%{_datadir}/emacs/ \ + .__doc/ +mkdir .__doc/scripts +cp rollback htmldiff .__doc/scripts/ +chmod -x .__doc/scripts/* + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING HACKING NEWS TODO .__doc/* +%{_bindir}/* +%{_datadir}/man/man*/* + + +%changelog +* Sun Apr 08 2007 Thorsten Leemhuis - 1.9.0-3.4 +- remove the / add the end of the mv command + +* Sat Apr 07 2007 Thorsten Leemhuis - 1.9.0-2 +- Fixes found during review (#235573): + - noarch automatically disables debuginfo + - require /usr/sbin/sendmail instead of smtpdaemon + +* Sat Apr 07 2007 Thorsten Leemhuis - 1.9.0-1 +- Initial package From 1c6157bdc0236aa49c75243a3105f5331954c259 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:15:59 +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 c9383a1..bc79736 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := websec 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 3ae72df055028fcfb3e4be15af4f7d659f4e8801 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:14:42 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch 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 bc79736..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: websec -# $Id$ -NAME := websec -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 6ec5cef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-4