From owner-freebsd-ports@FreeBSD.ORG Wed Jun 29 20:24:51 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04EBB1065672; Wed, 29 Jun 2011 20:24:51 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id BEBC28FC13; Wed, 29 Jun 2011 20:24:50 +0000 (UTC) Received: by iyb11 with SMTP id 11so1877142iyb.13 for ; Wed, 29 Jun 2011 13:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=AECQakUnJRV328oj36bmpF6xC/mbHjSRUUWkqP2BQx0=; b=VQKCJidLwoJfouwKTGfmBKV7JoV20BEqQbdsGw0hhnhMmNwJNyaRhuJ2pErLqdwNtl WqAS5X3S/fmdXkDC8XWxy+8z7sbzW2swjY04q1t/hwhnuSq3PDvRemMLHbhMjSoyoAoV Q2c6vDUv8WhadzN8hbuSWYsD2NuBGQbB+NV8k= Received: by 10.231.44.65 with SMTP id z1mr996878ibe.95.1309379090095; Wed, 29 Jun 2011 13:24:50 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.49.193 with HTTP; Wed, 29 Jun 2011 13:24:20 -0700 (PDT) From: Chris Rees Date: Wed, 29 Jun 2011 21:24:20 +0100 X-Google-Sender-Auth: yAnA9WHzZmACUk_4f8UyGo5C7-w Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: ohauer@freebsd.org Subject: Call for testers -- CONF_FILES variable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 20:24:51 -0000 Dear all, I've rewritten the CONF_FILES handling after talking to bapt@, and I've done away with the colon-separated tuples -- they're overcomplicated. The result is something like MAN and PORTDOCS (indeed most of the code is stolen from PORTDOCS). This means that shell globs, filenames and directories are specified in CONF_FILES, but the sample file is installed in the Makefile as .pkgconf. Examples for MailScanner [1] show how it can replace huge trees of config files, and for portscout [2] shows how it is used for just one file. Look at how much has been removed from the MailScanner plist and pkg-*install.in files -- there are three screens of unused functions that could also be chopped out now too! I'm asking people to (if they want) try out the new variable, and let me know what they like and don't like about it. Since bapt@ is sort of sponsoring this and isn't back for ~ two weeks it won't make it in before then at least, but some testing and feedback would be fantastic! http://people.freebsd.org/~crees/patches/bsd-port-mk-conf-files-plist-only-pkgconf.diff Chris [1] http://people.freebsd.org/~crees/patches/mailscanner-conf-files.diff [2] http://people.freebsd.org/~crees/patches/portscout-conf-files.diff P.S. Before people complain about the pkgconf suffix, that is for compatibility with pkgng, and no, .sample files are not going to be supported -- they'll need to be installed as .pkgconf. Sorry.