aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2003-11-09 04:12:12 +0800
committeranders <anders@FreeBSD.org>2003-11-09 04:12:12 +0800
commitc1c2e1f3ee259b2cd72b3b7a37dc7ba151d9a4e5 (patch)
treec6c5e82a6fc7ea36456be6eae3bca2b9f14fcf19 /net/samba
parentacbcfc9c79fedf0aa158bf8d01bf0536e2a963c9 (diff)
downloadfreebsd-ports-gnome-c1c2e1f3ee259b2cd72b3b7a37dc7ba151d9a4e5.tar.gz
freebsd-ports-gnome-c1c2e1f3ee259b2cd72b3b7a37dc7ba151d9a4e5.tar.zst
freebsd-ports-gnome-c1c2e1f3ee259b2cd72b3b7a37dc7ba151d9a4e5.zip
Add WITH_JAIL knob to allow Samba to run in jail(2).
The patch was originally created by Gerhard Sittig <Gerhard.Sittig@gmx.net>. Updated and portsified by me. This still needs a little work, but at least it works. PR: 22316 Approved by: maintainer
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile9
-rw-r--r--net/samba/distinfo1
2 files changed, 10 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index c2086ecb8125..5de81e465cb8 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -13,6 +13,15 @@ MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \
http://us5.samba.org/samba/ftp/%SUBDIR%/
MASTER_SITE_SUBDIR= . old-versions
+.if defined(WITH_JAIL)
+# This patch was originally created by Gerhard Sittig <Gerhard.Sittig@gmx.net>
+# See PR ports/22316
+# 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-20031108.gz:smbjail
+.endif
+
MAINTAINER= dwcjr@FreeBSD.org
COMMENT= A free SMB and CIFS client and server for UNIX
diff --git a/net/samba/distinfo b/net/samba/distinfo
index 33e65bebed84..a08573472b5c 100644
--- a/net/samba/distinfo
+++ b/net/samba/distinfo
@@ -1 +1,2 @@
MD5 (samba-2.2.8a.tar.bz2) = 51466fdd7b7125a5bd41608a76e8e7c8
+MD5 (samba-2.2.8a-freebsd-jail-patch-20031108.gz) = 4e572ceb50f45e4140c3c060be68d6a9