Skip to content

Instantly share code, notes, and snippets.

@snickerjp
Created February 27, 2017 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snickerjp/2e8385fdb40d1ccf9ac17bd3d441d76b to your computer and use it in GitHub Desktop.
Save snickerjp/2e8385fdb40d1ccf9ac17bd3d441d76b to your computer and use it in GitHub Desktop.
Nagios 4.2.4-2 epel のSRPM Patch
--- rpmbuild/SPECS/nagios.spec 2017-02-07 23:35:04.000000000 +0000
+++ rpmbuild/SPECS/nagios-jp.spec 2017-02-27 09:55:18.760616450 +0000
@@ -2,7 +2,7 @@
Name: nagios
Version: 4.2.4
-Release: 2%{?dist}
+Release: 2%{?dist}.jp
Summary: Host/service/network monitoring program
Summary(de): Nagios ücht Dienste und Rechner und meldet Ihnen Ausfäe
@@ -34,6 +34,8 @@
Patch7: nagios-0007-Apache-2.4-configuration-fix-for-Fedora-18.patch
Patch8: nagios-0008-Add-cfg_dir-etc-nagios-conf.d-to-the-main-nagios-con.patch
Patch9: nagios-0009-fix-localstatedir-for-linux.patch
+Patch1000: http://ftp.momo-i.org/pub/security/nagios/patches/nagios-jp-%{version}.patch.gz
+
BuildRequires: gd-devel > 1.8, mailx, libjpeg-devel, libpng-devel
BuildRequires: perl-generators
@@ -139,6 +141,7 @@
%patch4 -p1 -b .fix_path_to_cgi
%patch5 -p1 -b .fix_path_to_passwd
%patch6 -p1 -b .more_images
+%patch1000 -p1
%patch8 -p1 -b .conf_d
%patch9 -p1 -b .fix_localstatedir
@@ -324,6 +327,9 @@
%changelog
+* Mon Feb 27 2017 snicker_jp - 4.2.4-2.jp
+- Japanese Patch
+
* Tue Feb 07 2017 Stephen Smoogen <smooge@fedoraproject.org> - 4.2.4-2
- Pulled in version from COPR
- Remove lines which fedpkg lint did not like
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment