• R/O
  • SSH

contrib-spec-files: Commit

日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。


Commit MetaInfo

Revision35bbc1fd47f67a940ed040bfdda2a52819020b99 (tree)
Time2020-02-06 20:16:43
AuthorFumihisa TONAKA <fumi.ftnk@gmai...>
CommiterFumihisa TONAKA

Log Message

SFEnagios-nrpe-jposug: use libressl

Change Summary

Incremental Difference

diff -r 55d6009a0da0 -r 35bbc1fd47f6 specs/SFEnagios-nrpe-jposug.spec
--- a/specs/SFEnagios-nrpe-jposug.spec Fri Feb 08 16:00:52 2019 +0900
+++ b/specs/SFEnagios-nrpe-jposug.spec Thu Feb 06 20:16:43 2020 +0900
@@ -29,7 +29,9 @@
2929 Source2: svc-nagios-nrpe-jposug
3030 BuildRoot: %{_tmppath}/%{name}-%{version}-build
3131
32+BuildREquires: jposug/library/security/libressl
3233 Requires: jposug/diagnostic/nagios/common
34+Requires: jposug/library/security/libressl
3335
3436 %description
3537 NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you to monitor remote machine metrics (disk usage, CPU load, etc.). NRPE can also communicate with some of the Windows agent addons, so you can execute scripts and check metrics on remote Windows machines as well.
@@ -43,23 +45,31 @@
4345 CPUS=1
4446 fi
4547
48+
49+PATH=/opt/jposug/bin:/opt/jposug/sbin:${PATH}
4650 export CC='/usr/bin/gcc -m64'
4751 # export CFLAGS="%{optflags}"
4852 # export LDFLAGS="%{_ldflags}"
53+export LDFLAGS="-L/opt/jposug/lib -L/lib/%{_arch64} -L/usr/lib/%{_arch64} -R/opt/jposug/lib -R/lib/%{_arch64} -R/usr/lib/%{_arch64}"
54+export PKG_CONFIG_PATH=/opt/jposug/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
4955
5056 ./configure \
51- --prefix=%{_datadir}/nagios \
52- --exec-prefix=%{_libdir}/nagios \
53- --with-init-dir=%{_initrddir} \
54- --with-lockfile=%{_localstatedir}/run/nagios-nrpe.pid \
55- --libdir=%{_libdir}/nagios \
56- --bindir=%{_sbindir} \
57- --sbindir=%{_libdir}/nagios/cgi-bin \
58- --libexecdir=%{_libdir}/nagios/plugins \
59- --sysconfdir=%{_sysconfdir}/nagios \
60- --localstatedir=%{_localstatedir}/log/nagios \
61- --datadir=%{_datadir}/nagios/html \
62- --enable-command-args
57+ --prefix=%{_datadir}/nagios \
58+ --exec-prefix=%{_libdir}/nagios \
59+ --with-init-dir=%{_initrddir} \
60+ --with-lockfile=%{_localstatedir}/run/nagios-nrpe.pid \
61+ --libdir=%{_libdir}/nagios \
62+ --bindir=%{_sbindir} \
63+ --sbindir=%{_libdir}/nagios/cgi-bin \
64+ --libexecdir=%{_libdir}/nagios/plugins \
65+ --sysconfdir=%{_sysconfdir}/nagios \
66+ --localstatedir=%{_localstatedir}/log/nagios \
67+ --datadir=%{_datadir}/nagios/html \
68+ --enable-command-args \
69+ --with-opsys=solaris \
70+ --with-init-type=smf11 \
71+ --with-inetd-type=smf11 \
72+ --with-ssl=/opt/jposug
6373
6474 make -j$CPUS all
6575
@@ -108,5 +118,7 @@
108118
109119
110120 %changelog
121+* Thu Feb 06 2020 - Fumihisa TONAKA <fumi.ftnk@gmail.com>
122+- use libressl
111123 * Fri Feb 08 2019 - Fumihisa TONAKA <fumi.ftnk@gmail.com>
112124 - initial commit
Show on old repository browser