Commit graph

2098 commits

Author SHA1 Message Date
jlam
274c27180b Links libsocks4.* to libsocks.* since that's what the name of the SOCK4
library is on many other systems.
2001-07-15 12:18:04 +00:00
jlam
70cf5e59c3 Don't use find ... -print0 | xargs -0 ... as -0 isn't an acceptable option
on Solaris' xargs.
2001-07-14 12:37:45 +00:00
taca
db2fe9636b Update samba to 2.2.1a.
WHATS NEW IN Samba 2.2.1a:  11th July 2001
              ==========================================

This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.

This is a minor bugfix release for 2.2.1, *NOT* security related.

1). 2.2.1 had a bug where using smbpasswd -m to add a Windows NT or
Windows2000 machine into a Samba hosted PDC would fail due to our
stricter user name checking. We were disallowing user names
containing '$', which is needed when using smbpasswd to add a
machine into a domain. Automatically adding machines (using the
native Windows tools) into a Samba domain worked correctly.

2.2.1a fixes this single problem.

New/Changed parameters in 2.2.1
-------------------------------

Added parameters.
-----------------

obey pam restrictions

When Samba is configured to use PAM, turns on or off Samba checking
the PAM account restrictions. Defaults to off.

pam password change

When Samba is configured to use PAM, turns on or off Samba passing
the password changes to PAM. Defaults to off.

large readwrite

New option to allow new Windows 2000 large file (64k) streaming
read/write options. Needs a 64 bit underlying operating system
(for Linux use kernel 2.4 with glibc 2.2 or above). Can improve performance
by 10% with Windows 2000 clients. Defaults to off. Not as tested
as some other Samba code paths.

hide unreadable

Prevents clients from seeing the existance of files that cannot
be read. Off by default.

enhanced browsing

Turn on/off the enhanced Samba browing functionality (*1B names).
Default is "on". Can prevent eternal machines in workgroups when
WINS servers are not synchronised.

Removed parameters.
-------------------

domain groups
domain admin users
domain guest users

Changes in 2.2.1
-----------------

1). "find" command removed for smbclient. Internal code now used.
2). smbspool updates to retry connections from Michael Sweet.
3). Fix for mapping 8859-15 characters to UNICODE.
4). Changed "security=server" to try with invalid username to prevent
    account lockouts.
5). Fixes to allow Windows 2000 SP2 clients to join a Samba PDC.
6). Support for Windows 9x Nexus tools to allow security changes from Win9x.
7). Two locking fixes added. Samba 2.2.1 now passes the Clarion network
    lock tester tool for distributed databases.
8). Preliminary support added for Windows 2000 large file read/write SMBs.
9). Changed random number generator in Samba to prevent guess attacks.
10). Fixes for tdb corruption in connections.tdb and file locking brlock.tdb.
     smbd's clean the tdb files on startup and shutdown.
11). Fixes for default ACLs on Solaris.
12). Tidyup of password entry caching code.
13). Correct shutdowns added for send fails. Helps tdb cleanup code.
14). Prevent invalid '/' characters in workgroup names.
15). Removed more static arrays in SAMR code.
16). Client code is now UNICODE on the wire.
17). Fix 2 second timstamp resolution everywhere if dos timestamp set to yes.
18). All tdb opens now going through logging function.
19). Add pam password changing and pam restrictions code.
20). Printer driver management improvements (delete driver).
21). Fix difference between NULL security descriptors and empty
     security descriptors.
22). Fix SID returns for server roles.
23). Allow Windows 2000 mmc to view and set Samba share security descriptors.
24). Allow smbcontrol to forcibly disconnect a share.
25). tdb fixes for HPUX, OpenBSD and other OS's that don't have a coherent
     mmap/file read/write cache.
26). Fix race condition in returning create disposition for file create/open.
27). Fix NT rewriting of security descriptors to their canonical form for
     ACLs.
28). Fix for Samba running on top of Linux VFAT ftruncate bug.
29). Swat fixes for being run with xinetd that doesn't set the umask.
30). Fix for slow writes with Win9x Explorer clients. Emulates Microsoft
     TCP stack early ack specification error.
31). Changed lock & persistant tdb directory to /var/cache/samba by default on
     RedHat and Mandrake as they clear the /var/lock/samba directory on reboot.
2001-07-13 16:08:40 +00:00
tron
5aa17221be Set "PKG_JVM" to "sun-jdk" to enforce use of the required Java VM. 2001-07-13 11:30:08 +00:00
jlam
9820a22a90 In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
2001-07-13 07:09:17 +00:00
fredb
fce9b8bae5 Don't try to build against -lreadline on NetBSD-1.4.x, either. 2001-07-12 17:38:18 +00:00
fredb
9a872eacf7 Update to latest release candidate, ntp-4.0.99m-rc3. Continued
refinements since 4.0.99k, a new feature -- an experimental
"huff-n-puff" filter (optionally enabled in /etc/ntp.conf) -- which
discards samples with the highest delays, and new drivers for:
Forum Graphic GPS, WWV/H, Heath GC-100 II, HOPF serial and PCI,
ONCORE, ulink331.

Drop the packages's requirement for GNU readline. It turns out
that command line editing in "ntpq" is not all that useful, as
you can alway let your shell recall "ntpq -c <command>".
2001-07-12 16:24:58 +00:00
zuntum
6d4f2ddda8 add & enable SDL_net 2001-07-10 09:53:10 +00:00
zuntum
f6072c8b5e Initial import of SDL_net-1.2.0
This is a small sample cross-platform networking library
2001-07-10 09:05:28 +00:00
zuntum
5428926ad8 Update polsms to 1.8.9
Changes:
o several new options in config file revelant when sending messages to Plus phones;
  now supports ICQ gateway, too
o yet another change in Era handling code
o improved way to parse email address from both environment variables and config file
o improved hostname detection code

* converted to use buildlink.mk files
* simplified patch-aa
2001-07-09 09:11:27 +00:00
zuntum
2f61f589be Update ipcalc to 0.34
Changelog:
 - Use default netmask of class when no netmask is given
2001-07-04 21:43:15 +00:00
taca
f4cfc1f7b1 remove redundant USE_RUBY. 2001-07-04 16:02:36 +00:00
itojun
a11bc04864 upgrade to 9.1.3 from ISC. changes between 9.1.2 to 9.1.3:
--- 9.1.3 released ---

	--- 9.1.3rc3 released ---

 911.	[bug]		Fail gracefully with multiple hint zones. [RT #1433]

 910.	[port]		Some pre-RFC2133 IPv6 implementations do not define
			IN6ADDR_ANY_INIT. [RT #1416]

	--- 9.1.3rc2 released ---

 904.	[bug]		The server would leak memory if attempting to use
			an expired TSIG key. [RT #1406]

 903.	[bug]		dig should not crash when receiving a TCP packet
			of length 0.

 902.	[bug]		The -d option was ignored if both -t and -g were also
			specified.

 901.	[cleanup]	The man pages no longer have empty lines outside of
			literal blocks.

 898.	[bug]		"dig" failed to set a nonzero exit status
			on UDP query timeout. [RT #1323]

 894.	[bug]		When using the DNSSEC tools, a message intended to warn
			when the keyboard was being used because of the lack
			of a suitable random device was not being printed.

 892.	[bug]		The server could attempt to refresh a zone that
			was being loaded, causing an assertion failure.
			[RT #1335]

 891.	[bug]		Return an error when a SIG(0) signed response to
			an unsigned query is seen.  This should actually
			do the verification, but it's not currently
			possible. [RT #1391]

 888.	[bug]		Don't die when using TKEY to delete a nonexistent
			TSIG key. [RT #1392]

 860.	[interop]	Drop cross class glue in zone transfers.

 852.	[bug]		Handle responses from servers which do not
			now about IXFR.

 850.	[bug]		dns_rbt_findnode() would not find nodes that were
			split on a bitstring label somewhere other than in
			the last label of the node. [RT #1351]

 705.	[port]		Work out resource limit type for use where rlim_t is
			not available. [RT #695]

 704.	[port]		RLIMIT_NOFILE is not available on all platforms.

 703.	[port]		sys/select.h is needed on older platforms. [RT #695]

	--- 9.1.3rc1 released ---

 831.	[bug]		The configure script tried to determine
			endianness before making its final decision on
			which C compiler to use, causing Solaris/x86
			systems with gcc to be incorrectly identified
			as big-endian. [RT #1315]

 827.	[bug]		When an IXFR protocol error occurs, the slave
			should retry with AXFR.

 826.	[bug]		Some IXFR protocol errors were not detected.

 825.	[bug]		zone.c:ns_query() detached from the wrong zone
			reference. [RT #1264]

 824.	[bug]		Correct line numbers reported by dns_master_load().
			[RT #1263]

 822.	[bug]		Sending nxrrset prerequisites would crash nsupdate.
			[RT #1248]

 806.	[bug]		DNS_R_SEENINCLUDE was failing to propagate back up
			the calling stack to the zone maintence level, causing
			zones to not reload when an included file was touched
			but the top-level zone file was not.

 771.	[cleanup]	TSIG errors related to unsynchronized clocks
			are logged better. [RT #919]

 734.	[bug]		An attempt to re-lock the zone lock could occur if
			the server was shutdown during a zone tranfer.
			[RT #830]

 712.	[bug]		Sending a large signed update message caused an
			assertion failure. [RT #718]

 669.	[bug]		dnssec-keygen now makes the public key file
			non-world-readable for symmetric keys. [RT #403]
2001-07-04 00:21:34 +00:00
jlam
f6ab06e12b Mark as USE_BUILDLINK_ONLY 2001-07-02 16:53:31 +00:00
jlam
5bcf9f90e6 Convert to use buildlink.mk files. 2001-07-02 16:51:49 +00:00
joda
8a693284e8 add note about enabling lkm-loading in rc.conf; suggested by Cana McCoy 2001-07-02 15:53:49 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
itojun
31d5e66501 add net/bridged 2001-07-01 16:46:14 +00:00
itojun
d4d8e617a7 bridged, userland ethernet bridge daemon 2001-07-01 16:43:59 +00:00
taca
7d7a8f62a0 Add and enable ruby-drb and ruby-icmp. 2001-07-01 14:32:39 +00:00
taca
8ddbb0a8cb Importing ruby-icmp, ruby-icmp-0.1.1 package.
Ruby module for handling ICMP packets.
2001-07-01 14:26:16 +00:00
taca
0cf2df9814 Importing ruby-drb, ruby-drb-1.3.2 package.
druby (DRb) - distributed ruby.
DRb can be used to exchange messages among Ruby scripts.
2001-07-01 14:25:06 +00:00
tron
43a5407b20 Get rid of "ETHEREAL_VERSION" variable by extracting the version number
from the package name.
2001-06-30 23:55:55 +00:00
wiz
d6affa77ea It seems struct ifnet grew, and the buffer used to kvm_read into wasn't
big enough, resulting into overwriting of stack variables making wmnet
core dump because of segfault. Increase buffer size to avoid that.
Bump to 1.06nb2.
2001-06-30 09:55:57 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
jlam
626603732c Use socks4>=2.2 instead of socks4-*. 2001-06-28 20:32:02 +00:00
jlam
ae5a3ce164 Add buildlink.mk file for use by other package Makefiles. 2001-06-28 20:31:26 +00:00
jlam
0d519e28f8 Mark as USE_BUILDLINK_ONLY, and some minor whitespace alignments. 2001-06-28 20:28:56 +00:00
jlam
664b01442b Use =, not +=, for BUILDLINK_FILES. 2001-06-28 20:27:51 +00:00
jlam
ac023bf812 Add buildlink.mk file for use by other package Makefiles. 2001-06-28 20:23:29 +00:00
jlam
336bb73994 Honor CFLAGS passed in from environment during build, some minor cosmetic
changes to the Makefile, and mark as USE_BUILDLINK_ONLY.
2001-06-28 20:20:48 +00:00
jlam
41d8a8d4f4 Remove USE_BUILDLINK_ONLY as we may need ${LOCALBASE}/lib/libintl.so on
pre-current systems.
2001-06-28 18:22:38 +00:00
wiz
0b92716f49 Convert to use buildlink.mk. Should fix pkg/13331. 2001-06-28 13:35:31 +00:00
wiz
8f1307126f Only patch one file per patch file. 2001-06-28 10:32:45 +00:00
dogcow
0d885d5a0d As Bernd Ernesti kindly pointed out, this already exists as
pkgsrc/databases/p5-perl-ldap, and has been around since '99.
Therefore, that one takes precedence. Mea summa culpa.
2001-06-27 09:53:35 +00:00
jlam
6013b55b84 - Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
- Handle PKGLOCALEDIR in PLIST.
2001-06-27 04:58:51 +00:00
dogcow
33a27ee75b missed the Makefile the first time around. 2001-06-27 03:24:48 +00:00
dogcow
9a98f2b481 Initial commit of p5-Net-LDAP.
This is quite a different package from pkgsrc/devel/p5-LDAP; this one
doesn't require the mozilla ldapsdk, and also seems to be the 'standard'
LDAP interface these days.
2001-06-27 01:52:04 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
wiz
13e4dd7896 Install zebra.info-{1,2,3} (pregenerated). Fixes pkg/13067 by Kimmo Suouminen. 2001-06-26 11:34:16 +00:00
wiz
cf1a755ba3 Swap contents of PLIST.pre and PLIST.post; dirrm's should be in PLIST.post. 2001-06-26 11:09:28 +00:00
wiz
79109b4710 Add 'mkdir -p ~/ICAClient' as requested in pkg/13030 by Juha Ylitalo. 2001-06-26 09:05:53 +00:00
taca
d1eee7f719 Update samba to 2.2.0a as samba-2.2.0nb2. Quoting from WHATSNEW.txt:
WHATS NEW IN Samba 2.2.0a:  23rd June 2001
              ==========================================

SECURITY FIX
============

This is a security bugfix release for Samba 2.2.0. This release provides the
following two changes *ONLY* from the 2.2.0 release.

1). Fix for the security hole discovered by Michal Zalewski (lcamtuf@bos.bindview.com)
    and described in the security advisory below.
2). Fix for the hosts allow/hosts deny parameters not being honoured.

No other changes are being made for this release to ensure a security fix only.
For new functionality (including these security fixes) download Samba 2.2.1
when it is available.

The security advisory follows :


                IMPORTANT: Security bugfix for Samba
                ------------------------------------

June 23rd 2001


Summary
-------

A serious security hole has been discovered in all versions of Samba
that allows an attacker to gain root access on the target machine for
certain types of common Samba configuration.

The immediate fix is to edit your smb.conf configuration file and
remove all occurances of the macro "%m". Replacing occurances of %m
with %I is probably the best solution for most sites.

Details
-------

A remote attacker can use a netbios name containing unix path
characters which will then be substituted into the %m macro wherever
it occurs in smb.conf. This can be used to cause Samba to create a log
file on top of an important system file, which in turn can be used to
compromise security on the server.

The most commonly used configuration option that can be vulnerable to
this attack is the "log file" option. The default value for this
option is VARDIR/log.smbd. If the default is used then Samba is not
vulnerable to this attack.

The security hole occurs when a log file option like the following is
used:

  log file = /var/log/samba/%m.log

In that case the attacker can use a locally created symbolic link to
overwrite any file on the system. This requires local access to the
server.

If your Samba configuration has something like the following:

  log file = /var/log/samba/%m

Then the attacker could successfully compromise your server remotely
as no symbolic link is required. This type of configuration is very
rare.

The most commonly used log file configuration containing %m is the
distributed in the sample configuration file that comes with Samba:

  log file = /var/log/samba/log.%m

in that case your machine is not vulnerable to this attack unless you
happen to have a subdirectory in /var/log/samba/ which starts with the
prefix "log."

Credit
------

Thanks to Michal Zalewski (lcamtuf@bos.bindview.com) for finding this
vulnerability.


New Release
-----------

While we recommend that vulnerable sites immediately change their
smb.conf configuration file to prevent the attack we will also be
making new releases of Samba within the next 24 hours to properly fix
the problem. Please see http://www.samba.org/ for the new releases.

Please report any attacks to the appropriate authority.

        The Samba Team
        security@samba.org
2001-06-24 07:55:22 +00:00
frueauf
f36eaf05d5 Add pconsole. 2001-06-23 22:00:52 +00:00
frueauf
590c9056ca Initial import of pconsole-1.0.
This is pconsole, the parallel console tool. pconsole was meant as an
interactive administrative shell tool for clusters.

pconsole allows you to connect to each node of your cluster simultaneously,
and you can type your administrative commands in a specialized window that
'multiplies' the input to each of the connections you have opened.
pconsole is best run from within X Windows, although it is possible to
employ it without X (in console mode) as well.
You need to install pconsole on only 1 machine in the cluster, this would
usually be your central administrative node.

pconsole makes use of ssh if possible.
2001-06-23 21:52:07 +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
bouyer
2d181d7feb Make netstat2mrtg work also on interfaces without link-layer address
(e.g. lo0, gif0, ...). From Takahiro Hayashi in pkg/13206.
2001-06-21 16:44:35 +00:00
nra
be66c8cb02 Add RCS Tag. 2001-06-21 13:57:18 +00:00
jlam
3a6cae9537 Reorder some lines so that GNU_CONFIGURE defintion precedes inclusion of
buildlink.mk files.  Mark as USE_BUILDLINK_ONLY.
2001-06-21 02:27:12 +00:00