From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 17 02:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 E04CE703 for ; Mon, 17 Feb 2014 02:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B35A21767 for ; Mon, 17 Feb 2014 02:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1H2o0ec057531 for ; Mon, 17 Feb 2014 02:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1H2o00Q057530; Mon, 17 Feb 2014 02:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Feb 2014 02:50:00 GMT Resent-Message-Id: <201402170250.s1H2o00Q057530@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marshall 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 551E06FD for ; Mon, 17 Feb 2014 02:49:32 +0000 (UTC) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [IPv6:2001:8000:1000:1801::36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A3AB51762 for ; Mon, 17 Feb 2014 02:49:31 +0000 (UTC) Received: from rwpc13.gfn.riverwillow.net.au (rwpc13.gfn.riverwillow.net.au [IPv6:2001:8000:1000:18e1:20c:76ff:fe05:fa0b]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.8/8.14.8) with ESMTP id s1H2nR8j022070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Feb 2014 13:49:27 +1100 (AEDT) Received: from rwpc13.gfn.riverwillow.net.au (john@localhost [127.0.0.1]) by rwpc13.gfn.riverwillow.net.au (8.14.7/8.14.7) with ESMTP id s1H2nQ26006513 for ; Mon, 17 Feb 2014 13:49:26 +1100 (AEDT) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc13.gfn.riverwillow.net.au (8.14.7/8.14.7/Submit) id s1H2nOVG006512; Mon, 17 Feb 2014 13:49:24 +1100 (AEDT) (envelope-from john) Message-Id: <201402170249.s1H2nOVG006512@rwpc13.gfn.riverwillow.net.au> Date: Mon, 17 Feb 2014 13:49:24 +1100 (AEDT) From: John Marshall To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186827: ports-mgmt/pkg pkg-repo(8) includes only oldest version of package X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: John Marshall List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 02:50:01 -0000 >Number: 186827 >Category: ports >Synopsis: ports-mgmt/pkg pkg-repo(8) includes only oldest version of package >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 17 02:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 9.2-RELEASE i386 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwpc13 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255918: Sat Sep 28 13:06:58 AEST 2013 root@rwpc13:/usr/obj/build/src/sys/RWPC13 i386 >Description: pkg-repo(8) states: Symbolic links are ignored, and only the most recent package for each origin is included in the catalogue. Every time I have created a repository, I have discovered that only the oldest version of each package is included in the catalogue. >How-To-Repeat: - Start with empty packages directory - build ports and create packages - update ports tree - build ports and create packages for updated ports - Create repository catalogue with pkg-repo(8) - Query catalogue for one of the updated ports and note old version >Fix: Workaround is to remove older versions of packages from the packages directory, so that only the latest version of each package is present prior to creating the repository. >Release-Note: >Audit-Trail: >Unformatted: