pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Binary packages (again)



2012/6/5 Aleksey Cheusov <cheusov%tut.by@localhost>:
> On Tue, Jun 5, 2012 at 12:05 PM, Luca Sironi <luca%sironi.tk@localhost> wrote:
>> Latest release of netbsd is netbsd 5.1.2
>> Shouldn't be at least a couple of folder
>>
>> http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/5.1.2
>> http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1.2
>>
>> for the major architectures?
>
> The third number of a NetBSD version (2 in 5.1.2) is for security fixes only.
> Security fixes don't introduce any changes in system ABI.
> So, amd64/5.1 symlink which point to amd64/5.1_2012Q1 is actually
> for any 5.1.* releases. As others already said, packages for i386/5.1
> are missing.
>
>> Shouldn't be as simple as doing pkg_add 'package' in order to have
>> 'package' fetched and installed?
>
> Do you mean without setting PKG_PATH variable?

Is there a reason for this environment variable not being setted as default?
opsys/arch/version are almost constant in one system.

As for the third number on the release version

panoramix2# PATH="/usr/pkg/sbin:$PATH"
panoramix2# 
PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All";
panoramix2# export PATH PKG_PATH

Panoramix2# pkg_add ettercap-NG
pkg_add: Warning: package `ettercap-NG-0.7.3nb5' was built for a platform:
pkg_add: NetBSD/i386 5.1 (pkg) vs. NetBSD/i386 5.1.2 (this host)
pkg_add: Warning: package `libltdl-2.2.6b' was built for a platform:
pkg_add: NetBSD/i386 5.1 (pkg) vs. NetBSD/i386 5.1.2 (this host)
pkg_add: Warning: package `ncurses-5.9' was built for a platform:
pkg_add: NetBSD/i386 5.1 (pkg) vs. NetBSD/i386 5.1.2 (this host)

I guess these warnings are useless, right?
A message like ettercap-NG installed with a green ansi colour [ok]
will be enough and have a better psychological effect.

Luca
-- 
"tempo" e "voglia" sono sinonimi nel 90% dei casi
http://www.sironi.tk


Home | Main Index | Thread Index | Old Index