]> git.pld-linux.org Git - packages/apache-mod_whois.git/commitdiff
- new auto/ac/apache-mod_whois-0_1-0_1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 16 Mar 2004 20:36:21 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_whois.conf -> 1.1
    apache-mod_whois.spec -> 1.1

apache-mod_whois.conf [new file with mode: 0644]
apache-mod_whois.spec [new file with mode: 0644]

diff --git a/apache-mod_whois.conf b/apache-mod_whois.conf
new file mode 100644 (file)
index 0000000..a95c707
--- /dev/null
@@ -0,0 +1,13 @@
+LoadModule whois_module /usr/lib/apache/mod_whois.so
+
+#Listen 43
+#
+#<VirtualHost *:43>
+#WhoisProtocol On
+W#hoisPrefix "GET /whois.php?searchstring="
+#WhoisPrefix "GET /whoisinfo/"
+#ErrorDocument 404 /whoisinfo/404hider.txt
+#ErrorDocument 500 /whoisinfo/kaputt.txt
+#
+#</VirtualHost>
+
diff --git a/apache-mod_whois.spec b/apache-mod_whois.spec
new file mode 100644 (file)
index 0000000..d9ee5bc
--- /dev/null
@@ -0,0 +1,45 @@
+%define                mod_name        whois
+%define                ver             0.1
+%define        apxs            /usr/sbin/apxs
+Summary:       Apache module: WHOIS->WEB gateway
+Name:          apache-mod_%{mod_name}
+Version:       %{ver}
+Release:       0.1
+License:       distributable
+Group:         Networking/Daemons
+Source0:       http://dl.sourceforge.net/modwhois/mod_%{mod_name}-%{version}.tar.gz
+# Source0-md5: 8b4f29868c221b2d54f59b7a0c090698
+Source1:       %{name}.conf
+URL:           http://modwhois.sourceforge.net/
+BuildRequires: %{apxs}
+BuildRequires: apache-devel >= 2.0.0
+Requires(post,preun):  %{apxs}
+Requires:      apache
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
+
+%description
+Apache module: WHOIS->WEB gateway
+
+%prep
+%setup -q -n mod_%{mod_name}
+
+%build
+%{apxs} -c mod_%{mod_name}.c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/httpd.conf,%{_pkglibdir}}
+
+libtool install mod_%{mod_name}.la $RPM_BUILD_ROOT%{_pkglibdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/83_mod-whois.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README
+%attr(755,root,root) %{_pkglibdir}/*.so
+%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd/httpd.conf/*.conf
This page took 0.141999 seconds and 4 git commands to generate.