the netbsd package collection - a.k.a pkgsrc
TRANSCRIPT
The NetBSD package Collection
a.k.a pkgsrc
OBATA Akio ([email protected])Nov. 11, 2011
Kansai OpenSource 2011
What is pkgsrc?
Package once, use anywhere!
Easy to build & install additional software
Not only for NetBSD, cross platform
Quarterly Stable release (2011Q3)
Not only from source, binary pakcage
01 18
"What is pkgsrc?" story
Want to use FreeBSD ports like tool
To where additional packages should be installed?
let to install them to /usr/pkg.
then its sources are in /usr/pkg/src?
let to put in /usr/pkgsrc.
02 18
Basic usage
get source tree - whole tree
bootstrap (other than NetBSD)
cd CATEGORY/PKG && make installfetch & configure & build & install
03 18
Advanced usage
Package management tools are also part of packages.
pkg_rolling-replace
pkg_comp
pbulk / distbb
pkgin
05 18
Supported Platforms
1997 NetBSD
1999 Solaris, Linux
2001 Darwin
2002 FreeBSD, OpenBSD, IRIX
2003 BSD/OS, AIX
2004 Interix, DragonFly BSD, OSF/1
2007 HP-UX, QNX
2010 Haiku
2011 MirOS BSD
(UnixWare, FreeMiNT)06 18
Minix3 (will be soon)
GSoC2010 (for Minix)...finished?
GSoC2011 again!Many PRs before 2011Q2 cut
Still need improvements of basecompiler (ack => gcc?)
libc from NetBSD
and many tools
Start to merge
11 18
Supported compiler(2)
f2c Fortran 77 to C compiler (chainable)ccache compiler cache (chainable)distcc distributed C/C++ (chainable)
14 18
Suppported Compiler
ccc Compaq C Compilers (Tru64) /icc Intel C++ Compiler (Linux) /ido SGI IRIS Development Option cc (IRIX 5) /hp HP-UX C/aC++ compilers /mipspro Silicon Graphics, Inc. MIPSpro (n32/n64) /mipspro-ucode Silicon Graphics, Inc. MIPSpro (o32) /sunpro Sun Microsystems, Inc. WorkShip/Forte/Sun ONE Studio /xlc IBM's XL C/C++ compiler suite (Darwin/MacOSX)
15 18
Supported binary package formats
native- Origin from FreeBSD ports, but not compatible.
rpm (wip)
deb (wip)
FreeBSD ports (wip)
16 18