ports/148145: print/cups-samba: Add ability to use difference samba port

David Naylor naylor.b.david at gmail.org
Fri Jun 25 16:40:04 UTC 2010


>Number:         148145
>Category:       ports
>Synopsis:       print/cups-samba: Add ability to use difference samba port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 16:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        FreeBSD-9
>Organization:
Private
>Environment:
FreeBSD dragon.dg 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Jun 19 19:08:38 SAST 2010     root at dragon.dg:/tmp/home/freebsd9/src/sys/DRAGON  amd64

>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).

This is related to ports/139435.  
>How-To-Repeat:
n/a
>Fix:
n/a

Patch attached with submission follows:

diff -u /usr/ports/print/cups-samba/Makefile cups-samba/Makefile
--- /usr/ports/print/cups-samba/Makefile	2010-03-29 03:12:33.000000000 +0200
+++ cups-samba/Makefile	2010-06-25 18:22:46.000000000 +0200
@@ -18,11 +18,12 @@
 MAINTAINER=	tomasv at megalogika.lt
 COMMENT=	The Common UNIX Printing System:  MS Windows client drivers
 
-RUN_DEPENDS=	smbspool:${PORTSDIR}/net/samba3 \
+RUN_DEPENDS=	smbspool:${PORTSDIR}/net/${SAMBA_PORT} \
 		${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
+SAMBA_PORT?=	samba3
 
 DATADIR=	${PREFIX}/share/cups
 DRIVER_FILES=	cups6.inf cups6.ini cupsps6.dll cupsui6.dll
Common subdirectories: /usr/ports/print/cups-samba/files and cups-samba/files


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



More information about the freebsd-ports-bugs mailing list