Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 1999 02:05:53 +0100 (CET)
From:      girgen@partitur.se
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9937: samba 2.0.1 update
Message-ID:  <199902070105.CAA30879@stordatan.telia.com>

next in thread | raw e-mail | index | archive | help

>Number:         9937
>Category:       ports
>Synopsis:       Samba updated. Old distfile removed.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb  6 17:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     User &
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
Partitur
>Environment:
FreeBSD stordatan.palle.se 3.0-STABLE FreeBSD 3.0-STABLE #1: Fri Feb  5 03:19:47 CET 1999     girgen@stordatan.palle.se:/usr/src/sys/compile/PALLE3  i386

	

>Description:
Samba updated to 2.0.1. I've had troubles with 2.0.0, and the distfile has been removed from the site, so it really needs updating.
	

>How-To-Repeat:

	

>Fix:
diff -urN samba.old/Makefile samba/Makefile
--- samba.old/Makefile	Mon Jan 18 10:28:29 1999
+++ samba/Makefile	Sat Feb  6 18:00:21 1999
@@ -6,10 +6,9 @@
 # $Id: Makefile,v 1.30 1999/01/18 09:28:29 foxfair Exp $
 #
 
-DISTNAME=	samba-2.0.0
-#PKGNAME=	samba-2.0.0
+DISTNAME=	samba-2.0.1
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.bitcon.no/.7/unix/networking/samba/   \
+MASTER_SITES=	ftp://ftp.sunet.se/pub/unix/utilities/samba/   \
 		ftp://samba.anu.edu.au/pub/samba/
 
 MAINTAINER=	hosokawa@jp.FreeBSD.org
@@ -28,7 +27,8 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --libdir=${SAMBA_CONFDIR} \
-		--localstatedir=${VARDIR} --with-swatdir=${PREFIX}/share/swat
+		--localstatedir=${VARDIR} --with-swatdir=${PREFIX}/share/swat \
+		--with-lockdir=${VARDIR}/spool/lock
 WRKSRC=		${WRKDIR}/${DISTNAME}/source
 
 MAN1=		nmblookup.1 smbstatus.1 smbclient.1 smbrun.1 smbtar.1 \
diff -urN samba.old/files/md5 samba/files/md5
--- samba.old/files/md5	Mon Jan 18 03:34:05 1999
+++ samba/files/md5	Sat Feb  6 12:37:11 1999
@@ -1 +1 @@
-MD5 (samba-2.0.0.tar.gz) = fb4477a7967a2df752a2a94a493fbe51
+MD5 (samba-2.0.1.tar.gz) = b877b737ae00723d4f7ba6b30343d38f
diff -urN samba.old/patches/patch-aa samba/patches/patch-aa
--- samba.old/patches/patch-aa	Mon Jan 18 03:34:06 1999
+++ samba/patches/patch-aa	Sat Feb  6 17:51:37 1999
@@ -1,5 +1,5 @@
---- Makefile.in.orig	Fri Jan 15 05:07:20 1999
-+++ Makefile.in	Fri Jan 15 22:47:59 1999
+--- Makefile.in.old	Sat Feb  6 17:33:09 1999
++++ Makefile.in	Sat Feb  6 17:49:49 1999
 @@ -23,9 +23,7 @@
  
  BASEDIR= @prefix@
@@ -23,24 +23,22 @@
  CONFIGFILE = $(LIBDIR)/smb.conf
  LMHOSTSFILE = $(LIBDIR)/lmhosts
  DRIVERFILE = $(LIBDIR)/printers.def
-@@ -52,7 +51,10 @@
- SWATDIR = @swatdir@
- 
+@@ -53,6 +52,9 @@
  # the directory where lock files go
--LOCKDIR = $(VARDIR)/locks
-+LOCKDIR = $(VARDIR)/spool/lock
-+
+ LOCKDIR = @lockdir@
+ 
 +# the directory where pid files go
 +PIDFILEDIR = $(VARDIR)/run
- 
++
  # The directory where code page definition files go
  CODEPAGEDIR = $(LIBDIR)/codepages
-@@ -71,7 +73,7 @@
- PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DSMB_PASSWD_PROGRAM=\"$(SMB_PASSWD_PROGRAM)\"
+ 
+@@ -70,7 +72,7 @@
+ PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\"
  FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DSMBLOGFILE=\"$(SMBLOGFILE)\" -DNMBLOGFILE=\"$(NMBLOGFILE)\"
  FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"  
 -FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
 +FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DPIDFILEDIR=\"$(PIDFILEDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
  FLAGS4 = -DDRIVERFILE=\"$(DRIVERFILE)\" -DBINDIR=\"$(BINDIR)\"
  FLAGS5 = $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) -DHAVE_INCLUDES_H
- FLAGS  = $(FLAGS5) $(PASSWD_FLAGS)
+ FLAGS  = $(ISA) $(FLAGS5) $(PASSWD_FLAGS)
>Release-Note:
>Audit-Trail:
>Unformatted:

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?199902070105.CAA30879>