diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-10-13 06:47:42 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-10-13 06:47:42 +0800 |
commit | cd242582b49d15e565be2ce6f5d3d38c00622543 (patch) | |
tree | a91d17ed31ff1abd187dc4725e513d5a471702ba /net | |
parent | c7929e09a909b2db037c5407e58fc3792ff9aef5 (diff) | |
download | freebsd-ports-gnome-cd242582b49d15e565be2ce6f5d3d38c00622543.tar.gz freebsd-ports-gnome-cd242582b49d15e565be2ce6f5d3d38c00622543.tar.zst freebsd-ports-gnome-cd242582b49d15e565be2ce6f5d3d38c00622543.zip |
- Resurrect I18N option again with renaming as WITH_MULTIBYTE.
Approved by: maintainer
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 |