Commit Graph

6955 Commits

Author SHA1 Message Date
jdolecek
a24b12baa6 make sure there is space between the username and next field when
username is longer than 9 characters
2005-03-05 14:46:29 +00:00
he
8e8728c45c Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications.  The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.
2005-03-04 20:41:08 +00:00
christos
cf31b04130 PR/10957: Ed Ravin: Cron does not execute the last line in crontab if
the trailing newline is missing. Fix by changing crontab(1) to not
allow installation of crontab files with missing trailing newlines.
2005-03-04 16:46:28 +00:00
wiz
d2a070c12b Prefer mdoc formatting to roff. 2005-03-04 16:10:00 +00:00
christos
6a39b4f823 PR/28904: Kimmo Suominen: Fix documentation deficiencies with respect to
lastlogx use.
2005-03-04 16:06:26 +00:00
wiz
773cef6c8c Explicitly mention where the canonical location
for these sources is, to avoid confusion when this file gets
copied somewhere else.
2005-03-01 13:19:51 +00:00
thorpej
43fd7267b1 YP -> NIS 2005-02-26 16:37:40 +00:00
thorpej
5b0ca568cb YP -> NIS 2005-02-26 16:33:46 +00:00
wiz
206fd5016f Bump date for previous. 2005-02-26 16:32:21 +00:00
wiz
835e5cd5bb Sort SEE ALSO, bump date for previous. 2005-02-26 16:32:04 +00:00
thorpej
afca2fb3d4 YP -> NIS 2005-02-26 16:25:05 +00:00
wiz
c642006970 Bump date for previous. 2005-02-26 16:24:24 +00:00
thorpej
44a9a41c35 YP -> NIS 2005-02-26 16:22:47 +00:00
wiz
b14dfa00d2 Sort SEE ALSO. 2005-02-26 16:20:36 +00:00
wiz
8197fef037 Sort SEE ALSO (first section, then name); bump date for previous. 2005-02-26 16:20:07 +00:00
wiz
48e5d8d4fa Sort SEE ALSO (first section, then name); new sentence, new line; bump date for previous. 2005-02-26 16:19:08 +00:00
thorpej
a303186ec8 YP -> NIS 2005-02-26 16:15:09 +00:00
grant
16133f304b mdoc fixes: use Sq and Dq instead of ' " and '' 2005-02-26 14:09:57 +00:00
he
b404dc79be Move -lcrypto to the end of the library list, so that this links
without undefined entry points for non-shlib platforms such as sun2.
2005-02-26 11:31:48 +00:00
manu
be15b99c92 Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
3eda198fd5 Install racoon administrative socket in /var/run instead of /var/racoon 2005-02-23 14:44:41 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
christos
bc42aa47c9 Add PAM hooks. 2005-02-22 00:34:27 +00:00
cube
88aa34aadf Include <bsd.own.mk> to get NETBSDSRCDIR definition before we use it in
.PATH.  Reported by Geoff Wing.
2005-02-21 06:41:20 +00:00
grant
196c8f5e9b initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
2005-02-20 14:41:05 +00:00
cube
44a5931b78 Add the compile hook for passwordfd plugin. 2005-02-20 11:14:37 +00:00
cube
f0a7dc0094 Make this use the new pppd version.
A few notes:
	o pppd/sys-bsd.c, pppdump/pppdump.h are local file, they're kept
	  here.  It is the case for the status plugin, too.
	o tdb.[ch] is the TDB implementation we will use, from previous
	  pppd versions.
2005-02-20 11:12:42 +00:00
manu
32f1c835de Don't make racoonctl.8 here, it's already done in src/usr.sbin/racoonctl 2005-02-20 10:44:15 +00:00
grant
f079891560 cast return value of min_free() to uint64_t. 2005-02-20 09:04:18 +00:00
manu
f232e7a4c6 Add missing racoonctl(8), build with libradius 2005-02-20 01:17:41 +00:00
thorpej
33f19ef5cf Additional cleanup pass. 2005-02-19 17:05:02 +00:00
thorpej
354f2a1004 Switch to ipsec-tools for libipsec, setkey, and racoon. From
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
agc
2d2a9f331d Also display package name when having trouble displaying package
information with show_index().
2005-02-16 08:35:26 +00:00
agc
26747df972 Make show_file() take an extra argument, that of the package name, and
display the package name with every warning message when displaying the
contents of metadata files.

Whilst I'm here, correct the function name in another warning message.
2005-02-14 16:16:24 +00:00
yamt
0aad0f2269 copyright notice. 2005-02-13 22:29:37 +00:00
grant
37ca47b551 rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

	- when the pkg argument is path (absolute or relative) to a
	  binary pkg, pkg_info operates on it.
	- when no pkg argument is given, or the argument is not a
	  binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.
2005-02-10 22:52:31 +00:00
jmc
ee72647bf0 Re-order includes so bcopy->memcpy macro redef doesn't cause prototype errors
on older gcc compilers (like gcc2 that vax is using)
2005-02-07 06:50:42 +00:00
perry
d34cc2ba13 de-__P, ANSIfy function declarations, remove obsolete "register" declarations 2005-02-06 05:00:46 +00:00
perry
9cdb3caf29 remove obsolete register declarations. 2005-02-06 04:56:27 +00:00
perry
d777c795fa ANSIfy function declaration, remove register declarations, and some
minor KNFing.
2005-02-06 04:52:53 +00:00
perry
1ef7bd2aae de-__P, ANSIfy function declarations, remove an obsolete register declaration. 2005-02-06 04:48:58 +00:00
wiz
c81aaebd36 New sentence, new line. 2005-02-05 15:28:46 +00:00
wiz
e6ef4830c4 Be consistent in -r argument naming. 2005-02-05 15:26:50 +00:00
jmmv
bc6cd262e3 Add the -r flag to groupadd; it can be used to specify a gid range in which
new groups should be created.  This is similar to useradd's -r flag.

Closes my own PR bin/22791.  Patch by URA Hiroshi with some minor changes
by me.

No objections in tech-userlevel@ for multiple days.
2005-02-05 10:43:14 +00:00
wiz
cc7ac0e40f Use Aq instead of \*[Lt]\*[Gt]. 2005-02-04 15:01:41 +00:00
wiz
9e0eb6c274 Minor macro usage improvements. 2005-02-04 14:58:59 +00:00
drochner
cbb74e46c2 make this build with WARNS=2 2005-02-04 12:13:18 +00:00
jlam
a0ff816c39 Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
PKG_METADATA_DIR is the location of the +* files after the package is
registered.  PKG_REFCOUNT_DBDIR is the location of the reference counts
database directory.  If PKG_REFCOUNT_DBDIR is left unset, then it
defaults the the location of the package database directory with
".refcount" appended to the path, e.g. /var/db/pkg.refcount.

pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
environment to ensure that all packages will use the same refcount
database.

These changes allow the +INSTALL and +DEINSTALL script to keep state
in +* files within ${PKG_METADATA_DIR}, and to store reference counts
in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
${LOCALBASE}.

Bump the pkg_install version to 20050204.
2005-02-04 09:03:02 +00:00
wiz
1f875a68df Give Dd the full month name as argument. 2005-02-01 13:39:43 +00:00
hannken
372dee1a5d Note file system internal snapshots. 2005-01-31 22:08:55 +00:00