misc/139435: [PORT] print/cups-smb-backend: Add ability to use difference samba port

David Naylor naylor.b.david at gmail.com
Thu Oct 8 16:10:02 UTC 2009


>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 at 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 at 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:


More information about the freebsd-bugs mailing list