SPECS: apache-mod_restartd.spec (NEW) - new

qboosh qboosh at pld-linux.org
Fri Nov 17 11:42:18 CET 2006


Author: qboosh                       Date: Fri Nov 17 10:42:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   apache-mod_restartd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/apache-mod_restartd.spec
diff -u /dev/null SPECS/apache-mod_restartd.spec:1.1
--- /dev/null	Fri Nov 17 11:42:18 2006
+++ SPECS/apache-mod_restartd.spec	Fri Nov 17 11:42:13 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+%define		apxs		/usr/sbin/apxs
+Summary:	mod_restartd - run certain CGIs as root
+Summary(pl):	mod_restartd - uruchamianie pewnych CGI z uprawnieniami roota
+Name:		mod_restartd
+Version:	1.0.3
+Release:	0.1
+License:	Apache 2.0
+Group:		Networking/Daemons
+Source0:	http://directory.fedora.redhat.com/sources/mod_restartd-%{version}.tar.gz
+# Source0-md5:	6336780a292dbd41d2cc66212f3be7fa
+URL:		http://directory.fedora.redhat.com/wiki/Mod_restartd
+BuildRequires:	%{apxs}
+BuildRequires:	apache-devel >= 2.2
+BuildRequires:	apr-devel >= 1:1.0
+BuildRequires:	apr-util-devel >= 1:1.0
+Requires:	apache >= 2.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)
+
+%description
+An Apache 2 module for doing suid CGIs. The Admin Server provides CGIs
+to stop, start, and restart the servers, which may run on port 389,
+which means they must be started by root. However, Apache does not
+like to run as root for security reasons. This module allows CGIs to
+be run as root by copying the the mod_cgid and fixing it so that only
+certain CGIs may be run as root.
+
+%description -l pl
+Moduł Apache'a 2 do wykonywania suidowych CGI. Admin Server udostępnia
+CGI do zatrzymywania, uruchamiania i restartowania serwerów
+działających na porcie 389, co oznacza, że muszą być uruchamiane jako
+root. Jednak Apache nie lubi działać jako root ze względów
+bezpieczeństwa. Ten moduł pozwala na wykonywanie CGI jako root poprzez
+skopiowanie mod_cgid i poprawienie tak, by pozwalał na wykonywanie
+jako root tylko określonych CGI.
+
+%prep
+%setup -q -n mod_restartd-%{version}
+
+%build
+# apr-util is missing in configure check
+CPPFLAGS="`apu-1-config --includes`"
+%configure \
+	--with-apxs=%{apxs} \
+	--with-apr-config
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pkglibdir}
+
+install .libs/libmodrestartd.so $RPM_BUILD_ROOT%{_pkglibdir}
+
+# TODO: XX_mod_restartd.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_pkglibdir}/libmodrestartd.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/11/17 10:42:13  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list