Removed
This commit is contained in:
@ -1,118 +0,0 @@
|
|||||||
PORTNAME= nagios
|
|
||||||
PORTVERSION= 3.5.1
|
|
||||||
PORTREVISION= 12
|
|
||||||
CATEGORIES= net-mgmt
|
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= joneum@FreeBSD.org
|
|
||||||
COMMENT= Powerful network monitoring system
|
|
||||||
WWW= https://www.nagios.org/
|
|
||||||
|
|
||||||
LICENSE= GPLv2
|
|
||||||
|
|
||||||
FLAVORS= default monplugins
|
|
||||||
FLAVOR?= ${FLAVORS:[1]}
|
|
||||||
monplugins_PKGNAMESUFFIX= -monplugins
|
|
||||||
|
|
||||||
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
|
||||||
libgd.so:graphics/gd
|
|
||||||
|
|
||||||
PORTSCOUT= limit:^3.
|
|
||||||
|
|
||||||
USES= cpe localbase perl5 php
|
|
||||||
USE_PERL5= build
|
|
||||||
USE_RC_SUBR= nagios
|
|
||||||
|
|
||||||
CONFLICTS= nagios-[12].* nagios-devel nagios4
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
|
|
||||||
--with-command-group=${WWWGRP} \
|
|
||||||
--with-nagios-user=${NAGIOSUSER} \
|
|
||||||
--with-nagios-group=${NAGIOSGROUP} \
|
|
||||||
--with-htmurl=${NAGIOSHTMURL} \
|
|
||||||
--with-cgiurl=${NAGIOSCGIURL} \
|
|
||||||
--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
|
|
||||||
--libexecdir=${PREFIX}/libexec/nagios \
|
|
||||||
--datadir=${PREFIX}/${NAGIOSWWWDIR} \
|
|
||||||
--sysconfdir=${PREFIX}/etc/nagios \
|
|
||||||
--localstatedir=${NAGIOSDIR} \
|
|
||||||
--with-httpd-conf=${PREFIX}/etc \
|
|
||||||
--with-checkresult-dir=${NAGIOSDIR}/checkresults \
|
|
||||||
--disable-statuswrl \
|
|
||||||
ac_cv_lib_iconv_main=no
|
|
||||||
CONFIGURE_ENV= PERL=${PERL}
|
|
||||||
|
|
||||||
MAKE_JOBS_UNSAFE= yes
|
|
||||||
|
|
||||||
INSTALL_TARGET= install install-commandmode install-config
|
|
||||||
PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \
|
|
||||||
NAGIOSWWWDIR=${NAGIOSWWWDIR} \
|
|
||||||
NAGIOSUSER=${NAGIOSUSER} \
|
|
||||||
NAGIOSGROUP=${NAGIOSGROUP} \
|
|
||||||
WWWGRP=${WWWGRP}
|
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
|
||||||
|
|
||||||
# XXX: Don't remove PREFIX from SUB_LIST here.
|
|
||||||
SUB_LIST= PREFIX=${PREFIX} \
|
|
||||||
NAGIOSHTMURL=${NAGIOSHTMURL} \
|
|
||||||
NAGIOSCGIURL=${NAGIOSCGIURL} \
|
|
||||||
${PLIST_SUB}
|
|
||||||
|
|
||||||
NAGIOSUSER?= nagios
|
|
||||||
NAGIOSGROUP?= nagios
|
|
||||||
NAGIOSDIR?= /var/spool/nagios
|
|
||||||
|
|
||||||
NAGIOSWWWDIR?= www/nagios
|
|
||||||
NAGIOSHTMURL?= /nagios
|
|
||||||
NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
|
|
||||||
|
|
||||||
USERS= ${NAGIOSUSER}
|
|
||||||
GROUPS= ${NAGIOSGROUP}
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
|
|
||||||
OPTIONS_RADIO= PLUGINS
|
|
||||||
OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
|
|
||||||
# XXX:
|
|
||||||
#OPTIONS_DEFAULT= NAGPLUGINS
|
|
||||||
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
|
|
||||||
NANOSLEEP_DESC= Use nanosleep in event timing
|
|
||||||
EVENT_BROKER_DESC= Enable event broker functionality
|
|
||||||
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
|
|
||||||
|
|
||||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
|
|
||||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
|
|
||||||
|
|
||||||
OPTIONS_SUB=
|
|
||||||
|
|
||||||
EMBEDDED_PERL_USE= perl5=run
|
|
||||||
EMBEDDED_PERL_CONFIGURE_ENABLE= embedded-perl
|
|
||||||
EMBEDDED_PERL_CONFIGURE_WITH= perlcache
|
|
||||||
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
|
|
||||||
EVENT_BROKER_CONFIGURE_ENABLE= event-broker
|
|
||||||
|
|
||||||
.if ${FLAVOR:U} == monplugins
|
|
||||||
OPTIONS_DEFAULT+= MONPLUGINS
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${FLAVOR:U} == default
|
|
||||||
OPTIONS_DEFAULT+= NAGPLUGINS
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
|
||||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} '/^INSTALL_OPTS=/d' ${WRKSRC}/configure
|
|
||||||
.if ${PORT_OPTIONS:MUNHANDLED_HACK}
|
|
||||||
@${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \
|
|
||||||
-e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
SHA256 (nagios-3.5.1.tar.gz) = ca9dd68234fa090b3c35ecc8767b2c9eb743977eaf32612fa9b8341cc00a0f99
|
|
||||||
SIZE (nagios-3.5.1.tar.gz) = 1763584
|
|
||||||
@ -1,100 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# PROVIDE: nagios
|
|
||||||
# REQUIRE: LOGIN
|
|
||||||
# KEYWORD: shutdown
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add the following lines to /etc/rc.conf to enable nagios:
|
|
||||||
# nagios_enable (bool): Set to "NO" by default.
|
|
||||||
# Set it to "YES" to enable nagios.
|
|
||||||
# nagios_precache (bool): Set to "NO" by default.
|
|
||||||
# Set it to "YES" to enable pre-caching.
|
|
||||||
# nagios_flags (str): Set to "" by default.
|
|
||||||
# nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default.
|
|
||||||
#
|
|
||||||
|
|
||||||
. /etc/rc.subr
|
|
||||||
|
|
||||||
name="nagios"
|
|
||||||
rcvar=nagios_enable
|
|
||||||
|
|
||||||
command="%%PREFIX%%/bin/nagios"
|
|
||||||
command_args="-d"
|
|
||||||
extra_commands="reload configtest"
|
|
||||||
pidfile="%%NAGIOSDIR%%/nagios.lock"
|
|
||||||
nagios_user="%%NAGIOSUSER%%"
|
|
||||||
|
|
||||||
start_precmd="start_precmd"
|
|
||||||
stop_postcmd="stop_postcmd"
|
|
||||||
restart_precmd="nagios_checkconfig"
|
|
||||||
reload_precmd="reload_precmd"
|
|
||||||
configtest_cmd="nagios_checkconfig"
|
|
||||||
sig_reload=HUP
|
|
||||||
|
|
||||||
load_rc_config "${name}"
|
|
||||||
|
|
||||||
[ -z "${nagios_enable}" ] && nagios_enable="NO"
|
|
||||||
[ -z "${nagios_configfile}" ] && nagios_configfile="%%PREFIX%%/etc/nagios/nagios.cfg"
|
|
||||||
[ -z "${nagios_precache}" ] && nagios_precache="NO"
|
|
||||||
|
|
||||||
required_files="${nagios_configfile}"
|
|
||||||
command_args="${command_args} ${nagios_configfile}"
|
|
||||||
|
|
||||||
nagios_cacheconfig() {
|
|
||||||
if ! checkyesno nagios_precache; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -n "Pre-Caching nagios configuration: "
|
|
||||||
${command} -pv ${nagios_configfile} 2>&1 >/dev/null
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "FAILED"
|
|
||||||
${command} -v ${nagios_configfile}
|
|
||||||
return 1
|
|
||||||
else
|
|
||||||
command_args="-u -x ${command_args}"
|
|
||||||
echo "OK"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
nagios_checkconfig() {
|
|
||||||
echo -n "Performing sanity check of nagios configuration: "
|
|
||||||
${command} -v ${nagios_configfile} 2>&1 >/dev/null
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "FAILED"
|
|
||||||
${command} -v ${nagios_configfile}
|
|
||||||
return 1
|
|
||||||
else
|
|
||||||
echo "OK"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
reload_precmd() {
|
|
||||||
if ! nagios_checkconfig; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! nagios_cacheconfig; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
start_precmd() {
|
|
||||||
if ! nagios_checkconfig; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! nagios_cacheconfig; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
su -m "${nagios_user}" -c "touch \"%%NAGIOSDIR%%/nagios.log\" \"%%NAGIOSDIR%%/status.sav\""
|
|
||||||
rm -f "%%NAGIOSDIR%%/rw/nagios.cmd"
|
|
||||||
}
|
|
||||||
|
|
||||||
stop_postcmd() {
|
|
||||||
rm -f "%%NAGIOSDIR%%/nagios.tmp" "%%NAGIOSDIR%%/rw/nagios.cmd"
|
|
||||||
}
|
|
||||||
|
|
||||||
run_rc_command "$1"
|
|
||||||
@ -1,32 +0,0 @@
|
|||||||
--- ./include/downtime.h.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./include/downtime.h 2014-04-18 10:49:26.000000000 +0200
|
|
||||||
@@ -39,24 +39,26 @@
|
|
||||||
char *service_description;
|
|
||||||
time_t entry_time;
|
|
||||||
time_t start_time;
|
|
||||||
- time_t flex_downtime_start; /* Time the flexible downtime started */
|
|
||||||
time_t end_time;
|
|
||||||
int fixed;
|
|
||||||
unsigned long triggered_by;
|
|
||||||
unsigned long duration;
|
|
||||||
unsigned long downtime_id;
|
|
||||||
- int is_in_effect;
|
|
||||||
- int start_notification_sent;
|
|
||||||
char *author;
|
|
||||||
char *comment;
|
|
||||||
#ifdef NSCORE
|
|
||||||
unsigned long comment_id;
|
|
||||||
+#endif
|
|
||||||
+ int is_in_effect;
|
|
||||||
+#ifdef NSCORE
|
|
||||||
int start_flex_downtime;
|
|
||||||
int incremented_pending_downtime;
|
|
||||||
// int start_event;
|
|
||||||
// int stop_event;
|
|
||||||
#endif
|
|
||||||
struct scheduled_downtime_struct *next;
|
|
||||||
+ time_t flex_downtime_start; /* Time the flexible downtime started */
|
|
||||||
+ int start_notification_sent;
|
|
||||||
} scheduled_downtime;
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,66 +0,0 @@
|
|||||||
--- ./Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./Makefile.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -30,8 +30,6 @@
|
|
||||||
LIBEXECDIR=@libexecdir@
|
|
||||||
HTMLDIR=@datadir@
|
|
||||||
INSTALL=@INSTALL@
|
|
||||||
-INSTALL_OPTS=@INSTALL_OPTS@
|
|
||||||
-COMMAND_OPTS=@COMMAND_OPTS@
|
|
||||||
HTTPD_CONF=@HTTPD_CONF@
|
|
||||||
INIT_DIR=@init_dir@
|
|
||||||
INIT_OPTS=-o root -g root
|
|
||||||
@@ -234,12 +232,12 @@
|
|
||||||
$(MAKE) install-basic
|
|
||||||
|
|
||||||
install-basic:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
|
|
||||||
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)
|
|
||||||
$(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 644 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
|
|
||||||
fi;
|
|
||||||
|
|
||||||
@echo ""
|
|
||||||
@@ -261,19 +259,18 @@
|
|
||||||
|
|
||||||
|
|
||||||
install-config:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg
|
|
||||||
- $(INSTALL) -b -m 660 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/windows.cfg $(DESTDIR)$(CFGDIR)/objects/windows.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg
|
|
||||||
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg-sample
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg-sample
|
|
||||||
|
|
||||||
@echo ""
|
|
||||||
@echo "*** Config files installed ***"
|
|
||||||
@@ -321,7 +318,6 @@
|
|
||||||
|
|
||||||
install-commandmode:
|
|
||||||
$(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw
|
|
||||||
- chmod g+s $(DESTDIR)$(LOGDIR)/rw
|
|
||||||
|
|
||||||
@echo ""
|
|
||||||
@echo "*** External command directory configured ***"
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
--- ./base/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./base/Makefile.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -39,8 +39,6 @@
|
|
||||||
CGIDIR=@sbindir@
|
|
||||||
HTMLDIR=@datarootdir@
|
|
||||||
INSTALL=@INSTALL@
|
|
||||||
-INSTALL_OPTS=@INSTALL_OPTS@
|
|
||||||
-COMMAND_OPTS=@COMMAND_OPTS@
|
|
||||||
STRIP=@STRIP@
|
|
||||||
|
|
||||||
CGIURL=@cgiurl@
|
|
||||||
@@ -204,9 +202,9 @@
|
|
||||||
$(MAKE) install-basic
|
|
||||||
|
|
||||||
install-basic:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
||||||
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
|
|
||||||
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
|
|
||||||
|
|
||||||
strip-post-install:
|
|
||||||
$(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
--- ./cgi/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./cgi/Makefile.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -18,8 +18,6 @@
|
|
||||||
CGIDIR=@sbindir@
|
|
||||||
HTMLDIR=@datarootdir@
|
|
||||||
INSTALL=@INSTALL@
|
|
||||||
-INSTALL_OPTS=@INSTALL_OPTS@
|
|
||||||
-COMMAND_OPTS=@COMMAND_OPTS@
|
|
||||||
STRIP=@STRIP@
|
|
||||||
|
|
||||||
CGIEXTRAS=@CGIEXTRAS@
|
|
||||||
@@ -201,9 +199,9 @@
|
|
||||||
$(MAKE) install-basic
|
|
||||||
|
|
||||||
install-basic:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
|
|
||||||
for file in *.cgi; do \
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
|
|
||||||
done
|
|
||||||
|
|
||||||
strip-post-install:
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
--- ./contrib/Makefile.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./contrib/Makefile.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -16,7 +16,6 @@
|
|
||||||
# Generated automatically from configure script
|
|
||||||
SNPRINTF_O=@SNPRINTF_O@
|
|
||||||
INSTALL=@INSTALL@
|
|
||||||
-INSTALL_OPTS=@INSTALL_OPTS@
|
|
||||||
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
@@ -51,10 +50,10 @@
|
|
||||||
devclean: distclean
|
|
||||||
|
|
||||||
install:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
||||||
- for f in $(CGIS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
|
|
||||||
- for f in $(UTILS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
||||||
+ for f in $(CGIS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
|
|
||||||
+ for f in $(UTILS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# rules and dependencies for actual target programs
|
|
||||||
@ -1,175 +0,0 @@
|
|||||||
commit d97e03f32741a7d851826b03ed73ff4c9612a866
|
|
||||||
Author: Eric Stanley <estanley@nagios.com>
|
|
||||||
Date: 2013-12-20 13:14:30 -0600
|
|
||||||
|
|
||||||
CGIs: Fixed minor vulnerability where a custom query could crash the CGI.
|
|
||||||
|
|
||||||
Most CGIs previously incremented the input variable counter twice when
|
|
||||||
it encountered a long key value. This could cause the CGI to read past
|
|
||||||
the end of the list of CGI variables. This commit removes the second
|
|
||||||
increment, removing the possibility of reading past the end of the list
|
|
||||||
of CGI variables.
|
|
||||||
|
|
||||||
diff --git ./cgi/avail.c ./cgi/avail.c
|
|
||||||
index 76afd86..64eaadc 100644
|
|
||||||
--- ./cgi/avail.c
|
|
||||||
+++ ./cgi/avail.c
|
|
||||||
@@ -1096,7 +1096,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/cmd.c ./cgi/cmd.c
|
|
||||||
index fa6cf5a..50504eb 100644
|
|
||||||
--- ./cgi/cmd.c
|
|
||||||
+++ ./cgi/cmd.c
|
|
||||||
@@ -311,7 +311,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/config.c ./cgi/config.c
|
|
||||||
index f061b0f..3360e70 100644
|
|
||||||
--- ./cgi/config.c
|
|
||||||
+++ ./cgi/config.c
|
|
||||||
@@ -344,7 +344,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/extinfo.c ./cgi/extinfo.c
|
|
||||||
index 62a1b18..5113df4 100644
|
|
||||||
--- ./cgi/extinfo.c
|
|
||||||
+++ ./cgi/extinfo.c
|
|
||||||
@@ -591,7 +591,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/histogram.c ./cgi/histogram.c
|
|
||||||
index 4616541..f6934d0 100644
|
|
||||||
--- ./cgi/histogram.c
|
|
||||||
+++ ./cgi/histogram.c
|
|
||||||
@@ -1060,7 +1060,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/notifications.c ./cgi/notifications.c
|
|
||||||
index 8ba11c1..461ae84 100644
|
|
||||||
--- ./cgi/notifications.c
|
|
||||||
+++ ./cgi/notifications.c
|
|
||||||
@@ -327,7 +327,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/outages.c ./cgi/outages.c
|
|
||||||
index 426ede6..cb58dee 100644
|
|
||||||
--- ./cgi/outages.c
|
|
||||||
+++ ./cgi/outages.c
|
|
||||||
@@ -225,7 +225,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/status.c ./cgi/status.c
|
|
||||||
index 3253340..4ec1c92 100644
|
|
||||||
--- ./cgi/status.c
|
|
||||||
+++ ./cgi/status.c
|
|
||||||
@@ -567,7 +567,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/statusmap.c ./cgi/statusmap.c
|
|
||||||
index ea48368..2580ae5 100644
|
|
||||||
--- ./cgi/statusmap.c
|
|
||||||
+++ ./cgi/statusmap.c
|
|
||||||
@@ -400,7 +400,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/statuswml.c ./cgi/statuswml.c
|
|
||||||
index bd8cea2..d25abef 100644
|
|
||||||
--- ./cgi/statuswml.c
|
|
||||||
+++ ./cgi/statuswml.c
|
|
||||||
@@ -226,8 +226,13 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
for(x = 0; variables[x] != NULL; x++) {
|
|
||||||
|
|
||||||
+ /* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
+ if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
/* we found the hostgroup argument */
|
|
||||||
- if(!strcmp(variables[x], "hostgroup")) {
|
|
||||||
+ else if(!strcmp(variables[x], "hostgroup")) {
|
|
||||||
display_type = DISPLAY_HOSTGROUP;
|
|
||||||
x++;
|
|
||||||
if(variables[x] == NULL) {
|
|
||||||
diff --git ./cgi/summary.c ./cgi/summary.c
|
|
||||||
index 126ce5e..749a02c 100644
|
|
||||||
--- ./cgi/summary.c
|
|
||||||
+++ ./cgi/summary.c
|
|
||||||
@@ -725,7 +725,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./cgi/trends.c ./cgi/trends.c
|
|
||||||
index b35c18e..895db01 100644
|
|
||||||
--- ./cgi/trends.c
|
|
||||||
+++ ./cgi/trends.c
|
|
||||||
@@ -1263,7 +1263,6 @@ int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git ./contrib/daemonchk.c ./contrib/daemonchk.c
|
|
||||||
index 78716e5..9bb6c4b 100644
|
|
||||||
--- ./contrib/daemonchk.c
|
|
||||||
+++ ./contrib/daemonchk.c
|
|
||||||
@@ -174,7 +174,6 @@ static int process_cgivars(void) {
|
|
||||||
|
|
||||||
/* do some basic length checking on the variable identifier to prevent buffer overflows */
|
|
||||||
if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
|
|
||||||
- x++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,97 +0,0 @@
|
|||||||
--- html/Makefile.in.orig 2013-08-30 17:46:14 UTC
|
|
||||||
+++ html/Makefile.in
|
|
||||||
@@ -10,8 +10,6 @@ BINDIR=@bindir@
|
|
||||||
CGIDIR=@sbindir@
|
|
||||||
HTMLDIR=@datadir@
|
|
||||||
INSTALL=@INSTALL@
|
|
||||||
-INSTALL_OPTS=@INSTALL_OPTS@
|
|
||||||
-COMMAND_OPTS=@COMMAND_OPTS@
|
|
||||||
|
|
||||||
CP=@CP@
|
|
||||||
|
|
||||||
@@ -34,55 +32,55 @@ distclean: clean
|
|
||||||
devclean: distclean
|
|
||||||
|
|
||||||
install:
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/js
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss/extlib
|
|
||||||
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
|
|
||||||
- $(INSTALL) -m 664 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
|
|
||||||
-# $(INSTALL) -m 664 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
|
|
||||||
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
|
|
||||||
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
|
|
||||||
+# $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/js
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes/rss/extlib
|
|
||||||
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
|
|
||||||
+ $(INSTALL) -m 644 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
|
|
||||||
+# $(INSTALL) -m 644 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
|
|
||||||
# Remove old HTML files (PHP files are used now)
|
|
||||||
rm -f $(DESTDIR)$(HTMLDIR)/index.html
|
|
||||||
rm -f $(DESTDIR)$(HTMLDIR)/main.html
|
|
||||||
rm -f $(DESTDIR)$(HTMLDIR)/side.html
|
|
||||||
for file in *.php; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
|
|
||||||
# for file in media/*.wav; \
|
|
||||||
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
|
|
||||||
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
|
|
||||||
for file in stylesheets/*.css; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
|
|
||||||
for file in contexthelp/*.html; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
|
|
||||||
for file in js/*.js; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/js; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/js; done
|
|
||||||
# for file in docs/*.html; \
|
|
||||||
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
|
|
||||||
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
|
|
||||||
# for file in docs/images/*.*; \
|
|
||||||
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
|
|
||||||
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
|
|
||||||
for file in images/*.gif; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
for file in images/*.jpg; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
for file in images/*.png; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
for file in images/*.ico; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
|
|
||||||
for file in images/logos/*.*; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
|
|
||||||
for file in includes/*.*; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
|
|
||||||
for file in includes/rss/*.*; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done
|
|
||||||
for file in includes/rss/extlib/*.*; \
|
|
||||||
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done
|
|
||||||
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done
|
|
||||||
|
|
||||||
install-unstripped:
|
|
||||||
$(MAKE) install
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
--- ./html/index.php.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./html/index.php 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -8,8 +8,9 @@
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
+include_once(dirname(__FILE__).'/includes/utils.inc.php');
|
|
||||||
// allow specifying main window URL for permalinks, etc.
|
|
||||||
-$corewindow="main.php";
|
|
||||||
+$corewindow=$cfg["cgi_base_url"]."/tac.cgi";
|
|
||||||
if(isset($_GET['corewindow'])){
|
|
||||||
|
|
||||||
// default window url may have been overridden with a permalink...
|
|
||||||
@ -1,39 +0,0 @@
|
|||||||
--- ./html/main.php.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./html/main.php 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -40,36 +40,10 @@
|
|
||||||
<div class="product">Nagios<sup><span style="font-size: small;">®</span></sup> Core<sup><span style="font-size: small;">™</span></sup></div>
|
|
||||||
<div class="version">Version 3.5.1</div>
|
|
||||||
<div class="releasedate">August 30, 2013</div>
|
|
||||||
-<div class="checkforupdates"><a href="http://www.nagios.org/checkforupdates/?version=3.5.1&product=nagioscore" target="_blank">Check for updates</a></div>
|
|
||||||
<!--<div class="whatsnew"><a href="http://go.nagios.com/nagioscore/whatsnew">Read what's new in Nagios Core 3</a></div>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
-<div id="updateversioninfo">
|
|
||||||
-<?php
|
|
||||||
- $updateinfo=get_update_information();
|
|
||||||
- //print_r($updateinfo);
|
|
||||||
- //$updateinfo['update_checks_enabled']=false;
|
|
||||||
- //$updateinfo['update_available']=true;
|
|
||||||
- if($updateinfo['update_checks_enabled']==false){
|
|
||||||
-?>
|
|
||||||
- <div class="updatechecksdisabled">
|
|
||||||
- <div class="warningmessage">Warning: Automatic Update Checks are Disabled!</div>
|
|
||||||
- <div class="submessage">Disabling update checks presents a possible security risk. Visit <a href="http://www.nagios.org/" target="_blank">nagios.org</a> to check for updates manually or enable update checks in your Nagios config file.</a></div>
|
|
||||||
- </div>
|
|
||||||
-<?php
|
|
||||||
- }
|
|
||||||
- else if($updateinfo['update_available']==true && $this_version!=$updateinfo['update_version']){
|
|
||||||
-?>
|
|
||||||
- <div class="updateavailable">
|
|
||||||
- <div class="updatemessage">A new version of Nagios Core is available!</div>
|
|
||||||
- <div class="submessage">Visit <a href="http://www.nagios.org/download/" target="_blank">nagios.org</a> to download Nagios <?php echo $updateinfo['update_version'];?>.</div>
|
|
||||||
- </div>
|
|
||||||
-<?php
|
|
||||||
- }
|
|
||||||
-?>
|
|
||||||
-</div>
|
|
||||||
-
|
|
||||||
|
|
||||||
|
|
||||||
<div id="splashboxes">
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
--- html/includes/rss/rss_parse.inc.orig 2017-12-21 16:55:41.032397000 +0100
|
|
||||||
+++ html/includes/rss/rss_parse.inc 2017-12-21 16:57:40.079068000 +0100
|
|
||||||
@@ -150,7 +150,7 @@
|
|
||||||
// check for a namespace, and split if found
|
|
||||||
$ns = false;
|
|
||||||
if ( strpos( $element, ':' ) ) {
|
|
||||||
- list($ns, $el) = split( ':', $element, 2);
|
|
||||||
+ list($ns, $el) = explode( ':', $element, 2);
|
|
||||||
}
|
|
||||||
if ( $ns and $ns != 'rdf' ) {
|
|
||||||
$this->current_namespace = $ns;
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
--- ./include/locations.h.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./include/locations.h.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
|
|
||||||
#define DEFAULT_TEMP_FILE "@localstatedir@/tempfile"
|
|
||||||
#define DEFAULT_TEMP_PATH "/tmp"
|
|
||||||
-#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/spool/checkresults"
|
|
||||||
+#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/checkresults"
|
|
||||||
#define DEFAULT_STATUS_FILE "@localstatedir@/status.dat"
|
|
||||||
#define DEFAULT_LOG_FILE "@localstatedir@/nagios.log"
|
|
||||||
#define DEFAULT_LOG_ARCHIVE_PATH "@localstatedir@/archives/"
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
--- ./sample-config/cgi.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./sample-config/cgi.cfg.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -264,7 +264,7 @@
|
|
||||||
# OS and distribution, so you may have to tweak this to
|
|
||||||
# work on your system.
|
|
||||||
|
|
||||||
-ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
|
|
||||||
+ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
--- ./sample-config/nagios.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./sample-config/nagios.cfg.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
cfg_file=@sysconfdir@/objects/timeperiods.cfg
|
|
||||||
cfg_file=@sysconfdir@/objects/templates.cfg
|
|
||||||
|
|
||||||
-# Definitions for monitoring the local (Linux) host
|
|
||||||
+# Definitions for monitoring the local (FreeBSD) host
|
|
||||||
cfg_file=@sysconfdir@/objects/localhost.cfg
|
|
||||||
|
|
||||||
# Definitions for monitoring a Windows machine
|
|
||||||
@ -1,40 +0,0 @@
|
|||||||
--- ./sample-config/template-object/localhost.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./sample-config/template-object/localhost.cfg.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -5,7 +5,7 @@
|
|
||||||
#
|
|
||||||
# NOTE: This config file is intended to serve as an *extremely* simple
|
|
||||||
# example of how you can create configuration entries to monitor
|
|
||||||
-# the local (Linux) machine.
|
|
||||||
+# the local (FreeBSD) machine.
|
|
||||||
#
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
@@ -23,9 +23,9 @@
|
|
||||||
# Define a host for the local machine
|
|
||||||
|
|
||||||
define host{
|
|
||||||
- use linux-server ; Name of host template to use
|
|
||||||
+ use freebsd-server ; Name of host template to use
|
|
||||||
; This host definition will inherit all variables that are defined
|
|
||||||
- ; in (or inherited by) the linux-server host template definition.
|
|
||||||
+ ; in (or inherited by) the freebsd-server host template definition.
|
|
||||||
host_name localhost
|
|
||||||
alias localhost
|
|
||||||
address 127.0.0.1
|
|
||||||
@@ -41,12 +41,12 @@
|
|
||||||
###############################################################################
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
-# Define an optional hostgroup for Linux machines
|
|
||||||
+# Define an optional hostgroup for FreeBSD machines
|
|
||||||
|
|
||||||
define hostgroup{
|
|
||||||
- hostgroup_name linux-servers ; The name of the hostgroup
|
|
||||||
- alias Linux Servers ; Long name of the group
|
|
||||||
- members localhost ; Comma separated list of hosts that belong to this group
|
|
||||||
+ hostgroup_name freebsd-servers ; The name of the hostgroup
|
|
||||||
+ alias FreeBSD Servers ; Long name of the group
|
|
||||||
+ members localhost ; Comma separated list of hosts that belong to this group
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
--- ./sample-config/template-object/templates.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
|
|
||||||
+++ ./sample-config/template-object/templates.cfg.in 2014-01-14 13:57:06.000000000 +0100
|
|
||||||
@@ -63,17 +63,17 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-# Linux host definition template - This is NOT a real host, just a template!
|
|
||||||
+# FreeBSD host definition template - This is NOT a real host, just a template!
|
|
||||||
|
|
||||||
define host{
|
|
||||||
- name linux-server ; The name of this host template
|
|
||||||
+ name freebsd-server ; The name of this host template
|
|
||||||
use generic-host ; This template inherits other values from the generic-host template
|
|
||||||
- check_period 24x7 ; By default, Linux hosts are checked round the clock
|
|
||||||
+ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock
|
|
||||||
check_interval 5 ; Actively check the host every 5 minutes
|
|
||||||
retry_interval 1 ; Schedule host check retries at 1 minute intervals
|
|
||||||
- max_check_attempts 10 ; Check each Linux host 10 times (max)
|
|
||||||
- check_command check-host-alive ; Default command to check Linux hosts
|
|
||||||
- notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
|
|
||||||
+ max_check_attempts 10 ; Check each FreeBSD host 10 times (max)
|
|
||||||
+ check_command check-host-alive ; Default command to check FreeBSD hosts
|
|
||||||
+ notification_period workhours ; FreeBSD admins hate to be woken up, so we only notify during the day
|
|
||||||
; Note that the notification_period variable is being overridden from
|
|
||||||
; the value that is inherited from the generic-host template!
|
|
||||||
notification_interval 120 ; Resend notifications every 2 hours
|
|
||||||
@ -1,34 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
message: <<EOT
|
|
||||||
Enable Nagios in /etc/rc.conf with the following line:
|
|
||||||
|
|
||||||
nagios_enable="YES"
|
|
||||||
|
|
||||||
Configuration templates are available in %%PREFIX%%/etc/nagios as
|
|
||||||
*.cfg-sample files. Copy them to *.cfg files where required and
|
|
||||||
edit to suit your needs.
|
|
||||||
|
|
||||||
If you don't already have a web server running, you will need to
|
|
||||||
install and configure one to finish off your Nagios installation.
|
|
||||||
When used with Apache, the following should be sufficient to publish
|
|
||||||
the web component of Nagios (modify the allow list to suit):
|
|
||||||
|
|
||||||
<Directory %%PREFIX%%/%%NAGIOSWWWDIR%%>
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
Allow from 127.0.0.1
|
|
||||||
php_flag engine on
|
|
||||||
php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/:%%NAGIOSDIR%%/
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
|
|
||||||
Options ExecCGI
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/
|
|
||||||
Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/
|
|
||||||
EOT
|
|
||||||
type: install
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
Nagios is a host and service monitor designed to inform you of network
|
|
||||||
problems before your clients, end-users or managers do. The monitoring
|
|
||||||
daemon runs intermittent checks on hosts and services you specify
|
|
||||||
using external "plugins" which return status information to Nagios.
|
|
||||||
When problems are encountered, the daemon can send notifications out
|
|
||||||
to administrative contacts in a variety of different ways (email,
|
|
||||||
instant message, SMS, etc.). Current status information, historical
|
|
||||||
logs, and reports can all be accessed via a web browser.
|
|
||||||
@ -1,383 +0,0 @@
|
|||||||
bin/nagios
|
|
||||||
bin/nagiostats
|
|
||||||
%%EMBEDDED_PERL%%bin/p1.pl
|
|
||||||
etc/nagios/cgi.cfg-sample
|
|
||||||
etc/nagios/nagios.cfg-sample
|
|
||||||
etc/nagios/objects/commands.cfg-sample
|
|
||||||
etc/nagios/objects/contacts.cfg-sample
|
|
||||||
etc/nagios/objects/localhost.cfg-sample
|
|
||||||
etc/nagios/objects/printer.cfg-sample
|
|
||||||
etc/nagios/objects/switch.cfg-sample
|
|
||||||
etc/nagios/objects/templates.cfg-sample
|
|
||||||
etc/nagios/objects/timeperiods.cfg-sample
|
|
||||||
etc/nagios/resource.cfg-sample
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/avail.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/cmd.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/config.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/extinfo.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/histogram.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/history.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/notifications.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/outages.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/showlog.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/status.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/statusmap.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/statuswml.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
|
|
||||||
%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
|
|
||||||
@sample %%NAGIOSWWWDIR%%/config.inc.php.sample
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/A7.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/B1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/C1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/D1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/E1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/F1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/G6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H7.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/H8.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I7.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I8.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/I9.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/J1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/K1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L10.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L11.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L12.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L13.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L7.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L8.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/L9.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/M6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N1.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N2.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N3.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N4.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N5.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N6.html
|
|
||||||
%%NAGIOSWWWDIR%%/contexthelp/N7.html
|
|
||||||
%%NAGIOSWWWDIR%%/images/Nagios-clearbg.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/NagiosEnterprises-whitebg-112x46.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/ack.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/action-graph.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/action-nagios.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/action-orig.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/action.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/b_first2.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/b_last2.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/b_next2.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/b_prev2.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/command.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/comment.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/contexthelp1.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/contexthelp2.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/critical.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/delay.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/delete.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/detail.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/disabled.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/down.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/downtime.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/empty.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/enabled.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/extinfo.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/favicon.ico
|
|
||||||
%%NAGIOSWWWDIR%%/images/flapping.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/globe-support-150x150.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/graph.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/greendot.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/histogram.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/history.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/hostevent.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/info.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/left.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logofullsize.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/aix.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/aix.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/aix.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/aix.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/amiga.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/amiga.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/amiga.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/amiga.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/apple.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/apple.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/apple.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/apple.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/beos.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/beos.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/beos.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/beos.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/bluetooth.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/caldera.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/caldera.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/caldera.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/caldera.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/cat1900.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/cat2900.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/cat5000.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/database.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/database.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/debian.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/debian.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/debian.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/debian.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/desktop-server.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/desktop-server.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ethernet_card.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/fax.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/fax.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/firewall.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/firewall.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/freebsd40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/freebsd40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/freebsd40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/freebsd40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/globe.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/graph.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hp-printer40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hpux.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hpux.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hpux.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hpux.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hub.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/hub.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/internet.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/internet.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/internet_device.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ip-pbx.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ip-pbx.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/irix.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/irix.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/irix.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/irix.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/linux40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/linux40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/linux40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/linux40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/logo.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mac40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mac40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mac40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mac40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mainframe.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mainframe.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mandrake.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mandrake.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mandrake.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/mandrake.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/monitor.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/nagios.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/nagios.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/nagiosvrml.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/next.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/next.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/next.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/next.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ng-switch40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/notebook.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/notebook.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/novell40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/novell40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/novell40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/novell40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/openbsd.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/openbsd.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/openbsd.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/openbsd.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/printer.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/printer.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/rack-server.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/rack-server.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/redhat.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/redhat.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/redhat.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/redhat.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/router40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/san.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/san.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/satellite.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/server.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/signal.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/slackware.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/slackware.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/slackware.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/slackware.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/stampede.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/stampede.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/stampede.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/stampede.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/station.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/storm.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/storm.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/storm.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/storm.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sun40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sun40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sun40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sun40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sunlogo.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sunlogo.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sunlogo.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/sunlogo.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/switch40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/thin-client.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/thin-client.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/turbolinux.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/turbolinux.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/turbolinux.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/turbolinux.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/ultrapenguin.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unicos.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unicos.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unicos.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unicos.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unknown.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/unknown.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/webcamera.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/wifi.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/wifi.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/wifi_modem.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/win40.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/win40.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/win40.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/win40.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/workstation.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/workstation.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/workstation.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/workstation_locked.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/yellowdog.gd2
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/yellowdog.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/yellowdog.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/logos/yellowdog.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/logrotate.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/ndisabled.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/noack.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/notes.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/notify.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/orangedot.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/passiveonly.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/recovery.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/redudancy.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/redundancy.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/restart.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/right.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/sblogo.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/serviceevent.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/sflogo.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/splunk1.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/splunk2.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/start.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/status.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/status2.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/status3.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/status4.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/stop.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/tacdisabled.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/tacdisabled.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/tacenabled.jpg
|
|
||||||
%%NAGIOSWWWDIR%%/images/tacenabled.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/thermcrit.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/thermok.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/thermwarn.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/trends.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/trendshost.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/trendssvc.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/unknown.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/up.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/warning.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/weblogo1.png
|
|
||||||
%%NAGIOSWWWDIR%%/images/zoom1.gif
|
|
||||||
%%NAGIOSWWWDIR%%/images/zoom2.gif
|
|
||||||
%%NAGIOSWWWDIR%%/includes/rss/extlib/Snoopy.class.inc
|
|
||||||
%%NAGIOSWWWDIR%%/includes/rss/rss_cache.inc
|
|
||||||
%%NAGIOSWWWDIR%%/includes/rss/rss_fetch.inc
|
|
||||||
%%NAGIOSWWWDIR%%/includes/rss/rss_parse.inc
|
|
||||||
%%NAGIOSWWWDIR%%/includes/rss/rss_utils.inc
|
|
||||||
%%NAGIOSWWWDIR%%/includes/jquery-1.7.1.min.js
|
|
||||||
%%NAGIOSWWWDIR%%/includes/utils.inc.php
|
|
||||||
%%NAGIOSWWWDIR%%/index.php
|
|
||||||
%%NAGIOSWWWDIR%%/js/jquery-1.7.1.min.js
|
|
||||||
%%NAGIOSWWWDIR%%/main.php
|
|
||||||
%%NAGIOSWWWDIR%%/robots.txt
|
|
||||||
%%NAGIOSWWWDIR%%/rss-corefeed.php
|
|
||||||
%%NAGIOSWWWDIR%%/rss-newsfeed.php
|
|
||||||
%%NAGIOSWWWDIR%%/side.php
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/avail.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/checksanity.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/cmd.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/common.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/config.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/extinfo.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/histogram.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/history.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/ministatus.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/notifications.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/outages.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/showlog.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/status.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/statusmap.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/summary.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/tac.css
|
|
||||||
%%NAGIOSWWWDIR%%/stylesheets/trends.css
|
|
||||||
@dir libexec/nagios
|
|
||||||
@dir %%NAGIOSWWWDIR%%/ssi
|
|
||||||
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/archives
|
|
||||||
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%/checkresults
|
|
||||||
@dir(%%NAGIOSUSER%%,%%WWWGRP%%,775) %%NAGIOSDIR%%/rw
|
|
||||||
@dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%
|
|
||||||
@postunexec if [ -d %%NAGIOSDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%NAGIOSDIR%%`` to remove any files left behind."; fi
|
|
||||||
@postunexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi
|
|
||||||
@ -1,146 +0,0 @@
|
|||||||
PORTNAME= sudo
|
|
||||||
PORTVERSION= 1.9.16p2
|
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= security
|
|
||||||
MASTER_SITES= SUDO
|
|
||||||
|
|
||||||
MAINTAINER= garga@FreeBSD.org
|
|
||||||
COMMENT= Allow others to run commands as root
|
|
||||||
WWW= https://www.sudo.ws/
|
|
||||||
|
|
||||||
LICENSE= sudo
|
|
||||||
LICENSE_NAME= Sudo license
|
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
||||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
||||||
|
|
||||||
USES= cpe libtool pkgconfig
|
|
||||||
CPE_VENDOR= todd_miller
|
|
||||||
USE_LDCONFIG= yes
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS= --mandir=${PREFIX}/share/man \
|
|
||||||
--sysconfdir=${PREFIX}/etc \
|
|
||||||
--with-env-editor \
|
|
||||||
--with-ignore-dot \
|
|
||||||
--with-logfac=${LOGFAC} \
|
|
||||||
--with-logincap \
|
|
||||||
--with-long-otp-prompt \
|
|
||||||
--with-rundir=/var/run/sudo \
|
|
||||||
--with-tty-tickets
|
|
||||||
LDFLAGS+= -lgcc
|
|
||||||
|
|
||||||
PORTSCOUT= ignore:1
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \
|
|
||||||
INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL SSSD2
|
|
||||||
OPTIONS_DEFAULT= AUDIT PAM SSL
|
|
||||||
OPTIONS_RADIO= KERBEROS
|
|
||||||
OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
||||||
OPTIONS_SUB= yes
|
|
||||||
|
|
||||||
AUDIT_DESC= Enable BSM audit support
|
|
||||||
DISABLE_AUTH_DESC= Do not require authentication by default
|
|
||||||
DISABLE_ROOT_SUDO_DESC= Do not allow root to run sudo
|
|
||||||
INSULTS_DESC= Enable insults on failures
|
|
||||||
KERBEROS_DESC= Enable Kerberos 5 authentication (no PAM support)
|
|
||||||
NOARGS_SHELL_DESC= Run a shell if no arguments are given
|
|
||||||
OPIE_DESC= Enable one-time passwords (no PAM support)
|
|
||||||
PYTHON_DESC= Enable python plugin support
|
|
||||||
SSL_DESC= Use OpenSSL TLS and SHA2 functions
|
|
||||||
SSSD2_DESC= Enable SSSD2 backend support
|
|
||||||
|
|
||||||
AUDIT_CONFIGURE_WITH= bsm-audit
|
|
||||||
|
|
||||||
DISABLE_AUTH_CONFIGURE_ON= --disable-authentication
|
|
||||||
DISABLE_ROOT_SUDO_CONFIGURE_ON= --disable-root-sudo
|
|
||||||
|
|
||||||
GSSAPI_BASE_USES= gssapi
|
|
||||||
GSSAPI_BASE_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
||||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
GSSAPI_MIT_USES= gssapi:mit
|
|
||||||
GSSAPI_MIT_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
|
|
||||||
INSULTS_CONFIGURE_ON= --with-insults --with-all-insults
|
|
||||||
|
|
||||||
LDAP_USES= ldap
|
|
||||||
LDAP_CONFIGURE_ON= --with-ldap=${PREFIX} \
|
|
||||||
--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF}
|
|
||||||
|
|
||||||
NLS_USES= gettext
|
|
||||||
NLS_CONFIGURE_ENABLE= nls
|
|
||||||
NLS_CFLAGS= -I${LOCALBASE}/include
|
|
||||||
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
|
|
||||||
|
|
||||||
NOARGS_SHELL_CONFIGURE_ENABLE= noargs-shell
|
|
||||||
|
|
||||||
OPIE_CONFIGURE_ON= --with-opie
|
|
||||||
|
|
||||||
PAM_PREVENTS= OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
||||||
PAM_PREVENTS_MSG= PAM cannot be combined with any other authentication plugin
|
|
||||||
PAM_CONFIGURE_ON= --with-pam
|
|
||||||
|
|
||||||
PYTHON_USES= python
|
|
||||||
PYTHON_CONFIGURE_ENABLE=python
|
|
||||||
|
|
||||||
SSL_USES= ssl
|
|
||||||
SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE}
|
|
||||||
|
|
||||||
SSSD2_RUN_DEPENDS= sssd:security/sssd2
|
|
||||||
SSSD2_CONFIGURE_ON= --with-sssd
|
|
||||||
|
|
||||||
LOGFAC?= authpriv
|
|
||||||
SUDO_LDAP_CONF?= ldap.conf
|
|
||||||
|
|
||||||
# This is intentionally not an option.
|
|
||||||
# SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
|
|
||||||
# ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
|
||||||
.if defined(SUDO_SECURE_PATH)
|
|
||||||
CONFIGURE_ARGS+= --with-secure-path="${SUDO_SECURE_PATH}"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
# This is intentionally not an option.
|
|
||||||
# SUDO_KERB5_INSTANCE is an optional instance string that will be appended
|
|
||||||
# to kerberos principals when to perform authentication. Common choices
|
|
||||||
# are "admin" and "sudo".
|
|
||||||
.if defined(SUDO_KERB5_INSTANCE)
|
|
||||||
CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072
|
|
||||||
. if ${PORT_OPTIONS:MOPIE}
|
|
||||||
BUILD_DEPENDS+= opie>0:security/opie
|
|
||||||
RUN_DEPENDS+= opie>0:security/opie
|
|
||||||
. endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "arm"
|
|
||||||
CONFIGURE_ARGS+= --disable-pie
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
|
|
||||||
s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
|
|
||||||
${WRKSRC}/src/Makefile.in
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
|
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample
|
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample
|
|
||||||
${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/sudo_intercept.so
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
|
|
||||||
.for f in audit_json.so group_file.so libsudo_util.so sudoers.so system_group.so
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f}
|
|
||||||
.endfor
|
|
||||||
|
|
||||||
post-install-PYTHON-on:
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
@ -1,160 +0,0 @@
|
|||||||
PORTNAME= sudo
|
|
||||||
PORTVERSION= 1.9.16p2
|
|
||||||
CATEGORIES= security
|
|
||||||
MASTER_SITES= SUDO
|
|
||||||
|
|
||||||
MAINTAINER= garga@FreeBSD.org
|
|
||||||
COMMENT= Allow others to run commands as root
|
|
||||||
WWW= https://www.sudo.ws/
|
|
||||||
|
|
||||||
LICENSE= sudo
|
|
||||||
LICENSE_NAME= Sudo license
|
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
||||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
||||||
|
|
||||||
FLAVORS= default sssd
|
|
||||||
FLAVOR?= ${FLAVORS:[1]}
|
|
||||||
sssd_PKGNAMESUFFIX= -sssd
|
|
||||||
|
|
||||||
USES= cpe libtool pkgconfig
|
|
||||||
CPE_VENDOR= todd_miller
|
|
||||||
USE_LDCONFIG= yes
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS= --mandir=${PREFIX}/share/man \
|
|
||||||
--sysconfdir=${PREFIX}/etc \
|
|
||||||
--with-env-editor \
|
|
||||||
--with-ignore-dot \
|
|
||||||
--with-logfac=${LOGFAC} \
|
|
||||||
--with-logincap \
|
|
||||||
--with-long-otp-prompt \
|
|
||||||
--with-rundir=/var/run/sudo \
|
|
||||||
--with-tty-tickets
|
|
||||||
LDFLAGS+= -lgcc
|
|
||||||
|
|
||||||
PORTSCOUT= ignore:1
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO DOCS EXAMPLES \
|
|
||||||
INSULTS LDAP NLS NOARGS_SHELL OPIE PAM PYTHON SSL
|
|
||||||
OPTIONS_DEFAULT= AUDIT PAM SSL
|
|
||||||
OPTIONS_RADIO= KERBEROS SSSD
|
|
||||||
OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
||||||
OPTIONS_RADIO_SSSD= SSSD SSSD2
|
|
||||||
OPTIONS_SUB= yes
|
|
||||||
|
|
||||||
AUDIT_DESC= Enable BSM audit support
|
|
||||||
DISABLE_AUTH_DESC= Do not require authentication by default
|
|
||||||
DISABLE_ROOT_SUDO_DESC= Do not allow root to run sudo
|
|
||||||
INSULTS_DESC= Enable insults on failures
|
|
||||||
KERBEROS_DESC= Enable Kerberos 5 authentication (no PAM support)
|
|
||||||
NOARGS_SHELL_DESC= Run a shell if no arguments are given
|
|
||||||
OPIE_DESC= Enable one-time passwords (no PAM support)
|
|
||||||
PYTHON_DESC= Enable python plugin support
|
|
||||||
SSL_DESC= Use OpenSSL TLS and SHA2 functions
|
|
||||||
SSSD_DESC= Enable SSSD backend support (deprecated)
|
|
||||||
SSSD2_DESC= Enable SSSD2 backend support
|
|
||||||
|
|
||||||
AUDIT_CONFIGURE_WITH= bsm-audit
|
|
||||||
|
|
||||||
DISABLE_AUTH_CONFIGURE_ON= --disable-authentication
|
|
||||||
DISABLE_ROOT_SUDO_CONFIGURE_ON= --disable-root-sudo
|
|
||||||
|
|
||||||
GSSAPI_BASE_USES= gssapi
|
|
||||||
GSSAPI_BASE_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
||||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
GSSAPI_MIT_USES= gssapi:mit
|
|
||||||
GSSAPI_MIT_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
|
|
||||||
|
|
||||||
INSULTS_CONFIGURE_ON= --with-insults --with-all-insults
|
|
||||||
|
|
||||||
LDAP_USES= ldap
|
|
||||||
LDAP_CONFIGURE_ON= --with-ldap=${PREFIX} \
|
|
||||||
--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF}
|
|
||||||
|
|
||||||
NLS_USES= gettext
|
|
||||||
NLS_CONFIGURE_ENABLE= nls
|
|
||||||
NLS_CFLAGS= -I${LOCALBASE}/include
|
|
||||||
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
|
|
||||||
|
|
||||||
NOARGS_SHELL_CONFIGURE_ENABLE= noargs-shell
|
|
||||||
|
|
||||||
OPIE_CONFIGURE_ON= --with-opie
|
|
||||||
|
|
||||||
PAM_PREVENTS= OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
||||||
PAM_PREVENTS_MSG= PAM cannot be combined with any other authentication plugin
|
|
||||||
PAM_CONFIGURE_ON= --with-pam
|
|
||||||
|
|
||||||
PYTHON_USES= python
|
|
||||||
PYTHON_CONFIGURE_ENABLE=python
|
|
||||||
|
|
||||||
SSL_USES= ssl
|
|
||||||
SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE}
|
|
||||||
|
|
||||||
SSSD_PREVENTS= GSSAPI_HEIMDAL
|
|
||||||
SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal
|
|
||||||
SSSD_RUN_DEPENDS= sssd:security/sssd
|
|
||||||
SSSD_CONFIGURE_ON= --with-sssd
|
|
||||||
|
|
||||||
.if ${FLAVOR:U} == sssd
|
|
||||||
OPTIONS_DEFAULTS+= SSSD2
|
|
||||||
.endif
|
|
||||||
|
|
||||||
SSSD2_RUN_DEPENDS= sssd:security/sssd2
|
|
||||||
SSSD2_CONFIGURE_ON= --with-sssd
|
|
||||||
|
|
||||||
LOGFAC?= authpriv
|
|
||||||
SUDO_LDAP_CONF?= ldap.conf
|
|
||||||
|
|
||||||
# This is intentionally not an option.
|
|
||||||
# SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
|
|
||||||
# ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
|
||||||
.if defined(SUDO_SECURE_PATH)
|
|
||||||
CONFIGURE_ARGS+= --with-secure-path="${SUDO_SECURE_PATH}"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
# This is intentionally not an option.
|
|
||||||
# SUDO_KERB5_INSTANCE is an optional instance string that will be appended
|
|
||||||
# to kerberos principals when to perform authentication. Common choices
|
|
||||||
# are "admin" and "sudo".
|
|
||||||
.if defined(SUDO_KERB5_INSTANCE)
|
|
||||||
CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400072
|
|
||||||
. if ${PORT_OPTIONS:MOPIE}
|
|
||||||
BUILD_DEPENDS+= opie>0:security/opie
|
|
||||||
RUN_DEPENDS+= opie>0:security/opie
|
|
||||||
. endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "arm"
|
|
||||||
CONFIGURE_ARGS+= --disable-pie
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
|
|
||||||
s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
|
|
||||||
${WRKSRC}/src/Makefile.in
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
|
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample
|
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample
|
|
||||||
${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/sudo_intercept.so
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo
|
|
||||||
.for f in audit_json.so group_file.so libsudo_util.so sudoers.so system_group.so
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f}
|
|
||||||
.endfor
|
|
||||||
|
|
||||||
post-install-PYTHON-on:
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
TIMESTAMP = 1732568670
|
|
||||||
SHA256 (sudo-1.9.16p2.tar.gz) = 976aa56d3e3b2a75593307864288addb748c9c136e25d95a9cc699aafa77239c
|
|
||||||
SIZE (sudo-1.9.16p2.tar.gz) = 5398419
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
# PAM configuration for the "sudo" service
|
|
||||||
#
|
|
||||||
|
|
||||||
# auth
|
|
||||||
auth include system
|
|
||||||
|
|
||||||
# account
|
|
||||||
account include system
|
|
||||||
|
|
||||||
# session
|
|
||||||
# XXX: pam_lastlog (used in system) causes users to appear as though
|
|
||||||
# they are no longer logged in in system logs.
|
|
||||||
session required pam_permit.so
|
|
||||||
|
|
||||||
# password
|
|
||||||
password include system
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
--- plugins/sudoers/sudoers.in.orig 2021-12-04 23:28:43 UTC
|
|
||||||
+++ plugins/sudoers/sudoers.in
|
|
||||||
@@ -32,6 +32,14 @@
|
|
||||||
##
|
|
||||||
## Defaults specification
|
|
||||||
##
|
|
||||||
+## Uncomment if needed to preserve environmental variables related to the
|
|
||||||
+## FreeBSD pkg utility and fetch.
|
|
||||||
+# Defaults env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE"
|
|
||||||
+##
|
|
||||||
+## Additionally uncomment if needed to preserve environmental variables
|
|
||||||
+## related to portupgrade
|
|
||||||
+# Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
|
|
||||||
+##
|
|
||||||
## You may wish to keep some of the following environment variables
|
|
||||||
## when running commands via sudo.
|
|
||||||
##
|
|
||||||
@@ -91,6 +99,9 @@ root ALL=(ALL:ALL) ALL
|
|
||||||
## of the user they are running the command as (root by default).
|
|
||||||
# Defaults targetpw # Ask for the password of the target user
|
|
||||||
# ALL ALL=(ALL:ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
|
|
||||||
+
|
|
||||||
+## Uncomment to show on password prompt which users' password is being expected
|
|
||||||
+# Defaults passprompt="%p's password:"
|
|
||||||
|
|
||||||
## Read drop-in files from @sysconfdir@/sudoers.d
|
|
||||||
@includedir @sysconfdir@/sudoers.d
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
--- scripts/install-sh.orig 2017-01-14 04:30:15 UTC
|
|
||||||
+++ scripts/install-sh
|
|
||||||
@@ -171,12 +171,6 @@ if ${DIRMODE} ; then
|
|
||||||
if [ ! -d "${DEST}" ] ; then
|
|
||||||
${MKDIR} "${DEST}" || exit 1
|
|
||||||
fi
|
|
||||||
- if ${CHOWNIT} ; then
|
|
||||||
- ${CHOWN} "${OWNER}" "${DEST}" || exit 1
|
|
||||||
- fi
|
|
||||||
- if ${CHGROUPIT} ; then
|
|
||||||
- ${CHGRP} "${GROUP}" "${DEST}" || exit 1
|
|
||||||
- fi
|
|
||||||
if ${CHMODIT} ; then
|
|
||||||
${CHMOD} "${MODE}" "${DEST}" || exit 1
|
|
||||||
fi
|
|
||||||
@@ -226,12 +220,6 @@ fi
|
|
||||||
## Strip and set the owner/mode.
|
|
||||||
if ${STRIPIT} ; then
|
|
||||||
${STRIP} "${DEST}" || exit 1
|
|
||||||
-fi
|
|
||||||
-if ${CHOWNIT} ; then
|
|
||||||
- ${CHOWN} "${OWNER}" "${DEST}" || exit 1
|
|
||||||
-fi
|
|
||||||
-if ${CHGROUPIT} ; then
|
|
||||||
- ${CHGRP} "${GROUP}" "${DEST}" || exit 1
|
|
||||||
fi
|
|
||||||
if ${CHMODIT} ; then
|
|
||||||
${CHMOD} "${MODE}" "${DEST}" || exit 1
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
This is the CU version of sudo.
|
|
||||||
|
|
||||||
Sudo is a program designed to allow a sysadmin to give limited root
|
|
||||||
privileges to users and log root activity. The basic philosophy is to
|
|
||||||
give as few privileges as possible but still allow people to get their
|
|
||||||
work done.
|
|
||||||
@ -1,144 +0,0 @@
|
|||||||
bin/cvtsudoers
|
|
||||||
bin/sudo
|
|
||||||
bin/sudoedit
|
|
||||||
bin/sudoreplay
|
|
||||||
@sample etc/pam.d/sudo.default etc/pam.d/sudo
|
|
||||||
@sample etc/sudo.conf.sample
|
|
||||||
@sample etc/sudo_logsrvd.conf.sample
|
|
||||||
@sample etc/sudoers.dist etc/sudoers
|
|
||||||
include/sudo_plugin.h
|
|
||||||
libexec/sudo/audit_json.so
|
|
||||||
libexec/sudo/group_file.so
|
|
||||||
libexec/sudo/libsudo_util.so
|
|
||||||
libexec/sudo/libsudo_util.so.0
|
|
||||||
libexec/sudo/libsudo_util.so.0.0.0
|
|
||||||
%%PYTHON%%libexec/sudo/python_plugin.so
|
|
||||||
libexec/sudo/sudo_intercept.so
|
|
||||||
libexec/sudo/sudo_noexec.so
|
|
||||||
libexec/sudo/sudoers.so
|
|
||||||
libexec/sudo/system_group.so
|
|
||||||
share/man/man1/cvtsudoers.1.gz
|
|
||||||
share/man/man5/sudo.conf.5.gz
|
|
||||||
share/man/man5/sudo_logsrv.proto.5.gz
|
|
||||||
share/man/man5/sudo_logsrvd.conf.5.gz
|
|
||||||
share/man/man5/sudo_plugin.5.gz
|
|
||||||
%%PYTHON%%share/man/man5/sudo_plugin_python.5.gz
|
|
||||||
share/man/man5/sudoers.5.gz
|
|
||||||
share/man/man5/sudoers_timestamp.5.gz
|
|
||||||
%%LDAP%%share/man/man5/sudoers.ldap.5.gz
|
|
||||||
share/man/man8/sudo.8.gz
|
|
||||||
share/man/man8/sudo_logsrvd.8.gz
|
|
||||||
share/man/man8/sudo_sendlog.8.gz
|
|
||||||
share/man/man8/sudoedit.8.gz
|
|
||||||
share/man/man8/sudoreplay.8.gz
|
|
||||||
share/man/man8/visudo.8.gz
|
|
||||||
sbin/visudo
|
|
||||||
sbin/sudo_logsrvd
|
|
||||||
sbin/sudo_sendlog
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/HISTORY.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/SECURITY.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/TROUBLESHOOTING.md
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.md
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP.md
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.ActiveDirectory
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.IBM_LDAP
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.iPlanet
|
|
||||||
%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.olcSudo
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cvtsudoers.conf
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pam.conf
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo.conf
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudo_logsrvd.conf
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sudoers
|
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syslog.conf
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_approval_plugin.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_audit_plugin.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_conversation.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_debugging.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_group_plugin.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_io_plugin.py
|
|
||||||
%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_policy_plugin.py
|
|
||||||
%%NLS%%share/locale/ast/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ast/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ca/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ca/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/cs/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/cs/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/da/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/da/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/de/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/de/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/el/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/eo/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/eo/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/es/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/es/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/eu/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/eu/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/fa/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/fi/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/fr/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/fur/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/fur/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/hu/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/hu/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/id/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/id/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/it/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/it/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ja/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ja/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ka/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ka/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ko/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ko/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/lt/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/nb/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/nb/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/nl/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/nl/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/nn/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/pl/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/pl/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/pt/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/pt/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ro/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ro/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/ru/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/ru/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/sk/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/sk/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/sl/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/sl/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/sq/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/sr/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/sr/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/sv/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/sv/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/tr/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/tr/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/uk/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/uk/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/vi/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/vi/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo
|
|
||||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/sudo.mo
|
|
||||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/sudoers.mo
|
|
||||||
@dir etc/sudoers.d
|
|
||||||
@dir /var/db/sudo/lectured
|
|
||||||
@dir /var/db/sudo
|
|
||||||
@dir /var/run/sudo
|
|
||||||
Reference in New Issue
Block a user