Commit graph

15 commits

Author SHA1 Message Date
hubertf
ec689a5257 Backward compat with NetBSD <1.6: some rc.subr variables were renamed.
Make sure the new ones get defined from the old ones.
2002-05-24 22:28:27 +00:00
jlam
ed168d2c1c Mark this as being obsoleted by samba>=2.2.3, which brought back the
"share modes" parameter.  Leave in pkgsrc for now in case was other
functionality missing from the 2.0.x -> 2.2.x switch.
2002-02-05 16:55:09 +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
ee6c26b6b0 Don't hardcode the location of the other rc.d scripts as @RCD_SCRIPTS_DIR@
as they might not be there depending on whether INSTALL_RCD_SCRIPTS is set
in /etc/mk.conf when the package is built.  Instead, assume that the other
rc.d scripts are in the same place as this "meta" script and locate them
using "dirname $0".  Problem noted by Stoned Elipot <seb@netbsd.org> in
private email.
2002-01-12 00:22:40 +00:00
jlam
9efcd64075 Since print/cups conflicts with another popular print package,
print/lprng, we make a new variable USE_CUPS that is used by packages to
determine whether depend on print/cups and to compile in support for CUPS.
USE_CUPS may be either "YES" or undefined.  Deprecate SAMBA_WITH_CUPS as
its purpose is superseded by USE_CUPS.  Convert net/samba and net/samba20
to use USE_CUPS and make x11/kdelibs2 respect USE_CUPS.
2001-12-18 20:22:59 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
892b322f45 These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so change
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21 21:38:50 +00:00
jlam
23a9ff7e9b Use the general INSTALL/DEINSTALL scripts, and minimize the differences
between this package and the net/samba package.
2001-11-21 17:17:43 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
a731badbdc Make "samba reload" actually kick smbd like it's supposed to. Thanks
again to Luke Mewburn <lukem@wasabisystems.com> for pointing this out.
2001-08-23 04:15:10 +00:00
jlam
bf6b5a7711 Consolidate nmbd and smbd rc.d scripts into one "samba" script. Kindly
provided by Luke Mewburn <lukem@wasabisystems.com> with modifications by
me to allow running on older NetBSD systems (so any errors in the script
are mine alone).
2001-08-22 15:42:17 +00:00
jlam
55d8038c48 smbd responds to SIGHUP by reloading its configuration file, so add
"reload" to the rc.d command listing.  Noted by Luke Mewburn
<lukem@wasabisystems.com>.
2001-08-20 14:01:46 +00:00
jlam
444ffb6e18 Add some patches from the net/samba package, and regenerate the old ones. 2001-08-03 13:46:02 +00:00
jlam
8416e4b2c1 samba20 - 2.0.x release version of samba, the UNIX SMB server
Samba 2.0.x (2.0.10) has functionality that is missing from the Samba 2.2.x
releases, one of which is an operational "share modes" directive.
According to the Samba mailing lists, there isn't a way in 2.2.x to do
what "share modes = No" did in 2.0.x, so revive an older, stable release
of Samba that does contain the missing functionality.  Setting the share
mode on a service is necessary only to get certain legacy MS-DOS
applications working in a multi-user environment.
2001-08-03 13:24:34 +00:00