Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 17:56:23 +0700 (NOVST)
From:      Dmitry A Grigorovich <odip@bionet.nsc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66563: [PATCH] samba 2.2.9 when using VFS not builded
Message-ID:  <200405121056.i4CAuNnO020621@master.bionet.nsc.ru>
Resent-Message-ID: <200405121100.i4CB0fNi011217@freefall.freebsd.org>

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

>Number:         66563
>Category:       ports
>Synopsis:       [PATCH] samba 2.2.9 when using VFS not builded
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 12 04:00:40 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry A Grigorovich
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
ICiG SB RAS
>Environment:
System: FreeBSD master.bionet.nsc.ru 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #0: Tue Mar 30 15:00:52 NOVST 2004 root@master0.bionet.nsc.ru:/usr/obj/usr/src/sys/ODIP i386
>Description:

When using WITH_RECYCLE or WITH_AUDIT
samba's port not complete stage 'make build'
>How-To-Repeat:

cd /usr/ports/net/samba
make build

After some time you get make error

Problem - in source file samba-2.2.9.tar.gz

Files examples/VFS/{configure,configure.in} don't have execute bit !!!

>Fix:

Patch Makefile
Seting execute bit on files {configure,configure.in} on post-patch stage

After patching all stage 'make build' completed successfuly

--- patch-Makefile begins here ---
--- Makefile.orig	Wed May 12 16:13:48 2004
+++ Makefile	Wed May 12 17:26:53 2004
@@ -146,6 +146,8 @@
 	#${FIND} ${PATCH_WRKSRC} -type f -name '*.orig' -exec ${RM} {} \;
 	${FIND} ${PATCH_WRKSRC} -type f -empty -exec ${RM} {} \;
 	${CP} ${FILESDIR}/winbind_nss_bsd.c ${WRKSRC}/nsswitch/
+	cd ${WRKDIR}/${DISTNAME}/examples/VFS; \
+		chmod a+x configure configure.in
 
 post-clean:
 	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
--- patch-Makefile ends here ---


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



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