[packages/uid_wrapper] - new

qboosh qboosh at pld-linux.org
Sun Feb 9 16:18:15 CET 2014


commit 3577a85085a62eb59958db35762a49d0dd73c315
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 9 16:20:01 2014 +0100

    - new

 uid_wrapper.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/uid_wrapper.spec b/uid_wrapper.spec
new file mode 100644
index 0000000..d3e7f88
--- /dev/null
+++ b/uid_wrapper.spec
@@ -0,0 +1,58 @@
+Summary:	UID wrapper library
+Summary(pl.UTF-8):	Biblioteka obudowująca UID
+Name:		uid_wrapper
+Version:	1.0.1
+Release:	1
+License:	GPL v3+
+Group:		Libraries
+Source0:	http://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
+# Source0-md5:	219d0a33da5eaeef7c180c3d8734477e
+URL:		http://cwrap.org/uid_wrapper.html
+BuildRequires:	cmake >= 2.8.0
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Privilege separation - some projects like a file server need privilege
+separation to be able to switch to the connnection user and do file
+operations. uid_wrapper convincingly lies to the application letting
+it believe it is operating as root and even switching between uids and
+gids as needed.
+
+%description -l pl.UTF-8
+Rozdzielenie uprawnień - niektóre projekty, takie jak serwer plików,
+wymagają rozdzielenia uprawnień, aby przełączać się na użytkownika
+połączenia i wykonywać operacje na plikach. uid_wrapper dla wygody
+okłamuje aplikację, pozwalając jej wierzyć, że działa jako root, nawet
+gdy wymagane jest przełączanie między różnymi uidami i gidami.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/libuid_wrapper.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libuid_wrapper.so.0
+%attr(755,root,root) %{_libdir}/libuid_wrapper.so
+%{_pkgconfigdir}/uid_wrapper.pc
+%{_libdir}/cmake/uid_wrapper-config*.cmake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uid_wrapper.git/commitdiff/3577a85085a62eb59958db35762a49d0dd73c315



More information about the pld-cvs-commit mailing list