CVS commit: src/external/bsd/cron/bin/cron

2018-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  7 06:17:07 UTC 2018

Modified Files:
src/external/bsd/cron/bin/cron: Makefile

Log Message:
update for GCC 6:

do_process has vfork() vs clobber issues


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/cron/bin/cron/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/cron/bin/cron/Makefile
diff -u src/external/bsd/cron/bin/cron/Makefile:1.6 src/external/bsd/cron/bin/cron/Makefile:1.7
--- src/external/bsd/cron/bin/cron/Makefile:1.6	Wed Jun 14 17:37:40 2017
+++ src/external/bsd/cron/bin/cron/Makefile	Wed Feb  7 06:17:07 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2017/06/14 17:37:40 christos Exp $
+#	$NetBSD: Makefile,v 1.7 2018/02/07 06:17:07 mrg Exp $
 
 .include 
 
@@ -19,5 +19,6 @@ LDADD+=		-lpam ${PAM_STATIC_LDADD}
 .endif
 
 CWARNFLAGS.clang+=	-Wno-string-plus-int
+CWARNFLAGS.gcc+=	-Wno-error=clobbered
 
 .include 



CVS commit: src/external/bsd/cron/bin/cron

2017-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 14 17:37:40 UTC 2017

Modified Files:
src/external/bsd/cron/bin/cron: Makefile

Log Message:
unbreak static build


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/cron/bin/cron/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/cron/bin/cron/Makefile
diff -u src/external/bsd/cron/bin/cron/Makefile:1.5 src/external/bsd/cron/bin/cron/Makefile:1.6
--- src/external/bsd/cron/bin/cron/Makefile:1.5	Wed Jun 14 13:11:39 2017
+++ src/external/bsd/cron/bin/cron/Makefile	Wed Jun 14 13:37:40 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2017/06/14 17:11:39 kamil Exp $
+#	$NetBSD: Makefile,v 1.6 2017/06/14 17:37:40 christos Exp $
 
 .include 
 
@@ -14,8 +14,8 @@ MAN=	cron.8
 .if (${MKPAM} != "no")
 SRCS+=		pam_auth.c
 CPPFLAGS+=	-DUSE_PAM
-DPADD+=		${LIBPAM}
-LDADD+=		-lpam
+DPADD+=		${LIBPAM} ${PAM_STATIC_DPADD}
+LDADD+=		-lpam ${PAM_STATIC_LDADD}
 .endif
 
 CWARNFLAGS.clang+=	-Wno-string-plus-int



CVS commit: src/external/bsd/cron/bin/cron

2017-06-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jun 14 17:11:39 UTC 2017

Modified Files:
src/external/bsd/cron/bin/cron: Makefile

Log Message:
Unbreak MKPAM=no build

Make cron(8) linkage with PAM conditional.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/cron/bin/cron/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/cron/bin/cron/Makefile
diff -u src/external/bsd/cron/bin/cron/Makefile:1.4 src/external/bsd/cron/bin/cron/Makefile:1.5
--- src/external/bsd/cron/bin/cron/Makefile:1.4	Fri Jun  9 17:36:29 2017
+++ src/external/bsd/cron/bin/cron/Makefile	Wed Jun 14 17:11:39 2017
@@ -1,14 +1,23 @@
-#	$NetBSD: Makefile,v 1.4 2017/06/09 17:36:29 christos Exp $
+#	$NetBSD: Makefile,v 1.5 2017/06/14 17:11:39 kamil Exp $
+
+.include 
 
 BINDIR=	/usr/sbin
 PROG=	cron
 SRCS=	cron.c database.c do_command.c entry.c env.c job.c \
-	misc.c pam_auth.c popen.c pw_dup.c user.c
-CPPFLAGS+=-I${.CURDIR} -DLOGIN_CAP -DUSE_PAM
-DPADD+=${LIBPAM} ${LIBUTIL}
-LDADD+=-lpam -lutil
+	misc.c popen.c pw_dup.c user.c
+CPPFLAGS+=-I${.CURDIR} -DLOGIN_CAP
+DPADD+=	${LIBUTIL}
+LDADD+=	-lutil
 MAN=	cron.8
 
+.if (${MKPAM} != "no")
+SRCS+=		pam_auth.c
+CPPFLAGS+=	-DUSE_PAM
+DPADD+=		${LIBPAM}
+LDADD+=		-lpam
+.endif
+
 CWARNFLAGS.clang+=	-Wno-string-plus-int
 
 .include