Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 23:29:17 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        Akinori -Aki- MUSHA <knu@idaemons.org>
Cc:        freebsd-ports@FreeBSD.ORG, Anton Breusov <antonz@library.ntu-kpi.kiev.ua>
Subject:   Re: ports/18266: Samba-2.0.7, where is port update from maintainer? :-)
Message-ID:  <Pine.BSI.4.21.0005062322090.11679-100000@blues.jpj.net>
In-Reply-To: <200005010440.VAA96976@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Akinori -Aki- MUSHA wrote:

>  Anton N. Breusov <antonz@library.ntu-kpi.kiev.ua> wrote:
>  >  c). patches/patch-ca added. This is my experimentation with utmp
>  >  code, but it's not completed so you may not include him into port release.
>  
>  Seems you failed to include the patch because you forgot to specify -N
>  option on running diff.  Please send us the content of patch-ac.
>  
>  >  Only in samba-2.0.7/patches: patch-ca

He sent it in his original PR, as part of the tarball.  Here it is in the
form of a diff, along with my attempts at updating (rather than removing)
patch-ai and patch-bb.  I'm not sure whether updating them is the correct
thing to do.  A compilation log is at
http://jpj.net/~trevor/freebsd/ports/samba-2.0.7.log.gz.  I did some
cursory testing and didn't notice any problems.
--
Trevor Johnson
http://jpj.net/~trevor/gpgkey.txt

diff -bruN --exclude=CVS samba.orig/patches/patch-ai samba/patches/patch-ai
--- samba.orig/patches/patch-ai	Wed Dec 31 16:00:00 1969
+++ samba/patches/patch-ai	Sat May  6 00:09:03 2000
@@ -0,0 +1,29 @@
+--- ../docs/manpages/smb.conf.5.orig	Tue Apr 25 18:59:00 2000
++++ ../docs/manpages/smb.conf.5	Sat May  6 00:08:00 2000
+@@ -4124,7 +4124,7 @@
+ debug"\fP\&.
+ .IP 
+ \fBDefault:\fP
+-\f(CW	min password length = 5\fP
++\f(CW	min password length = 6\fP
+ .IP 
+ .IP "\fBmin wins ttl (G)\fP" 
+ .IP 
+@@ -4486,7 +4486,7 @@
+ 
+ .DS 
+  
+-       passwd chat = *old*password* %o\en *new*password* %n\en *new*password* %n\en *changed*
++       passwd chat = *\n*ew\spassword* %n\n *ew\spassword* %n\n *updating\sthe\sdatabase...\npasswd:\sdone\n
+ .DE 
+  
+ 
+@@ -4540,7 +4540,7 @@
+ See also \fB"unix password sync"\fP\&.
+ .IP 
+ \fBDefault:\fP
+-\f(CW	passwd program = /bin/passwd\fP
++\f(CW	passwd program = /usr/bin/passwd\fP
+ .IP 
+ \fBExample:\fP
+ \f(CW	passwd program = /sbin/passwd %u\fP
diff -bruN --exclude=CVS samba.orig/patches/patch-bb samba/patches/patch-bb
--- samba.orig/patches/patch-bb	Wed Dec 31 16:00:00 1969
+++ samba/patches/patch-bb	Sat May  6 00:19:16 2000
@@ -0,0 +1,10 @@
+--- client/client.c.orig	Tue Apr 25 16:06:41 2000
++++ client/client.c	Sat May  6 00:18:18 2000
+@@ -189,6 +189,7 @@
+ 				msg[l++] = '\r';
+ 			msg[l] = c;   
+ 		}
++		msg[l]= '\0';
+ 
+ 		/*
+ 		 * The message is in UNIX codepage format. Convert to
diff -bruN --exclude=CVS samba.orig/patches/patch-ca samba/patches/patch-ca
--- samba.orig/patches/patch-ca	Wed Dec 31 16:00:00 1969
+++ samba/patches/patch-ca	Thu Apr 27 01:41:24 2000
@@ -0,0 +1,33 @@
+--- smbd/connection.c.orig	Wed Apr 26 02:07:09 2000
++++ smbd/connection.c	Thu Apr 27 11:40:41 2000
+@@ -352,7 +352,7 @@
+ 
+ 	slprintf(u->ut_line, 12, "smb/%d", i);
+ 
+-	u->ut_pid = pid;
++//	u->ut_pid = pid;
+ 
+ #if defined(HAVE_UT_UT_TIME)
+ 	gettimeofday(&timeval, NULL);
+@@ -542,9 +542,9 @@
+ 	}
+ 
+ 	memset((char *)&u, '\0', sizeof(struct utmp));
+-	u.ut_type = DEAD_PROCESS;
+-	u.ut_exit.e_termination = 0;
+-	u.ut_exit.e_exit = 0;
++//	u.ut_type = DEAD_PROCESS;
++//	u.ut_exit.e_termination = 0;
++//	u.ut_exit.e_exit = 0;
+ 	if (utmp_fill(&u, conn, pid, i, NULL) == 0) {
+ 		utmp_update(&u, NULL);
+ 	}
+@@ -589,7 +589,7 @@
+ 
+ 
+ 	memset((char *)&u, '\0', sizeof(struct utmp));
+-	u.ut_type = USER_PROCESS;
++//	u.ut_type = USER_PROCESS;
+ 	if (utmp_fill(&u, conn, crec->pid, i, host) == 0) {
+ 		utmp_update(&u, host);
+ 	}



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.21.0005062322090.11679-100000>