Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 11:35:45 -0700 (PDT)
From:      Renato Botelho <garga@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/150562: [PATCH] misc/amanda-server: Change default samba version to 3.4
Message-ID:  <20100914183539.65946.qmail@botelhor.bplab.local>
Resent-Message-ID: <201009141840.o8EIe1G0002977@freefall.freebsd.org>

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

>Number:         150562
>Category:       ports
>Synopsis:       [PATCH] misc/amanda-server: Change default samba version to 3.4
>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:   Tue Sep 14 18:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212583M: Mon Sep 13 19:11:50 BRT
>Description:
net/samba3 is deprecated and set to be removed, so change default samba version
to 3.4 and add optional SAMBA_PORT var.

Since i'm here, reorder some vars to pet a bit portlint

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- amanda-server-2.5.1p3_6,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/amanda25-server/Makefile,v
retrieving revision 1.111
diff -u -u -r1.111 Makefile
--- Makefile	22 Aug 2009 00:28:10 -0000	1.111
+++ Makefile	14 Sep 2010 18:34:11 -0000
@@ -7,11 +7,11 @@
 
 PORTNAME=	amanda
 PORTVERSION=	2.5.1p3
-PORTREVISION?=	5
-PKGNAMESUFFIX?=	-server
+PORTREVISION?=	6
 PORTEPOCH=	1
 CATEGORIES=	misc
 MASTER_SITES=	SF/amanda/amanda%20-%20stable/${PORTVERSION}
+PKGNAMESUFFIX?=	-server
 
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT?=	The Advanced Maryland Automatic Network Disk Archiver (server)
@@ -32,6 +32,8 @@
 USE_LDCONFIG=	yes
 WANT_PERL=	yes
 
+SAMBA_PORT?=	net/samba34
+
 OPTIONS=	GNUTAR "use GNU tar" on \
 		SSH "enable ssh-auth" off
 
@@ -139,8 +141,8 @@
 .endif
 
 .if defined (WITH_SAMBA)
-BUILD_DEPENDS+=	smbclient:${PORTSDIR}/net/samba3
-RUN_DEPENDS+=	smbclient:${PORTSDIR}/net/samba3
+BUILD_DEPENDS+=	smbclient:${PORTSDIR}/${SAMBA_PORT}
+RUN_DEPENDS+=	smbclient:${PORTSDIR}/${SAMBA_PORT}
 CONFIGURE_ARGS+=	--with-smbclient=${PREFIX}/bin/smbclient
 .endif
 
--- amanda-server-2.5.1p3_6,1.patch ends here ---

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



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