aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/samba-devel/Makefile16
-rw-r--r--net/samba-devel/distinfo2
-rw-r--r--net/samba-devel/pkg-plist1
-rw-r--r--net/samba3/Makefile16
-rw-r--r--net/samba3/distinfo2
-rw-r--r--net/samba3/pkg-plist1
6 files changed, 34 insertions, 4 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile
index dd652f99c18d..82bf9e0185f2 100644
--- a/net/samba-devel/Makefile
+++ b/net/samba-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= samba
PORTVERSION= 3.0.4
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SAMBA}
@@ -70,7 +70,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 \
+ I18N "With i18n patch" off
.endif
.include <bsd.port.pre.mk>
@@ -247,6 +248,17 @@ WINBIND_FILTER= ${SED} -e 's|%%WINBIND%%||g'
WINBIND_FILTER= ${GREP} -v '^%%WINBIND%%'
.endif
+.if defined(WITH_I18N)
+# Based on patch from miraclelinux.com.
+# http://www.miraclelinux.com/english/technet/samba30/index.html
+PATCH_SITES= http://dist.bsdlab.org/
+PATCHFILES= samba-${PORTVERSION}-i18n-20040521.bz2
+PATCH_DIST_STRIP= -p1
+PLIST_SUB+= I18N=""
+.else
+PLIST_SUB+= I18N="@comment "
+.endif
+
PLIST_SUB+= RC_DIR=${RC_DIR} \
SAMBA_LOGDIR=${SAMBA_LOGDIR} \
SAMBA_LOCKDIR=${SAMBA_LOCKDIR}
diff --git a/net/samba-devel/distinfo b/net/samba-devel/distinfo
index a98d10b11a62..a5b09ffb7604 100644
--- a/net/samba-devel/distinfo
+++ b/net/samba-devel/distinfo
@@ -1,2 +1,4 @@
MD5 (samba-3.0.4.tar.gz) = 0156265c1e95ac662deef386f615504f
SIZE (samba-3.0.4.tar.gz) = 15046252
+MD5 (samba-3.0.4-i18n-20040521.bz2) = 24158c2fd00b47ff5b0bcad23cae16e1
+SIZE (samba-3.0.4-i18n-20040521.bz2) = 18982
diff --git a/net/samba-devel/pkg-plist b/net/samba-devel/pkg-plist
index f4f5b663fc3c..6a53e2d5a203 100644
--- a/net/samba-devel/pkg-plist
+++ b/net/samba-devel/pkg-plist
@@ -45,6 +45,7 @@ lib/samba/vfs/default_quota.so
lib/samba/vfs/expand_msdfs.so
lib/samba/vfs/extd_audit.so
lib/samba/vfs/fake_perms.so
+%%I18N%%lib/samba/vfs/hex.so
lib/samba/vfs/netatalk.so
lib/samba/vfs/readonly.so
lib/samba/vfs/recycle.so
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index dd652f99c18d..82bf9e0185f2 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= samba
PORTVERSION= 3.0.4
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SAMBA}
@@ -70,7 +70,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 \
+ I18N "With i18n patch" off
.endif
.include <bsd.port.pre.mk>
@@ -247,6 +248,17 @@ WINBIND_FILTER= ${SED} -e 's|%%WINBIND%%||g'
WINBIND_FILTER= ${GREP} -v '^%%WINBIND%%'
.endif
+.if defined(WITH_I18N)
+# Based on patch from miraclelinux.com.
+# http://www.miraclelinux.com/english/technet/samba30/index.html
+PATCH_SITES= http://dist.bsdlab.org/
+PATCHFILES= samba-${PORTVERSION}-i18n-20040521.bz2
+PATCH_DIST_STRIP= -p1
+PLIST_SUB+= I18N=""
+.else
+PLIST_SUB+= I18N="@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 a98d10b11a62..a5b09ffb7604 100644
--- a/net/samba3/distinfo
+++ b/net/samba3/distinfo
@@ -1,2 +1,4 @@
MD5 (samba-3.0.4.tar.gz) = 0156265c1e95ac662deef386f615504f
SIZE (samba-3.0.4.tar.gz) = 15046252
+MD5 (samba-3.0.4-i18n-20040521.bz2) = 24158c2fd00b47ff5b0bcad23cae16e1
+SIZE (samba-3.0.4-i18n-20040521.bz2) = 18982
diff --git a/net/samba3/pkg-plist b/net/samba3/pkg-plist
index f4f5b663fc3c..6a53e2d5a203 100644
--- a/net/samba3/pkg-plist
+++ b/net/samba3/pkg-plist
@@ -45,6 +45,7 @@ lib/samba/vfs/default_quota.so
lib/samba/vfs/expand_msdfs.so
lib/samba/vfs/extd_audit.so
lib/samba/vfs/fake_perms.so
+%%I18N%%lib/samba/vfs/hex.so
lib/samba/vfs/netatalk.so
lib/samba/vfs/readonly.so
lib/samba/vfs/recycle.so