summaryrefslogtreecommitdiff
path: root/security/openpam
AgeCommit message (Collapse)AuthorFilesLines
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2011-12-13added prevention of CVE-2011-4122 taken from NetBSD srcspz3-5/+23
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-02-18Add changes from NetBSD src that add casts to fix warnings on platformsjlam9-3/+155
where size_t is unsigned long.
2008-02-18Update security/openpam to openpam-20071221 (Hydrangea). Changes fromjlam6-30/+24
version 20050616 (Figwort) include: - ENHANCE: API function arguments are now const where appropriate, to match corresponding changes in the Solaris PAM and Linux-PAM APIs. - ENHANCE: corrected a number of C namespace violations. - ENHANCE: the module cache has been removed, allowing long-lived applications to pick up module changes. This also allows multiple threads to use PAM simultaneously (as long as they use separate PAM contexts), since the module cache was the only part of OpenPAM that was not thread-safe.
2008-01-29Need to allow leading underscore of OPENPAM_VERSION for old(?) version.obache1-2/+2
2008-01-28Remove leading underscore from OPENPAM_VERSION for BUILTIN_VERSION.openpam,bjs1-2/+2
as openpam "Hydrangea" now defines OPENPAM_VERSION. This caused the version inquiry to fail.
2007-09-06Update to OpenPAM Figwort (20050616):joerg4-13/+25
- BUGFIX: Correct several small signedness and initialization bugs discovered during review by the NetBSD team. - BUGFIX: Modify gendoc.pl to sort cross-references in dictionary order within each section. - ENHANCE: if a policy specifies a relative module path, prepend the module directory so we never call dlopen(3) with a relative path. - ENHANCE: add a pam.conf(5) manual page.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-4/+4
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-3/+3
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-14Take maintainership.joerg1-2/+2
2006-03-14Drop maintainership for packages that I no longer have time to maintain.jlam1-2/+2
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-17Change my MAINTAINER email address to the one I've been using forjlam1-2/+2
pkgsrc work.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-2/+2
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-10-23Added RCS Id to line 1.rillig1-1/+1
2005-06-09Fix copy-and-paste error -- in the case where we prefer the pkgsrcjlam1-2/+2
version of the software, USE_BUILTIN.<pkg> should be set to "no", not to ${IS_BUILTIN.<pkg>}.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-29/+50
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests.agc1-1/+2
2005-02-10Update security/openpam to 20050201 (Feterita). Changes from versionjlam4-17/+20
20040210 (Eelgrass) include: - BUGFIX: Correct numerous markup errors, invalid cross-references, and other issues in the manual pages, with kind assistance from Ruslan Ermilov <ru@freebsd.org>. - BUGFIX: Avoid multiple evaluation of macro arguments in ENTERX() and RETURNX() macros. - BUGFIX: Remove an unnecessary and non-portable pointer cast in pam_get_data(3). - BUGFIX: Fix identical typos in PAM_ACCT_EXPIRED case in pam_strerror(3) and gendoc.pl. - ENHANCE: Minor overhaul of the autoconf / build system. - ENHANCE: Add openpam_free_envlist(3).
2005-01-22Pass -DSYSCONFDIR="$sysconfdir" in the Makefile instead of the configurejlam4-15/+17
script to avoid bizarre quoting problems within the configure script. This also fixes the definition of SYSCONFDIR in the compiled library. Bump the PKGREVISION to 1.
2005-01-17OpenPAM doesn't really need perl during the build... it's only therejlam1-3/+4
to regenerate some documentation files, but the regen is unnecessary. Fix the post-tools target that created a dummy perl -- it was failing because ${TRUE} may not be an actual executable (it could be a shell builtin) and thus symlinking to it may not work.
2005-01-17According to the bulk builds, this needs perl;wiz1-1/+2
add USE_PERL5=build.
2005-01-14Fix spelling error that would have made this file inefficient.jlam1-2/+2
2005-01-13Add a builtin.mk file to check for a built-in version of openpam and tojlam1-0/+40
associate it with a PKGNAME.
2005-01-13Add a buildlink3.mk file for openpam.jlam1-0/+20
2005-01-13This package dlopen()s loadable modules, so include dlopen.buildlink3.mkjlam1-1/+3
to do the right thing on NetBSD-2.0.
2005-01-13Initial import of openpam-20040210 as security/openpam.jlam6-0/+147
OpenPAM is an open source PAM library that focuses on simplicity, correctness, and cleanliness. OpenPAM aims to gather the best features of Solaris PAM, XSSO and Linux-PAM, plus some innovations of its own. In areas where these implementations disagree, OpenPAM tries to remain compatible with Solaris, at the expense of XSSO conformance and Linux-PAM compatibility. These are some of OpenPAM's features: - Implements the complete PAM API as described in the original PAM paper and in OSF-RFC 86.0; this corresponds to the full XSSO API except for mappings and secondary authentication. Also implements some extensions found in Solaris 9. - Extends the API with several useful and time-saving functions. - Performs strict checking of return values from service modules.