Commit Graph

85 Commits

Author SHA1 Message Date
ajacoutot
a673865760 Tweak MESSAGEs/READMEs now that inetd(8) is off by default. 2013-04-27 15:44:20 +00:00
ajacoutot
194550b8c1 Install the pkgconfig files.
ok sthen@
2013-03-29 18:13:31 +00:00
brad
c5c4c0f07e Update to Samba 3.6.13.
ok MAINTAINER sthen@
2013-03-28 15:26:47 +00:00
brad
8aa757b05d Update to Samba 3.6.8 and fix potential fd leaks upon error with the utmp code.
ok sthen@ MAINTAINER
2012-09-25 20:11:11 +00:00
ajacoutot
06241e4236 Simplify how the order of the _pkg_scripts entries get reversed on stop.
from rpe, ok sthen@
2012-08-25 10:14:37 +00:00
ajacoutot
5787f3b87c Set rc_usercheck to NO. 2012-08-04 15:28:14 +00:00
ajacoutot
9824017b25 Remove the cups FLAVOR and depends on cups,-libs.
Fix to build with cups >= 1.6.
2012-08-04 14:45:34 +00:00
ajacoutot
771ed9034f Add comment that daemon_flags, daemon_user and daemon_class are not passed
to the child scripts.
2012-07-04 13:00:46 +00:00
sthen
cf0fe9c493 Update to Samba 3.6.6, from maintainer Ian McWilliam.
o  Fix possible memory leaks in the Samba master process (bug #8970).
o  Fix uninitialized memory read in talloc_free().
o  Fix joining of XP Pro workstations to 3.6 DCs (bug #8373).
2012-06-27 07:29:17 +00:00
ajacoutot
3231d150e9 /etc/rc.d -> RCDIR 2012-04-22 13:44:09 +00:00
sthen
02b481b58a *NASTY* security update to samba 3.6.4: remote code execution as root by
anonymous user.  https://www.samba.org/samba/security/CVE-2012-1182

Note when MFC'ing: do not sync the new entries in PLIST-main back to
stable, they depend on dirfd being a function.
2012-04-10 22:37:02 +00:00
sthen
91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00
sthen
f3fcca9da2 update to samba 3.6.1; lots of bugfixes.
similar diff / ok Ian McWilliam (maintainer).
also tested by dhill, thanks!
2011-10-21 20:10:51 +00:00
sthen
49ee02f207 update to samba 3.6.0, from Ian McWilliam / Stefan Rinkes
tweaks/testing from me and nigel@
2011-09-26 09:32:12 +00:00
sthen
3f4b7ec902 don't install manpages for non-existing programs; from Pascal Stumpf, feedback
from nigel@ espie@, earlier version ok maintainer.
2011-09-13 10:54:15 +00:00
sthen
75699dfd96 Add missing directory in PLIST-main (share/doc/samba/), pointed out by fgsch@ 2011-07-14 08:42:02 +00:00
ajacoutot
70ac96c395 rc_scripts -> pkg_scripts 2011-07-08 02:14:58 +00:00
sthen
340ee33451 Change the sample cap_mkdb command so it only runs if login.conf.db is present.
ok Ian McWilliam, aja@, landry@
2011-06-03 10:21:54 +00:00
ajacoutot
f982995f2b Add a consistent header that substitutes FULLPKGNAME for the READMEs.
ok jasper@ sthen@
2011-06-02 13:41:36 +00:00
gsoares
cf9171530b - use TRUEPREFIX instead of hardcoding it; ok aja@ sthen@ 2011-05-19 20:44:51 +00:00
ajacoutot
72c5e6c88d Rewrite samba.rc and make it a wrapper script that calls the provided
rc.d(8) script. This is much more simple, makes much more sense and
allow for proper debugging.

discussed with robert@
2011-04-03 18:07:52 +00:00
sthen
318f27f121 - remove workaround for old groff
- remove MESSAGE-main referring to a config change, people upgrading
have had plenty of time to adapt

ok Ian McWilliam (maintainer)
2011-03-21 09:20:35 +00:00
ajacoutot
1ffbcaa750 Remove all redirections -- rc.subr(8) now takes care of it. 2011-03-17 16:49:27 +00:00
ajacoutot
073e9e6b72 These aren't needed either. 2011-03-09 19:37:47 +00:00
ajacoutot
242a7d4483 Add rc scripts.
While here, fix the LOCALBASE vs PREFIX and SYSCONFDIR vs /etc mess.

ok robert@
2011-01-17 17:58:03 +00:00
ajacoutot
e89b9beb0f Cosmetic, be consistent with how we set the rcs id in other files. 2010-11-06 07:56:48 +00:00
ajacoutot
9bb8edc168 Add RCS IDs and remove useless MESSAGEs. 2010-10-29 12:41:58 +00:00
espie
ef750600b5 convert to new pkg-readmes. This one keeps a MESSAGE because it says
something.
(wanted to check multi-packages...)
2010-10-29 09:40:41 +00:00
sthen
5d58acd6ba Samba uses modules; mark it SHARED_ONLY and collapse PFRAG.shared-main
into PLIST-main. From Brad.
2010-04-28 08:02:38 +00:00
sthen
77128a8fa6 update Samba to 3.5.2, most of the work done by Ian McWilliam
Note that the default passdb backend has been changed to 'tdbsam'.
See /usr/local/share/doc/samba/README.OpenBSD (or files/README.OpenBSD)
for more information and instructions for people who wish to convert an
existing smbpasswd-based installation.
2010-04-26 17:31:57 +00:00
giovanni
6ee031f589 Fix man pages (spotted by Charles Smith)
Remove unused configure args
Regen plist
ok jasper@
2010-03-05 09:01:45 +00:00
espie
3f21da355d fix FULLPKGPATH (ports is locked) 2010-02-26 18:13:25 +00:00
sthen
78368fdc7f SECURITY update to Samba 3.0.37. From Brad.
This is a security release to address CVE-2009-2813, CVE-2009-2948
and CVE-2009-2906.
2009-10-11 19:45:46 +00:00
giovanni
ddd0f40f2a Update to 3.0.34
"fine with me to commit it" jasper@
2009-05-14 17:05:46 +00:00
brad
5472fd04ce Update to Samba 3.0.33. A security release to address CVE-2008-4314.
ok mbalmer@
2008-12-07 03:52:56 +00:00
brad
1abb752216 Update to Samba 3.0.32.
ok sthen@
2008-09-12 07:49:11 +00:00
ajacoutot
186fa1fd56 - don't use $SYSCONFDIR for base system files (which are always
installed under /etc, whatever $SYSCONFDIR value is)
- s/PREFIX/LOCALBASE and the opposite where it makes sense
- README.OpenBSD is part of samba-docs, so no need to tell the user to
install samba-docs

ok mbalmer@ who gave me ten bonus points for solving the samba puzzle!
2008-08-30 17:02:26 +00:00
brad
3407f8d6aa Update to Samba 3.0.31; A bug fix release.
ok mbalmer@
2008-07-25 22:01:17 +00:00
brad
3874e6995b Update to Samba 3.0.30; bug fixes and a security issue fixed,
CVE-2008-1105.

Specifically crafted SMB responses can result in a heap overflow
in the Samba client code. Because the server process, smbd, can
itself act as a client during operations such as printer
notification and domain authentication, this issue affects both
Samba client and server installations.

Feedback from sthen@
ok mbalmer@ sthen@
2008-07-11 11:40:33 +00:00
dlg
9c8158c9d3 add support for talking to active directory with an ads flavor.
ok mbalmer@ jasper@
2008-03-18 09:15:50 +00:00
mbalmer
891aaf69f6 Update Samba to version 3.0.28 and add two patches from FreeBSD to allow
for non FFS filesystems (e.g. CD-ROMs) to be shared with Samba again.

This fixes CVE-2007-6015 and several other security problems.

ok winiger
2007-12-14 08:53:27 +00:00
wilfried
4ec8e5d186 fix plist, ok mbalmer@ 2007-10-25 09:46:44 +00:00
mbalmer
48818fcd07 Update to Samba 3.0.25b
See http://www.samba.org/samba/history/samba-3.0.25b.html for the full
list of changes.
2007-07-02 21:56:57 +00:00
cnst
09c251236c add 'echo -n ...' to the rc.local example in pkg/MESSAGE; ok mbalmer 2007-06-04 16:19:13 +00:00
mbalmer
11815b2212 Update to Samba 3.0.25a.
See http://www.samba.org/samba/history/samba-3.0.25a.html for full details.

SECURITY:

This update fixes the following vulnerabilites:
CVE-2007-2444, CVE-2007-2446, CVE-2007-2447.
2007-05-28 20:03:01 +00:00
steven
b6d439743e use BASE_PKGPATH instead of homegrown variable, no bumps needed 2006-12-14 09:07:55 +00:00
espie
9fb78fc0cd new MULTI_PACKAGES 2006-11-25 13:00:41 +00:00
mbalmer
f336e3c9f5 Update to Samba-3.0.23c. Tested on various platforms and also with local
KDE clients (Konqueror).

ok brad
2006-10-03 14:07:10 +00:00
mbalmer
4499870cdc Typo found by Mark Peoples <Mark.Peoples@asu.edu>, the config file is
${SYSCONFDIR}/smb.conf, not ${SYSCONFDIR}/smbd.conf.
2006-02-17 08:36:41 +00:00
bernd
4c2d07a98f Fix left over example dir. Bump PKGNAME. 2006-02-08 16:20:47 +00:00