From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 11:53:10 2014 Return-Path: Delivered-To: freebsd-pkg@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 A5F443AB for ; Wed, 24 Sep 2014 11:53:10 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id 39207DDE for ; Wed, 24 Sep 2014 11:53:09 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id uzsz1o003516WCc01zt0SW; Wed, 24 Sep 2014 12:53:02 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=OOap3EqB c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=PBtdaOD29JoA:10 a=FAb_M-RF9CUA:10 a=IVpisvOK1BcA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=NP8VjI5kDbKkaj4afa4A:9 a=wPNLvfGTeEIA:10 a=Vdaloe5F0ioA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XWl7x-000Klg-Ug; Wed, 24 Sep 2014 12:52:59 +0100 From: Mike Clarke To: freebsd-ports@freebsd.org, papowell@astart.com, ports@freebsd.org Date: Wed, 24 Sep 2014 12:52:55 +0100 Message-ID: <1661807.9J09C5k3ze@curlew.lan> User-Agent: KMail/4.12.5 (FreeBSD/9.3-RELEASE-p2; KDE/4.12.5; amd64; ; ) In-Reply-To: <54223E95.6080305@astart.com> References: <5414A4B6.5010706@UToledo.edu> <54223E95.6080305@astart.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: FreeBSD Port: x11-servers/xorg-server Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Cc: freebsd-x11@freebsd.org, freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Sep 2014 11:53:10 -0000 On Tuesday 23 Sep 2014 20:46:29 Patrick Powell wrote: > I can't check this out right now, BUT are the keyboard/mouse > drivers on the WITH_NEW_XORG > repo server built correctly? They appear to be built OK, curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-mouse xf86-input-mouse 1.9.0_4 FreeBSD xf86-input-mouse 1.9.0_4 FreeBSD_new_xorg curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-keyboard xf86-input-keyboard 1.8.0_5 FreeBSD xf86-input-keyboard 1.8.0_5 FreeBSD_new_xorg Both repos have the same version but when I ran pkg upgrade it used FreeBSD for both these drivers with the result that I couldn't log in with KDM until I forcibly installed them from FreeBSD_new_xorg > If that is the case then you can > force PKG to fetch them from that REPO > and then you can (using some magic I don't understand, setting > something in the comment field) force > PKG to always fetch from this repo. > > I have a plan B on this, which is to have a 'repo search order' > capability added to PKG. > IF you search the WITH_NEW_XORG repo first, THEN search the > standard repo AND if you have two packages with the same version, > etc, then you get it from the first > repository you searched. Would an alternative approach when upgrading a package be to check to see if the existing package is annotated with a repository tag and use its value to decide which repository to use. This would have worked in my above example. curlew:/home/mike% pkg query "%n %At %Av" xf86-input-mouse xf86-input- keyboard xf86-input-mouse repo_type binary xf86-input-mouse repository FreeBSD_new_xorg xf86-input-keyboard repo_type binary xf86-input-keyboard repository FreeBSD_new_xorg It would however require the repository to be specified by the user when initially installing the package. The instructions in https://lists.freebsd.org/pipermail/freebsd-ports/2013-November/087487.html give the impression that the value of the annotation should influence the choice of repository but this does not appear to happen. -- Mike Clarke