[mirmon/el5] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Thu Aug 15 06:30:08 UTC 2013


commit d52608070201f58a32f99c07d8b644963efb3bb4
Author: Koji <koji at fedoraproject.org>
Date:   Thu Aug 15 14:23:00 2013 +0800

    Initial SETUP.

 .gitignore        |    1 +
 mirmon-httpd.conf |   24 +++++++++++++++
 mirmon.spec       |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 4 files changed, 108 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3631443 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mirmon-2.9.tar.gz
diff --git a/mirmon-httpd.conf b/mirmon-httpd.conf
new file mode 100644
index 0000000..3000ce2
--- /dev/null
+++ b/mirmon-httpd.conf
@@ -0,0 +1,24 @@
+#
+#  Mirmon Apache Configuration file
+#
+
+Alias /mirmon /usr/share/mirmon
+
+<Directory /usr/share/mirmon>
+    <IfModule mod_authz_core.c>
+        # Apache 2.4
+       Require local
+        # Use the following to let any client use mirmon
+       Require all granted
+    </IfModule>
+    <IfModule !mod_authz_core.c>
+        # Apache 2.2
+       Order   Deny,Allow
+       Deny    from All
+       Allow   from 127.0.0.1   # localhost
+       Allow   from ::1         # IPv6 variant of localhost
+        # Use the following to let any client use mirmon
+        # Allow from All
+    </IfModule>
+</Directory>
+
diff --git a/mirmon.spec b/mirmon.spec
new file mode 100644
index 0000000..eb5bf5f
--- /dev/null
+++ b/mirmon.spec
@@ -0,0 +1,82 @@
+Name:           mirmon
+Version:        2.9
+Release:        1%{?dist}
+Summary:        Monitor the status of mirrors
+License:        BSD
+URL:            http://www.staff.science.uu.nl/~penni101/mirmon/
+Source0:        http://www.staff.science.uu.nl/~penni101/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}-httpd.conf
+BuildArch:      noarch
+
+%description
+Many software projects are mirrored worldwide. The mirror sites are required 
+to update the mirror archive regularly (daily, weekly) from a root server.
+
+Mirmon helps administrators in keeping an eye on the mirror sites. In a 
+concise graphic format, mirmon shows each site's status history of the 
+last two weeks. It is easy to spot stale or dead mirrors.
+
+%package        httpd
+Summary:        Apache configuration for %{name}
+Requires:       %{name} = %{version}-%{release}
+Requires:       httpd
+
+%description    httpd
+This package provides the Apache configuration for
+applications using an Alias to %{name}.
+
+%prep
+%setup -q
+
+%install
+mkdir -p %{buildroot}%{_datadir}/%{name}
+mkdir -p %{buildroot}%{_mandir}/man1
+install -pm644 %{name}.1 %{buildroot}%{_mandir}/man1/
+install -pm644 %{name}.pm.1 %{buildroot}%{_mandir}/man1/
+install -pDm755 %{name} %{buildroot}%{_bindir}/%{name}
+install -pDm755 probe %{buildroot}%{_bindir}/probe
+install -pDm0644 %{S:1} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
+cp -pa countries.list icons %{buildroot}%{_datadir}/%{name}/
+
+%files
+%doc RELEASE-NOTES *.{txt,html} LICENSE
+%{_bindir}/*
+%{_datadir}/%{name}
+%{_mandir}/man1/%{name}*.1*
+
+%files httpd
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
+
+%changelog
+* Tue Aug 13 2013 Christopher Meng <rpm at cicku.me> - 2.9-1
+- Update to new version.
+
+* Sat Aug 10 2013 Christopher Meng <rpm at cicku.me> - 2.8-2
+- Replace macro outside rpm.
+
+* Thu Feb 14 2013 Christopher Meng <rpm at cicku.me> - 2.8-1
+- Update to new version.
+
+* Thu Dec 20 2012 Christopher Meng <rpm at cicku.me> - 2.7-1
+- Update to new version.
+
+* Tue Jun 12 2012 Christopher Meng <rpm at cicku.me> - 2.6-1
+- Update to new version.
+
+* Mon Apr 30 2012 Christopher Meng <rpm at cicku.me> - 2.5-1
+- Update to new version.
+
+* Mon Mar 21 2011 Christopher Meng <cickumqt-NOSPAM at gmail.com> - 2.4-1
+- Update to new version.
+
+* Wed Mar 17 2010 Christopher Meng <cickumqt-NOSPAM at gmail.com> - 2.3-1
+- Update to new version.
+
+* Sun Mar 14 2010 Christopher Meng <cickumqt-NOSPAM at gmail.com> - 2.2-1
+- Update to new version.
+
+* Mon Feb 15 2010 Christopher Meng <cickumqt-NOSPAM at gmail.com> - 2.1-1
+- Update to new version.
+
+* Fri Jan 15 2010 Christopher Meng <cickumqt-NOSPAM at gmail.com> - 2.0-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..4150182 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ecdc21d3684d059fc85d72f479f1fe22  mirmon-2.9.tar.gz


More information about the scm-commits mailing list