Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios32
> nagios-p1.pl-location.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-p1.pl-location.patch of Package nagios32 (Revision 3)
Currently displaying revision
3
,
show latest
Index: Makefile.in =================================================================== --- Makefile.in.orig +++ Makefile.in @@ -24,6 +24,7 @@ LOGDIR=@localstatedir@ CHECKRESULTDIR=@CHECKRESULTDIR@ CFGDIR=@sysconfdir@ +P1PLDIR=@p1pldir@ BINDIR=@bindir@ CGIDIR=@sbindir@ LIBEXECDIR=@libexecdir@ @@ -190,7 +191,7 @@ $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/archives $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CHECKRESULTDIR) if [ $(INSTALLPERLSTUFF) = yes ]; then \ - $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \ + $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(P1PLDIR); \ fi; @echo "" Index: configure.in =================================================================== --- configure.in.orig +++ configure.in @@ -16,6 +16,7 @@ dnl Figure out how to invoke "install" and what install options to use. AC_PROG_INSTALL AC_SUBST(INSTALL) +AC_SUBST(P1PLDIR) dnl What OS are we running? AC_CANONICAL_HOST Index: include/locations.h.in =================================================================== --- include/locations.h.in.orig +++ include/locations.h.in @@ -39,5 +39,5 @@ #define DEFAULT_OBJECT_CACHE_FILE "@localstatedir@/objects.cache" #define DEFAULT_PRECACHED_OBJECT_FILE "@localstatedir@/objects.precache" #define DEFAULT_EVENT_BROKER_FILE "@localstatedir@/broker.socket" -#define DEFAULT_P1_FILE "@bindir@/p1.pl" /**** EMBEDDED PERL ****/ +#define DEFAULT_P1_FILE "@p1pldir@/p1.pl" /**** EMBEDDED PERL ****/ #define DEFAULT_AUTH_FILE "" /**** EMBEDDED PERL - IS THIS USED? ****/ Index: sample-config/nagios.cfg.in =================================================================== --- sample-config/nagios.cfg.in.orig +++ sample-config/nagios.cfg.in @@ -1047,7 +1047,7 @@ # embedded Perl interpreter) is located. If you didn't compile # Nagios with embedded Perl support, this option has no effect. -p1_file=@bindir@/p1.pl +p1_file=@p1pldir@/p1.pl