Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.40 2015/06/12 10:50:43 wiz Exp $
# $NetBSD: Makefile,v 1.43 2016/07/09 06:38:43 wiz Exp $
#
PKGREVISION= 1
PKGREVISION= 3
CATEGORIES= net sysutils
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -9,7 +9,7 @@ HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= destdir
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../net/nagios-plugins/Makefile.common"

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.11 2015/04/03 17:50:27 rodent Exp $
# $NetBSD: Makefile.common,v 1.12 2016/02/25 16:20:51 jperkin Exp $
#
# used by net/nagios-plugin-mysql/Makefile
# used by net/nagios-plugin-pgsql/Makefile
@@ -13,10 +13,7 @@ MASTER_SITES?= http://nagios-plugins.org/download/
.include "../../net/nagios-base/Makefile.common"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= fu_cv_sys_stat_statvfs=no
.endif
CONFIGURE_ARGS.DragonFly+= fu_cv_sys_stat_statvfs=no
CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.17 2015/04/13 03:59:40 rodent Exp $
$NetBSD: distinfo,v 1.19 2016/02/09 10:13:17 bouyer Exp $
SHA1 (nagios-plugins-2.0.3.tar.gz) = 29b6183ab9d796299dc17c395eef493415d1e9d6
RMD160 (nagios-plugins-2.0.3.tar.gz) = b682b126c78df51f64d9cb8599d2f9dfd411d5f4
SHA512 (nagios-plugins-2.0.3.tar.gz) = 2753e6f3fc7433a5583fee01e63a65b9ea74155964f2b6e6bf3458e56cb29ea5dbd020f83816044a717b66d6548d203b3a082fba0faedcd629c7a8457bc19b36
Size (nagios-plugins-2.0.3.tar.gz) = 2659772 bytes
SHA1 (patch-ad) = 7dc748ce7815f3f90212815a9fe9a9a7db961617
SHA1 (patch-af) = 8fd2e50ca63f014f88195552884913c7383cb6a1
@@ -10,4 +11,5 @@ SHA1 (patch-ai) = 645ebd4ac16a71bd5944fe3850c809cb45bf6a4c
SHA1 (patch-ak) = 093638669dd5b524d8a9b31d452f1ba737e684b3
SHA1 (patch-an) = 6ba8dec0eb62cd0097809daf8075248afd448695
SHA1 (patch-configure) = 8a06bbd0fa0649625ffb1c8e2f4b667714a40fe4
SHA1 (patch-plugins-root_Makefile.in) = e4352f38bd0085f5c0acd9d058f1aa5d76676fff
SHA1 (patch-plugins__check_swap.c) = 4a32398b3e8e596b9f67b3ea95a3acce37287b0b

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-plugins-root_Makefile.in,v 1.1 2016/02/09 10:13:17 bouyer Exp $
user-destdir install fixes.
--- plugins-root/Makefile.in.orig 2016-02-08 13:26:51.000000000 +0100
+++ plugins-root/Makefile.in 2016-02-08 13:27:43.000000000 +0100
@@ -1312,10 +1312,6 @@
p=$$f; \
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p"; \
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p; \
- echo " chown root $(DESTDIR)$(libexecdir)/$$p"; \
- chown root $(DESTDIR)$(libexecdir)/$$p; \
- echo " chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p"; \
- chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p; \
done
@@ -1748,12 +1744,7 @@
&& chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
&& can_create_suid_root_executable=yes; \
rm -f $$TMPFILE; \
- if test $$can_create_suid_root_executable = yes; then \
- $(INSTALL_SUID); \
- else \
- echo "WARNING: insufficient access; not installing setuid plugins"; \
- echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
- fi
+ $(INSTALL_SUID); \
clean-local:
rm -f NP-VERSION-FILE