Commit graph

33 commits

Author SHA1 Message Date
wiz
2819934830 Some improvements from Jeremy C. Reed via PR 20892:
- improved DESCRiption (and spelling fixed)
 - more MASTER_SITES
 - improved COMMENT
 - variable for enabling --with-libcrack
 - install limits.conf if under Linux
 - make sure it doesn't have an interactive configuration
2003-05-22 14:36:06 +00:00
wiz
b2fde2b390 Don't reference an include file that has not been installed yet
and uses the correct HAVE_GETSPNAM.
From Jeremy C. Reed in PR 21413.
2003-05-16 17:30:58 +00:00
dmcmahill
21473236f5 fix compilation problems on systems that don't have ldconfig. 2003-02-09 16:16:56 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
grant
90b34116bc add LDFLAGS to ld arguments so libpam_misc can find libpam.
fixes build problem in Hubert's bulk-build.
2003-01-13 14:18:08 +00:00
jlam
3530f6ba5c Update security/PAM to 0.77. Changes from version 0.75 include:
* Numerous bug fixes for most of the PAM modules, including several
  string length checks and fixes (update recommended!).

* fix for legacy behavior of pam_setcred and pam_close_session in
  the case that pam_authenticate and pam_open_session hadn't been
  called

* pam_unix:
	- don't zero out password strings during password changing function
* pam_wheel:
	- feature: can use the module to provide wheel access to non-root
	  accounts.
* pam_limits:
	- added '%' domain for maxlogins limiting, now '*' and @group
	  have the old meaning (every) and '%' the new one (all)
	- handle negative priority limits (which can apply to the
	  superuser too).
* pam_userdb:
	- require that all of typed password matches that in database
* pam_access:
	- added the 'fieldsep=' argument, made a PAM_RHOST of ""
	  equivalent to NULL

Incidentally, cups-1.1.18 will once again do PAM authentication using
pam_unix.so if built against PAM-0.77.
2002-12-23 21:23:56 +00:00
wiz
741e63c1e5 Unused. 2002-10-09 21:53:50 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
2a705e8d66 "This should just be -fPIC" from someone who knows more than I do.
Thanks, Nick =)
2002-01-29 22:20:54 +00:00
jlam
2dc48788ba Ensure that the shared libraries are built with -fpic -fPIC. 2002-01-29 21:09:27 +00:00
jlam
591d18c3cf Readd RCS ID. 2002-01-29 21:08:48 +00:00
jlam
17018c8489 Update security/PAM to 0.75. Note that this release contains backwardly
incompatible changes to libpam.so; prior versions were buggy so upgrading
is highly recommended.

Pkgsrc changes from version 0.72 include:

  * Honor ${PKG_SYSCONFDIR}: the config files are now found in /etc/pam.conf
    and /etc/pam/*.conf, or in the appropriate ${PKG_SYSCONFBASE} directory.
  * Convert to use the general INSTALL/DEINSTALL scripts.

Changes from version 0.72 include:

  * bug fixes to almost every PAM module
  * pam_pwdb replaced with pam_unix
  * fixed a small security hole (more of a user confusion issue) with
    the unix and pwdb password helper binaries.
  * improved handling of the setcred/close_session and update chauthtok
    stack.  *Warning* This is a backwardly incompatible change, but 'more
    sane' than before. (Bug 129775 - agmorgan)
  * added support for '/' symbols in pam_time and pam_group config files
    (support for modern terminal devices).  Fixed infinite loop problem
    with '\\[^\n]' in these files.
  * added accessconf=<filename> feature to pam_access
2002-01-29 17:10:10 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
9614fe9c40 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-19 09:20:11 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
wiz
89204c6c29 ' ' -> '\t' 2001-06-09 15:29:50 +00:00
jlam
d85f82c119 No functional change...just rework some code and re-sort some lines. 2001-05-26 07:26:51 +00:00
jlam
20edd3082f Protect against multiple inclusion. 2001-05-26 05:44:09 +00:00
jlam
79c34b827b Add buildlink.mk file to link libraries and headers into ${WRKDIR}, to be
used by other packages.
2001-05-24 16:41:08 +00:00
rh
b404d4976e Update to SHA1 instead of MD5. The MD5 of the distfile downloaded from
both the original MASTER_SITE and the Austrian ftp.netbsd.org mirror
matched the MD5 recorded for the package.
2001-04-29 06:56:25 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
dmcmahill
2f64fd6362 add missing ELF symlinks. fixes recently noted packaging problems 2001-02-08 22:01:31 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
f74a2be75a Require bison to build. 2000-11-28 13:39:17 +00:00
rh
444ebe8642 Initial import of PAM-0.72, a pluggable authentication module mechanism 2000-10-21 18:41:54 +00:00