From owner-freebsd-pkg@FreeBSD.ORG Fri Nov 29 11:30:12 2013 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 EC8EF47B for ; Fri, 29 Nov 2013 11:30:11 +0000 (UTC) Received: from eu1sys200aog121.obsmtp.com (eu1sys200aog121.obsmtp.com [207.126.144.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 48CB51FCB for ; Fri, 29 Nov 2013 11:30:10 +0000 (UTC) Received: from mail-we0-f177.google.com ([74.125.82.177]) (using TLSv1) by eu1sys200aob121.postini.com ([207.126.147.11]) with SMTP ID DSNKUph6u9ZLZhqXhTz4JHLZgjL+AY2iYBPy@postini.com; Fri, 29 Nov 2013 11:30:11 UTC Received: by mail-we0-f177.google.com with SMTP id p61so9101609wes.22 for ; Fri, 29 Nov 2013 03:30:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to; bh=4s58t+0piWDgtkTJHVJra57gZJBxDs4Wjv5zV6cy2go=; b=AhalbirKT7aBwQCfMgjR3UeDpRDUOyFgWtyglNsVPLLKH6CenPzT3XUdOWzuJ+3CO8 ztqOSKPLGqbGZPMSmiBlGpYUwo3ZASTD7fwiG+nZZBESTM4hW4Dzvb9sBxL55kF1pqnY bhSuVsU4swq7WNvcMXG1GplNIji+27/niLpwbgSntDhA3gPealB7MlQG0p4R5B0KnSmI 5k5me2tMj+vSQh5QQ0YLF2bJJ9HXGQijlcUs2ZD0cSVDW8c0xv3ji0lKHme9K5rGwmFS HUhsdnMcjMjVCh0EXvVk+i5+DWgsZBqkvBaFvlJ2uSupCCQQorLju54tlfrchBoWGTWD tIdQ== X-Received: by 10.180.108.132 with SMTP id hk4mr6367802wib.12.1385723033547; Fri, 29 Nov 2013 03:03:53 -0800 (PST) X-Gm-Message-State: ALoCoQmBrmXZrOdKxo2Jm2Ajs9hW+CctdxwNlzlHjBLaF/rapfNgdIGeQNJGupZXBPyTxH+rjmlEuEtcUrTRoFDxUvQBMetbqKfivLkXttnvI+uXUg7/9hDK562bcHTqV44L3SR9E4IxDm75O10jAvSQc6tHsdohVIEldpeDdvVCWzBXN13h8cg= X-Received: by 10.180.108.132 with SMTP id hk4mr6367770wib.12.1385723033189; Fri, 29 Nov 2013 03:03:53 -0800 (PST) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id dj8sm91088710wid.2.2013.11.29.03.03.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Nov 2013 03:03:52 -0800 (PST) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id rATB3ooO078490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 29 Nov 2013 11:03:50 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id rATB3obl078489 for freebsd-pkg@freebsd.org; Fri, 29 Nov 2013 11:03:50 GMT (envelope-from mexas) Date: Fri, 29 Nov 2013 03:03:52 -0800 (PST) From: Anton Shterenlikht Message-Id: <201311291103.rATB3obl078489@mech-cluster241.men.bris.ac.uk> To: freebsd-pkg@freebsd.org Subject: v 1.2.1 - config confusion X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 11:30:12 -0000 pkg is a great tool! Many thanks to all developers. However, the pace of development is so fast, I can't keep up. And, it seems, the documentation is a bit behind too. I've seen some posts in ports@ about configuring pkg 1.2.1, but I'm still not clear. Is seems pkg.conf(5) man page is out of date. It still says PACKAGESITE should be in this file, which is now obsolete. https://wiki.freebsd.org/pkgng is more up-to-date. Still: 2. Remove any repository-specific configuration from /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY. If this leaves your pkg.conf empty, just remove it. 3. mkdir -p /usr/local/etc/pkg/repos 4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with: FreeBSD: { url: "http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", enabled: yes } So where does PUBKEY goes now? What is the meaning of FreeBSD identifier? Can I give it another name? pkg-repo(8) says SIGNATURE_TYPE should be set to FINGERPRINTS. Should this also appear in /usr/local/etc/pkg/repos/FreeBSD.conf? And so on... I'm on ia64, so I have to build my own packages. Please provide an up-to-date guide on the transition from version 1.1 to 1.2. Again, thank you for a great too! Many thanks Anton