From owner-freebsd-pkg@freebsd.org Wed Jul 8 19:24:05 2015 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E89FF99679A for ; Wed, 8 Jul 2015 19:24:04 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C486311FC for ; Wed, 8 Jul 2015 19:24:04 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id C359C996798; Wed, 8 Jul 2015 19:24:04 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8FBD996796 for ; Wed, 8 Jul 2015 19:24:04 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F2E311FB for ; Wed, 8 Jul 2015 19:24:04 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wgxm20 with SMTP id m20so21245879wgx.3 for ; Wed, 08 Jul 2015 12:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Y6tLfcaUnzNaK++VWoYIvtBloo3FNCF9PhfXc7QXrno=; b=RKMFsQdsm79eee6WthhkmS/rZERa2UocRfWN0XUEDaSgjmsDPHOH2902sqgiiiBixe hO1uEq+zCsQOZP8w7Xip7fZxmeYSPUPShJKHcgT/jRvlRHjxadB7FLOam5DBgR6wpjWG YJPO/KupePQ25thKs2oSQXtmeU7mom/9MXuyg0+zfBpQt8b3Uko38ZN2J3GjYoccDNWH YKF9VsX5IF3snXWM9fHB+rfoM8gUx1eFuWFIq32y8hkkNlOLjQi078xHCnWEY8yDRTvU 5p5oIK+xctQk7e3UnAirEKgzx3t9Fx2q8q81Dz8DtLJAmRVRRh7gRUofJkvuBsLv2t6Z 1iXg== X-Received: by 10.194.109.36 with SMTP id hp4mr23820616wjb.4.1436383442631; Wed, 08 Jul 2015 12:24:02 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id o6sm4387801wiz.16.2015.07.08.12.24.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 12:24:01 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 8 Jul 2015 21:23:58 +0200 From: Baptiste Daroussin To: Ovidiu Angelescu Cc: "pkg@freebsd.org" Subject: Re: A question (sugestion) please Message-ID: <20150708192357.GB35285@ivaldir.etoilebsd.net> References: <932047247.1282251.1436376239196.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko" Content-Disposition: inline In-Reply-To: <932047247.1282251.1436376239196.JavaMail.yahoo@mail.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 19:24:05 -0000 --vGgW1X5XWziG23Ko Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 08, 2015 at 05:23:59PM +0000, Ovidiu Angelescu via freebsd-pkg = wrote: > HelloMy name is Angelescu Ovidiu and I used to develop an old live iso ca= lled RoFreeSBIE.I am trying to help now GhostBSD project.I like very much a= ctual pkgng (pkg ) tool.The question is:Does actual pkg has triggers as deb= ian apt ?Triggers are very usefull especially when upgrading/updating packa= ges.In debian if package_1 install a trigger it is added in packages databa= se and if package_2 writes files under certains directories defined by trig= ger installed by package_1 then it's launched trigered script installed by = package_1. > As an example package_1=A0 is a configuration package for package_2 but i= t's slight different than package_2 default config file. let's say I want a= stabasta.jpg as background for kdm instead of kdm default.jpg.When kdm is u= pdated/upgraded in config file kdm default.jpg is restored.If there are tri= ggers a trigger search if I have astabasta.jpg instead of default.jpg and i= f not it changes to astabasta. > If actual pkg doesn't have triggers please implement this.It is very usef= ull especially for rolling distro's and can be used when upgrading/updating= packages. > Thank you >=20 >=20 > _______________________________________________ > freebsd-pkg@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org" Triggers does not yet exist in pkg, it is a really useful feature (rather complex to get done properly), but I am affraid that this is really low on = the TODO list please open a ticket on our github so maybe a volunteer will come= in and work on that suggest ( we are a small team and there is lot of things to work on in pkg) https://github.com/freebsd/pkg Best regards, Bapt --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlWdeM0ACgkQ8kTtMUmk6ExmPACgsTHe7l8SBk5u6fabrWfEFol3 z6EAn2z7WdZt+V3ov85k5fUTa5HhD5ns =xjeB -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko--