Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2009 16:09:05 GMT
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/139435: [PORT] print/cups-smb-backend: Add ability to use difference samba port
Message-ID:  <200910081609.n98G95uK020607@www.freebsd.org>
Resent-Message-ID: <200910081610.n98GA2XB096027@freefall.freebsd.org>

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

>Number:         139435
>Category:       misc
>Synopsis:       [PORT] print/cups-smb-backend: Add ability to use difference samba port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 08 16:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        FreeBSD 8 RC1
>Organization:
Private
>Environment:
FreeBSD dragon.dg 8.0-RC1 FreeBSD 8.0-RC1 #0: Sat Oct  3 15:45:15 SAST 2009     root@dragon.dg:/tmp/usr/src/sys/GENERIC  i386
>Description:
This port defaults to net/samba3 but does not allow one to take advantage of newer samba ports (samba32 and samba33).  

This patch allows the samba port to be set via SAMBA_PORT (default is no functional change).
>How-To-Repeat:
n/a
>Fix:
Apply patch

Patch attached with submission follows:

--- Makefile.orig	2009-10-08 18:01:00.000000000 +0200
+++ Makefile	2009-10-08 18:03:34.000000000 +0200
@@ -15,11 +15,12 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A CUPS backend for printing to Windows servers
 
-RUN_DEPENDS=	smbspool:${PORTSDIR}/net/samba3 \
+RUN_DEPENDS=	smbspool:${PORTSDIR}/net/${SAMBA_PORT} \
 		${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
 
 NO_BUILD=	yes
 PLIST_FILES=	libexec/cups/backend/smb
+SAMBA_PORT?=	samba3
 SUB_FILES=	pkg-message
 
 do-install:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910081609.n98G95uK020607>