Created
January 31, 2012 04:23
-
-
Save snickerjp/1708795 to your computer and use it in GitHub Desktop.
Repoforge Nagios Spec Japanese Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /root/tmp/nagios.spec 2012-01-31 13:20:21.000000000 +0900 | |
+++ nagios-ja.spec 2012-01-31 14:22:46.000000000 +0900 | |
@@ -1,5 +1,6 @@ | |
# $Id: nagios.spec 9310 2010-11-19 07:32:09Z cmr $ | |
# Authority: dag | |
+# Modify: snicker_jp | |
# Upstream: Ethan Galstad <nagios$nagios,org> | |
### FIXME: TODO: Add sysv script based on template. (remove cmd-file on start-up) | |
@@ -9,7 +10,7 @@ | |
Summary: Open Source host, service and network monitoring program | |
Name: nagios | |
Version: 3.2.3 | |
-Release: 3%{?dist} | |
+Release: 3%{?dist}.ja | |
License: GPL | |
Group: Applications/System | |
URL: http://www.nagios.org/ | |
@@ -20,6 +21,7 @@ | |
Source0: http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-%{version}.tar.gz | |
Source1: ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD-4.0/amd64/All/nagios-imagepak-base-20030219.tgz | |
Source2: daemon-init-redhat.in | |
+Patch0: http://ftp.momo-i.org/pub/other/nagios-jp-%{version}.patch.gz | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
BuildRequires: gd-devel > 1.8 | |
@@ -54,6 +56,7 @@ | |
%prep | |
%setup | |
+%patch0 -p1 | |
# /usr/local/nagios is hardcoded in many places | |
%{__perl} -pi.orig -e 's|/usr/local/nagios/var/rw|%{_localstatedir}/nagios/rw|g;' contrib/eventhandlers/submit_check_result | |
@@ -203,6 +206,9 @@ | |
%{_includedir}/nagios/ | |
%changelog | |
+* Tue Jan 31 2012 snicker_jp - 3.2.3-3.ja | |
+- Japanese Patch | |
+ | |
* Fri Nov 19 2010 Christoph Maser <[email protected]> - 3.2.3-3 | |
- adapt the extraction for nagios-imagepak-base from BSD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment