diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-07 01:35:33 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-07 01:35:33 +0000 |
commit | ca4bda2856a3981cff5664ddfd8bd150d7827760 (patch) | |
tree | 32187510e120f00c6a5b03547ae6076ed24494ac /japanese | |
parent | a7f648b487d5c7898dfd93b5bf57fabda4ba4bed (diff) | |
download | ports-ca4bda2856a3981cff5664ddfd8bd150d7827760.tar.gz ports-ca4bda2856a3981cff5664ddfd8bd150d7827760.zip |
Update to 2.2.8a-ja-1.0.
PR: ports/52711
Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> (maintainer)
Notes
Notes:
svn path=/head/; revision=82415
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/samba/Makefile | 9 | ||||
-rw-r--r-- | japanese/samba/distinfo | 2 | ||||
-rw-r--r-- | japanese/samba/files/patch-forXP | 62 |
3 files changed, 69 insertions, 4 deletions
diff --git a/japanese/samba/Makefile b/japanese/samba/Makefile index 39592674e45b..80cf834a9d0e 100644 --- a/japanese/samba/Makefile +++ b/japanese/samba/Makefile @@ -20,8 +20,9 @@ MAINTAINER= nakaji@jp.FreeBSD.org COMMENT= A free SMB and CIFS client and server for UNIX BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext -SAMBA_VERSION= 2.2.7b +SAMBA_VERSION= 2.2.8a SAMBA_JA_VERSION= 1.0 USE_BZIP2= yes @@ -74,7 +75,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample SAMPLE_CONFIG= ${SAMBA_CONFDIR}/smb.conf.default -CONFIGURE_ARGS= --with-i18n-swat --with-included-gettext \ +CONFIGURE_ARGS= --with-i18n-swat \ --libdir=${SAMBA_CONFDIR} \ --localstatedir=${VARDIR} --with-swatdir=${PREFIX}/share/swat \ --with-lockdir=${VARDIR}/db/samba \ @@ -86,7 +87,9 @@ CONFIGURE_ARGS= --with-i18n-swat --with-included-gettext \ .include <bsd.port.pre.mk> -CONFIGURE_ENV+= TESTDIR=/tmp +CONFIGURE_ENV+= TESTDIR=/tmp \ + CPPFLAGS=-I${LOCALBASE}/include \ + LDFLAGS=-L${LOCALBASE}/lib .if defined(WITH_SYSLOG) CONFIGURE_ARGS+= --with-syslog diff --git a/japanese/samba/distinfo b/japanese/samba/distinfo index 41fe20729655..6ebb1c6dd59c 100644 --- a/japanese/samba/distinfo +++ b/japanese/samba/distinfo @@ -1 +1 @@ -MD5 (samba-2.2.7b-ja-1.0.tar.bz2) = 13609e6d0aa47b7cd52d9ee8b756ff9b +MD5 (samba-2.2.8a-ja-1.0.tar.bz2) = 4c1af06f1570449584c92033c4901e0b diff --git a/japanese/samba/files/patch-forXP b/japanese/samba/files/patch-forXP new file mode 100644 index 000000000000..6850e1323b25 --- /dev/null +++ b/japanese/samba/files/patch-forXP @@ -0,0 +1,62 @@ +--- param/loadparm.c.orig Tue May 20 11:28:38 2003 ++++ param/loadparm.c Wed Jun 4 23:31:55 2003 +@@ -3857,8 +3857,10 @@ + int iService; + fstring serviceName; + int len; ++ enum remote_arch_types ra_type = get_remote_arch(); + +- len = (get_remote_arch() == RA_WIN2K) ? 127 : 12; ++ len = ( (ra_type == RA_WIN2K) || (ra_type == RA_WINXP) || ++ (ra_type == RA_WIN2K3) ) ? 127 : 12; + + for (iService = iNumServices - 1; iService >= 0; iService--) + { +--- rpc_server/srv_srvsvc_nt.c.orig Tue May 20 11:22:11 2003 ++++ rpc_server/srv_srvsvc_nt.c Wed Jun 4 23:31:55 2003 +@@ -38,9 +38,11 @@ + pstring net_name; + pstring remark; + uint32 type; ++ enum remote_arch_types ra_type = get_remote_arch(); + + StrnCpy(net_name, lp_servicename(snum), +- (get_remote_arch() == RA_WIN2K) ? 127 : 12); ++ (((ra_type == RA_WIN2K) || (ra_type == RA_WINXP) || ++ (ra_type == RA_WIN2K3) ) ? 127 : 12 ) ); + pstrcpy(remark, lp_comment(snum)); + standard_sub_conn(p->conn, remark, sizeof(remark)); + len_net_name = strlen(net_name); +--- smbd/trans2.c.orig Tue May 20 11:17:19 2003 ++++ smbd/trans2.c Wed Jun 4 23:34:21 2003 +@@ -921,7 +921,8 @@ + SMB_STRUCT_STAT sbuf; + + ra_type = get_remote_arch(); +- NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K)); ++ NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K) || ++ (ra_type == RA_WINXP) || (ra_type == RA_WIN2K3) ); + + if (total_params < 12) + return(ERROR_DOS(ERRDOS,ERRinvalidparam)); +@@ -1488,7 +1489,9 @@ + /* NT4 always serves this up as unicode but expects it to be + * delivered as ascii! (tridge && JRA) + */ +- if ((get_remote_arch() != RA_WIN2K) && (global_client_caps & CAP_NT_SMBS)) { ++ if (((get_remote_arch() != RA_WIN2K) || ++ (get_remote_arch() != RA_WINXP) || ++ (get_remote_arch() != RA_WIN2K3)) && (global_client_caps & CAP_NT_SMBS)) { + data_len = 18 + strlen(vname); + SIVAL(pdata,12,strlen(vname)); + pstrcpy(pdata+18,vname); +@@ -3100,7 +3103,8 @@ + int max_referral_level; + + ra_type = get_remote_arch(); +- NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K)); ++ NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K) || ++ (ra_type == RA_WINXP) || (ra_type == RA_WIN2K3) ); + + DEBUG(10,("call_trans2getdfsreferral\n")); + |