]> git.pld-linux.org Git - packages/cgiwrap.git/blob - cgiwrap.spec
- remove duplicated line
[packages/cgiwrap.git] / cgiwrap.spec
1 Summary:        A gateway for more secure user access to CGI scripts
2 Summary(pl):    Bramka do bezpieczniejszego dostêpu u¿ytkowników do skryptów CGI
3 Name:           cgiwrap
4 Version:        3.9
5 Release:        1
6 License:        GPL
7 Group:          Utilities
8 Source0:        http://dl.sourceforge.net/cgiwrap/%{name}-%{version}.tar.gz
9 # Source0-md5:  0f9c88802658f45231ee463c351bd2a7
10 URL:            http://cgilib.sourceforge.net/
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _cgibindir      /home/services/httpd/cgi-bin
15
16 %description
17 A gateway that allows more secure user access to CGI programs on an
18 HTTPd server than is provided by the http server itself. The primary
19 function of CGIwrap is to make certain that any CGI script runs with
20 the permissions of the user who installed it, and not those of the
21 server.
22
23 %description -l pl
24 Bramka pozwalaj±ca na bardziej bezpieczny dostêp u¿ytkowników do
25 programów CGI na serwerze HTTP ni¿ ten udostêpniany przez sam serwer
26 HTTP. G³ówna funkcja CGIwrap to upewnienie siê, ¿e skrypt CGI dzia³a z
27 uprawnieniami u¿ytkownika, który go zainstalowa³, a nie serwera.
28
29 %prep
30 %setup -q
31
32 %build
33 install %{_datadir}/automake/config.* .
34 %configure \
35         --with-perl=%{_bindir}/perl \
36         --with-php=%{_bindir}/php \
37         --with-local-contact-email=root@localhost \
38         --with-httpd-user=http \
39         --with-minimum-uid=500 \
40         --with-minimum-gid=500 \
41         --with-allow-file=%{_sysconfdir}/cgiwrap/cgiwrap.allow \
42         --with-deny-file=%{_sysconfdir}/cgiwrap/cgiwrap.deny
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_cgibindir}
49
50 install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}
51 ln -s cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/cgiwrapd
52 ln -s cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/nph-cgiwrap
53 ln -s cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/nph-cgiwrapd
54 ln -s cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/php-cgiwrap
55 ln -s cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/php-cgiwrapd
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc htdocs/*
63 %attr(4755,root,root) %{_cgibindir}/*
This page took 0.053165 seconds and 3 git commands to generate.