Commit graph

1166 commits

Author SHA1 Message Date
veego
1efbe9ed8a Updated uvscan-dat to 4187 (released 2002-02-20)
* new virus definitions
2002-02-24 16:59:18 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
agc
e5ec8ef1e5 Update maintainer information 2002-02-18 09:57:57 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
abs
9b14a06cbf Import msu-1.00
msu (or mini/mono su) is a simple way to provide passwordless access to
accounts specified in a config file. Useful for shared accounts and suchlike.
Its more a convenient way to _reduce_ security, than increase it, but as its
related to account authorisation it goes into security...
2002-02-14 00:42:04 +00:00
martti
1a33fb50ef Updated uvscan-dat to 4185 (released 2002-02-06)
* new virus definitions
2002-02-12 06:47:22 +00:00
jmc
1e5ca05b9d Provide a better rule for platforms to build this on. Basically only 1.5B
or greater unless it's x86. (All due to exposure of struct pmap on pre 1.5B
systems from vm/vm.h inclusion).
2002-02-11 17:07:59 +00:00
taca
7e10308b7c Update ruby-openssl package to 0.1.1. Changes from 0.0.9 is below.
$Id: ChangeLog,v 1.28 2002/02/06 13:36:15 majkl Exp $
'OpenSSL for Ruby' project
Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz>
All rights reserved.

$Log: ChangeLog,v $
Revision 1.28  2002/02/06 13:36:15  majkl
	* Dropped Random class
	* Added Random module
	* Added egd interface to Random module

Revision 1.27  2002/01/16 14:49:52  majkl
	* really fixed strptime.c (silly me, thanks Hynek)

Revision 1.26  2002/01/16 13:52:24  majkl
	* fixed missing/strptime.c (Hynek)
	* more strict format for UTC time (ossl.c - 'Z' in the end)

Revision 1.25  2002/01/16 12:12:50  majkl
	* selfdipatch BN implementation (test only)
	* removed strncasecmp (for WIN32 made alias to _strnicmp)
	* fixed missing/strptime.c (Hynek Rostinsky)

Revision 1.24  2002/01/12 11:49:17  majkl
	* fixed callbacks in ossl_(ssl|x509store).c
	* added method X509::Store#verify_status=

Revision 1.23  2002/01/10 19:32:23  majkl
	* fixed and improved verify_callbacks in ossl_(ssl|x509store).c
	* enhanced ossl_x509store.rb examples

Revision 1.22  2002/01/10 17:33:16  majkl
	* OpenSSL::Cipher::BITx constant == x (so BIT40 = 40,...)

Revision 1.21  2002/01/10 13:46:09  majkl
	* added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*)
	* added AES cipher when compiled under OpenSSL-SNAPSHOT
	* added warnings if the OpenSSL is compiled without some feature
	* handle NO_RSA, NO_DSA in openssl.rb
	* incremented version in ossl_version.h

Revision 1.20  2002/01/10 00:44:17  majkl
	* OpenSSL 0.9.6c support (BN)
	* MS_CALLBACK to ossl_pkey_*.c
	* Memory checking with OSSL_DEBUG
	* API doc style change

Revision 1.19  2002/01/06 16:18:32  majkl
	* ossl-0.1.0 released

Revision 1.18  2002/01/06 16:10:37  majkl
	* BN is (somewhat) full imp. now
	* Config reworked (get_value, get_section)

Revision 1.17  2002/01/04 11:27:45  majkl
	* API doc in README (but still not completed)
	* missing str(ncasecmp|strptime).c files moved to missing/
	* ifdef NO_* handled

Revision 1.16  2002/01/04 11:22:55  majkl
	* SelfDispatching used for X509:: Name, Extension, Attribute
		def XXX.new(arg)
			XXX.send("new_from_#{arg.type.name.downcase}", arg)
		end

	* RSA,DSA - 'new_from_pem', 'generate' singleton methods defined
		'new' - implemented in Ruby space

Revision 1.15  2002/01/04 11:12:45  majkl
	* Further checking (Check_SafeStr, memory leaks)

Revision 1.14  2001/12/21 20:10:24  majkl
*** empty log message ***

Revision 1.13  2001/12/21 20:10:12  majkl
	* Memory checking

Revision 1.12  2001/12/21 19:21:35  gotoyuzo
	* fixed unusual usage of ## preprocessing token sequence.

Revision 1.11  2001/12/13 18:08:58  majkl
	* added bn methods (thanks to UNKNOWN <oss-ruby@technorama.net>)
	* simplify ossl_digest sources

Revision 1.10  2001/11/29 13:17:24  majkl
	* Make work under MS Windows (strptime added) + doc in README

Revision 1.9  2001/11/26 11:48:36  majkl
	* Just forgot to add stuff to changelog...

2001/11/21 majkl
	* BN added (only proof of concept)
	* indent changed
	* rand.h to ossl.h added

Revision 1.8  2001/11/21 09:37:03  gotoyuzo
	* buffering.rb went under ``openssl'' directory.

Revision 1.7  2001/11/20 19:39:37  majkl
	* HMAC added
	* Config came back
	* API changed in PKCS7 (param. order)
	* API changed in Cipher (can't add data in .new)
	* indentation changed (only half of files, 2nd half to do)
	* some API doc added to README

Revision 1.6  2001/11/19 12:44:57  majkl
	* added X509::Certificate .to_der
2002-02-07 15:50:07 +00:00
jlam
7046abc822 Changes instances where BSD_INSTALL_* were used by targets in the Makefile
into the equivalent INSTALL_*.  This is fallout from the change in
revision 1.915 that removed ${MAKE_ENV} from the environment for a
recursive make.
2002-02-06 16:58:11 +00:00
agc
919d708cb0 Make sure this package installs properly. Pointed out in mail by
Toru TAKAMIZU <ttaka@ma1.seikyou.ne.jp>
2002-02-06 13:05:48 +00:00
skrll
9bd4180d57 /bin/mkdir -> ${MKDIR}.
Make the print-PLIST target output ${MKDIR} also.
2002-02-05 22:39:00 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
jlam
54d0c85d5d Bump the package version number to 1.2.27nb2 since the config file location
changed.
2002-02-05 04:26:56 +00:00
jlam
0264c48aa9 Bump package version to 3.0.2.1nb1 since the config file location changed. 2002-02-05 04:26:27 +00:00
jlam
f0540167c0 * SSH_CONF_DIR has been obsoleted. Use PKG_SYSCONFDIR instead.
* Build properly on systems that don't have /dev/urandom by testing for
  the presence of /dev/urandom, instead of just testing for Solaris.
* Add disabled code to handle PAM (not quite working yet with security/PAM).
* Make the sshd rc.d script more /etc/rc.subr-friendly.
* Minimize amount of diffs from pristine OpenSSH sources.
2002-02-05 04:17:31 +00:00
jlam
c47f6a256e SSH_CONF_DIR has been deprecated. Use PKG_SYSCONFDIR instead. 2002-02-05 04:13:20 +00:00
martti
47f409dbca Updated isakmpd to 20020203.
Changes:

* bug fixes
2002-02-03 15:11:53 +00:00
jlam
80618be344 Remove the dbinit command as it's not needed by the pwcheck daemon.
pwcheck only checks against the /etc/passwd database.  Users that need
CRAM-MD5 or SCRAM-MD5 authentication can initialize the sasldb and add
themselves in the process by running saslpasswd.
2002-01-31 21:41:18 +00:00
jlam
a3a490535f * Create the link /usr/lib/sasl -> ${PREFIX}/lib/sasl as it's where SASL-
aware applications look for authentication mechanisms by default.
* Warn package admin if ${PREFIX}/lib/sasl is non-empty after
  deinstallation, as it may contain service config files.
* Purge use of PKGDIR.
2002-01-31 20:42:08 +00:00
jlam
66dcef3cab Make "dbinit" work even if not installed in /etc/rc.d. 2002-01-31 19:55:07 +00:00
jlam
f576959983 Add USE_PAM to the BUILD_DEFS if it is defined. 2002-01-31 19:52:02 +00:00
taca
eff163c26d Don't override CONFIGURE_ARGS but append it.
P.S.
Update information of rats to 1.3 was reported to tech-pkg-ja@jp.netbsd.org
from "Shell, Hin-lik Hung" <shell@shellhung.org>.
2002-01-30 11:52:43 +00:00
jlam
9c6394a400 Note addition of pam-smbpass. 2002-01-29 22:37:44 +00:00
jlam
50847c1799 Initial import of security/pam-smbpass:
pam_smbpass is a PAM module to authenticate against a local smbpassd (Samba
password) user database, and can be used on conforming systems to keep the
smbpasswd database in sync with the UNIX password file.
2002-01-29 22:35:59 +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
drochner
f79fce4c1d add py-cryptkit and py-gnupg 2002-01-29 16:30:23 +00:00
drochner
e0b42f7264 initial import of py-cryptkit-0.9, a python Cryptographic Toolkit,
submitted by Shell Hung per PR pkg/15131
2002-01-29 16:23:31 +00:00
drochner
a33f038660 initial import of py-gnupg-0.3.2, a python interface to GnuPG,
submitted by Shell Hung per PR pkg/14541
2002-01-29 16:15:47 +00:00
taca
3dcdb4e076 Move ${LOCALBASE}/libdata/rats to ${LOCALBASE}/share/rats since this
directory contains machine independent files.
2002-01-29 00:51:50 +00:00
taca
c6c952fb0a Update rats package to 1.3.
o Utilize textproc/expat/buildlink.mk.
o Install data file to ${LOCALBASE}/libdata/rats instead of ${LOCALBASE}/lib.

It seems that Changes isn't available but PHP support was added.
2002-01-29 00:37:05 +00:00
taca
f24f88b7bf Correct PKGNAME not sudo-1.6.5p2 but sudo-1.6.5.2. 2002-01-28 15:38:37 +00:00
martti
ced64151be Updated p5-Crypt-CBC to 2.02 (provided by Shell Hung in pkg/15354)
This may not call a "upgrade", should be called 'downgrade',
and bump version number.. :-)
- Reverse to pre-2.00 version
2002-01-28 14:19:14 +00:00
taca
ec3c1a879c Update sudo package to 1.6.5.2 (1.6.5p2).
469) Older versions of BSDi have getifaddrs() but no freeifaddrs().

470) BSDi has a fake setreuid() as do certain versions of FreeBSD and NetBSD.

471) Ignore the return value of pam_setcred().  In Linux-PAM 0.75,
     pam_setcred() will return PAM_PERM_DENIED even if the setcred function
     of the module succeeds when pam_authenticate() has not been called.

472) Avoid giving PAM a NULL password response, use the empty string instead.
     This avoids a log warning when the user hits ^C at the password prompt
     when Linux-PAM is in use.  This also prevents older versions of
     Linux-PAM from dereferencing the NULL pointer.

473) The user's password was not zeroed after use when AIX authentication,
     BSD authentication, FWTK or PAM was in use.

Sudo 1.6.5p2 released.
2002-01-24 16:01:02 +00:00
martti
727c30f9ee Updated uvscan-dat to 4181 (new worms and viruses detected) 2002-01-21 11:58:06 +00:00
wiz
6589435500 Use gmp's buildlink.mk (Makefile).
Remove another kerberos prototype that's conflicting with the real one
(patch-ag).
2002-01-20 01:30:36 +00:00
mjl
b632bed3a2 Update p5-Crypt-SSLeay to 0.35
+ Set local $SIG{PIPE} = \&die before $ssl->connect()
  to capture the "broken pipe" error associated with connecting
  to a computer that is not running a SSL web server

+ Documented differences / conflicts between LWP proxy support
  and Crypt::SSLeay which seems to be a source of confusion for users.

+ Added Net::SSL::get_peer_verify call so the warning header
  from LWP that says:

    Client-SSL-Warning: Peer certificate not verified

  can be suppressed when HTTPS_CA_FILE & HTTPS_CA_DIR environment
  variables are set to invoke peer certificate verification.

+ $ENV{HTTPS_DEBUG} activates Crypt::SSLeay specific debugging,
  so one can debug from LWP:: calls without using ./net_ssl_test script

- removed exit from Makefile.PL

+ Streamlined *CA* patches so only in $CTX->set_verify()
  which gets called every time now.

+ Throw error instead of return undef in Net::SSL->connect()
  because we loose the errors otherwise.

- Turn SSL_MODE_AUTO_RETRY on so clients can survive
  changes in SSLVerifyClient changes in the modssl connection

+ Integrated patches from Gamid Isayev for CA peer verification.

- Client certs weren't working correctly, setup certs earlier in connection
  now, also create new CTX per request, so cert settings don't remain
  sticky from one request to the next.

+ update ./net_ssl_test to do smart parsing of host, where
  host can now be of the form http://www.nodeworks.com:443/

- local $@ in Net::SSL::DESTROY so we don't kill real errors

- return undef in Net::SSL::connect() instead of die() for better LWP
  support & error handling.

+ alarm() on Unix platforms around ssl ctx connect, which can hang for
  process for way too long when trying to connect to dead https SSL servers.

Fixes PR/15053 by Shell Hung.
2002-01-19 03:19:12 +00:00
drochner
c34aa86bf7 use python buildlink 2002-01-18 13:29:29 +00:00
taca
1aaee629da Update sudo package to 1.6.5p1. Quote from CHANGES is below.
467) Visudo could access memory that was already freed.

468) If the skey.access file denied use of plaintext passwords sudo
     would exit instead of allowing the user to enter an S/Key.

Sudo 1.6.5p1 released.
2002-01-18 11:44:14 +00:00
martin
1c21d7b935 Remove illegal optimizatioon breaking on all platforms where va_list is
not a pointer. Should make this build on alpha and macppc again (but I
can't test this right now).
2002-01-18 09:23:58 +00:00
martti
abf28b7188 This can't be compiled on alpha/powerpc because __va_list is defined
as struct in include/ansi.h instead of "char *".

This just a temporary hack, better solution is really needed...
2002-01-18 07:21:30 +00:00
taca
bd9f7cc1ff Update sudo package to 1.6.5 for recent security problem.
Added --disable-root-mailer to CONFIGURE_ARGS better security.

Changes from 1.6.3p7 to 1.6.5 is attached bellow.

417) Visudo now checks for the existence of an editor and gives a sensible
     error if it does not exist.

418) The path to the editor for visudo is now a colon-separated list of
     allowable editors.  If the user has $EDITOR set and it matches
     one of the allowed editors that editor will be used.  If not,
     the first editor that actually exists is used.

419) Visudo now does its own fork/exec instead of calling system(3).

420) Allow special characters (including '#') to be embedded in pathnames
     if quoted by a '\\'.  The quoted chars will be dealt with by fnmatch().
     Unfortunately, 'sudo -l' still prints the '\\'.

421) Added the always_set_home option.

422) Strip NLSPATH and PATH_LOCALE out from the environment to prevent
     reading of protected files by a less privileged user.

423) Added support for BSD authentication and associated -a flag.

424) Added check for _innetgr(3) since NCR systems have this instead
     of innetgr(3).

425) Added stay_setuid option for systems that have libraries that perform
     extra paranoia checks in system libraries for setuid programs.

426) Environment munging is now done by hand.  The environment is zeroed
     upon sudo startup and a new environment is built before the command
     is executed.  This means we don't rely on getenv(3), putenv(3),
     or setenv(3).

427) Added a class of environment variables that are only cleared if they
     contain '/' or '%' characters.

428) Use stashed user_gid when checking against exempt gid since sudo
     sets its gid to SUDOERS_GID, making getgid() return that, not the
     real gid.  Fixes problem with setting exempt group == SUDOERS_GID.
     Fix from Paul Kranenburg.

429) Fixed file locking in visudo on NeXT which has a broken lockf().
     Patch from twetzel@gwdg.de.

430) Regenerated configure script with autoconf-2.52 (required some
     tweaking of configure.in and friends).

431) Added mail_badpass option to send mail when the user does not
     authenticate successfully.

432) Added env_reset Defaults option to reset the environment to
     a clean slate.  Also implemented env_keep Defaults option
     to specify variables to be preserved when resetting the
     environment.

433) Added env_check and env_delete Defaults options to allow the admin
     to modify the builtin list of environment variables to remove.

434) If timestamp_timeout < 0 then the timestamp never expires.  This
     allows users to manage their own timestamps and create or delete
     them via 'sudo -v' and 'sudo -k' respectively.

435) Authentication routines that use sudo's tgetpass() now accept
     ^C or ^Z at the password prompt and sudo will act appropriately.

436) Added a check-only mode to visudo to check an existing sudoers
     file for sanity.

437) Visudo can now edit an alternate sudoers file.

438) If sudo is configured with S/Key support and the system has
     skeyaccess(3) use that to determine whether or not to allow
     a normal Unix password or just S/Key.

439) Fixed CIDR handling in sudoers.

440) Fixed a segv if the local hostname is not resolvable and
     the 'fqdn' option is set.

441) "listpw=never" was not having an effect for users who did not
     appear in sudoers--now it does.

442) The --without-sendmail option now works on systems with
     a /usr/include/paths.h file that defines _PATH_SENDMAIL.

443) Removed the "secure_path" Defaults option as it does not work and
     cannot work until the parser is overhauled.

444) Added new -P flag and "preserve_groups" sudoers option to cause
     sudo to preserve the group vector instead of setting it to that
     of the target user.  Previously, if the target user was root
     the group vector was not changed.  Now it is always changed unless
     the -P flag or "preserve_groups" option was given.

445) If find_path() fails as root, try again as the invoking user (useful
     for NFS).  Idea from Chip Capelik.

446) Use setpwent()/endpwent() and its shadow equivalents to be sure
     the passwd/shadow file gets closed.

447) Use getifaddrs(3) to get the list of network interfaces if it is
     available.

448) Dump list of local IP addresses and environment variables to clear
     when 'sudo -V' is run as root.

449) Reorganized the lexer a bit and added more states.  Sudo now does a
     better job of parsing command arguments in the sudoers file.

450) Wrap each call to syslog() with openlog()/closelog() since some
     things (such as PAM) may call closelog(3) behind sudo's back.

451) The LOGNAME and USER environment variables are now set if the user
     specified a target uid and that uid exists in the password database.

452) configure will no longer add the -g flag to CFLAGS by default.

453) Now call pam_setcreds() to setup creds for the target user when
     PAM is in use.  On Linux this often sets resource limits.

454) If "make install" is run by non-root and the destination dir
     is writable, install things normally but don't set owner and mode.

455) The Makefile now supports installing in a shadow hierarchy
     specified via the DESTDIR variable.

456) config.h.in is now generated by autoheader.

Sudo 1.6.4 released.

457) Move the call to rebuild_env() until after MODE_RESET_HOME is set.
     Otherwise, the set_home option has no effect.

458) Fix use of freed memory when the "fqdn" flag is set.  This was
     introduced by the fix for the "segv when gethostbynam() fails" bug.

459) Add 'continue' statements to optimize the switch statement.
     From Solar Designer.

Sudo 1.6.4p1 released.

460) Some special characters were not being escaped properly (e..g '\,')
     in command line arguments and would cause a syntax error instead.

461) "sudo -l" would not work if the always_set_home option was set.

462) Added a configure option to disable use of POSIX saved IDs for
     operating systems where these are broken.

463) The SHELL environment variable was preserved from the user's environment
     instead of being reset based on the passwd database even when the
     "env_reset" option was set.

Sudo 1.6.4p2 released.

464) Added a configure option to cause mail sent by sudo to be run as
     the invoking user instead of root.  Some people consider this to
     be safer.

465) If the mailer is being run as root, use a hard-coded environment
     that is not influenced in any way by the invoking user's environment.

466) Fixed the call to skeyaccess().  Patch from Phillip E. Lobbes.

Sudo 1.6.5 released.
2002-01-17 16:32:04 +00:00
drochner
6ab6d213d0 use python extension buildlink,
use canonical pkg name (pyX.Y-pkg-vers),
make passing of SSLBASE work
2002-01-17 13:02:44 +00:00
martti
b57324eaf1 Updated gpa to 0.4.3
* The list of keyservers is now read form the file "keyservers" in the
  GPA configuration directory which by default is ~/.gnupg.  The new
  option keyserver may be used in the gpa.conf file to select the
  default keyserver - it implictly adds this server to the list of
  keyservers.
2002-01-17 10:28:25 +00:00
taca
f917ff4b2c Make ruby-digest module need ruby 1.6.6 or later.
Temporary work around.
2002-01-15 16:43:50 +00:00
martti
31e594a8a0 Updated uvscan-dat to 4180
* new virus definitions
2002-01-14 12:02:00 +00:00
skrll
e2ee1971dd Update to 1.5.27. Changes are mostly bugfixes including a fix for the
format string vulnerability described in

        http://www.securityfocus.com/bid/3498

Closes pkg/15149 from <naoki@fukaumi.org>
2002-01-13 14:23:37 +00:00
seb
97e6555965 Add a missing backslash. 2002-01-11 13:32:50 +00:00