[packages/chrootuid] new, version 1.3

glen glen at pld-linux.org
Sat Feb 7 16:40:21 CET 2015


commit 901e71250cbb7ffb0ced9273ab7e154ad6354f2a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Feb 7 17:39:33 2015 +0200

    new, version 1.3
    
    based on opensuse package
    ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/security/openSUSE_Factory/src/chrootuid-1.3-2.68.src.rpm

 chrootuid.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/chrootuid.spec b/chrootuid.spec
new file mode 100644
index 0000000..76aff3e
--- /dev/null
+++ b/chrootuid.spec
@@ -0,0 +1,45 @@
+Summary:	Runs Daemons with restricted File System Access
+Name:		chrootuid
+Version:	1.3
+Release:	1
+License:	BSD License
+Group:		Applications
+Source0:	http://ftp.porcupine.org/pub/security/%{name}%{version}.tar.gz
+# Source0-md5:	15510abadf5de189e1c22a1544dc926a
+Patch1:		http://ftp.debian.org/debian/pool/main/c/chrootuid/%{name}_1.3-6.diff.gz
+# Patch1-md5:	5d2b52c59c6f915b973055375e9b0ec0
+URL:		http://ftp.porcupine.org/pub/security/index.html
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Chrootuid makes it easy to run a network service at low privilege
+level and with restricted file system access. At Eindhoven University
+we use this program to run the gopher and www (world-wide web) network
+daemons in a minimal environment: the daemons have access only to
+their own directory tree, and run under a low-privileged userid. The
+arrangement greatly reduces the impact of possible loopholes in daemon
+software.
+
+%prep
+%setup -q -n %{name}%{version}
+%patch1 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p chrootuid $RPM_BUILD_ROOT%{_bindir}
+cp -p chrootuid.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+
+%files
+%defattr(644,root,root,755)
+%doc README chrootuid_license
+%attr(755,root,root) %{_bindir}/chrootuid
+%{_mandir}/man1/chrootuid.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chrootuid.git/commitdiff/901e71250cbb7ffb0ced9273ab7e154ad6354f2a



More information about the pld-cvs-commit mailing list