]> git.pld-linux.org Git - packages/chrootuid.git/blame - chrootuid.spec
new, version 1.3
[packages/chrootuid.git] / chrootuid.spec
CommitLineData
901e7125
ER
1Summary: Runs Daemons with restricted File System Access
2Name: chrootuid
3Version: 1.3
4Release: 1
5License: BSD License
6Group: Applications
7Source0: http://ftp.porcupine.org/pub/security/%{name}%{version}.tar.gz
8# Source0-md5: 15510abadf5de189e1c22a1544dc926a
9Patch1: http://ftp.debian.org/debian/pool/main/c/chrootuid/%{name}_1.3-6.diff.gz
10# Patch1-md5: 5d2b52c59c6f915b973055375e9b0ec0
11URL: http://ftp.porcupine.org/pub/security/index.html
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Chrootuid makes it easy to run a network service at low privilege
16level and with restricted file system access. At Eindhoven University
17we use this program to run the gopher and www (world-wide web) network
18daemons in a minimal environment: the daemons have access only to
19their own directory tree, and run under a low-privileged userid. The
20arrangement greatly reduces the impact of possible loopholes in daemon
21software.
22
23%prep
24%setup -q -n %{name}%{version}
25%patch1 -p1
26
27%build
28%{__make} \
29 CC="%{__cc}" \
30 CFLAGS="%{rpmcflags}" \
31 all
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36install -p chrootuid $RPM_BUILD_ROOT%{_bindir}
37cp -p chrootuid.1 $RPM_BUILD_ROOT%{_mandir}/man1
38
39%clean
40
41%files
42%defattr(644,root,root,755)
43%doc README chrootuid_license
44%attr(755,root,root) %{_bindir}/chrootuid
45%{_mandir}/man1/chrootuid.1*
This page took 0.074029 seconds and 4 git commands to generate.