diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-12 22:47:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-12 22:47:42 +0000 |
commit | 1979e5a9479364f9aa693328b14e82ba8d553748 (patch) | |
tree | 6da2a779aff520c5b78c028ee49fa50721b5a3d8 /net | |
parent | beded58173f03648ec0aafb54b6c9ea5acc3756e (diff) | |
download | ports-1979e5a9479364f9aa693328b14e82ba8d553748.tar.gz ports-1979e5a9479364f9aa693328b14e82ba8d553748.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/samba3/Makefile | 17 | ||||
-rw-r--r-- | net/samba3/distinfo | 2 | ||||
-rw-r--r-- | net/samba3/pkg-plist | 1 |
3 files changed, 19 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile index d18009b90afc..8be83138dd3d 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -14,6 +14,12 @@ MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= . old-versions rc pre DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/:S/.r/rc/} +.if defined(WITH_MULTIBYTE) +PATCH_SITES= http://dist.bsdlab.org/ +PATCHFILES= samba-3.0.7-i18n-20040915.bz2 +PATCH_DIST_STRIP= -p0 +.endif + MAINTAINER?= timur@gnu.org COMMENT?= A free SMB and CIFS client and server for UNIX @@ -70,7 +76,8 @@ OPTIONS= LDAP "With LDAP support" on \ SAM_PGSQL "With PostgreSQL smbpasswd backend" off \ SAM_OLD_LDAP "With Samba2.x LDAP smbpasswd backend" off \ PAM_SMBPASS "With SMB PAM module" off \ - POPT "With installed POPT library" on + POPT "With installed POPT library" on \ + MULTIBYTE "With multibyte encoding patch" off .endif .include <bsd.port.pre.mk> @@ -247,6 +254,14 @@ WINBIND_FILTER= ${SED} -e 's|%%WINBIND%%||g' WINBIND_FILTER= ${GREP} -v '^%%WINBIND%%' .endif +.if defined(WITH_MULTIBYTE) +# Based on patch from miraclelinux.com. +# http://www.miraclelinux.com/english/technet/samba30/index.html +PLIST_SUB+= MULTIBYTE="" +.else +PLIST_SUB+= MULTIBYTE="@comment " +.endif + PLIST_SUB+= RC_DIR=${RC_DIR} \ SAMBA_LOGDIR=${SAMBA_LOGDIR} \ SAMBA_LOCKDIR=${SAMBA_LOCKDIR} diff --git a/net/samba3/distinfo b/net/samba3/distinfo index 7487f375f9be..15d623f51709 100644 --- a/net/samba3/distinfo +++ b/net/samba3/distinfo @@ -1,2 +1,4 @@ MD5 (samba-3.0.7.tar.gz) = 5906341429e64214909865a4be92e4ab SIZE (samba-3.0.7.tar.gz) = 15012667 +MD5 (samba-3.0.7-i18n-20040915.bz2) = f19a3cb34179632563c51c6cf54d3d3d +SIZE (samba-3.0.7-i18n-20040915.bz2) = 17160 diff --git a/net/samba3/pkg-plist b/net/samba3/pkg-plist index 8aa6782fbed2..8e947faec697 100644 --- a/net/samba3/pkg-plist +++ b/net/samba3/pkg-plist @@ -44,6 +44,7 @@ lib/samba/vfs/cap.so lib/samba/vfs/default_quota.so lib/samba/vfs/expand_msdfs.so lib/samba/vfs/extd_audit.so +%%MULTIBYTE%%lib/samba/vfs/hex.so lib/samba/vfs/fake_perms.so lib/samba/vfs/full_audit.so lib/samba/vfs/netatalk.so |