From owner-freebsd-stable@FreeBSD.ORG Sat Oct 16 16:25:08 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E861B1065694; Sat, 16 Oct 2010 16:25:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id F15DD8FC1D; Sat, 16 Oct 2010 16:25:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id EA76841C729; Sat, 16 Oct 2010 18:25:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id f2QP3DEV2aDI; Sat, 16 Oct 2010 18:25:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id DB15E41C733; Sat, 16 Oct 2010 18:25:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 298734448F3; Sat, 16 Oct 2010 16:24:58 +0000 (UTC) Date: Sat, 16 Oct 2010 16:24:58 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: freebsd-isdn@FreeBSD.org In-Reply-To: <20100909211621.H31898@maildrop.int.zabbadoz.net> Message-ID: <20101016162038.X10185@maildrop.int.zabbadoz.net> References: <20100909173231.1282D1CC3A@ptavv.es.net> <20100909211621.H31898@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: C4B for modern FreeBSD [was: I4B: what happened, which options? [was: Policy for removing working code]] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2010 16:25:09 -0000 On Thu, 9 Sep 2010, Bjoern A. Zeeb wrote: Hi, > 2) I am (was) still running C4B on amd64 on RELENG_8 with a privately > hacked together capi call log, which is a hack without me even > thinking about capi (specs) when doing it, but was doing the job > for me for 7 and 8. Getting the last C4B compiled for 8/HEAD or > amd64 isn't a lot of patching and I can probably provide patches > to you, if you want to make it a port. The PRIV constants needed > for this in the base system have been shiping for a while: > http://svn.freebsd.org/viewvc/base?view=revision&revision=192577 having sent out the patch to the only person who requested it privately, I thought for later reference I should post it here as well: ! Allow the latest Capi4BSD from http://www.nord-com.net/thomas.wintergerst/ ! to compile on amd64 as well as modern FreeBSD versions without suser() ! or I4B support. http://people.freebsd.org/~bz/20101016-01-c4b-amd64-priv.diff I have done some late changed to get the __FreeBSD_version checks as correct as possible and it compiles on my FreeBSD HEAD/amd64 but I haven't tested it more. I used to use it for a simple call log in the past but not more either. If you give it a try, send me feedback! /bz -- Bjoern A. Zeeb Welcome a new stage of life.