Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 11:13:35 -0600 (MDT)
From:      John Hein <jhein@symmetricom.us>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        timur@FreeBSD.org
Subject:   ports/171613: [PATCH] net/samba4-devel: unbreak
Message-ID:  <201209131713.q8DHDZCf074626@fbsd7-build.timing.com>
Resent-Message-ID: <201209131720.q8DHK2Ab096730@freefall.freebsd.org>

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

>Number:         171613
>Category:       ports
>Synopsis:       [PATCH] net/samba4-devel: unbreak
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 17:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Hein
>Release:        
>Organization:
>Environment:
System:
>Description:

This has been broken for 4 months now.  To fix it,
use the internal libtevent.  FreeBSD's devel/tevent port is at
0.9.15 and samba4.alpha11 claims to want exactly 0.9.8

Removed file(s):
- files/patch-source4-min__versions.m4

Port maintainer (timur@FreeBSD.org) is cc'd (and notified separately
on 2012-08-30).

Also add a line after the comment block to make portlint happy.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- samba4-devel-4.0.0.a11_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /base/FreeBSD-CVS/ports/net/samba4-devel/Makefile,v
retrieving revision 1.15
diff -u -p -u -r1.15 Makefile
--- Makefile	13 May 2012 20:19:49 -0000	1.15
+++ Makefile	13 Sep 2012 17:11:12 -0000
@@ -4,6 +4,7 @@
 #
 # $FreeBSD: ports/net/samba4-devel/Makefile,v 1.15 2012/05/13 20:19:49 pav Exp $
 #
+
 PORTNAME?=		${SAMBA_PORTNAME}
 PORTVERSION?=		${SAMBA_VERSION}
 PORTREVISION?=		2
@@ -16,8 +17,6 @@ DISTNAME=		${SAMBA_DISTNAME}
 MAINTAINER?=		timur@FreeBSD.org
 COMMENT?=		A free SMB and CIFS client and server for UNIX
 
-BROKEN=			does not configure
-
 CONFLICTS?=		ldb-1.*
 
 SAMBA_PORTNAME=		samba4
@@ -90,9 +89,8 @@ CONFIGURE_ARGS+=	--enable-external-libtd
 # talloc
 LIB_DEPENDS+=		talloc.2:${PORTSDIR}/devel/talloc
 CONFIGURE_ARGS+=	--enable-external-libtalloc
-# tevent
-LIB_DEPENDS+=		tevent.0:${PORTSDIR}/devel/tevent
-CONFIGURE_ARGS+=	--enable-external-libtevent
+# tevent - use internal libtevent since FreeBSD's port is at
+# 0.9.15 and samba4.alpha11 claims to want exactly 0.9.8
 
 OPTIONS=	\
 		DEBUG		"With debug info" off \
Index: files/patch-source4-min__versions.m4
===================================================================
RCS file: files/patch-source4-min__versions.m4
diff -N files/patch-source4-min__versions.m4
--- files/patch-source4-min__versions.m4	17 Aug 2011 10:36:32 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
---- ./source4/min_versions.m4.orig	2010-01-11 06:35:28.000000000 +0100
-+++ ./source4/min_versions.m4	2011-08-05 17:15:56.000000000 +0200
-@@ -3,4 +3,4 @@
- define(TDB_MIN_VERSION,1.2.0)
- define(TALLOC_MIN_VERSION,2.0.1)
- define(LDB_REQUIRED_VERSION,0.9.10)
--define(TEVENT_REQUIRED_VERSION,0.9.8)
-+define(TEVENT_REQUIRED_VERSION,0.9.13)
--- samba4-devel-4.0.0.a11_2.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?201209131713.q8DHDZCf074626>