CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: christos Date: Wed Aug 11 09:12:07 UTC 2021 Modified Files: src/lib/libpam/libpam: Makefile Log Message: cast from strchr fixed. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.27 src/lib/libpam/libpam/Makefile:1.28 --- src/lib/libpam/libpam/Makefile:1.27 Wed Aug 11 01:23:05 2021 +++ src/lib/libpam/libpam/Makefile Wed Aug 11 05:12:07 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2021/08/11 05:23:05 rillig Exp $ +# $NetBSD: Makefile,v 1.28 2021/08/11 09:12:07 christos Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -54,8 +54,6 @@ NOPROFILE= WARNS= 6 LINTFLAGS+= -w -# warning: call to 'strchr' effectively discards 'const' from argument -LINTFLAGS.pam_putenv.c+= -X 346 CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR} #CPPFLAGS+= -DOPENPAM_DEBUG
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: rillig Date: Wed Aug 11 05:23:05 UTC 2021 Modified Files: src/lib/libpam/libpam: Makefile Log Message: libpam: clean up LINTFLAGS Warning 346 is new, the other suppressions are not needed anymore. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.26 src/lib/libpam/libpam/Makefile:1.27 --- src/lib/libpam/libpam/Makefile:1.26 Sat May 23 00:43:33 2020 +++ src/lib/libpam/libpam/Makefile Wed Aug 11 05:23:05 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2020/05/23 00:43:33 rin Exp $ +# $NetBSD: Makefile,v 1.27 2021/08/11 05:23:05 rillig Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -51,12 +51,11 @@ MKPICLIB=yes DIST= ${NETBSDSRCDIR}/external/bsd/openpam/dist LIB= pam NOPROFILE= -# XXX: returns no value -#LINTFLAGS+= -X 217 -X 284 -WARNS= 6 -# 233: Struct/union never defined -LINTFLAGS+= -Sw -X 233 +WARNS= 6 +LINTFLAGS+= -w +# warning: call to 'strchr' effectively discards 'const' from argument +LINTFLAGS.pam_putenv.c+= -X 346 CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR} #CPPFLAGS+= -DOPENPAM_DEBUG
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: christos Date: Fri May 1 21:58:16 UTC 2020 Modified Files: src/lib/libpam/libpam: Makefile Log Message: Fix the vax build and explain why... To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.24 src/lib/libpam/libpam/Makefile:1.25 --- src/lib/libpam/libpam/Makefile:1.24 Tue Apr 28 22:16:56 2020 +++ src/lib/libpam/libpam/Makefile Fri May 1 17:58:16 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2020/04/29 02:16:56 riastradh Exp $ +# $NetBSD: Makefile,v 1.25 2020/05/01 21:58:16 christos Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -40,6 +40,14 @@ NOPROFILE= # Don't build a profiling lib .include +.if ${MACHINE} == "vax" +# On VAX everything is PIC so we don't need to build a separate _pic.a +# libraries so we set MKPICLIB.vax=no in bsd.own.mk to save time and space. +# But in libpam.a we include the static modules which we don't want in the +# shared library, so we force the build system to build a separate _pic.a. +MKPICLIB=yes +.endif + DIST= ${NETBSDSRCDIR}/external/bsd/openpam/dist LIB= pam NOPROFILE=
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: christos Date: Tue Mar 3 00:46:06 UTC 2020 Modified Files: src/lib/libpam/libpam: Makefile Log Message: Add debugging commented out. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.22 src/lib/libpam/libpam/Makefile:1.23 --- src/lib/libpam/libpam/Makefile:1.22 Sun Oct 13 17:24:37 2019 +++ src/lib/libpam/libpam/Makefile Mon Mar 2 19:46:06 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2019/10/13 21:24:37 mrg Exp $ +# $NetBSD: Makefile,v 1.23 2020/03/03 00:46:06 christos Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -43,12 +43,15 @@ NOPROFILE= # Don't build a profiling lib DIST= ${NETBSDSRCDIR}/external/bsd/openpam/dist LIB= pam NOPROFILE= +# XXX: returns no value +#LINTFLAGS+= -X 217 -X 284 WARNS= 6 # 233: Struct/union never defined LINTFLAGS+= -Sw -X 233 CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR} +#CPPFLAGS+= -DOPENPAM_DEBUG SRCS= openpam_borrow_cred.c \ openpam_check_owner_perms.c \
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: christos Date: Fri Oct 24 18:27:41 UTC 2014 Modified Files: src/lib/libpam/libpam: Makefile Log Message: pam library has moved and new files To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.16 src/lib/libpam/libpam/Makefile:1.17 --- src/lib/libpam/libpam/Makefile:1.16 Sat Dec 28 13:04:18 2013 +++ src/lib/libpam/libpam/Makefile Fri Oct 24 14:27:41 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2013/12/28 18:04:18 christos Exp $ +# $NetBSD: Makefile,v 1.17 2014/10/24 18:27:41 christos Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -72,6 +72,7 @@ SRCS= openpam_borrow_cred.c \ openpam_set_feature.c \ openpam_set_option.c \ openpam_straddch.c \ + openpam_strlset.c \ openpam_subst.c \ openpam_ttyconv.c \ pam_acct_mgmt.c \ @@ -206,6 +207,6 @@ openpam_static_modules.o: openpam_static .include bsd.lib.mk .PATH.h: ${DIST}/include -.PATH.c: ${DIST}/lib +.PATH.c: ${DIST}/lib/libpam .PATH.3: ${DIST}/doc/man .PATH.5: ${DIST}/doc/man
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: joerg Date: Sat Oct 25 00:57:59 UTC 2014 Modified Files: src/lib/libpam/libpam: Makefile Log Message: When building with clang, make warnings about NULL checks of parameters with attribute nonnull non-fatal. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.17 src/lib/libpam/libpam/Makefile:1.18 --- src/lib/libpam/libpam/Makefile:1.17 Fri Oct 24 18:27:41 2014 +++ src/lib/libpam/libpam/Makefile Sat Oct 25 00:57:59 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2014/10/24 18:27:41 christos Exp $ +# $NetBSD: Makefile,v 1.18 2014/10/25 00:57:59 joerg Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -205,6 +205,8 @@ openpam_static_modules.o: openpam_static ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \ openpam_static.o ${STATIC_MODULE_LIBS} +CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare + .include bsd.lib.mk .PATH.h: ${DIST}/include .PATH.c: ${DIST}/lib/libpam
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: christos Date: Wed Aug 17 09:56:03 UTC 2011 Modified Files: src/lib/libpam/libpam: Makefile Log Message: remove gcc-4.5 hacks To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.12 src/lib/libpam/libpam/Makefile:1.13 --- src/lib/libpam/libpam/Makefile:1.12 Mon Jun 20 22:32:55 2011 +++ src/lib/libpam/libpam/Makefile Wed Aug 17 05:56:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2011/06/21 02:32:55 mrg Exp $ +# $NetBSD: Makefile,v 1.13 2011/08/17 09:56:03 christos Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -191,8 +191,3 @@ .PATH.h: ${DIST}/include .PATH.c: ${DIST}/lib .PATH.3: ${DIST}/doc/man - -# XXX -.if ${HAVE_GCC} = 45 -COPTS.openpam_dispatch.c+= -Wno-cast-qual -.endif
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: joerg Date: Fri Dec 10 20:06:17 UTC 2010 Modified Files: src/lib/libpam/libpam: Makefile Log Message: Revert last as gcc(1) checks for -r to disable passing down --relax e.g. on Sparc. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.10 src/lib/libpam/libpam/Makefile:1.11 --- src/lib/libpam/libpam/Makefile:1.10 Wed Dec 8 02:07:25 2010 +++ src/lib/libpam/libpam/Makefile Fri Dec 10 20:06:17 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2010/12/08 02:07:25 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2010/12/10 20:06:17 joerg Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -184,7 +184,7 @@ # XXX Using ${.ALLSRC} in the ld command causes openpam_static.c to be # XXX used. Why??!! --thorpej openpam_static_modules.o: openpam_static.o ${STATIC_MODULE_LIBS} - ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -Wl,-r -Wl,--whole-archive \ + ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \ openpam_static.o ${STATIC_MODULE_LIBS} .include bsd.lib.mk
CVS commit: src/lib/libpam/libpam
Module Name:src Committed By: joerg Date: Wed Dec 8 02:07:25 UTC 2010 Modified Files: src/lib/libpam/libpam: Makefile Log Message: Explicitly pass down -r as linker option. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libpam/libpam/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpam/libpam/Makefile diff -u src/lib/libpam/libpam/Makefile:1.9 src/lib/libpam/libpam/Makefile:1.10 --- src/lib/libpam/libpam/Makefile:1.9 Mon Dec 14 01:18:20 2009 +++ src/lib/libpam/libpam/Makefile Wed Dec 8 02:07:25 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/12/14 01:18:20 matt Exp $ +# $NetBSD: Makefile,v 1.10 2010/12/08 02:07:25 joerg Exp $ #- # Copyright (c) 1998 Juniper Networks, Inc. # All rights reserved. @@ -184,7 +184,7 @@ # XXX Using ${.ALLSRC} in the ld command causes openpam_static.c to be # XXX used. Why??!! --thorpej openpam_static_modules.o: openpam_static.o ${STATIC_MODULE_LIBS} - ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \ + ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -Wl,-r -Wl,--whole-archive \ openpam_static.o ${STATIC_MODULE_LIBS} .include bsd.lib.mk