Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 22:29:23 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361646 - in head/net/samba36: . files
Message-ID:  <201407122229.s6CMTN42057554@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Jul 12 22:29:23 2014
New Revision: 361646
URL: http://svnweb.freebsd.org/changeset/ports/361646
QAT: https://qat.redports.org/buildarchive/r361646/

Log:
  net/samba36: fix shebang for bin/findsmb

Added:
  head/net/samba36/files/patch-source3__script__findsmb.in   (contents, props changed)
Modified:
  head/net/samba36/Makefile

Modified: head/net/samba36/Makefile
==============================================================================
--- head/net/samba36/Makefile	Sat Jul 12 22:10:48 2014	(r361645)
+++ head/net/samba36/Makefile	Sat Jul 12 22:29:23 2014	(r361646)
@@ -2,7 +2,7 @@
 
 PORTNAME=		${SAMBA_BASENAME}36
 PORTVERSION=		3.6.24
-PORTREVISION?=		0
+PORTREVISION?=		1
 CATEGORIES?=		net
 MASTER_SITES=		${MASTER_SITE_SAMBA}
 MASTER_SITE_SUBDIR=	samba samba/stable samba/pre
@@ -357,6 +357,8 @@ post-patch:
 		    ${WRKSRC}/Makefile.in
 		@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		    ${WRKSRC}/configure.in ${WRKSRC}/m4/aclocal.m4
+		@${REINPLACE_CMD} -e '1s|%%PREFIX%%|${PREFIX}|g' \
+		    ${WRKSRC}/script/findsmb.in
 ###
 ### end of common part
 ###

Added: head/net/samba36/files/patch-source3__script__findsmb.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/samba36/files/patch-source3__script__findsmb.in	Sat Jul 12 22:29:23 2014	(r361646)
@@ -0,0 +1,8 @@
+--- ./source3/script/findsmb.in.orig	2014-07-12 21:37:56.512194098 +0000
++++ ./source3/script/findsmb.in	2014-07-12 21:38:19.976192656 +0000
+@@ -1,4 +1,4 @@
+-#!@PERL@
++#!%%PREFIX%%/bin/perl
+ #
+ # Prints info on all smb responding machines on a subnet.
+ # This script needs to be run on a machine without nmbd running and be



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