]> git.pld-linux.org Git - packages/cgiwrap.git/blame - cgiwrap.spec
- obsolete
[packages/cgiwrap.git] / cgiwrap.spec
CommitLineData
ef6678a7 1Summary: A gateway for more secure user access to CGI scripts
9214648f 2Summary(pl.UTF-8): Bramka do bezpieczniejszego dostępu użytkowników do skryptów CGI
ef6678a7 3Name: cgiwrap
96ceddfb 4Version: 4.1
dfd5e644 5Release: 3
ef6678a7
AM
6License: GPL
7Group: Utilities
8Source0: http://dl.sourceforge.net/cgiwrap/%{name}-%{version}.tar.gz
96ceddfb 9# Source0-md5: 14c02c57e4a0c6224951018e2f6b9211
db9c6340 10Patch0: %{name}-php.patch
dfd5e644 11Patch1: %{name}-fetch.patch
7b553a06 12URL: http://cgiwrap.sourceforge.net/
ef6678a7
AM
13BuildRequires: automake
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
8088838f
JB
16%define _cgibindir /home/services/httpd/cgi-bin
17
ef6678a7
AM
18%description
19A gateway that allows more secure user access to CGI programs on an
6f650a59 20HTTPd server than is provided by the HTTP server itself. The primary
ef6678a7
AM
21function of CGIwrap is to make certain that any CGI script runs with
22the permissions of the user who installed it, and not those of the
23server.
24
8117246f
JR
25%description -l pl.UTF-8
26Bramka pozwalająca na bardziej bezpieczny dostęp użytkowników do
27programów CGI na serwerze HTTP niż ten udostępniany przez sam serwer
28HTTP. Główna funkcja CGIwrap to upewnienie się, że skrypt CGI działa z
29uprawnieniami użytkownika, który go zainstalował, a nie serwera.
8088838f 30
ef6678a7
AM
31%prep
32%setup -q
db9c6340 33%patch0 -p0
dfd5e644 34%patch1 -p0
ef6678a7
AM
35
36%build
37install %{_datadir}/automake/config.* .
38%configure \
39 --with-perl=%{_bindir}/perl \
db9c6340 40 --with-php=%{_bindir}/php.cgi \
ef6678a7
AM
41 --with-local-contact-email=root@localhost \
42 --with-httpd-user=http \
43 --with-minimum-uid=500 \
44 --with-minimum-gid=500 \
db9c6340 45 --with-block-svn-paths \
46 --with-block-cvs-paths \
47 --with-php-interpreter \
48 --with-soft-rlimit-only \
dfd5e644 49 --with-cgi-dir=public_html \
db9c6340 50 --without-check-group
8088838f 51
ef6678a7
AM
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
8088838f 56install -d $RPM_BUILD_ROOT%{_cgibindir}
ef6678a7 57
8088838f 58install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}
db9c6340 59install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/cgiwrapd
60install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/nph-cgiwrap
61install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/nph-cgiwrapd
62install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/php-cgiwrap
63install cgiwrap $RPM_BUILD_ROOT%{_cgibindir}/php-cgiwrapd
ef6678a7
AM
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
ef6678a7
AM
68%files
69%defattr(644,root,root,755)
70%doc htdocs/*
8088838f 71%attr(4755,root,root) %{_cgibindir}/*
This page took 0.136091 seconds and 4 git commands to generate.