Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 14:39:40 -0700
From:      Jack Stone <antennex@swbell.net>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Sendmail-8.14.9 compile with db-48
Message-ID:  <1404164380.15009.YahooMailNeo@web185302.mail.gq1.yahoo.com>

next in thread | raw e-mail | index | archive | help
I got way behind on upgrading the fbsd OS, mainly because the usual the scr=
ipted upgrade if sources wouldn't work anymore from 7.4 --> 8.3. So figured=
 the easiest/safe way was to build from scratch for fbsd-9.2. Lots of work =
but all installs were going good until I got to the port sendmail-8.14.9 wh=
ere I wanted to compile with db-4.8 instead of the std 1.85.=0A=0ASendmail =
complains it sees unexpected access.db as error or format. Thus, if it can'=
t read the access.db, sendmail won't work, especially for incoming mail. Th=
e access.db file states it is still Berkely 1.85.=0A=0AThe new ports =A0'ma=
ke config file' for sendmail-8.14.9 doesn't provide an option (that I see) =
for designating a specific db4. Previously I could simply edit the sendmail=
 Makefile and specify the db4 and that worked. The previous Makefile didn't=
 do a 'make config'.=0A=0AWill someone suggest a way to compile sendmail wi=
th the desired db4 ??=0A=0AMany thanks for help in advance!!=A0=0A=0ABest r=
egards,=0AJack
From owner-freebsd-questions@FreeBSD.ORG  Mon Jun 30 21:44:44 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C80BC90E
 for <freebsd-questions@freebsd.org>; Mon, 30 Jun 2014 21:44:44 +0000 (UTC)
Received: from dnvrco-oedge-vip.email.rr.com
 (dnvrco-outbound-snat.email.rr.com [107.14.73.228])
 by mx1.freebsd.org (Postfix) with ESMTP id 8E04B28E5
 for <freebsd-questions@freebsd.org>; Mon, 30 Jun 2014 21:44:43 +0000 (UTC)
Received: from [204.210.114.114] ([204.210.114.114:63359]
 helo=localhost.hawaii.res.rr.com)
 by dnvrco-oedge03 (envelope-from <parv@pair.com>)
 (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP
 id B1/2C-05311-90AD1B35; Mon, 30 Jun 2014 21:43:37 +0000
Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000)
 id 9B69B5D96; Mon, 30 Jun 2014 11:45:06 -1000 (HST)
Date: Mon, 30 Jun 2014 11:45:06 -1000
From: Parv <parv@pair.com>
To: Polytropon <freebsd@edvax.de>
Subject: Re: long string using find and "-exec ls -ls" to find part-of filename
Message-ID: <20140630214506.GA1606@holstein.holy.cow>
Mail-Followup-To: Polytropon <freebsd@edvax.de>,
 Gary Kline <kline@thought.org>,
 FreeBSD Mailing List <freebsd-questions@freebsd.org>
References: <20140630045605.GA11147@ethic.thought.org>
 <53B0EFF2.80205@calorieking.com>
 <CA+g+Bvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com>
 <20140630053004.GB16901@ethic.thought.org>
 <CA+g+Bvh+Dk0iYCjbGKVt59-nfDoCFQ6qmArrJu7ueaT7VzDi1g@mail.gmail.com>
 <20140630064044.GA25085@ethic.thought.org>
 <20140630230316.44ec3257.freebsd@edvax.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20140630230316.44ec3257.freebsd@edvax.de>
X-RR-Connecting-IP: 107.14.64.142:25
X-Authority-Analysis: v=2.1 cv=d7V7yHTE c=1 sm=1 tr=0
 a=lLOF/jpPrR0dcgWXP1EvZg==:117 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=ayC55rCoAAAA:8
 a=nkFfKy3LMXsA:10 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=Ymsr-CWnAAAA:8
 a=wKHJCdmWh4cmGAE-2tUA:9 a=CjuIK1q_8ugA:10 a=jKRid43F7UoA:10
X-Cloudmark-Score: 0
Cc: Gary Kline <kline@thought.org>,
 FreeBSD Mailing List <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jun 2014 21:44:44 -0000

in message <20140630230316.44ec3257.freebsd@edvax.de>,
wrote Polytropon thusly...
>
> On Sun, 29 Jun 2014 23:40:44 -0700, Gary Kline wrote:
> >     ANYWAY, the thing learned tonight is that it's *XARGS* <cmd>
> >     instead of -exec abcfubarCmd.
>
> Allow me to add one little reminder:
>
> When using xargs, usually _one_ program will be executed
> with a command line containing _all_ results of the find
> command. If you want to run a program on _each_ of the
> results, this is the typical sh solution:
>
>       find ... | while read F; do
>               somecommand $F
>       done
...

If only one command to be run for each file, then xargs can be used
with "-n" option to specify "the maximum number of arguments taken
from standard input for each invocation" ...

  find ... | xargs -n 1 command ...


-- 




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