Commit graph

330 commits

Author SHA1 Message Date
Dag-Erling Smørgrav
f380fbbf22 Clean up the build a little, and make the doc build optional.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@386 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-04-12 10:26:27 +00:00
Dag-Erling Smørgrav
4183fc1989 Add a configure option to turn debugging on by default.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@385 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-20 16:55:55 +00:00
Dag-Erling Smørgrav
b307f0a81a Add "Wojciech A. Koszek" <wkoszek@freebsd.org>, who submitted r383.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@384 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-19 19:55:54 +00:00
Dag-Erling Smørgrav
b158155823 Plug memory leak.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@383 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-19 19:55:17 +00:00
Dag-Erling Smørgrav
2e1db320ba Use a single client connection, instead of reconnecting for every file in
every changeset.  This is a bit of a kludge, because I tried to change as
little as possible.  Also, this version will not work for depots which
contain binary files.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@382 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 15:46:53 +00:00
Dag-Erling Smørgrav
b40540ed26 Ray Miller's p42svn script, which was used in the p4 -> svn migration.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@381 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 15:44:19 +00:00
Dag-Erling Smørgrav
bce6b0d2a5 Fix signedness mismatch, and use an explicit cast when calling ctype functions.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@380 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 14:42:09 +00:00
Dag-Erling Smørgrav
9a4dc99d0b - run aclocal before libtool
- adjust path as required on FreeBSD
- mark as executable

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@379 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 14:36:49 +00:00
Dag-Erling Smørgrav
1cde223f6d Set svn:ignore.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@378 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 14:35:05 +00:00
Dag-Erling Smørgrav
dd10e4a93a Set svn:ignore.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@377 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-03-14 14:33:47 +00:00
Dag-Erling Smørgrav
5309d41e27 This script was written to work around a limitation in Perforce, and is no
longer required.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@321 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-02-16 20:34:46 +00:00
Dag-Erling Smørgrav
ce5921ba4c Convert $P4$ tags to $Id$.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@320 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2006-02-16 20:33:19 +00:00
Dag-Erling Smørgrav
c6c07709ad Start section for next release.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@319 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-09-20 15:59:32 +00:00
Dag-Erling Smørgrav
4243d0384f Centralize macros used for hiding GCC-specific attributes.
Use attributes for publicly exported functions.

Submitted by:	"Dmitry V. Levin" <ldv@altlinux.org>


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@318 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-09-20 15:58:54 +00:00
Dag-Erling Smørgrav
842343cb04 Bump the date.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@317 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-17 16:00:13 +00:00
Dag-Erling Smørgrav
72ece08193 Markup nits.
Submitted by:	ru


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@316 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-17 15:59:46 +00:00
Dag-Erling Smørgrav
096a13afac Correctly escape \& in Perl strings.
Submitted by:	ru


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@315 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-17 15:05:26 +00:00
Dag-Erling Smørgrav
7073261c71 Fix xref ordering and single space after Inc.
Submitted by:	ru


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@314 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-17 15:04:51 +00:00
Dag-Erling Smørgrav
4a9cf27365 Bump release date.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@313 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-16 15:47:48 +00:00
Dag-Erling Smørgrav
4c55b07779 Roll OpenPAM Figwort.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@312 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-16 15:46:58 +00:00
Dag-Erling Smørgrav
a6ea311d45 Make sure OPENPAM_MODULES_DIR has a trailing slash.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@311 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-10 18:51:37 +00:00
Dag-Erling Smørgrav
491c21814b Return specific error codes for pam_sm_setcred() and pam_sm_chauthtok()
instead of the generic PAM_PERM_DENIED.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@310 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-10 08:19:09 +00:00
Dag-Erling Smørgrav
0721e593ae Add $P4$ tags to files that didn't already have them.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@309 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 21:35:39 +00:00
Dag-Erling Smørgrav
9787583d8d If the module path is relative, prepend the module installation
directory which was specified at configure time.

Inspired by:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@308 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 21:32:00 +00:00
Dag-Erling Smørgrav
ee668335b1 Add Hubert Feyrer, also of NetBSD.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@307 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:10:01 +00:00
Dag-Erling Smørgrav
1ba4c62279 s/\$Id\$/\$P4\$/
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@306 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:06:41 +00:00
Dag-Erling Smørgrav
a46b07769a Add a pam.conf(5) manual page.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@305 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:05:38 +00:00
Dag-Erling Smørgrav
554a37183c Better to use unsigned char when isspace() is involved.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@304 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-03 08:22:02 +00:00
Dag-Erling Smørgrav
fb363b4d2e Sort cross-references in dictionary order.
Requested by:	ru@


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@303 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-02 15:07:11 +00:00
Dag-Erling Smørgrav
f95eb3c6b8 Add Christos Zoulas and Emmanuel Dreyfus from NetBSD for their
contributions.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@302 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 12:02:37 +00:00
Dag-Erling Smørgrav
3b5c3d5aab Leave alarm() alone if openpam_ttyconv_timeout is zero or negative.
Also bobbit an unused variable.

Obtained from:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@301 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 12:00:02 +00:00
Dag-Erling Smørgrav
b8dd03287c Additional healthy paranoia.
Obtained from:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@300 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 11:57:49 +00:00
Dag-Erling Smørgrav
9443f9f3f9 Prepare for tomorrow's release of OpenPAM Feterita.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@299 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 16:13:22 +00:00
Dag-Erling Smørgrav
0ea52a81e0 Need to set the release date in configure.ac.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@298 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:41:13 +00:00
Dag-Erling Smørgrav
f5d2a18594 Dynamically branding a release with today's date has caused trouble
in the past, and it confuses autoconf.  From now on, dist.sh will
extract the release date from openpam_version.h.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@297 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:40:49 +00:00
Dag-Erling Smørgrav
f6fc93a6f1 Sort EXTRA_DIST and add HISTORY.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@296 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:38:55 +00:00
Dag-Erling Smørgrav
0892b49dd1 Remove unneeded files, and add openpam_free_envlist(3).
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@295 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:38:30 +00:00
Dag-Erling Smørgrav
cc2b3e94a9 Whitespace nits.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@294 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:32:02 +00:00
Dag-Erling Smørgrav
e345e8362e configure.in -> configure.ac
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@293 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 14:52:11 +00:00
Dag-Erling Smørgrav
cb577fd535 configure.in is deprecated in favor of configure.ac.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@292 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 14:49:57 +00:00
Dag-Erling Smørgrav
322e461278 Formatting and documentation nits.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@291 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 15:24:44 +00:00
Dag-Erling Smørgrav
5b853cf298 Use FREE() instead of free().
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@290 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 15:21:35 +00:00
Dag-Erling Smørgrav
9d0dd0c39b Add openpam_free_envlist(). I'm tired of freeing them by hand.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@289 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:47:41 +00:00
Dag-Erling Smørgrav
7adc56bb5f Hard sentence breaks in inline documentation.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@288 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:08:44 +00:00
Dag-Erling Smørgrav
37a4b9b75d Rewrap a paragraph.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@287 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:02:05 +00:00
Dag-Erling Smørgrav
ca035fe3a4 Add a couple of missing words.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@286 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:00:23 +00:00
Dag-Erling Smørgrav
c95c8038ed Hard sentence break.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@285 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:58:30 +00:00
Dag-Erling Smørgrav
61e4fb1d75 Add explicit section numbers to sete[gu]id() / setgroups() cross-
references; otherwise, gendoc.pl incorrectly assumes they're in
section 3.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@284 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:57:45 +00:00
Dag-Erling Smørgrav
b448e8cf37 Numerous improvements inspired by comments from ru@. Mainly, this
fixes a couple of markup bugs, improves reference sorting, and
improves handling of function argument names (function pointer
arguments were not properly handled).


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@283 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:56:15 +00:00
Dag-Erling Smørgrav
82614fcbcd Don't build su(1) and pam_unix(8) by default; they're just examples.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@282 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-07-28 15:57:54 +00:00