rpms/limph/devel limph-hostagent, NONE, 1.1 limph.conf, NONE, 1.1 limph.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Thu Jan 11 18:26:57 UTC 2007


Author: limb

Update of /cvs/extras/rpms/limph/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27980/devel

Modified Files:
	.cvsignore sources 
Added Files:
	limph-hostagent limph.conf limph.spec 
Log Message:
auto-import limph-1.9.4-6 on branch devel from limph-1.9.4-6.src.rpm


--- NEW FILE limph-hostagent ---
#!/bin/sh

/usr/bin/php /usr/share/limph/host_agent.php > /dev/null 2>&1


--- NEW FILE limph.conf ---
#
# Limph is a PHP network monitoring application.
#

Alias /limph /usr/share/limph

<Directory /usr/share/limph/>
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
</Directory>


--- NEW FILE limph.spec ---
%define limphdir %{_datadir}/limph
Name: limph
Version:  1.9.4
Release:  6%{?dist}
Summary: A PHP5-compatible network host/service poller with web interface

Group: Applications/System         
License: GPL        
URL: http://doc.jcomserv.net/index.php/Limph
Source0: http://prdownloads.sf.net/limph/limph-%{version}.tar.gz
Source1: limph.conf
Source2: limph-hostagent

BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
Requires: limph-common = %{version}-%{release}
Requires: php-mhash
Requires: php-mcrypt
Requires: php-mysql
Requires: httpd       

%description
Written to address shortcomings in Nagios and Node-Runner, Limph uses a
PHP frontend with MySQL, PostgreSQL or SQLite backends.  It can check hosts
via UDP or a specific TCP port.  Includes a portscanning tool and host
discovery.  Includes user-based security and granular email notifications.
Can work with the Limph host agent to collect disk space and system load 
information.

%package hostagent

Summary: A host agent for Limph, the network monitor
Group: Applications/System
Requires: php-mhash
Requires: php-mcrypt
Requires: limph-common = %{version}-%{release}

%description hostagent
The Limph host agent to collect disk space and system load
information and send it to the server running the main Limph application.

%package common

Summary: Common config file for Limph and Limph-hostagent
Group: Applications/System

%description common
The Limph and Limph-hostagent config file.

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
install -d %{buildroot}%{limphdir}
cp -pr *.php *.png %{buildroot}%{limphdir}
mkdir -p %{buildroot}%{_sysconfdir}/limph
mv %{buildroot}%{limphdir}/config.php %{buildroot}%{_sysconfdir}/limph
ln -s ../../../%{_sysconfdir}/limph/config.php %{buildroot}%{limphdir}/config.php
mkdir -p %{buildroot}%{_sysconfdir}/httpd
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/httpd/conf.d
mkdir -p %{buildroot}%{_sysconfdir}/cron.hourly
cp -pr %SOURCE2 %{buildroot}%{_sysconfdir}/cron.hourly

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGELOG INSTALL COPYING
%{limphdir}/*
%config(noreplace) %{_sysconfdir}/httpd/conf.d/limph.conf
%exclude %{limphdir}/config.php
%exclude %{limphdir}/host_agent.php

%files hostagent
%defattr(-,root,root,-)
%doc CHANGELOG INSTALL COPYING
%{limphdir}/host_agent.php
%attr(0755,root,root) %{_sysconfdir}/cron.hourly/limph-hostagent

%files common
%defattr(-,root,root,-)
%doc CHANGELOG INSTALL COPYING
%dir %{_sysconfdir}/limph/
%config(noreplace) %{_sysconfdir}/limph/config.php
%dir %{limphdir}
%{limphdir}/config.php

%changelog
* Tue Jan 09 2007 Jon Ciesla <limb at jcomserv.net> - 1.9.4-6
- Added sysconfdir/limph/
* Tue Jan 09 2007 Jon Ciesla <limb at jcomserv.net> - 1.9.4-5
- Corrected limphdir listing
* Tue Jan 09 2007 Jon Ciesla <limb at jcomserv.net> - 1.9.4-4
- Re-included symlink, limphdir in common
- Set version-release for common requires
* Tue Jan 09 2007 Jon Ciesla <limb at jcomserv.net> - 1.9.4-3
- Moved config.php to limph-common
* Tue Jan 09 2007 Jon Ciesla <limb at jcomserv.net> - 1.9.4-2
- Removed unnecessary tmpdir creation
- Re-marked limph-hostagent cron file as non-config file
- Added exclude for host_agent.php in limph
* Mon Nov 27 2006 Jon Ciesla <limb at jcomserv.net> - 1.9.4-1
- Updated spec using Orion's patch from BZ
- Updated Source to 1.9.4, fixes tmp dir issues, config-file-in-usr issues
* Fri Nov 17 2006 Jon Ciesla <limb at jcomserv.net> - 1.9.3-2
- Provided full source URL
- Using BuildArch not BuildArchitectures
- Fixed limph-hostagent permissions
- $RPM_SOURCE_DIR/foo -> %%SOURCEx
- Added Directory directive to limph.conf
- Moved config.php to sysconfdir, attempted symlink

* Mon Nov 06 2006 Jon Ciesla <limb at jcomserv.net> - 1.9.3-1
- Initial packaging.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/limph/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Jan 2007 18:10:24 -0000	1.1
+++ .cvsignore	11 Jan 2007 18:26:27 -0000	1.2
@@ -0,0 +1 @@
+limph-1.9.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/limph/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jan 2007 18:10:24 -0000	1.1
+++ sources	11 Jan 2007 18:26:27 -0000	1.2
@@ -0,0 +1 @@
+cbb52fdea42bbc80a18c5b98a7882dee  limph-1.9.4.tar.gz




More information about the scm-commits mailing list