From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 14:29:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCCD8763 for ; Sat, 4 Oct 2014 14:29:26 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8ECDBA02 for ; Sat, 4 Oct 2014 14:29:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-235.dynamic.qsc.de [92.195.26.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4DFA23CD3F; Sat, 4 Oct 2014 16:29:17 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s94ETGqM004795; Sat, 4 Oct 2014 16:29:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 4 Oct 2014 16:29:16 +0200 From: Polytropon To: "lokadamus@gmx.de" Subject: Re: Downgrade a pkg Message-Id: <20141004162916.184709f7.freebsd@edvax.de> In-Reply-To: <542FFBA6.5020508@gmx.de> References: <542E6E3F.9040405@cloverinformatica.it> <542FFBA6.5020508@gmx.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Maurizio Vairani , User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 14:29:26 -0000 On Sat, 04 Oct 2014 15:52:38 +0200, lokadamus@gmx.de wrote: > In the past was portdowngrade used for such things. > http://cipitunk.wordpress.com/2012/01/16/ports-downgrade-in-freebsd/ > > It is in ports under ports-mgmt. > > Hope it is working. I assume it will not work anymore... :-( The last time I was using it was on FreeBSD 8, I needed to downgrade the xzgv image viewer to the last usable version (which was 0.8_9). It worked like that: # portdowngrade graphics/xzgv -s :pserver:anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs Then the desired version would be selected, and the port would be downgraded accordingly, so it could then be built from source. With portdowngrade, CVS has been used to obtain the old package data, and as the ports collection does not use CVS now, ... I don't know if the maintainer of portdowngrade had success bringing the port version access mechanism into sync with the ability of SVN to check out specific revisions. On the other hand, it should be possible to manually check out a specific version of the whole ports tree where the port version reflects the required older version number. This is mainly a SVN thing. Of course this involves building from source, as pkg, with its binary package approach, emphasizes the use of release or most recent packages. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...