Commit graph

62 commits

Author SHA1 Message Date
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
fredb
46a9e2c3de Make that "autoreconf" -- there is no "autoremake". 2001-02-06 03:16:56 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
tron
fdb69bc253 Install startup script without ".sh" extension because policy was changed. 2001-02-04 18:08:27 +00:00
tron
43db17d3e2 Replace monolithic old style startup script with two new style startup
scripts which include backward compatibility for pre 1.5 systems.
2001-02-04 15:29:58 +00:00
kim
ebef7becef USE_LIBINTL 2000-11-20 02:45:18 +00:00
kei
1236e90f44 Updated samba pkg to 2.0.7.1.3 (original version is 2.0.7-ja-1.3). Patch
supplied by Osamu OISHI <oishi@ims.ac.jp>.


Changes from 2.0.7.1.2a to 2.0.7.1.3:

- fixed bug that caused garbled output in browsing when
  Samba was LMB.

- fixed bug that wrong file name length is sent to client in
  short file name.  It fixes bug that MS Access cannot run
  under NT4 environment.

- multibyte characters are now allowed at fstype in
  smb.conf.

- fixed bug that wrong string length is sent to client when
  multibyte characters are used in Volume name.

- fixed bug that one extra memory block allocated in every
  time and wasted it.

- included tools for administrating e.g. Coding System
  modifier, replacement of `ls' or `cd' when CAP/HEX Coding
  System is used.

- fixed bug about utmp.
2000-10-07 13:58:30 +00:00
wiz
ac2cdb6ff8 remove some whitespace and shuffle lines to make pkglint more quiet 2000-09-03 12:53:51 +00:00
kei
7c7b9d694d Merged japanese/samba package to net/samba, as per discussion of
Hubert Feyrer and Manuel Bouyer.
2000-09-03 09:17:00 +00:00
kei
4f9287bcc6 added conflicts with pkgsrc/japanese/samba. 2000-08-30 17:44:25 +00:00
wiz
8aea2b0442 add etc/rc.d/samba.sh.sample (no reason not to remove it) 2000-08-25 23:47:24 +00:00
tron
ebcef6eadf Depend on version 4.0 or newer of the "readline" package. 2000-07-20 15:40:58 +00:00
jlam
63efc4647b Remove obvious pasto. 2000-06-26 23:07:37 +00:00
jlam
c91a86a1f2 Add missing file. Fix supplied in PR#10255 by Jeff Rizzo. 2000-06-19 21:47:18 +00:00
veego
679ed71d51 Solaris has no group wheel, so we have to extend the sed line in the Makefile
and change the chgrp command.
2000-05-17 09:22:28 +00:00
veego
05cc4a699b Split the chown user:group into two call: chown and chgrp 2000-05-17 09:09:42 +00:00
jlam
facbd11306 Be more informative when we create the private smbpasswd file. I got tired
of guessing whether or not a samba upgrade was overwriting my current
smbpasswd.
2000-05-02 23:41:11 +00:00
jlam
f11cb0ac10 Forgot these scripts, which break out some magic from the PLIST into
separate scripts.
2000-05-02 15:25:18 +00:00
jlam
3651dec6a6 Updated samba to 2.0.7. Major changes from version 2.0.6 are below. A
complete list of changes can be found at http://www.samba.org/.

New Documentation in 2.0.7
--------------------------

O'Reilly and Associates have donated their book "Using Samba"
to the Samba community to be updated in a collaberative way
along with the Samba software. Starting with this release the
html of "Using Samba" will be distributed with the Samba software
as the online documentation for Samba. Bug fixes for the book
are encouraged as is new material. Please help us make this
documentation the best it can be for Samba !

Windows 2000 Issues
-------------------

This version of Samba has been tested with Windows 2000 and
the five known incompatibilities with Windows 2000 have been
fixed. See the "Changes in 2.0.7" list below for details.

New/Changed parameters in 2.0.7
-------------------------------

There are 5 new parameters in the smb.conf file.

utmp
utmp dir
utmp hostname
utmp consolidate
wtmp directory

These parameters are only available if the "--with-utmp"
option was selected at configure time. The yes/no option "utmp"
specifies whether utmp records should be recorded on user
logon/logoff. It defaults to "no". The "utmp dir" and "wtmp dir"
are string parameters specifying pathnames to the directories containing
the utmp/wtmp file databases. See the smb.conf man page for more details.

inherit permissions

This boolean parameter causes newly created files and directories
to inherit their initial permissions from their parent directory.
This can be very useful in propagating such things as the set-group
bit in directory heirarchies. See the smb.conf man page for more
details.

write cache size

This integer parameter specifies (in bytes) the size of a user level
per-file write cache that smbd will create for an oplocked file. This
can improve performance significantly for writing files by causing
writes to be done in large chunk sizes. If this parameter is set (it
defaults to zero which means no write cache) to the stripe size of
a raid volume then it will cause writes to be much more efficient.
Up to 10 write caches can be active simultaneously per smbd (allocated
for the first 10 oplocked file opens). All normal warnings about the
dangers of user level caching of data apply. See the smb.conf man page
for more details.

source environment

This pathname parameter causes Samba to read a list of environment
variables from a named file on startup. This can be useful in setting
up Samba in a clustered environment. See the smb.conf man page for more
details.

Ability to delete users added
-----------------------------

SWAT and smbpasswd can now delete users from the Samba smbpasswd file.
See the man page for smbpasswd for details.

Roving profile behavior finalized
---------------------------------

The change in behavior with roving profiles (using the "logon home"
parameter instead of the "logon path" parameter) introduced in 2.0.6
has been discovered to be consistant with the way Windows NT behaves,
and has been left as the default action. Please see the additional
notes in the "logon home" parameter description in the smb.conf man
page for more details.
2000-05-02 15:24:08 +00:00
wiz
1989d0cc4d regen 2000-02-05 19:55:36 +00:00
jlam
55cbc7acab Remove readline dependency for systems whose libedit.a has readline emulation.
I've finally learned enough autoconf voodoo to do this the right way :)
Also preliminary preparations for CUPS (IPP) support.
2000-01-19 00:42:41 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
jlam
52c7e9035d Add example configuration files. 1999-11-16 21:23:03 +00:00
jlam
e105e20f2d * Update samba to 2.0.6.
* It turns out -lreadline also needs -ltermcap to link under ELF.  I had
  to patch the GNU configure script to make it correctly detect readline.
  Are we going to have to do this to all the packages which depend upon
  readline?

New/Changed parameters in 2.0.6
-------------------------------

There are 6 new parameters in the smb.conf file.

wins hook

This parameter allows an external program to be called
on all changes to a Samba WINS database, allowing dynamic
DNS updates.

debug hires timestamp
debug pid
debug uid

The above 3 parameters provide greater debug information.

preexec close
rootpreexec close

The above 2 parameters control the action taken on the
success or failure of a 'preexec' script.

There is also one removed parameter.

mangle locks

The addition of these new parameters and the removal of the old
is described in more detail in the smb.conf man page,

When using "security=domain" the "password server"
parameter can now be set to the string "*', which will
cause Samba to search for Domain controllers in the
same way that Windows NT does. See the smb.conf man
page for more details.

The "interfaces" parameter in smb.conf can now be dynamically
detected on startup and can also now take an interface name
such as eth0. See the smb.conf man page for the details
on the new features of the "interfaces" parameter.
nmbd has been enhanced to use this feature.

The syntax for the Linux-specific smbmount command has been changed
and is now compatible with the standard mount command. See the modified
smbmount man page for details.

Support for the UNIX CUPS printer standard has been added.
See www.cups.org for details. Thanks to the folks at Easy Software
Products for this code. Set the printcap name to "cups" to
enable this. See the smb.conf man page for details.

Changes in 2.0.6
-----------------

1). 64-bit locking removed from Linux autoconf build. This fixes
several Linux specific locking issues.
2). Crash bug fix in smbclient recursive processing. Fix from
E. Jay Berkenbilt (ejb@ql.org).
3). "history" command added to smbclient if readline available.
4). smbtar - updates files and directory message on restore.
5). smbmnt - 'u', 'g', 'r', 'f', 'd' options added by Andrew. See
man page for details.
6). smbmount updated to be useable by autofs on Linux. See the
samba/examples/autofs/README file for details.
7). Bug fixed where TCP_NODELAY was not being used by default in smbd.
8). Many oplock fixes. Samba now waits 30 seconds, not 45. Also
smbd no longer aborts on client break failure, but logs a message
and continues. This is what NT does. This should fix many "oplock
break" message problems people have been having.
9). New code from Andrew to dynamically detect interfaces. nmbd will
now attempt to dynamically detect interface changes and register names
as an interface goes "up".
10). Win95 ioctl for print jobs added by Matt.
11). Mapping for ISO8859-1 extended for codepage 437 and 850.
12). Code Page 737 -> ISO-8859-7 (Greek-Hellenic) mapping added.
13). Character strings now correctly converted from UNIX character set
format to DOS codepage when read from smb.conf or external passwd or
group files. Samba is now much more careful about what format external
strings should be converted to/from.
14). snprintf crash fix for IRIX 6.2 and below.
15). Increased timestamp debug fixes (adds milliseconds and uid/pid if
requested).
16). Optimisation for wildcard exact match requests.
17). Win95 wildcard semantics fix - unused code removed.
18). 'mangle locks' parameter removed. This now done automatically.
19). setXid() routines re-written to provide asserts and also to fix
AIX versions prior to 4.1.x.
20). MSG_WAITALL optimisation removed due to bugs in FreeBSD.
21). Length fix when writing UNICODE string.
22). oplock processing added to libsmb client code.
23). Added more client error message strings.
24). Fix bug with connecting to encrypted server when non-encrypted
password given.
25). In security=domain, password server extended to search for DC's
if parameter = '*'.
26). "root did not create samaphore" bug fixed.
27). random generator initialized early to prevent icons not showing
up in Win9x.
28). Logging fix after SIGHUP.
29). WINS hook external call added when nmbd is a WINS server.
30). Support for CUPS printer protocol added by Michael Sweet.
31). Support for NIS+ backend password database updates.
32). Handle dashes in print job id's. Fix from Dom.Mitchell@palmerharvey.co.uk
33). Race condition in UNIX password sync on some platforms fixed by Matt.
34). Dirptr leak from Win98 fixed.
35). Logic bug in handling of level II oplocks fixed.
36). smbd crash bug fix when opening directories.
37). Paranoia oplock fix from Charles Hoch (hoch@exemplary.com)
38). Fix Win2k problem where DCE/RPC is done on SMBwrite as well as SMBwriteX.
39). Fix Win95 redirector alignment bug that caused oplock break failures.
40). Preexec close code added.
41). Extra sanity checks in testparm code.
42). oplock tests added to smbtorture.
43). Tell SWAT user if logged in as root or not.
44). Solaris packaging fixes donated by VERITAS.
1999-11-16 21:01:04 +00:00
dmcmahill
1fa4ec25df add missing readline DEPENDS 1999-10-06 17:05:23 +00:00
bouyer
cd138936c9 Update to 2.0.5a. Supplied by mcmahill@mtl.mit.edu with minor corrections by
me.
1999-08-10 16:38:08 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
agc
e20be6c347 Remove NOPORTDOCS definition - it was useless anyway, as any attempt to
build a binary package with this definition would fail as the PLIST is
not correct.

If a package's documentation is overwhelming, it should arguably be handled
in a separate pre-requisite documentation package.
1999-04-13 15:31:04 +00:00
agc
d8d880edf3 Make the ${SAMBA_PRIVATE} directory owned by root, rather than
${BINOWN}, for backwards compatibility, as suggested by Manuel (group
ownership doesn't matter, since the directory is mode 700).
1999-04-09 10:55:33 +00:00
bouyer
06177b67d9 Change ${CHOWN} bin:bin to ${CHOWN} ${BINOWN}:${BINGRP}; pointed out
by Alistair G. Crooks.
1999-04-07 09:44:44 +00:00
agc
f401fde155 Make this work on Solaris.
s/chown/${CHOWN}/g
s/chmod/${CHMOD}/g
s/root:wheel/${BINOWN}:${BINGRP}/g
1999-04-07 09:18:18 +00:00
bouyer
d47976f291 Update to samba 2.0.3. 1999-03-29 16:15:34 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
bouyer
c5e74d2682 Samba 1.9.18 is dead, upgrade to samba 2.0.2. 1999-02-18 11:50:06 +00:00
bouyer
4c795eafc7 Make this conflict with sanba 2.* 1999-01-29 10:39:18 +00:00
kleink
bf237c0e31 Get rid of obsolete chown(8) operand usage. 1999-01-09 20:49:26 +00:00
drochner
10a5217908 samba doesn't require (and doesn't want) smbpasswd to be setuid anymore 1998-11-27 13:45:20 +00:00
bouyer
f05002c4c2 Add conflict with samba-1.9.18p8 and samba-2.0.0beta2 1998-11-27 13:13:09 +00:00
agc
e00e0b3ec3 Include bsd.prefs.mk earlier, so that SAMBA_ETCDIR and SAMBA_PRIVATE can
be set in /etc/mk.conf.
Use ${SED}, rather than sed.
Minor formatting changes.
1998-10-28 19:44:24 +00:00
bouyer
0db480e0c5 'mkdir -p', not 'mkdir'. 1998-09-24 09:00:30 +00:00
bad
bd0e640265 Update to samba-1.9.18p10.
While here clean up the package somewhat:
- Remove confusion about where the SAMBA_PRIVATE directory is.
- Don't gratitously create yet another world writeable directory.
- Don't use $PREFIX as the WEB_ROOT, use the htdocs directory from the
  Apache pkg instead.
- Enable use of netgroups, checking of disk quotas and the password
  changing feature.
- Use /var/run/samba for runtime status files.
- Always install the example startup file.
- Misc. minor modification for better maintainability.
1998-09-04 19:17:18 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
kim
b93a4daed2 The password file for samba cannot generally be share between machines,
so place it in /etc/samba/private.  Other machine dependent files (e.g.
the printer defs) go now into /etc/samba by default.
1998-08-09 16:14:08 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
bouyer
376c59429a Update to 1.9.18p8. 1998-06-17 17:07:13 +00:00
agc
eddab138fd Upgrade to samba version 1.9.18p7, from Ty Sarna in PR pkg/5529. 1998-06-04 13:08:36 +00:00