Commit graph

207 commits

Author SHA1 Message Date
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
jlam
1cdf87a701 Look for "EVP_des_cbc" instead of "des_set_key" in libcrypto.so to
decide if it's actually libcrypto.so from the OpenSSL distribution.

Samba looks to see if libkrb5.so needs it to link when samba is
configured to build ADS support.  However, newer versions of heimdal
don't need the old DES API, and newer versions of OpenSSL don't even
provide the old des_* symbol names in the library, so "des_set_key"
is a poor choice to use to detect libcrypto.so.  The only place in
the samba sources where the old DES API is even used is in the AFS
fake kaserver support, which pkgsrc does not (ever) intend to support.

This fixes PR pkg/24456.
2005-06-08 20:15:20 +00:00
taca
c3065eacac Fix refering PAM value of PKG_OPTIONS. 2005-06-06 07:02:23 +00:00
taca
501bd05e22 Add patches for support DragonFly.
- DragonFly dosen't support NSS currently.
- Fix some typo in congigure scripts.

Provided by Joerg Sonnenberger by private mail.

Bump PKGREVISION.
2005-06-05 14:17:53 +00:00
taca
2c5e233332 Update samba package to 3.0.14a.
Changes from 3.0.10 are huge, please see
http://www.samba.org/samba/history/samba-3.0.14a.html in detail.

pkgsrc changes:

 * replace ln command to ${LN}.
 * avoid use file for shell's variable.
 * remove trailing spaces.
2005-06-05 13:13:05 +00:00
jlam
c55f2fb319 Teach the tools framework about mktemp. Replace explicit tests for
mktemp with USE_TOOLS+=mktemp in the samba packages.
2005-06-03 22:54:44 +00:00
dillo
d6bfbe8582 Rename option PAM to pam (so all options are lower case). Backwards
compatibility provided via PKG_OPTIONS_LEGACY_OPTS.
2005-05-31 11:24:32 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
wiz
199f90370f Sort. 2005-05-03 15:40:57 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
wiz
de5696c443 Add conflicts between samba and tdb: both install tdbtool and tdbdump. 2005-04-15 11:45:16 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
lukem
e3a33d1053 Add a note as to the purpose of this script. 2005-03-08 01:36:16 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
christos
026f7481f0 Fix the pam build: lunix defines both the portable
PAM_AUTHTOK_RECOVERY_ERR and the non-portable PAM_AUTHTOK_RECOVER_ERR as 21,
and you guessed which samba decided to use. Bump the version to nb2.
2005-01-09 06:33:28 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
tron
151729b507 Update "samba" package to version 3.0.10. Changes since version 3.0.9:
- Added checks surrounding all *alloc() calls to fix CAN-2004-1154.
- Fix long standing memory size bug in bitmap_allocate().
- Remove bogus error check in deferred open file serving
  code.
- Fix autoconf script on platforms using a version of GNU ld
  that does not include a date stamp in the output of --version.
- Fix the swat install script to deal with the new image
  destination directory used by the docs.
2004-12-17 18:55:47 +00:00
xtraeme
ffde7b4e43 Update to 3.0.9.
Changes:

  o Problem updating roaming user profiles.
  o Crash in smbd when printing from a Windows 9x client.
  o Unresolved symbols in libsmbclient which caused
    applications such as KDE's konqueror to fail when
    accessing smb:// URLs.
2004-11-30 15:24:43 +00:00
xtraeme
54d05fa49a Remove obsolete variables. You'll want to use:
PKG_OPTIONS.<pkg>+= foo blah
2004-11-17 19:56:49 +00:00
kim
6316500dea Fix full name expansion (again). 2004-11-13 21:48:11 +00:00
sketch
e3238f6501 Use ${VARBASE} instead of hardcoding /var. 2004-11-12 08:42:58 +00:00
grant
51cae28e22 update to samba-3.0.8.
Common bugs fixed in 3.0.8 include:

    o Compile fixes for HP-UX
    o Fixes for the printer publishing code used when joined to
      an AD domain.
    o Incompatibilities with file system quotas.
    o Several bugs in the spoolss printing code and print system
      backends.
    o Inconsistencies in the username map functionality when
      configured on domain member servers.
    o Various compile warnings and errors on various platforms.
    o Fixes for kerberos interoperability with Windows 200x
      domains when using DES keys.
    o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.


New features included in the 3.0.8 release are:

    o New migration functionality added the the net tool
      for files/directories, printers, and shares.
    o New experimental idmap backend for assigning uids/gids
      directly based on the user/group RID when acting as a
      member of single domain without any trusts.
    o Additional printer migration support for XP/2003 platforms.
2004-11-09 08:21:26 +00:00
jmmv
7714fbe666 When cups support is enabled, link smbspool into cups' backend directory
as smb (as the manual says).  This enables samba printing through cups
(at least, the option appears in the web configuration form).
Bump PKGREVISION to 2.
2004-11-06 11:07:17 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adam
02cbfeb7f2 Strip binaries on install 2004-09-15 08:51:29 +00:00
jlam
bb8b28ccd8 Update net/samba to 3.0.7. Changes from version 3.0.5 include:
o Fixes for two Denial of Service vulnerabalities
    (CVE ID# CAN-2004-0807 & CAN-2004-0808).
  o Winbind failure to return user entries under certain conditions.
  o Syntax errors in the OpenLDAP schema file (samba.schema).
  o Printing errors caused by not setting default values for the various
    printing commands.
  * Disable 'winbind enable local accounts' by default.
  o Schannel failure in winbindd.
  o Incompatibilities between the 'write list' and 'force user' smb.conf
    options.
  o Premature optimization of the open_directory() internal function that
    broke tools such as the ArcServe backup agent, Macromedia HomeSite,
    and Robocopy.
  o Sharing violation errors commonly seen when opening when serving
    Microsoft Office documents from a Samba file share.
  o Browsing problems caused by an apostrophe (') in the computer's
    description field.
  o Problems creating special file types from UNIX CIFS clients and
    enabling 'unix extensions'.
  o Fix stalls in smbd caused by inaccessible LDAP servers.
  o Remove various memory leaks.
  o Fix issues in the password lockout feature.
  o Using a cups server other than localhost.
  o Maintaining the service principal entry in the system keytab for
    integration with other kerberized services.  Please refer to the
    'use kerberos keytab' entry in smb.conf(5).  When using the heimdal
    kerberos libraries, you must also specify the following in /etc/krb5.conf:
    [libdefaults]
       default_keytab_name = FILE:/etc/krb5.keytab
  o Support for maintaining individual printer names stored separately
    from the printer's sharename.
  o Support for maintaining user password history.
  o Support for honoring the logon times for user in a Samba domain.
  * Reintroduce 'force unknown acl user' parameter.  When getting a security
    descriptor for a file, if the owner sid is not known, the owner uid is
    set to the current uid. Same for group sid.
2004-09-14 17:18:05 +00:00
jlam
20fcfd595a Different platforms expect different names for the NSS winbind and
WINS modules.  Fix from PR pkg/26640 by John Benninghoff with
modifications by me.
2004-09-12 05:00:53 +00:00
xtraeme
18de3fd899 Update MASTER_SITES. 2004-09-08 08:51:31 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
taca
2777d84d16 This package should be conflict with ja-samba, too. 2004-08-08 06:13:02 +00:00
jlam
b32800e3ff Rename Makefile.options to options.mk in the packages that I maintain.
This follows the example of the mail/dovecot package, as suggested by
<schmonz>.
2004-08-05 03:04:33 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
tron
4f2a6d490e Update "samba" package to version 3.0.5. This version fixes the security
problems described in CAN-2004-0600 and CAN-2004-0686.
2004-07-23 15:11:30 +00:00
xtraeme
ffc49bf156 Update net/samba to 3.0.4.
Common bugs fixed in Samba 3.0.3 include:

  o Crash bugs and change notify issues in Samba's printing code.
  o Honoring secondary group membership on domain member servers.
  o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
  o Substitution errors for %[UuGg] in smb.conf.
  o winbindd crashes when using ADS security mode.
  o SMB signing errors.
  o Delays in winbindd startup caused by unnecessary
    connections to trusted domain controllers.
  o Various small memory leaks.
  o Winbindd failing due to expired Kerberos tickets.

New features introduced in Samba 3.0.3 include:

  o Improved support for i18n character sets.
  o Support for account lockout policy based on
    bad password attempts.
  o Improved support for long password changes (>14
    characters) and strong password enforcement.
  o Support for Windows aliases (i.e. nested groups).
  o Experimental support for storing DOS attribute on files
    and folders in Extended Attributes.
  o Support for local nested groups via winbindd.
  o Specifying options to be passed directly to the CUPS libraries.

And more... please review "WHATSNEW.txt".
2004-05-13 06:44:55 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
cube
e1aaa019a4 Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAP
instead.  As announced on tech-pkg.

Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd.  Be
sure to update your mk.conf accordingly.
2004-04-21 21:09:31 +00:00
jmmv
4e9c9f3062 Initial addition. 2004-04-15 16:28:11 +00:00
jmmv
f9a2e7f485 Install a libsmbclient.so.0 link for the library, to let programs that use
it find it properly.  Bump PKGREVISION to 1.
2004-04-15 16:26:31 +00:00
jlam
780059e542 Fix PLIST problems with missing directories at deinstallation time. 2004-03-28 08:36:47 +00:00
jlam
d2d5702ef7 Add some new files installed by samba-3.0.2a. 2004-02-18 14:02:08 +00:00
jlam
d4eed49750 Use USE_GNU_READLINE in much the same way that USE_NCURSES is used. 2004-02-17 15:58:43 +00:00
tron
cb13ce2803 Fix build problem on NetBSD-current caused by incorrect buildlink3
conversion of this package.
2004-02-17 14:27:14 +00:00
jlam
5577221b8c Update net/samba to 3.0.2a. Fixes from version 3.0.1 include:
o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
  o Logging onto a Samba domain from Windows XP clients.
  o Problems with the %U and %u smb.conf variables in relation to
    Windows 9x/ME clients.
  o Kerberos failures due to an invalid in memory keytab detection
    test.
  o Updates to the ntlm_auth tool.
  o Fixes for various SMB signing errors.
  o Better separation of WINS and DNS queries for domain controllers.
  o Issues with nss_winbind FreeBSD and Solaris.
  o Several crash bugs in smbd and winbindd.
  o Output formatting fixes for smbclient for better compatibility
    with scripts based on the 2.2 version.
2004-02-17 11:51:52 +00:00
xtraeme
899f24ad1e Bump PKGREVISION to samba (smbmount support was added for Linux). 2004-02-17 00:09:41 +00:00
xtraeme
ad1e77b3a0 Enable smbmount support under Linux. 2004-02-17 00:01:26 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jlam
b0bc9e9614 The samba configure script looks for cups-config, and declares success on
finding cups if it's somewhere in your PATH.  Explicitly pass configure
--disable-cups if USE_CUPS is not defined to avoid finding CUPS.  Fixes
PR 24117 by David Brownlee.
2004-01-17 12:19:51 +00:00
jlam
0440463b52 Update net/samba to 3.0.1nb1. Changes from version 3.0.1 include:
* Building and installing the PAM modules if USE_PAM is defined.
* Installing the NSS loadable modules.
* Making the samba rc.d script run the winbindd script, too.
2004-01-12 03:33:04 +00:00
jlam
2a085db787 Update net/samba to 3.0.1. Major changes from version 2.2.8anb6 include:
* Active Directory support.  Samba is able to join a ADS realm as
    a member server and authenticate using LDAP/Kerberos.
  * Unicode support.
  * New, more flexible authentication (passdb) system.
  * A new "net" command that is similar to the "net" command in Windows.
  * Samba now negotiates NT-style status32 codes on the wire, which
    greatly improves error handling.
  * Better Windows 2K/2K3/XP printing support.
  * Loadable module support for passdb backends and character sets.
  * More performant winbindd.
  * Support for migrating from a Windows NT4 domain to a Samba domain
    and maintaining user, group, and domain SIDs.
  * Support for establishing trust relationships with Windows NT4 DCs.
  * Initial support for a distributed Winbind architecture using an
    LDAP directory for storing SID-to-uid/gid mappings.
  * Major updates to the Samba documentation tree.
  * Full support for client and server SMB signing to ensure
    compatibility with default Windows 2K3 security settings.
  * Improvement of ACL mapping features.
2004-01-11 02:26:30 +00:00