SPECS: wn.spec - up to 2.4.7, cleanups

zbyniu zbyniu at pld-linux.org
Wed Nov 30 04:37:25 CET 2005


Author: zbyniu                       Date: Wed Nov 30 03:37:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.4.7, cleanups

---- Files affected:
SPECS:
   wn.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/wn.spec
diff -u SPECS/wn.spec:1.11 SPECS/wn.spec:1.12
--- SPECS/wn.spec:1.11	Thu Aug 11 11:46:18 2005
+++ SPECS/wn.spec	Wed Nov 30 04:37:20 2005
@@ -5,17 +5,17 @@
 #
 %bcond_with	suexec	# enable suexec
 %bcond_with	vhosts	# enable vhosts
-%bcond_with	ssl		# enable ssl (not working)
+%bcond_with	ssl	# enable ssl (not working)
 
 Summary:	Secure and efficient HTTP server with advanced features
 Summary(pl):	Bezpieczny i wydajny serwer HTTP z rozbudowanymi możliwościami
-Name:		wn	
-Version:	2.4.6
+Name:		wn
+Version:	2.4.7
 Release:	1
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://www.wnserver.org/%{name}-%{version}.tar.gz
-# Source0-md5:	78a850d2a814962314a4adf9c7f0d8ae
+# Source0-md5:	c146f34444a1228e3a478ba7f6b9fdf1
 Source1:	%{name}-Makefile
 Source2:	%{name}-config.h
 Source3:	%{name}.init
@@ -35,7 +35,7 @@
 Requires(postun):	/usr/sbin/userdel
 Requires(post,preun):	/sbin/chkconfig
 Requires(post,postun):	/sbin/ldconfig
-Requires(post): fileutils
+Requires(post):	fileutils
 Provides:	group(http)
 Provides:	httpd = %{version}
 Provides:	user(http)
@@ -43,11 +43,11 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-WN is a server for the Hypertext Transfer Protocol (HTTP/1.1). Its 
+WN is a server for the Hypertext Transfer Protocol (HTTP/1.1). Its
 primary design goals are security and functionality usually available
-only with complex CGI scripts without the necessity of writing or 
-using these scripts. This includes extensive security checks, full 
-text searching and conditionally served text. 
+only with complex CGI scripts without the necessity of writing or
+using these scripts. This includes extensive security checks, full
+text searching and conditionally served text.
 
 Despite this extensive functionality the WN executable is
 substantially smaller than the CERN or NCSA servers. Both a
@@ -56,35 +56,35 @@
 resources and it is appropriate for moderate or lightly loaded servers
 which cannot be totally dedicated to Web serving.
 
-WN's security model is based on the use of a small flat database in 
-each directory with information about the files in that directory. 
-Fields associated with a file include its title, and may include 
+WN's security model is based on the use of a small flat database in
+each directory with information about the files in that directory.
+Fields associated with a file include its title, and may include
 keywords, expiration date and any user defined fields like author or
-document id. Unlike other servers, the default action for WN is to 
+document id. Unlike other servers, the default action for WN is to
 deny access to a file.A file can only be served if explicit permission
 to do so has been granted by entering it in this database
 
 %description -l pl
 WN to serwer dla protokołu HTTP w wersji 1.1. Jego główną zaletą jest
 bezpieczeństwo oraz wbudowana funkcjonalność, która z reguły dostępna
-jestjedynie dzięki rozbudowanym skryptom CGI: różnorakie 
-zabezpieczenia, przeszukiwanie całego tekstu oraz warunkowe 
+jestjedynie dzięki rozbudowanym skryptom CGI: różnorakie
+zabezpieczenia, przeszukiwanie całego tekstu oraz warunkowe
 udostępnianie tekstu.
 
-Rozbudowane możliwości nie wpłynęły jednak na rozmiar pliku 
+Rozbudowane możliwości nie wpłynęły jednak na rozmiar pliku
 wykonywalnego serwera, który pozostaje mniejszy niż serwery CERN lub
-NCSA. Pakiet dostarcza zarówno wersji standalone jak i inetd serwera 
-WN. Ta druga została zoptymalizowana do zajmowania jak najmniejszej 
-liczby zasobów i jest zalecana dla serwerów z małym bądź ograniczonym 
+NCSA. Pakiet dostarcza zarówno wersji standalone jak i inetd serwera
+WN. Ta druga została zoptymalizowana do zajmowania jak najmniejszej
+liczby zasobów i jest zalecana dla serwerów z małym bądź ograniczonym
 obciążeniem.
 
-Model bezpieczeństwa WN oparty jest na umieszczaniu w każdym katalogu 
-małych, kartotekowych baz danych zawierających informacje o plikach 
-w nim się znajdujących. Pola związane z plikami to tytuł, słowa 
-kluczowe, data wygaśnięcia oraz dodatkowe zdefiniowane przez 
-użytkownika np. autor. W przeciwieństwie do innych serwerów WN domyślnie
-nie daje dostępu do pliku, plik może zostać udostępniony klientom HTTP 
-tylko w przypadku zezwolenia na to w bazie danych.
+Model bezpieczeństwa WN oparty jest na umieszczaniu w każdym katalogu
+małych, kartotekowych baz danych zawierających informacje o plikach
+w nim się znajdujących. Pola związane z plikami to tytuł, słowa
+kluczowe, data wygaśnięcia oraz dodatkowe zdefiniowane przez
+użytkownika np. autor. W przeciwieństwie do innych serwerów WN
+domyślnie nie daje dostępu do pliku, plik może zostać udostępniony
+klientom HTTP tylko w przypadku zezwolenia na to w bazie danych.
 
 %prep
 %setup -q
@@ -111,7 +111,7 @@
 	%{?with_suexec:SUEXEC=suexec} \
 	CFLAGS="%{rpmcflags} -I../wn -I../md5"
 cd docs
-rm fdl* Gnu_License Makefile md5* 
+rm fdl* Gnu_License Makefile md5*
 cd ../
 
 %install
@@ -126,7 +126,7 @@
 install docs/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1/
 install docs/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3/
 install docs/man/man8/* $RPM_BUILD_ROOT%{_mandir}/man8/
-# This breaks short-ciruit, but what the heck, the package is 500 kb 
+# This breaks short-ciruit, but what the heck, the package is 500 kb
 # you cand do a rebuild.
 rm -rf docs/man
 
@@ -159,7 +159,7 @@
 	if [ -f /var/lock/subsys/wn ]; then
 		/etc/rc.d/init.d/wn stop 1>&2
 	fi
-	/sbin/chkconfig --del httpd
+	/sbin/chkconfig --del wn
 fi
 
 %postun
@@ -177,7 +177,7 @@
 %attr(755,root,root) %{_bindir}/md5
 %attr(755,root,root) %{_bindir}/wn*
 %attr(755,root,root) %{_sbindir}/wn*
-%{_mandir}/
+%{_mandir}/man?/*
 %attr(750,http,http) %dir %{_var}/log/wn
 %attr(640,http,http) %{_var}/log/wn/*
 
@@ -188,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/11/30 03:37:20  zbyniu
+- up to 2.4.7, cleanups
+
 Revision 1.11  2005/08/11 09:46:18  radek
 - bcond_with(out) is followed by one \t, then bcond's name.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wn.spec?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list