Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 03:30:14 GMT
From:      Joseph Mingrone <jrm@ftfl.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184367: pkg 1.2.1 warnings about PACKAGESITE in pkg.conf
Message-ID:  <201311290330.rAT3UErl080696@oldred.freebsd.org>
Resent-Message-ID: <201311290340.rAT3e0OP019837@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184367
>Category:       ports
>Synopsis:       pkg 1.2.1 warnings about PACKAGESITE in pkg.conf
>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:   Fri Nov 29 03:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Mingrone
>Release:        9.2-STABLE
>Organization:
>Environment:
FreeBSD gly 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255768: Sat Sep 21 19:48:48 ADT 2013     root@:/usr/obj/usr/src/sys/GLY  i386
>Description:
After upgrading to pkg 1.2.1 there are warings, "PACKAGESITE in pkg.conf is
deprecated. Please create a repository configuration file" messages.

% pkg info pkg
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository
configuration file
..

% less /usr/local/etc/pkg.conf
# System-wide configuration file for pkg(8)
# For more information on the file format and
# options please refer to the pkg.conf(5) man page

# Configuration options
#PKG_DBDIR		: /var/db/pkg
#PKG_CACHEDIR		: /var/cache/pkg
#PORTSDIR		: /usr/ports
#PUBKEY			: /etc/ssl/pkg.conf
#HANDLE_RC_SCRIPTS	: NO
#ASSUME_ALWAYS_YES	: NO
#SYSLOG			: YES
#SHLIBS			: NO
#AUTODEPS		: NO
#PORTAUDIT_SITE		: http://portaudit.FreeBSD.org/auditfile.tbz
#PKG_PLUGINS_DIR	: /usr/local/lib/pkg/plugins
#PKG_ENABLE_PLUGINS	: YES
#PLUGINS		: [commands/mystat]
#REPO_AUTOUPDATE	: YES
ALIAS			: {
  all-depends: query %dn-%dv,
  annotations: info -A,
  build-depends: info -qd,
  download: fetch,
  iinfo: info -i -g -x,
  isearch: search -i -g -x,
  leaf: query -e "%a == 0" "%n-%v",
  leaf: query -e "%a == 0" "%n-%v",
  list: info -ql,
  origin: info -qo,
  provided-depends: info -qb,
  raw: info -R,
  required-depends: info -qr,
  shared-depends: info -qB,
  show: info -f -k,
  size: info -sq,
  }

% less /etc/pkg/FreeBSD.conf 
FreeBSD : {
    url            : "pkg+http://pkg.freebsd.org/${ABI}/latest",
    enabled        : yes,
    mirror_type    : "SRV",
    signature_type : "FINGERPRINTS",
    fingerprints   : "/usr/share/keys/pkg",
}

% uname -a
FreeBSD gly 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255768: Sat Sep 21
19:48:48 ADT 2013     root@:/usr/obj/usr/src/sys/GLY  i386

I didn't have a /usr/share/keys/pkg so I created the directory, but it's
empty.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311290330.rAT3UErl080696>