aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-07-22 15:30:35 +0800
committerosa <osa@FreeBSD.org>2004-07-22 15:30:35 +0800
commit5f3139fb3377d182671d2a39a735141869e23cfe (patch)
treed5f662ab1281b07e1d1c0863597488f2992889e8 /net/samba
parentcd41b6d64bbb65c53f2ccf1af2c98309c65dd6e1 (diff)
downloadfreebsd-ports-gnome-5f3139fb3377d182671d2a39a735141869e23cfe.tar.gz
freebsd-ports-gnome-5f3139fb3377d182671d2a39a735141869e23cfe.tar.zst
freebsd-ports-gnome-5f3139fb3377d182671d2a39a735141869e23cfe.zip
Add the new one knob WITH_BROWSING_HACKS.
- New configuration options: allow workgroups/deny workgroups. When samba is a local master on subnet these options allow you to restrict list of available workgroup names in "Network Neighbourhood". Options accept a list of names. - New configuration options: allow master/deny masters. When samba is running as a WINS server these options allow you to restrict registering of particular IP addresses as group masters. Options accept same arguments as "allow hosts". - New configuration option: workgroups. This allows you to be a member (and thus a master browser!) of multiple workgroups. - New configuration option: force local master. Allows to ignore Windows NT PDC attempts to claim master browser name on subnet. This is violation of standard, but is useful. - All registered NetBIOS names must be isprint(). Do not bump PORTREVISION, because new features show up only if WITH_BROWSING_HACKS is defined in compile-time. Submitted by: glebius
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile8
-rw-r--r--net/samba/distinfo2
2 files changed, 9 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index c7618e2e1db4..67da82fde910 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -18,7 +18,13 @@ MASTER_SITE_SUBDIR= . old-versions
# Reworked/updated and portsified by anders@FreeBSD.org, 2003-11-08
PATCH_SITES+= ftp://totem.fix.no/pub/mirrors/misc/:smbjail \
ftp://ftp.nuug.no/pub/anders/distfiles/:smbjail
-PATCHFILES= samba-2.2.8a-freebsd-jail-patch-20040226.gz:smbjail
+PATCHFILES+= samba-2.2.8a-freebsd-jail-patch-20040226.gz:smbjail
+.endif
+
+.if defined(WITH_BROWSING_HACKS)
+PATCH_SITES+= http://cell.sick.ru/~glebius/patches/ \
+ http://people.FreeBSD.org/~glebius/
+PATCHFILES+= samba-2.2.9-browsing-hacks.diff
.endif
MAINTAINER= ports@FreeBSD.org
diff --git a/net/samba/distinfo b/net/samba/distinfo
index 807ec7aea6ba..b650c3b5c711 100644
--- a/net/samba/distinfo
+++ b/net/samba/distinfo
@@ -2,3 +2,5 @@ MD5 (samba-2.2.9.tar.gz) = 49f9e41a1876c629ae9355ed7599047f
SIZE (samba-2.2.9.tar.gz) = 5453486
MD5 (samba-2.2.8a-freebsd-jail-patch-20040226.gz) = 2c036c89365a97a404dc6939c7ef99ec
SIZE (samba-2.2.8a-freebsd-jail-patch-20040226.gz) = 3056
+MD5 (samba-2.2.9-browsing-hacks.diff) = 39f95cdb2f9833b4eec7a05000fe2cbf
+SIZE (samba-2.2.9-browsing-hacks.diff) = 59834