# $Id$ Name: mod_epp Version: 1.5 Release: 1 Summary: Apache EPP Server Module Group: System Environment/Daemons URL: http://sourceforge.net/projects/aepps License: Apache Software License Packager: CentralNic Ltd Source: http://prdownloads.sourceforge.net/aepps/%{name}-%{version}.tar.gz Requires: httpd, mod_ssl BuildRequires: httpd-devel BuildRoot: %{_tmppath}/root-%{name}-%{version} %description EPP is the Extensible Provisioning Protocol. EPP (defined in RFC 3730) is an application layer client-server protocol for the provisioning and management of objects stored in a shared central repository. Specified in XML, the protocol defines generic object management operations and an extensible framework that maps protocol operations to objects. As of writing, its only well-developed application is the provisioning of Internet domain names, hosts, and related contact details. mod_epp implements an EPP server using the Apache Server framework. Using mod_epp, It handles all network and session logic, and allows the business logic to be implemented in any of the server-side mechanism that Apache supports (eg PHP, CGI scripts, custom modules, etc). %prep %setup %build apxs -c mod_epp.c %install mkdir -p %{buildroot}/usr/lib/httpd/modules %{buildroot}/etc/httpd/conf.d install -m 0755 .libs/%{name}.so %{buildroot}/usr/lib/httpd/modules/ cat < httpd.conf.example LoadModule epp_module modules/mod_epp.so Listen 700 LogFormat "%h %t %>s %u %f \"%q\" \"%r\"" eppfmt # example EPP virtualhost EPPEngine on EPPCommandRoot /epp/command EPPSessionRoot /epp/session EPPErrorRoot /epp/error EPPAuthURI /epp/auth AuthType Basic AuthName "EPP" AuthUserFile /etc/httpd/epp.passwd require valid-user Alias /epp /var/epp/srv END %clean rm -rf %{buildroot} %files %defattr(-,root,root,0755) %doc README TODO examples epptelnet.pl httpd.conf.example /usr/lib/httpd/modules/%{name}.so %changelog * Wed Jul 2 2008 Gavin Brown 1.5-1 - Install example httpd.conf fragment into /usr/share/doc instead of clobbering local config. * Fri May 5 2006 Gavin Brown 1.3-1 - Initial package