From owner-freebsd-ports@FreeBSD.ORG Sat Jun 7 03:42:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EB5426A for ; Sat, 7 Jun 2014 03:42:24 +0000 (UTC) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id 3B36123AC for ; Sat, 7 Jun 2014 03:42:23 +0000 (UTC) Received: from [192.168.2.7] (c-98-218-173-235.hsd1.va.comcast.net [98.218.173.235]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by argent.heraldsnet.net (Postfix) with ESMTPSA id 706D35C73 for ; Fri, 6 Jun 2014 23:34:09 -0400 (EDT) Message-ID: <5392884A.5020602@spamcop.net> Date: Fri, 06 Jun 2014 23:34:34 -0400 From: Jim Trigg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Integrating with pkg Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 03:42:24 -0000 I'm looking to port a utility from Ubuntu, and need to know what hooks there are in pkg. I want to port etckeeper, a tool that automates version control for /etc (and in our case $PREFIX/etc). Its current implementation uses hooks in apt to automatically check in changes when a package is installed/updated; I'm wondering what I can do to support that functionality (checking in changes when a package or the base system is installed/updated) in FreeBSD. Thanks, Jim Trigg