From 514bb2ea8803ab0b7e9b67e3f4c01ebd5ec4bedf Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 17 Feb 2010 02:06:38 +0000 Subject: [PATCH 1/3] Initialize branch F-13 for mon --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 4f6eca98276b7acb22e73634085e90a2853b73b2 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 21 Apr 2010 11:30:10 +0000 Subject: [PATCH 2/3] Pull from devel --- mon.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/mon.spec b/mon.spec index 3ebe910..e83f4d1 100644 --- a/mon.spec +++ b/mon.spec @@ -1,12 +1,13 @@ # TODO: Split monitors and alerts into subpackages # they drag in way too much dependencies -%define moncgi_version 1.52 +%global moncgi_version 1.52 +%global fixlib sed 's,/usr/lib,%{_libdir},g' Name: mon Summary: General-purpose resource monitoring system Version: 1.2.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Applications/Internet URL: http://www.kernel.org/software/mon/ @@ -22,6 +23,11 @@ Source5: userfile Patch0: mon-1.2.0-perl.patch Patch1: mon-1.2.0-uucp.patch +Requires: perl(Authen::PAM) +Requires: iputils +Requires: fping +Requires: traceroute + BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -91,8 +97,9 @@ install -p -m0755 mon.d/*.wrap mon.d/*.monitor $RPM_BUILD_ROOT%{_libdir}/mon/mon install -p -m0755 alert.d/* $RPM_BUILD_ROOT%{_libdir}/mon/alert.d/ install -p -m0755 alerts/*/*.alert $RPM_BUILD_ROOT%{_libdir}/mon/alert.d/ -install -Dp -m0644 etc/auth.cf $RPM_BUILD_ROOT%{_sysconfdir}/mon/auth.cf -install -Dp -m0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/mon/mon.cf +install -d $RPM_BUILD_ROOT%{_sysconfdir}/mon +%{fixlib} etc/auth.cf >$RPM_BUILD_ROOT%{_sysconfdir}/mon/auth.cf +%{fixlib} %{SOURCE3} >$RPM_BUILD_ROOT%{_sysconfdir}/mon/mon.cf install -Dp -m0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initrddir}/mon install -Dp -m0600 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/mon/userfile @@ -107,6 +114,9 @@ chmod -x mon.cgi-1.52/mon.cgi \ clients/batch-example \ utils/syslog.monitor +# Fix library path in examples +%{fixlib} -i etc/*.cf + %clean @@ -162,6 +172,10 @@ fi %changelog +* Wed Apr 21 2010 Lubomir Rintel (GoodData) - 1.2.0-6 +- Add missing dependencies (#584281) +- Fix path to libdir for 64-bits + * Sat Jul 25 2009 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 7c0d515b761c2b0cdb45d572ae97570c729e224a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 03:36:38 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 26bd3e6..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: mon -# $Id: Makefile,v 1.1 2008/07/23 15:58:31 kevin Exp $ -NAME := mon -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13