svn commit: r238968 - head/sbin/shutdown

2012-08-01 Thread Dag-Erling Smorgrav
Author: des Date: Wed Aug 1 09:10:21 2012 New Revision: 238968 URL: http://svn.freebsd.org/changeset/base/238968 Log: Restore a piece of BSD history. PR: 169127 Submitted by: Ruben de Groot MFC after:1 week Modified: head/sbin/shutdown/shutdown.c Modified: head/sbin/

svn commit: r238605 - head/etc/rc.d

2012-07-18 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 18 23:01:23 2012 New Revision: 238605 URL: http://svn.freebsd.org/changeset/base/238605 Log: Move -n ${_jail} before ${_flags} so that any -n options in ${_flags} will override ours instead of the other way around. Modified: head/etc/rc.d/jail Modified: head/etc/r

svn commit: r238602 - head/usr.bin/du

2012-07-18 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 18 19:28:22 2012 New Revision: 238602 URL: http://svn.freebsd.org/changeset/base/238602 Log: Add -g (gigabyte) flag to complement -k (kilobyte) and -m (megabyte). MFC after:1 week Modified: head/usr.bin/du/du.1 head/usr.bin/du/du.c Modified: head/usr.bin/

svn commit: r238485 - stable/9/etc

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 12:13:15 2012 New Revision: 238485 URL: http://svn.freebsd.org/changeset/base/238485 Log: MFH r237270: no need to specify passive mode, it is the default. Approved by: re Modified: stable/9/etc/login.conf Directory Properties: stable/9/etc/ (props change

svn commit: r238484 - in stable/9: etc lib/libutil

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 12:00:47 2012 New Revision: 238484 URL: http://svn.freebsd.org/changeset/base/238484 Log: MFH r237269: switch default password hash to sha512. Approved by:re Modified: stable/9/etc/login.conf stable/9/lib/libutil/login.conf.5 Directory Properties: sta

svn commit: r238481 - in stable/9: . bin/rcp etc include lib/libcrypt lib/libutil libexec/rshd release/picobsd/tinyware/passwd share/examples/etc sys/mips/rmi usr.bin/login usr.bin/passwd usr.bin/r...

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 11:39:35 2012 New Revision: 238481 URL: http://svn.freebsd.org/changeset/base/238481 Log: MFH r236751: document sha256 / sha512 support MFH r236892: remove mention of auth.conf from programs that don't use it MFH r236963: remove dead code relating to auth.conf

svn commit: r238107 - vendor/unbound/1.4.17

2012-07-04 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 4 14:25:14 2012 New Revision: 238107 URL: http://svn.freebsd.org/changeset/base/238107 Log: tag unbound 1.4.17 Added: vendor/unbound/1.4.17/ - copied from r238106, vendor/unbound/dist/ ___ svn-src-all@freebsd.org mail

svn commit: r238105 - vendor/ldns/1.6.13

2012-07-04 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 4 14:23:28 2012 New Revision: 238105 URL: http://svn.freebsd.org/changeset/base/238105 Log: tag ldns 1.6.13 Added: vendor/ldns/1.6.13/ - copied from r238104, vendor/ldns/dist/ ___ svn-src-all@freebsd.org mailing list

svn commit: r238103 - in vendor: ldns ldns/dist unbound unbound/dist

2012-07-04 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 4 14:21:40 2012 New Revision: 238103 URL: http://svn.freebsd.org/changeset/base/238103 Log: Create vendor trees for ldns and unbound. Added: vendor/ldns/ vendor/ldns/dist/ vendor/unbound/ vendor/unbound/dist/ ___ svn

svn commit: r238102 - head/etc/rc.d

2012-07-04 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jul 4 13:37:44 2012 New Revision: 238102 URL: http://svn.freebsd.org/changeset/base/238102 Log: Name jails automatically. MFC after:1 week Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail ===

svn commit: r237270 - head/etc

2012-06-19 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 19 14:47:07 2012 New Revision: 237270 URL: http://svn.freebsd.org/changeset/base/237270 Log: Passive mode is the default, and has been for a while. MFC after:1 week Modified: head/etc/login.conf Modified: head/etc/login.conf

svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 19 14:46:18 2012 New Revision: 237269 URL: http://svn.freebsd.org/changeset/base/237269 Log: Switch the default password hash from md5 to sha512. MFC after:1 week Modified: head/etc/login.conf head/lib/libutil/login.conf.5 Modified: head/etc/login.conf ==

svn commit: r237157 - in stable/7/lib: libcrypt libmd

2012-06-16 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 16 09:17:21 2012 New Revision: 237157 URL: http://svn.freebsd.org/changeset/base/237157 Log: Backport sha512 support. Added: stable/7/lib/libcrypt/crypt-sha256.c - copied, changed from r220498, head/lib/libcrypt/crypt-sha256.c stable/7/lib/libcrypt/crypt-sha51

svn commit: r237011 - head

2012-06-13 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 13 16:40:47 2012 New Revision: 237011 URL: http://svn.freebsd.org/changeset/base/237011 Log: Also remove /usr/share/examples/etc/auth.conf, which I didn't even realize existed. Noticed by: Andrey Zonov MFC after:3 weeks Modified: head/ObsoleteFiles.in

svn commit: r237006 - head

2012-06-13 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 13 11:59:47 2012 New Revision: 237006 URL: http://svn.freebsd.org/changeset/base/237006 Log: Remove leading / MFC after:3 weeks Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r237005 - head

2012-06-13 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 13 11:59:03 2012 New Revision: 237005 URL: http://svn.freebsd.org/changeset/base/237005 Log: Remove auth.conf and related files. Submitted by: trhodes@ MFC after:3 weeks Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r236967 - head/lib/libcrypt

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:14:19 2012 New Revision: 236967 URL: http://svn.freebsd.org/changeset/base/236967 Log: Stop using auth_getval() now that it always returns NULL. Instead, hardcode the default to what it would be if we didn't hardcode it, i.e. DES if supported and MD5 otherwis

svn commit: r236966 - head/sys/mips/rmi

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:04:56 2012 New Revision: 236966 URL: http://svn.freebsd.org/changeset/base/236966 Log: auth.conf is dead. Modified: head/sys/mips/rmi/rootfs_list.txt Modified: head/sys/mips/rmi/rootfs_list.txt ==

svn commit: r236965 - in head: etc include lib/libutil share/examples/etc

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 17:02:53 2012 New Revision: 236965 URL: http://svn.freebsd.org/changeset/base/236965 Log: Finally nuke auth.conf, nine years after it was deprecated. The only thing it was still used for was to set the "global default" password hash. Since the stock auth.conf c

svn commit: r236963 - head/release/picobsd/tinyware/passwd

2012-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 12 15:32:14 2012 New Revision: 236963 URL: http://svn.freebsd.org/changeset/base/236963 Log: Remove dead code. Modified: head/release/picobsd/tinyware/passwd/passwd.c Modified: head/release/picobsd/tinyware/passwd/passwd.c ===

svn commit: r236892 - in head: bin/rcp libexec/rshd usr.bin/login usr.bin/passwd usr.bin/rlogin usr.bin/rsh

2012-06-11 Thread Dag-Erling Smorgrav
Author: des Date: Mon Jun 11 16:18:39 2012 New Revision: 236892 URL: http://svn.freebsd.org/changeset/base/236892 Log: None of these programs actually use auth.conf. MFC after:1 week Modified: head/bin/rcp/rcp.1 head/libexec/rshd/rshd.8 head/usr.bin/login/login.1 head/usr.bin/p

svn commit: r236751 - head/lib/libutil

2012-06-08 Thread Dag-Erling Smorgrav
Author: des Date: Fri Jun 8 12:36:08 2012 New Revision: 236751 URL: http://svn.freebsd.org/changeset/base/236751 Log: Document that we also support sha256 and sha512. MFC after:1 week Modified: head/lib/libutil/login.conf.5 Modified: head/lib/libutil/login.conf.5 ==

svn commit: r236614 - head/gnu/lib/libsupc++

2012-06-05 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 5 12:34:08 2012 New Revision: 236614 URL: http://svn.freebsd.org/changeset/base/236614 Log: Add mangled symbols for operator new / delete on 64-bit platforms. Reported by: decke@ MFC after:1 week Modified: head/gnu/lib/libsupc++/Version.map Modified: he

svn commit: r236226 - head/usr.bin/unzip

2012-05-29 Thread Dag-Erling Smorgrav
Author: des Date: Tue May 29 09:11:19 2012 New Revision: 236226 URL: http://svn.freebsd.org/changeset/base/236226 Log: Pass a filename, rather than a file descriptor, to libarchive. Submitted by: Alex Kozlov MFC after:1 week Modified: head/usr.bin/unzip/unzip.c Modified: head/usr

svn commit: r236205 - stable/7

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 22:09:50 2012 New Revision: 236205 URL: http://svn.freebsd.org/changeset/base/236205 Log: MFH r230622: use build tools, not host tools, to build aicasm. Modified: stable/7/Makefile.inc1 (contents, props changed) Directory Properties: stable/7/ (props changed

svn commit: r236204 - stable/8

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 22:07:32 2012 New Revision: 236204 URL: http://svn.freebsd.org/changeset/base/236204 Log: MFH r230622: use build tools, not host tools, to build aicasm. Modified: stable/8/Makefile.inc1 (contents, props changed) Directory Properties: stable/8/ (props changed

svn commit: r236203 - stable/8/lib/libpam

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 21:59:05 2012 New Revision: 236203 URL: http://svn.freebsd.org/changeset/base/236203 Log: Forgot to commit mergeinfo when I MFHed pam_unix last month. Modified: Directory Properties: stable/8/lib/libpam/ (props changed) __

svn commit: r236202 - stable/8/usr.bin

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 21:26:26 2012 New Revision: 236202 URL: http://svn.freebsd.org/changeset/base/236202 Log: MFH r200068: connect unzip to the build. Modified: stable/8/usr.bin/Makefile Directory Properties: stable/8/usr.bin/ (props changed) Modified: stable/8/usr.bin/Makefile

svn commit: r236201 - stable/8/usr.bin/unzip

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 21:25:19 2012 New Revision: 236201 URL: http://svn.freebsd.org/changeset/base/236201 Log: MFH r208957: check return value from archive_read_new() MFH r214137, r214140, r214174, r224584: support reading from stdin MFH r230044, r233456: style and markup nits MFH

svn commit: r236200 - stable/9/usr.bin/unzip

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 21:19:33 2012 New Revision: 236200 URL: http://svn.freebsd.org/changeset/base/236200 Log: MFH r230044, r233456: style and markup nits Modified: stable/9/usr.bin/unzip/unzip.1 stable/9/usr.bin/unzip/unzip.c Directory Properties: stable/9/usr.bin/unzip/ (props

svn commit: r236187 - stable/7

2012-05-28 Thread Dag-Erling Smorgrav
Author: des Date: Mon May 28 15:34:55 2012 New Revision: 236187 URL: http://svn.freebsd.org/changeset/base/236187 Log: Make yacc a bootstrap tool if building on head, since the new yacc is not 100% backward compatible. Modified: stable/7/Makefile.inc1 Modified: stable/7/Makefile.inc1 =

svn commit: r236131 - stable/8

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sun May 27 00:21:27 2012 New Revision: 236131 URL: http://svn.freebsd.org/changeset/base/236131 Log: Make yacc a bootstrap tool if building on head, since the new yacc is not 100% backward compatible. Modified: stable/8/Makefile.inc1 Modified: stable/8/Makefile.inc1 =

svn commit: r236129 - stable/9

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 23:48:56 2012 New Revision: 236129 URL: http://svn.freebsd.org/changeset/base/236129 Log: nit: use >= 113 instead of > 112 Modified: stable/9/Makefile.inc1 Modified: stable/9/Makefile.inc1 ==

svn commit: r236128 - stable/9

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 23:42:52 2012 New Revision: 236128 URL: http://svn.freebsd.org/changeset/base/236128 Log: Make yacc a bootstrap tool if building on head, since the new yacc is not 100% backward compatible. Also, build yacc before lex, because lex requires yacc but not vice vers

svn commit: r236126 - head/contrib/openpam/lib

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 23:10:21 2012 New Revision: 236126 URL: http://svn.freebsd.org/changeset/base/236126 Log: OpenPAM Micrampelis was re-rolled due to a showstopper bug. Modified: head/contrib/openpam/lib/openpam_configure.c Directory Properties: head/contrib/openpam/ (props chan

svn commit: r236125 - vendor/openpam/MICRAMPELIS/lib

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 23:08:53 2012 New Revision: 236125 URL: http://svn.freebsd.org/changeset/base/236125 Log: OpenPAM Micrampelis was re-rolled due to a showstopper bug. Modified: vendor/openpam/MICRAMPELIS/lib/openpam_configure.c Directory Properties: vendor/openpam/MICRAMPELIS/

svn commit: r236124 - vendor/openpam/dist/lib

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 23:07:45 2012 New Revision: 236124 URL: http://svn.freebsd.org/changeset/base/236124 Log: OpenPAM Micrampelis was re-rolled due to a showstopper bug. Modified: vendor/openpam/dist/lib/openpam_configure.c Modified: vendor/openpam/dist/lib/openpam_configure.c =

svn commit: r236116 - stable/9/lib/libpam/libpam

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 18:20:30 2012 New Revision: 236116 URL: http://svn.freebsd.org/changeset/base/236116 Log: MFH r226625, 226632: document what openpam_static.c is for Modified: stable/9/lib/libpam/libpam/Makefile Directory Properties: stable/9/lib/libpam/ (props changed) Modif

svn commit: r236115 - in stable/9/lib/libpam: . modules

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:56:54 2012 New Revision: 236115 URL: http://svn.freebsd.org/changeset/base/236115 Log: MFH r227798, r227933: simplify build by using STATIC_CFLAGS Modified: stable/9/lib/libpam/Makefile.inc stable/9/lib/libpam/modules/Makefile.inc Directory Properties: stab

svn commit: r236114 - stable/9/share/mk

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:53:35 2012 New Revision: 236114 URL: http://svn.freebsd.org/changeset/base/236114 Log: MFH r227797, 227932: add {STATIC,SHARED}_{C,CXX}FLAGS Modified: stable/9/share/mk/bsd.lib.mk Directory Properties: stable/9/share/mk/ (props changed) Modified: stable/9/

svn commit: r236113 - stable/9/sbin/geom/class/part

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:38:55 2012 New Revision: 236113 URL: http://svn.freebsd.org/changeset/base/236113 Log: MFH r230059: improve examples Modified: stable/9/sbin/geom/class/part/gpart.8 Directory Properties: stable/9/sbin/geom/class/part/ (props changed) Modified: stable/9/sbi

svn commit: r236112 - stable/9/usr.bin/unzip

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:37:07 2012 New Revision: 236112 URL: http://svn.freebsd.org/changeset/base/236112 Log: MFH r234311: utf8 and drop middle name Modified: stable/9/usr.bin/unzip/unzip.1 stable/9/usr.bin/unzip/unzip.c Directory Properties: stable/9/usr.bin/unzip/ (props chan

svn commit: r236111 - stable/9/lib/msun/src

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:28:57 2012 New Revision: 236111 URL: http://svn.freebsd.org/changeset/base/236111 Log: MFH r234685: utf8 and drop middle name Modified: stable/9/lib/msun/src/s_fabsl.c Directory Properties: stable/9/lib/msun/ (props changed) Modified: stable/9/lib/msun/src

svn commit: r236110 - head/usr.bin/fetch

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:19:41 2012 New Revision: 236110 URL: http://svn.freebsd.org/changeset/base/236110 Log: Revert r232274 - unauthorized, unnecessary and incorrect. Modified: head/usr.bin/fetch/fetch.1 Modified: head/usr.bin/fetch/fetch.1 =

svn commit: r236109 - in head: contrib/openpam contrib/openpam/bin contrib/openpam/bin/openpam_dump_policy contrib/openpam/bin/pamtest contrib/openpam/bin/su contrib/openpam/doc/man contrib/openpam...

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:10:16 2012 New Revision: 236109 URL: http://svn.freebsd.org/changeset/base/236109 Log: Update to OpenPAM Micrampelis. Added: head/contrib/openpam/TODO - copied unchanged from r236101, vendor/openpam/dist/TODO head/contrib/openpam/bin/openpam_dump_policy/

svn commit: r236108 - stable/9/lib/libfetch

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:08:01 2012 New Revision: 236108 URL: http://svn.freebsd.org/changeset/base/236108 Log: MFH r234837: avoid busy-loop on slow connections when no timeout is set. MFH r234838: don't reuse credentials when redirected to a different host. Modified: stable/9/lib/li

svn commit: r236106 - head/lib/libpam/modules/pam_ssh

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 17:03:45 2012 New Revision: 236106 URL: http://svn.freebsd.org/changeset/base/236106 Log: Passing NULL as a key casues a segfault when loading SSH 1 keys. Use an empty string instead. Modified: head/lib/libpam/modules/pam_ssh/pam_ssh.c Modified: head/lib/libpa

svn commit: r236105 - stable/9/lib/libfetch

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 16:42:47 2012 New Revision: 236105 URL: http://svn.freebsd.org/changeset/base/236105 Log: MFH r233648: cosmetic Modified: stable/9/lib/libfetch/fetch.3 Directory Properties: stable/9/lib/libfetch/ (props changed) Modified: stable/9/lib/libfetch/fetch.3 ==

svn commit: r236104 - stable/9/lib/libfetch

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 16:37:43 2012 New Revision: 236104 URL: http://svn.freebsd.org/changeset/base/236104 Log: MFH r230478: fix nits in already-merged r230307. Modified: stable/9/lib/libfetch/common.c Directory Properties: stable/9/lib/libfetch/ (props changed) Modified: stable/9

svn commit: r236103 - stable/9/lib/libfetch

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 16:34:39 2012 New Revision: 236103 URL: http://svn.freebsd.org/changeset/base/236103 Log: MFH r225813,r225814,r226537: cosmetic Modified: stable/9/lib/libfetch/common.c stable/9/lib/libfetch/common.h stable/9/lib/libfetch/fetch.3 stable/9/lib/libfetch/fetch.

svn commit: r236100 - vendor/openpam/MICRAMPELIS

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 14:24:14 2012 New Revision: 236100 URL: http://svn.freebsd.org/changeset/base/236100 Log: Tag OpenPAM Micrampelis. Added: vendor/openpam/MICRAMPELIS/ - copied from r236099, vendor/openpam/dist/ ___ svn-src-all@freeb

svn commit: r236099 - in vendor/openpam/dist: . bin bin/openpam_dump_policy bin/pamtest bin/su doc/man include/security lib misc t

2012-05-26 Thread Dag-Erling Smorgrav
Author: des Date: Sat May 26 14:23:18 2012 New Revision: 236099 URL: http://svn.freebsd.org/changeset/base/236099 Log: Vendor import of OpenPAM Micrampelis. Added: vendor/openpam/dist/TODO vendor/openpam/dist/bin/openpam_dump_policy/ vendor/openpam/dist/bin/openpam_dump_policy/Makefile.am

svn commit: r235788 - in head: . sys/sys

2012-05-22 Thread Dag-Erling Smorgrav
Author: des Date: Tue May 22 15:59:07 2012 New Revision: 235788 URL: http://svn.freebsd.org/changeset/base/235788 Log: Bump __FreeBSD_version for the byacc import, and update _bootstrap_tools. Modified: head/Makefile.inc1 head/sys/sys/param.h Modified: head/Makefile.inc1 ==

svn commit: r234838 - head/lib/libfetch

2012-04-30 Thread Dag-Erling Smorgrav
Author: des Date: Mon Apr 30 12:12:48 2012 New Revision: 234838 URL: http://svn.freebsd.org/changeset/base/234838 Log: Don't reuse credentials if redirected to a different host. Submitted by: Niels Heinen MFC after:3 weeks Modified: head/lib/libfetch/http.c Modified: head/lib/lib

svn commit: r234837 - head/lib/libfetch

2012-04-30 Thread Dag-Erling Smorgrav
Author: des Date: Mon Apr 30 12:11:45 2012 New Revision: 234837 URL: http://svn.freebsd.org/changeset/base/234837 Log: Since the socket is non-blocking, it is necessary to use select(2) even when there is no timeout, because read(2) will return immediately if there is no data waiting in the

svn commit: r234741 - stable/8/lib/libpam/modules/pam_unix

2012-04-27 Thread Dag-Erling Smorgrav
Author: des Date: Fri Apr 27 21:40:51 2012 New Revision: 234741 URL: http://svn.freebsd.org/changeset/base/234741 Log: MFH r203377, r215680, r227044, r227105: mainly, respect passwordtime. PR: 93310, 93473 Modified: stable/8/lib/libpam/modules/pam_unix/pam_unix.8 stable/8/lib

svn commit: r234729 - head/contrib/openpam/lib

2012-04-27 Thread Dag-Erling Smorgrav
Author: des Date: Fri Apr 27 11:29:09 2012 New Revision: 234729 URL: http://svn.freebsd.org/changeset/base/234729 Log: r234173 missed one instance of FREE(line). Noticed by: glebius@ Modified: head/contrib/openpam/lib/openpam_configure.c Modified: head/contrib/openpam/lib/openpam_conf

svn commit: r234685 - head/lib/msun/src

2012-04-25 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 25 18:07:35 2012 New Revision: 234685 URL: http://svn.freebsd.org/changeset/base/234685 Log: I stopped using my middle name years ago. Modified: head/lib/msun/src/s_fabsl.c Modified: head/lib/msun/src/s_fabsl.c ===

svn commit: r234311 - head/usr.bin/unzip

2012-04-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Apr 15 13:39:39 2012 New Revision: 234311 URL: http://svn.freebsd.org/changeset/base/234311 Log: Correct my name in the copyright statement. Modified: head/usr.bin/unzip/unzip.1 head/usr.bin/unzip/unzip.c Modified: head/usr.bin/unzip/unzip.1 ==

svn commit: r234173 - head/contrib/openpam/lib

2012-04-12 Thread Dag-Erling Smorgrav
Author: des Date: Thu Apr 12 11:23:24 2012 New Revision: 234173 URL: http://svn.freebsd.org/changeset/base/234173 Log: Keep a copy of the original pointer returned by openpam_readline() so we can free it later, instead of trying to free a pointer that points to the end of the buffer. Co

svn commit: r231677 - in stable/8: etc etc/rc.d share/man/man8

2012-02-14 Thread Dag-Erling Smorgrav
Author: des Date: Tue Feb 14 12:47:57 2012 New Revision: 231677 URL: http://svn.freebsd.org/changeset/base/231677 Log: MFH r230007, r230388: document quiet*, fix devd/dhclient interaction. Modified: stable/8/etc/rc.d/dhclient stable/8/etc/rc.subr stable/8/share/man/man8/rc.subr.8 Director

svn commit: r231676 - in stable/9: etc etc/rc.d share/man/man8

2012-02-14 Thread Dag-Erling Smorgrav
Author: des Date: Tue Feb 14 12:43:33 2012 New Revision: 231676 URL: http://svn.freebsd.org/changeset/base/231676 Log: MFH r230007, r230388: document quiet*, fix devd/dhclient interaction. Modified: stable/9/etc/rc.d/dhclient stable/9/etc/rc.subr stable/9/share/man/man8/rc.subr.8 Director

svn commit: r230478 - head/lib/libfetch

2012-01-23 Thread Dag-Erling Smorgrav
Author: des Date: Mon Jan 23 09:23:07 2012 New Revision: 230478 URL: http://svn.freebsd.org/changeset/base/230478 Log: Fix two nits in previous commit pointed out by pjd@. MFC after:3 weeks Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c ===

svn commit: r230307 - in head: lib/libfetch usr.bin/fetch

2012-01-18 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jan 18 15:13:21 2012 New Revision: 230307 URL: http://svn.freebsd.org/changeset/base/230307 Log: Fix two issues related to the use of SIGINFO in fetch(1) to display progress information. The first is that fetch_read() (used in the HTTP code but not the FTP code) can en

svn commit: r230059 - head/sbin/geom/class/part

2012-01-13 Thread Dag-Erling Smorgrav
Author: des Date: Fri Jan 13 12:40:33 2012 New Revision: 230059 URL: http://svn.freebsd.org/changeset/base/230059 Log: Provide a better explanation for the sizing of the boot partition, and reduce the size of the partition in the example from 128 blocks to 94 blocks so it will end on a 128-b

svn commit: r228848 - svnadmin/conf

2011-12-23 Thread Dag-Erling Smorgrav
Author: des Date: Fri Dec 23 20:03:18 2011 New Revision: 228848 URL: http://svn.freebsd.org/changeset/base/228848 Log: give bapt@ a src bit Approved by: core Modified: svnadmin/conf/access svnadmin/conf/mentors Modified: svnadmin/conf/access ==

svn commit: r228810 - head/contrib/openpam/lib

2011-12-22 Thread Dag-Erling Smorgrav
Author: des Date: Thu Dec 22 18:12:51 2011 New Revision: 228810 URL: http://svn.freebsd.org/changeset/base/228810 Log: Merge upstream r509: don't log an error in the common case (ENOENT). Modified: head/contrib/openpam/lib/openpam_check_owner_perms.c Directory Properties: head/contrib/openp

svn commit: r228809 - vendor/openpam/dist/lib

2011-12-22 Thread Dag-Erling Smorgrav
Author: des Date: Thu Dec 22 18:10:15 2011 New Revision: 228809 URL: http://svn.freebsd.org/changeset/base/228809 Log: Merge upstream r509: don't log an error in the common case (ENOENT). Modified: vendor/openpam/dist/lib/openpam_check_owner_perms.c Modified: vendor/openpam/dist/lib/openpam_

svn commit: r228692 - in head: contrib/openpam contrib/openpam/bin contrib/openpam/bin/pamtest contrib/openpam/bin/su contrib/openpam/doc contrib/openpam/doc/man contrib/openpam/include contrib/ope...

2011-12-18 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 18 17:22:45 2011 New Revision: 228692 URL: http://svn.freebsd.org/changeset/base/228692 Log: Upgrade to OpenPAM Lycopsida. Added: head/contrib/openpam/bin/pamtest/ - copied from r228691, vendor/openpam/dist/bin/pamtest/ head/contrib/openpam/bin/su/su.1 -

svn commit: r228691 - vendor/openpam/LYCOPSIDA

2011-12-18 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 18 17:11:18 2011 New Revision: 228691 URL: http://svn.freebsd.org/changeset/base/228691 Log: Tag OpenPAM Lycopsida Added: vendor/openpam/LYCOPSIDA/ - copied from r228690, vendor/openpam/dist/ ___ svn-src-all@freebsd.or

svn commit: r228690 - in vendor/openpam/dist: . bin bin/pamtest bin/su doc doc/man include include/security lib misc modules modules/pam_deny modules/pam_permit modules/pam_unix

2011-12-18 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 18 17:08:40 2011 New Revision: 228690 URL: http://svn.freebsd.org/changeset/base/228690 Log: Vendor import of OpenPAM Lycopsida. Added: vendor/openpam/dist/bin/pamtest/ vendor/openpam/dist/bin/pamtest/Makefile.am vendor/openpam/dist/bin/pamtest/Makefile.in vend

svn commit: r228467 - stable/7/contrib/openpam/lib

2011-12-13 Thread Dag-Erling Smorgrav
Author: des Date: Tue Dec 13 13:03:11 2011 New Revision: 228467 URL: http://svn.freebsd.org/changeset/base/228467 Log: MFH r228384: validate the service name Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder

svn commit: r228466 - stable/8/contrib/openpam/lib

2011-12-13 Thread Dag-Erling Smorgrav
Author: des Date: Tue Dec 13 13:02:52 2011 New Revision: 228466 URL: http://svn.freebsd.org/changeset/base/228466 Log: MFH r228384: validate the service name Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder

svn commit: r228465 - releng/9.0/contrib/openpam/lib

2011-12-13 Thread Dag-Erling Smorgrav
Author: des Date: Tue Dec 13 13:02:31 2011 New Revision: 228465 URL: http://svn.freebsd.org/changeset/base/228465 Log: MFH r228384: validate the service name Approved by: re (kib) Security: some poorly thought out programs allow the user to specify the service name; t

svn commit: r228464 - stable/9/contrib/openpam/lib

2011-12-13 Thread Dag-Erling Smorgrav
Author: des Date: Tue Dec 13 12:59:39 2011 New Revision: 228464 URL: http://svn.freebsd.org/changeset/base/228464 Log: MFH r228384: validate the service name Approved by: re (kib) Security: some poorly thought out programs allow the user to specify the service name; t

svn commit: r228421 - stable/7/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 20:40:23 2011 New Revision: 228421 URL: http://svn.freebsd.org/changeset/base/228421 Log: MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option i

svn commit: r228420 - stable/8/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 20:38:36 2011 New Revision: 228420 URL: http://svn.freebsd.org/changeset/base/228420 Log: MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option i

svn commit: r228414 - releng/9.0/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 17:32:37 2011 New Revision: 228414 URL: http://svn.freebsd.org/changeset/base/228414 Log: MFH r228410: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited u

svn commit: r228410 - stable/9/lib/libpam/modules/pam_ssh

2011-12-11 Thread Dag-Erling Smorgrav
Author: des Date: Sun Dec 11 16:57:27 2011 New Revision: 228410 URL: http://svn.freebsd.org/changeset/base/228410 Log: MFH r227757: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited u

svn commit: r228384 - head/contrib/openpam/lib

2011-12-09 Thread Dag-Erling Smorgrav
Author: des Date: Sat Dec 10 01:44:24 2011 New Revision: 228384 URL: http://svn.freebsd.org/changeset/base/228384 Log: Add minimal validation of the service name to fend off at least one attack vector against applications that allow the applicant to specify which policy to apply. Submit

svn commit: r227933 - in head: . lib/libpam/modules

2011-11-24 Thread Dag-Erling Smorgrav
Author: des Date: Thu Nov 24 13:18:58 2011 New Revision: 227933 URL: http://svn.freebsd.org/changeset/base/227933 Log: Revert r227841 and part of r227798. We still build libpam in two passes, but we use STATIC_CFLAGS instead of our own private .c.o rule. MFC after:3 weeks Modified:

svn commit: r227932 - head/share/mk

2011-11-24 Thread Dag-Erling Smorgrav
Author: des Date: Thu Nov 24 13:13:50 2011 New Revision: 227932 URL: http://svn.freebsd.org/changeset/base/227932 Log: Add CTF magic to the new .c.o rule. MFC after:3 weeks Modified: head/share/mk/bsd.lib.mk Modified: head/share/mk/bsd.lib.mk

svn commit: r227841 - head

2011-11-22 Thread Dag-Erling Smorgrav
Author: des Date: Tue Nov 22 21:18:14 2011 New Revision: 227841 URL: http://svn.freebsd.org/changeset/base/227841 Log: Remove libpam from _prebuild_libs. This should unbreak the -jX build. MFC after:3 weeks Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r227798 - in head: . lib/libpam lib/libpam/modules

2011-11-21 Thread Dag-Erling Smorgrav
Author: des Date: Mon Nov 21 16:40:39 2011 New Revision: 227798 URL: http://svn.freebsd.org/changeset/base/227798 Log: Simplify the libpam build by removing the shared modules' dependency on the shared library. The modules are loaded by the library, so we know it'll be there when we need it

svn commit: r227797 - head/share/mk

2011-11-21 Thread Dag-Erling Smorgrav
Author: des Date: Mon Nov 21 16:35:57 2011 New Revision: 227797 URL: http://svn.freebsd.org/changeset/base/227797 Log: As threatened on -arch, add {SHARED,STATIC}_{C,CXX}FLAGS, which allow a Makefile to specify different CFLAGS for shared and static libraries. MFC after:3 weeks Modif

svn commit: r227757 - head/lib/libpam/modules/pam_ssh

2011-11-20 Thread Dag-Erling Smorgrav
Author: des Date: Sun Nov 20 15:18:49 2011 New Revision: 227757 URL: http://svn.freebsd.org/changeset/base/227757 Log: key_load_private() ignores the passphrase argument if the private key is unencrypted. This defeats the nullok check, because it means a non-null passphrase will successfull

svn commit: r227531 - head/rescue/rescue

2011-11-15 Thread Dag-Erling Smorgrav
Author: des Date: Tue Nov 15 16:20:39 2011 New Revision: 227531 URL: http://svn.freebsd.org/changeset/base/227531 Log: Add netcat (nc) to /rescue. MFC after:3 weeks Modified: head/rescue/rescue/Makefile Modified: head/rescue/rescue/Makefile ==

svn commit: r227044 - head/lib/libpam/modules/pam_unix

2011-11-02 Thread Dag-Erling Smorgrav
Author: des Date: Wed Nov 2 23:40:21 2011 New Revision: 227044 URL: http://svn.freebsd.org/changeset/base/227044 Log: Note that pam_unix(8) does not respect PAM_CHANGE_EXPIRED_AUTHTOK. Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 Modified: head/lib/libpam/modules/pam_unix/pam_unix.

svn commit: r226632 - head/lib/libpam/libpam

2011-10-22 Thread Dag-Erling Smorgrav
Author: des Date: Sat Oct 22 14:08:21 2011 New Revision: 226632 URL: http://svn.freebsd.org/changeset/base/226632 Log: Revert the previous commit and add a comment explaining why it was wrong. Modified: head/lib/libpam/libpam/Makefile Modified: head/lib/libpam/libpam/Makefile ===

svn commit: r226625 - head/lib/libpam/libpam

2011-10-21 Thread Dag-Erling Smorgrav
Author: des Date: Sat Oct 22 04:39:12 2011 New Revision: 226625 URL: http://svn.freebsd.org/changeset/base/226625 Log: openpam_static.c isn't auto-generated. Modified: head/lib/libpam/libpam/Makefile Modified: head/lib/libpam/libpam/Makefile ==

svn commit: r226608 - in head/usr.bin: kdump truss

2011-10-21 Thread Dag-Erling Smorgrav
Author: des Date: Fri Oct 21 11:08:25 2011 New Revision: 226608 URL: http://svn.freebsd.org/changeset/base/226608 Log: It turns out that truss also used kdump's mkioctls script, and expected ioctlname() to return a pointer to the name rather than print it. This did not show up in testing be

svn commit: r226546 - head/bin/ls

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 15:35:41 2011 New Revision: 226546 URL: http://svn.freebsd.org/changeset/base/226546 Log: If ls was invoked with -i but neither -l nor -s, blocksize was used in display() to calculate column widths, but was not initialized in main(). This resulted in a division

svn commit: r226541 - stable/8/usr.bin/fetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 12:15:16 2011 New Revision: 226541 URL: http://svn.freebsd.org/changeset/base/226541 Log: MFH r225982: fix name in copyright statements Modified: stable/8/usr.bin/fetch/fetch.1 stable/8/usr.bin/fetch/fetch.c Directory Properties: stable/8/usr.bin/fetch/ (pro

svn commit: r226540 - stable/8/usr.bin/fetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 12:14:14 2011 New Revision: 226540 URL: http://svn.freebsd.org/changeset/base/226540 Log: MFH r225599,225800,225805: improve handling of resumed http transfers PR: bin/117277 Modified: stable/8/usr.bin/fetch/fetch.c Directory Properties: stable/8/

svn commit: r226539 - stable/8/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:49:14 2011 New Revision: 226539 URL: http://svn.freebsd.org/changeset/base/226539 Log: MFH r221830: mark all sockets and file descriptors close-on-exec PR: bin/151866 Modified: stable/8/lib/libfetch/common.c stable/8/lib/libfetch/file.c Directo

svn commit: r226538 - stable/8/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:48:21 2011 New Revision: 226538 URL: http://svn.freebsd.org/changeset/base/226538 Log: MFH r221820-221823,225814,22653: whitespace, warnings, cosmetic nits Modified: stable/8/lib/libfetch/Makefile stable/8/lib/libfetch/common.c stable/8/lib/libfetch/common.

svn commit: r226537 - head/lib/libfetch

2011-10-19 Thread Dag-Erling Smorgrav
Author: des Date: Wed Oct 19 11:43:51 2011 New Revision: 226537 URL: http://svn.freebsd.org/changeset/base/226537 Log: latin1 -> utf8 Modified: head/lib/libfetch/common.c head/lib/libfetch/common.h head/lib/libfetch/fetch.3 head/lib/libfetch/fetch.c head/lib/libfetch/fetch.h head/li

svn commit: r226509 - head/bin/ls

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 13:10:46 2011 New Revision: 226509 URL: http://svn.freebsd.org/changeset/base/226509 Log: When calculating the width of the blocksize column, ls(1) used 512-byte units (as returned by stat(2)) instead of BLOCKSIZE units. Submitted by: Paul Schenkeveld MFC af

svn commit: r226506 - in head/sys/boot: arm/at91/boot2 arm/ixp425/boot2 i386/boot2 i386/gptboot i386/zfsboot pc98/boot2

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 09:46:52 2011 New Revision: 226506 URL: http://svn.freebsd.org/changeset/base/226506 Log: Look for /boot/config in addition to /boot.config, with the former taking precedence over the latter if it exists. MFC after:3 weeks Modified: head/sys/boot/arm/at

svn commit: r226505 - head/usr.bin/kdump

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 09:39:41 2011 New Revision: 226505 URL: http://svn.freebsd.org/changeset/base/226505 Log: Fix copy-pasto in CAPFAIL_INCREASE case. Noticed by: pjd Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c ===

  1   2   3   4   5   >