Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-10 Thread Anton Shterenlikht
On Thu, Feb 09, 2012 at 10:20:47AM +, Anton Shterenlikht wrote:
 On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:
  On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:
   There are 400 ports installed, so I'm still missing
   something else.
  
  You didn't run pkg2ng.
 
 thanks again. I missed that too.

So do I understand correctly that
once switched to pkg(1), the old
pkg_* tools should not be used
anymore? Is that what the output
below tells me:

# pkg version -v |grep 
gcc   needs updating (port has 4.7.0.20120128)

# pkg_version -v |grep 
gcc-4.7.0.20120107 needs updating (port has 4.7.0.20120128)
libXaw-1.0.8,1 needs updating (port has 1.0.8,2)
libXt-1.0.9needs updating (port has 1.0.9,1)
xorg-macros-1.15.0 needs updating (port has 1.16.1)

# pkg info libXaw libXt xorg-macros
libXaw-1.0.8,2: X Athena Widgets library
libXt-1.0.9,1: X Toolkit library
xorg-macros-1.16.1: X.Org development aclocal macros

that pkg_info and pkg_version can
no longer be trusted, and pkg info
and pkg version must be used instead.

It makes sense, but just to check.

Sorry to be so slow.

Anyway, the new tools are great,
working fine on ia64 r231193.

Thanks for your hard work!

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-10 Thread Julien Laffaye

On 02/10/2012 10:24 AM, Anton Shterenlikht wrote:

On Thu, Feb 09, 2012 at 10:20:47AM +, Anton Shterenlikht wrote:

On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:

On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:

There are400 ports installed, so I'm still missing
something else.

You didn't run pkg2ng.

thanks again. I missed that too.

So do I understand correctly that
once switched to pkg(1), the old
pkg_* tools should not be used
anymore? Is that what the output
below tells me:

# pkg version -v |grep 
gccneeds updating (port has 4.7.0.20120128)

# pkg_version -v |grep 
gcc-4.7.0.20120107needs updating (port has 4.7.0.20120128)
libXaw-1.0.8,1needs updating (port has 1.0.8,2)
libXt-1.0.9needs updating (port has 1.0.9,1)
xorg-macros-1.15.0needs updating (port has 1.16.1)

# pkg info libXaw libXt xorg-macros
libXaw-1.0.8,2: X Athena Widgets library
libXt-1.0.9,1: X Toolkit library
xorg-macros-1.16.1: X.Org development aclocal macros

that pkg_info and pkg_version can
no longer be trusted, and pkg info
and pkg version must be used instead.

That's right.


It makes sense, but just to check.

Sorry to be so slow.

Anyway, the new tools are great,
working fine on ia64 r231193.

Thanks for your hard work!

And thank you for your feedback!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-10 Thread Eitan Adler
On Fri, Feb 10, 2012 at 4:24 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 On Thu, Feb 09, 2012 at 10:20:47AM +, Anton Shterenlikht wrote:
 On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:
  On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:
   There are 400 ports installed, so I'm still missing
   something else.
 
  You didn't run pkg2ng.

 thanks again. I missed that too.

 So do I understand correctly that
 once switched to pkg(1), the old
 pkg_* tools should not be used
 anymore? Is that what the output
 below tells me:

 # pkg version -v |grep 
 gcc                                   needs updating (port has 
 4.7.0.20120128)

 # pkg_version -v |grep 

FYI

pkg version -vl\
pkg_version -vl\


-- 
Eitan Adler
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-10 Thread Anton Shterenlikht
On Fri, Feb 10, 2012 at 09:07:02AM -0500, Eitan Adler wrote:
 On Fri, Feb 10, 2012 at 4:24 AM, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
  On Thu, Feb 09, 2012 at 10:20:47AM +, Anton Shterenlikht wrote:
  On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:
   On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:
There are 400 ports installed, so I'm still missing
something else.
  
   You didn't run pkg2ng.
 
  thanks again. I missed that too.
 
  So do I understand correctly that
  once switched to pkg(1), the old
  pkg_* tools should not be used
  anymore? Is that what the output
  below tells me:
 
  # pkg version -v |grep 
  gcc                                   needs updating (port has 
  4.7.0.20120128)
 
  # pkg_version -v |grep 
 
 FYI
 
 pkg version -vl\
 pkg_version -vl\

Cool!

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-10 Thread Miroslav Lachman

Anton Shterenlikht wrote:

On Fri, Feb 10, 2012 at 09:07:02AM -0500, Eitan Adler wrote:

On Fri, Feb 10, 2012 at 4:24 AM, Anton Shterenlikhtme...@bristol.ac.uk  wrote:

On Thu, Feb 09, 2012 at 10:20:47AM +, Anton Shterenlikht wrote:

On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:

On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:

There are400 ports installed, so I'm still missing
something else.


You didn't run pkg2ng.


thanks again. I missed that too.


So do I understand correctly that
once switched to pkg(1), the old
pkg_* tools should not be used
anymore? Is that what the output
below tells me:

# pkg version -v |grep 
gcc needs updating (port has 4.7.0.20120128)

# pkg_version -v |grep 


FYI

pkg version -vl\
pkg_version -vl\


Cool!


I think that better is pkg_version -vL =

This way you get notified about moved / deleted ports as well:

e.g.:
proftpd-mysql-1.3.3g_2  !   Comparison failed

Miroslav Lachman
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Anton Shterenlikht
On Wed, Feb 08, 2012 at 10:32:27PM +0100, Alberto Villa wrote:
 On Wednesday 08 February 2012 16:07:16 Anton Shterenlikht wrote:
  I applied the portmaster patch from git,
  then running portmaster -a, I get:
 
 How did you apply the patch?

# patch  portmaster.patch 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- portmaster.orig2012-01-31 03:17:17.681285114 +0100
|+++ portmaster 2012-02-03 04:19:47.404428436 +0100
--
File to patch: /usr/local/sbin/portmaster
Patching file /usr/local/sbin/portmaster using Plan A...
Hunk #1 succeeded at 125.
Hunk #2 succeeded at 214.
Hunk #3 succeeded at 298.
Hunk #4 succeeded at 508.
Hunk #5 succeeded at 528.
Hunk #6 succeeded at 698.
Hunk #7 succeeded at 790.
Hunk #8 succeeded at 861.
Hunk #9 succeeded at 923.
Hunk #10 succeeded at 955.
Hunk #11 succeeded at 1039.
Hunk #12 succeeded at 1139.
Hunk #13 succeeded at 1174.
Hunk #14 succeeded at 1185.
Hunk #15 succeeded at 1286.
Hunk #16 succeeded at 1372.
Hunk #17 succeeded at 1429.
Hunk #18 succeeded at 1451.
Hunk #19 succeeded at 1483.
Hunk #20 succeeded at 1533.
Hunk #21 succeeded at 1580.
Hunk #22 succeeded at 1716.
Hunk #23 succeeded at 1733.
Hunk #24 succeeded at 1756.
Hunk #25 succeeded at 1785.
Hunk #26 succeeded at 1842.
Hunk #27 succeeded at 2187.
Hunk #28 succeeded at 2203.
Hunk #29 succeeded at 2215.
Hunk #30 succeeded at 2226.
Hunk #31 succeeded at 2242.
Hunk #32 succeeded at 2269.
Hunk #33 succeeded at 2317.
Hunk #34 succeeded at 2334.
Hunk #35 succeeded at 2434.
Hunk #36 succeeded at 2594.
Hunk #37 succeeded at 2675.
Hunk #38 succeeded at 2814.
Hunk #39 succeeded at 2844.
Hunk #40 succeeded at 2854.
Hunk #41 succeeded at 2884.
Hunk #42 succeeded at 2929.
Hunk #43 succeeded at 3042.
Hunk #44 succeeded at 3275.
Hunk #45 succeeded at 3317.
Hunk #46 succeeded at 3328.
Hunk #47 succeeded at 3374.
Hunk #48 succeeded at 3782.
Hunk #49 succeeded at 3803.
Hunk #50 succeeded at 3907.
Hunk #51 succeeded at 3935.
Hunk #52 succeeded at 3954.
Hunk #53 succeeded at 4001.
Hunk #54 succeeded at 4030.
Hunk #55 succeeded at 4071.
Hunk #56 succeeded at 4139.
Hunk #57 succeeded at 4175.
Hunk #58 succeeded at 4222.
done
# 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Anton Shterenlikht
On Thu, Feb 09, 2012 at 04:08:14AM +0400, Yuri Pankov wrote:
 On Wed, 8 Feb 2012 15:07:16 +, Anton Shterenlikht wrote:
 
 On Wed, Feb 08, 2012 at 01:21:12PM +0100, Baptiste Daroussin wrote:
 cc1: warnings being treated as errors
 usergroup.c: In function 'pkg_add_user_group':
 usergroup.c:75: warning: implicit declaration of function 'gr_init'
 usergroup.c:75: warning: nested extern declaration of 'gr_init'
 usergroup.c:76: warning: implicit declaration of function 'gr_lock'
 usergroup.c:76: warning: nested extern declaration of 'gr_lock'
 usergroup.c:77: warning: implicit declaration of function 'gr_fini'
 usergroup.c:77: warning: nested extern declaration of 'gr_fini'
 usergroup.c:80: warning: implicit declaration of function 'gr_tmp'
 usergroup.c:80: warning: nested extern declaration of 'gr_tmp'
 usergroup.c:84: warning: implicit declaration of function 'gr_copy'
 usergroup.c:84: warning: nested extern declaration of 'gr_copy'
 usergroup.c:88: warning: implicit declaration of function 'gr_mkdb'
 usergroup.c:88: warning: nested extern declaration of 'gr_mkdb'
 *** Error code 1
 
 
 Your current is too old, could you please try to update it?
 
 the gr_* function where committed in r228545 version.
 
 Thanks, I got it working on r231193.
 
 I applied the portmaster patch from git,
 then running portmaster -a, I get:
 
 ===  Port directory: /usr/ports/devel/xorg-macros
 
 ===  Starting check for build dependencies
 ===  Gathering dependency list for devel/xorg-macros from ports
 ===  Launching child to install ports-mgmt/pkg
  xorg-macros-1.15.0  ports-mgmt/pkg
 
 which ends in
 
 ===   Installing for pkg-1.0.b1
 ===Generating temporary packing list
 ===   Checking if ports-mgmt/pkg already installed
 ===pkg-1.0.b1 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of ports-mgmt/pkg
without deleting it first, set the variable FORCE_PKG_REGISTER
in your environment or the make install command line.
 *** Error code 1
 
 Stop in /usr/ports/ports-mgmt/pkg.
 
 
 What am I doing wrong?
 
 You are likely missing use_pkgng=yes in your portmaster.rc.

Thanks, I missed that. Now I get:

# portmaster -l
=== Root ports (No dependencies, not depended on)
=== pkg-1.0.b1
=== 1 root ports

=== Trunk ports (No dependencies, are depended on)
=== 0 trunk ports

=== Branch ports (Have dependencies, are depended on)
=== 0 branch ports

=== Leaf ports (Have dependencies, not depended on)
=== 0 leaf ports

=== 1 total installed ports
# 

There are 400 ports installed, so I'm still missing
something else.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Alberto Villa
On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:
 There are 400 ports installed, so I'm still missing
 something else.

You didn't run pkg2ng.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

The eyes of taxes are upon you.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Anton Shterenlikht
On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:
 On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:
  There are 400 ports installed, so I'm still missing
  something else.
 
 You didn't run pkg2ng.

thanks again. I missed that too. Is this somewhere
in pkg man pages? I didn't see it.

While running pkg2ng I get:

Registering pkg-config-0.25_1... pkg: duplicate directory listing: 
/usr/local/lib/pkgconfig/, ignoring
done.

Should I be worried?

Is the plan to merge pkg-config into pkgng?

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Julien Laffaye

On 02/09/2012 11:20 AM, Anton Shterenlikht wrote:

On Thu, Feb 09, 2012 at 10:17:10AM +0100, Alberto Villa wrote:

On Thursday 09 February 2012 10:02:31 Anton Shterenlikht wrote:

There are400 ports installed, so I'm still missing
something else.

You didn't run pkg2ng.

thanks again. I missed that too. Is this somewhere
in pkg man pages? I didn't see it.
It is a one time operation when you are coming from the old pkg_install, 
so it is not in the manpage.




While running pkg2ng I get:

Registering pkg-config-0.25_1... pkg: duplicate directory listing: 
/usr/local/lib/pkgconfig/, ignoring
done.

Should I be worried?

No.


Is the plan to merge pkg-config into pkgng?

No.


Thanks



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Alberto Villa
On Thursday 09 February 2012 13:51:08 Robert Huff wrote:
   Is it documented - even mentioned - someplace $GENERIC_USER is
 going to find it?  If not now, then before launch?

In bapt@'s CFT e-mail.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

I have more humility in my little finger than you have in your whole
_B_O_D_Y!
-- from Cerebus #82


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-09 Thread Baptiste Daroussin
On Thu, Feb 09, 2012 at 07:51:08AM -0500, Robert Huff wrote:
 
 Julien Laffaye writes:
 
You didn't run pkg2ng.
 
thanks again. I missed that too. Is this somewhere
in pkg man pages? I didn't see it.
 
   It is a one time operation when you are coming from the old
   pkg_install, so it is not in the manpage.
 
   Is it documented - even mentioned - someplace $GENERIC_USER is
 going to find it?  If not now, then before launch?
   Because otherwise 
 
 
 
   Robert Huff
 
 

I'll add a pkg-message along with the pkg 1.0.b2 which should come pretty soon

Btw: It is written in the pkgng readme

regards,
Bapt


pgpD3X6oAowZs.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-08 Thread Anton Shterenlikht
On Mon, Jan 30, 2012 at 01:39:30PM +0100, Baptiste Daroussin wrote:
 to use pkgng:
 
 echo WITH_PKGNG=yes  /etc/make.conf
 make -C /usr/ports/ports-mgmt/pkg install clean

On ia64 9.9-CURRENT:

Script started on Wed Feb  8 10:03:18 2012
make
===  Patching for pkg-1.0.b1
===  Configuring for pkg-1.0.b1
===   FreeBSD 10 autotools fix applied to 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/aclocal.m4
===   FreeBSD 10 autotools fix applied to 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/configure
===  Building for pkg-1.0.b1
=== external (all)
=== external/sqlite (all)
Warning: Object directory not changed from original 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/sqlite
cc -O2 -pipe -fno-strict-aliasing  -fPIC -DSQLITE_OMIT_AUTOVACUUM  
-DSQLITE_OMIT_BLOB_LITERAL  -DSQLITE_OMIT_COMPLETE  -DSQLITE_OMIT_DECLTYPE  
-DSQLITE_OMIT_DEPRECATED  -DSQLITE_OMIT_EXPLAIN  -DSQLITE_OMIT_GET_TABLE  
-DSQLITE_OMIT_LOAD_EXTENSION  -DSQLITE_OMIT_PROGRESS_CALLBACK  
-DSQLITE_OMIT_TCL_VARIABLE  -DSQLITE_OMIT_UTF16  -DSQLITE_OMIT_CAT  
-DSQLITE_OMIT_CHECK  -DSQLITE_OMIT_AUTOINIT  -DSQLITE_OMIT_COMPILEOPTION_DIAGS  
-DSQLITE_OMIT_INTEGRITY_CHECK  -DSQLITE_OMIT_BUILTIN_TEST  
-DSQLITE_OMIT_SHARED_CACHE  -DUSE_PREAD  -DSQLITE_THREADSAFE=1  
-DSQLITE_TEMP_STORE=3  -DNDEBUG -std=gnu99 -Wsystem-headers -Werror 
-Wno-pointer-sign -Wformat=2 -Wno-format-extra-args -Werror -c sqlite3.c
{standard input}: Assembler messages:
{standard input}:115049: Warning: Use of 'mov' may violate WAW dependency 'GR%, 
% in 1 - 127' (impliedf), specific resource number is 14
{standard input}:115047: Warning: This is the location of the conflicting usage
building static sqlite3 library
ranlib libsqlite3.a
=== external/libyaml (all)
Warning: Object directory not changed from original 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/api.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/dumper.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/emitter.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/loader.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/parser.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/reader.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/scanner.c
cc -O2 -pipe -fno-strict-aliasing  -fPIC  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
-DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/writer.c
building static yaml library
ranlib libyaml.a
=== libpkg (all)
Warning: Object directory not changed from original 
/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg
cc -O2 -pipe -fno-strict-aliasing  -std=c99 
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg/../external/sqlite  
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg/../external/libyaml/include
 -DPREFIX=\/usr/local\ -g -O0 -std=gnu99 

Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-08 Thread Baptiste Daroussin
On Wed, Feb 08, 2012 at 10:08:46AM +, Anton Shterenlikht wrote:
 On Mon, Jan 30, 2012 at 01:39:30PM +0100, Baptiste Daroussin wrote:
  to use pkgng:
  
  echo WITH_PKGNG=yes  /etc/make.conf
  make -C /usr/ports/ports-mgmt/pkg install clean
 
 On ia64 9.9-CURRENT:
 
 Script started on Wed Feb  8 10:03:18 2012
 make
 ===  Patching for pkg-1.0.b1
 ===  Configuring for pkg-1.0.b1
 ===   FreeBSD 10 autotools fix applied to 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/aclocal.m4
 ===   FreeBSD 10 autotools fix applied to 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/configure
 ===  Building for pkg-1.0.b1
 === external (all)
 === external/sqlite (all)
 Warning: Object directory not changed from original 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/sqlite
 cc -O2 -pipe -fno-strict-aliasing  -fPIC -DSQLITE_OMIT_AUTOVACUUM  
 -DSQLITE_OMIT_BLOB_LITERAL  -DSQLITE_OMIT_COMPLETE  -DSQLITE_OMIT_DECLTYPE  
 -DSQLITE_OMIT_DEPRECATED  -DSQLITE_OMIT_EXPLAIN  -DSQLITE_OMIT_GET_TABLE  
 -DSQLITE_OMIT_LOAD_EXTENSION  -DSQLITE_OMIT_PROGRESS_CALLBACK  
 -DSQLITE_OMIT_TCL_VARIABLE  -DSQLITE_OMIT_UTF16  -DSQLITE_OMIT_CAT  
 -DSQLITE_OMIT_CHECK  -DSQLITE_OMIT_AUTOINIT  
 -DSQLITE_OMIT_COMPILEOPTION_DIAGS  -DSQLITE_OMIT_INTEGRITY_CHECK  
 -DSQLITE_OMIT_BUILTIN_TEST  -DSQLITE_OMIT_SHARED_CACHE  -DUSE_PREAD  
 -DSQLITE_THREADSAFE=1  -DSQLITE_TEMP_STORE=3  -DNDEBUG -std=gnu99 
 -Wsystem-headers -Werror -Wno-pointer-sign -Wformat=2 -Wno-format-extra-args 
 -Werror -c sqlite3.c
 {standard input}: Assembler messages:
 {standard input}:115049: Warning: Use of 'mov' may violate WAW dependency 
 'GR%, % in 1 - 127' (impliedf), specific resource number is 14
 {standard input}:115047: Warning: This is the location of the conflicting 
 usage
 building static sqlite3 library
 ranlib libsqlite3.a
 === external/libyaml (all)
 Warning: Object directory not changed from original 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/api.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/dumper.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/emitter.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/loader.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/parser.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/reader.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/scanner.c
 cc -O2 -pipe -fno-strict-aliasing  -fPIC  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/include  
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml  
 -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/external/libyaml/src/writer.c
 building static yaml library
 ranlib libyaml.a
 === libpkg (all)
 Warning: Object directory not changed from original 
 /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg
 cc -O2 -pipe -fno-strict-aliasing  -std=c99 
 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta1/libpkg  
 

Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-08 Thread Anton Shterenlikht
On Wed, Feb 08, 2012 at 01:21:12PM +0100, Baptiste Daroussin wrote:
  cc1: warnings being treated as errors
  usergroup.c: In function 'pkg_add_user_group':
  usergroup.c:75: warning: implicit declaration of function 'gr_init'
  usergroup.c:75: warning: nested extern declaration of 'gr_init'
  usergroup.c:76: warning: implicit declaration of function 'gr_lock'
  usergroup.c:76: warning: nested extern declaration of 'gr_lock'
  usergroup.c:77: warning: implicit declaration of function 'gr_fini'
  usergroup.c:77: warning: nested extern declaration of 'gr_fini'
  usergroup.c:80: warning: implicit declaration of function 'gr_tmp'
  usergroup.c:80: warning: nested extern declaration of 'gr_tmp'
  usergroup.c:84: warning: implicit declaration of function 'gr_copy'
  usergroup.c:84: warning: nested extern declaration of 'gr_copy'
  usergroup.c:88: warning: implicit declaration of function 'gr_mkdb'
  usergroup.c:88: warning: nested extern declaration of 'gr_mkdb'
  *** Error code 1
  
 
 Your current is too old, could you please try to update it?
 
 the gr_* function where committed in r228545 version.

Thanks, I got it working on r231193.

I applied the portmaster patch from git,
then running portmaster -a, I get:

=== Port directory: /usr/ports/devel/xorg-macros

=== Starting check for build dependencies
=== Gathering dependency list for devel/xorg-macros from ports
=== Launching child to install ports-mgmt/pkg
xorg-macros-1.15.0  ports-mgmt/pkg

which ends in

===  Installing for pkg-1.0.b1
===   Generating temporary packing list
===  Checking if ports-mgmt/pkg already installed
===   pkg-1.0.b1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of ports-mgmt/pkg
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.


What am I doing wrong?

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-08 Thread Alberto Villa
On Wednesday 08 February 2012 16:07:16 Anton Shterenlikht wrote:
 I applied the portmaster patch from git,
 then running portmaster -a, I get:

How did you apply the patch?
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

The Marines:
The few, the proud, the not very bright.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-08 Thread Yuri Pankov

On Wed, 8 Feb 2012 15:07:16 +, Anton Shterenlikht wrote:


On Wed, Feb 08, 2012 at 01:21:12PM +0100, Baptiste Daroussin wrote:

cc1: warnings being treated as errors
usergroup.c: In function 'pkg_add_user_group':
usergroup.c:75: warning: implicit declaration of function 'gr_init'
usergroup.c:75: warning: nested extern declaration of 'gr_init'
usergroup.c:76: warning: implicit declaration of function 'gr_lock'
usergroup.c:76: warning: nested extern declaration of 'gr_lock'
usergroup.c:77: warning: implicit declaration of function 'gr_fini'
usergroup.c:77: warning: nested extern declaration of 'gr_fini'
usergroup.c:80: warning: implicit declaration of function 'gr_tmp'
usergroup.c:80: warning: nested extern declaration of 'gr_tmp'
usergroup.c:84: warning: implicit declaration of function 'gr_copy'
usergroup.c:84: warning: nested extern declaration of 'gr_copy'
usergroup.c:88: warning: implicit declaration of function 'gr_mkdb'
usergroup.c:88: warning: nested extern declaration of 'gr_mkdb'
*** Error code 1



Your current is too old, could you please try to update it?

the gr_* function where committed in r228545 version.


Thanks, I got it working on r231193.

I applied the portmaster patch from git,
then running portmaster -a, I get:

===  Port directory: /usr/ports/devel/xorg-macros

===  Starting check for build dependencies
===  Gathering dependency list for devel/xorg-macros from ports
===  Launching child to install ports-mgmt/pkg
 xorg-macros-1.15.0  ports-mgmt/pkg

which ends in

===   Installing for pkg-1.0.b1
===Generating temporary packing list
===   Checking if ports-mgmt/pkg already installed
===pkg-1.0.b1 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of ports-mgmt/pkg
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.


What am I doing wrong?


You are likely missing use_pkgng=yes in your portmaster.rc.


Yuri
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-04 Thread Justin Hibbits

Hi Baptiste,

On Jan 30, 2012, at 7:39 AM, Baptiste Daroussin wrote:


Hi,

pkgng has just reached the beta phase, and has now found its way to  
the

ports tree (disabled by default).

snip everything down


I'll file an issue on github as well, but wanted to note it here,  
too.  Seems pkgng segfaults reproducibly on powerpc, at least as pkg- 
static so it fails to even install.  I'll post the backrace I got in  
the github issue.


- Justin

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-03 Thread Alberto Villa
On Thursday 02 February 2012 09:02:03 Matthew Seaman wrote:
 That seems to work pretty well, but the portmaster feature for deleting
 build-only dependencies doesn't seem to be doing anything.

For everyone's information, my repository now contains an updated patch that 
fixes the issue.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

Here is a test to find whether your mission on earth is finished:
if you're alive, it isn't.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Matthew Seaman
On 01/02/2012 21:26, Alberto Villa wrote:
 Can you test my latest version and report, submitting a log if you get an 
 error? Thanks.

That seems to work pretty well, but the portmaster feature for deleting
build-only dependencies doesn't seem to be doing anything.  I'll need to
rerun the tests to confirm that though.

Cheers

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Alberto Villa
On Thursday 02 February 2012 09:02:03 Matthew Seaman wrote:
 That seems to work pretty well, but the portmaster feature for deleting
 build-only dependencies doesn't seem to be doing anything.  I'll need to
 rerun the tests to confirm that though.

It has worked fine for me so far...
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

That's the most fun I've had without laughing.
-- Woody Allen, on sex


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Matthew Seaman
On 02/02/2012 10:22, Alberto Villa wrote:
 On Thursday 02 February 2012 09:02:03 Matthew Seaman wrote:
 That seems to work pretty well, but the portmaster feature for deleting
 build-only dependencies doesn't seem to be doing anything.  I'll need to
 rerun the tests to confirm that though.
 
 It has worked fine for me so far...

I think I see what the problem here is:

=== Deleting installed build-only dependencies
The following packages will be deinstalled:
pkg-1.0.b1

The deinstallation will require 0 B more space
Deinstalling pkg-1.0.b1... done
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found

Ooops.

Also that deinstall list should have several more packages on it, not
just pkg-1.0.b1.

Hmmm... does this have to do with fix in revision 1.705 of bsd.port.mk?
Let me try yet again with that update in place.

Actually, here's a feature request for pkgng -- can we have:

   pkg lock pkgname...

and

   pkg unlock pkgname...

where pkgng will refuse to modify or delete a locked package?  I see
this as mostly bullet-proof-shoes to be applied as required by system
administrators, but automatically locking pkgng on install makes sense
to me.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Alberto Villa
On Thursday 02 February 2012 13:11:58 Matthew Seaman wrote:
 I think I see what the problem here is:
 
 === Deleting installed build-only dependencies
 The following packages will be deinstalled:
   pkg-1.0.b1
 
 The deinstallation will require 0 B more space
 Deinstalling pkg-1.0.b1... done
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 /usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
 
 Ooops.

This means you didn't have pkgng installed prior to running portmaster? How 
could it work from start, then (by the way, in the future this will have a 
solution directly in base)?

 Also that deinstall list should have several more packages on it, not
 just pkg-1.0.b1.

That's fine. See the error messages? It means you had 7 more packages to 
deinstall. By the way, the updated patch on github deleted them all at once.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

After a number of decimal places, nobody gives a damn.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Matthew Seaman
On 02/02/2012 13:13, Alberto Villa wrote:

 This means you didn't have pkgng installed prior to running portmaster? How 
 could it work from start, then (by the way, in the future this will have a 
 solution directly in base)?

No, pkgng was definitely installed at the start.  I grabbed the updated
patch when you mentioned it in an earlier e-mail in this thread.  Have
there been any significant changes since then?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Matthew Seaman
On 02/02/2012 13:29, Matthew Seaman wrote:
 On 02/02/2012 13:13, Alberto Villa wrote:
 
 This means you didn't have pkgng installed prior to running portmaster? How 
 could it work from start, then (by the way, in the future this will have a 
 solution directly in base)?
 
 No, pkgng was definitely installed at the start.  I grabbed the updated
 patch when you mentioned it in an earlier e-mail in this thread.  Have
 there been any significant changes since then?

Hmmm... well, I'm still getting the same effect, even with the latest
bsd.port.mk.

This is how the portmaster -fa run finishes up:

=== Done displaying pkg-message files

=== The following actions were performed:
Re-installation of pkg-1.0.b1
Re-installation of ccache-3.1.7
Re-installation of cmake-2.8.7
Re-installation of libtool-2.4.2
Re-installation of libiconv-1.13.1_1
Re-installation of gettext-0.18.1.1
Installation of devel/gmake (gmake-3.82)
Re-installation of emacs-nox11-23.3_8,2
Re-installation of m4-1.4.16,1
Re-installation of mysql-client-5.5.20
Re-installation of portmaster-3.11
Re-installation of rsync-3.0.9
Re-installation of unzip-6.0_1
Re-installation of db47-4.7.25.4
Re-installation of expat-2.0.1_2
Re-installation of gdbm-1.9.1
Re-installation of perl-5.14.2
Re-installation of pkg-config-0.25_1
Re-installation of python27-2.7.2_3
Re-installation of tcl-modules-8.5.11
Re-installation of p5-Locale-gettext-1.05_3
Re-installation of help2man-1.40.5
Installation of devel/autoconf-wrapper (autoconf-wrapper-20101119)
Installation of devel/autoconf (autoconf-2.68)
Installation of devel/automake-wrapper (automake-wrapper-20101119)
Installation of devel/automake (automake-1.11.1)
Re-installation of apr-ipv6-devrandom-gdbm-db47-1.4.5.1.3.12_1
Re-installation of libxml2-2.7.8_1
Re-installation of neon29-0.29.6_4
Re-installation of p5-BerkeleyDB-0.50
Re-installation of p5-DBI-1.617
Re-installation of postgresql-client-9.1.2_3
Re-installation of tcl-8.5.11
Re-installation of sqlite3-3.7.10
Re-installation of p5-DBD-Pg-2.18.1_1
Re-installation of p5-DBD-SQLite-1.35
Re-installation of p5-FreeBSD-Portindex-2.7
Re-installation of perltidy-20101217
Re-installation of pkg_cutleaves-20090810
Re-installation of portlint-2.13.8
Re-installation of python-2.7,2
Re-installation of subversion-1.7.2

=== Deleting installed build-only dependencies
The following packages will be deinstalled:
pkg-1.0.b1

The deinstallation will require 0 B more space
Deinstalling pkg-1.0.b1... done
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found
/usr/local/sbin/portmaster: /usr/local/sbin/pkg: not found


(Everything there where it says 'Installation' should be removed as a
build-only dependency).

portmaster.rc looks like this:

use_pkgng=yes
NO_BACKUP=Bopt
PM_DEL_BUILD_ONLY=pw_dbo
DONT_SCRUB_DISTFILES=dopt

MAKE_PACKAGE=gopt
PM_PACKAGES=first
LOCAL_PACKAGEDIR=/usr/ports/packages
PM_PACKAGES_LOCAL=pmp_local
PM_IGNORE_FAILED_BACKUP_PACKAGE=pm_ignore_failed_backup_package

maggot:/usr/ports:# uname -a
FreeBSD maggot.black-earth.co.uk 9.0-STABLE FreeBSD 9.0-STABLE #3
r230421: Sat Jan 21 17:14:35 GMT 2012
r...@maggot.black-earth.co.uk:/usr/obj/usr/src/sys/MAGGOT  amd64

which is a VM running under VirtualBox on my MacPro Snow Leopard laptop.

... and everything is compiled with clang via ccache.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Alberto Villa
On Thursday 02 February 2012 14:29:27 Matthew Seaman wrote:
 No, pkgng was definitely installed at the start.  I grabbed the updated
 patch when you mentioned it in an earlier e-mail in this thread.  Have
 there been any significant changes since then?

The history is here:
https://github.com/xzhavilla/pkgng/commits/master/ports/portmaster.patch

So, pkgng was already installed, but it got deinstalled at the end? Can you 
add...

set -x

...on the first line of portmaster, run what you did before, log with 
script(1), and send me the log privately, please?
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

The faster I go, the behinder I get.
-- Lewis Carroll,
   Through the Looking-Glass,
   and What Alice Found There (1871)


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-02 Thread Conrad J. Sabatier
On Mon, 30 Jan 2012 13:39:30 +0100
Baptiste Daroussin b...@freebsd.org wrote:

 Hi,
 
 pkgng has just reached the beta phase, and has now found its way to
 the ports tree (disabled by default).

[remainder of announcement snipped for brevity]

A feature request:

I've long wished that pkg_info -g would set the return value to
indicate whether or not a package's plist contained any errors, rather
than always returning 0.  This would be extremely helpful when using
pkg_info in a script.

Thanks!

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Matthew Seaman
On 31/01/2012 02:27, Alberto Villa wrote:
 On Tuesday 31 January 2012 00:52:25 Alberto Villa wrote:
 On Monday 30 January 2012 23:34:59 Yuri Pankov wrote:
 The patch seems to have typos in it (usr_pkgng):
 https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L514
 https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L528

 Please, take the patch from here:
 https://github.com/xzhavilla/pkgng/blob/master/ports/portmaster.patch

 It should be pulled into the main repository soon.
 
 Just a quick note to say that I pushed some updates (now it works with 
 portmaster 3.11 *only*) which have yet to be checked by pkgng masters, so, 
 unless you want to test the new version, please get it from here:
 https://github.com/xzhavilla/pkgng/blob/64ec7f352964b186b08aaa6b480afce8da625cb4/ports/portmaster.patch

So, is there a way to do anything like portmaster's +IGNOREME trick with
the new pkg stuff?

At the moment I'm trying to do 'portmaster -fa' using your patches and
pkgng and telling portmaster to make packages of everything it installs.
 Unfortunately portmaster gets understandably confused when it tries to
do that with ports-mgmt/pkg...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Alberto Villa
On Wednesday 01 February 2012 12:30:25 Matthew Seaman wrote:
 So, is there a way to do anything like portmaster's +IGNOREME trick with
 the new pkg stuff?

In the portmaster patch I have currently disabled this feature, but I think 
I'll try to re-enable it, even if the solution sounds a bit hacky. Better than 
nothing, anyway, for the moment.

 At the moment I'm trying to do 'portmaster -fa' using your patches and
 pkgng and telling portmaster to make packages of everything it installs.
  Unfortunately portmaster gets understandably confused when it tries to
 do that with ports-mgmt/pkg...

It's a bug in portmaster. I reported it to dougb@, and a fix should be in the 
next version of the patch as soon as I feel submitting it to pkgng repository 
for review.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

No man is an island if he's on at least one mailing list.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Alberto Villa
On Wednesday 01 February 2012 13:19:51 Alberto Villa wrote:
 On Wednesday 01 February 2012 12:30:25 Matthew Seaman wrote:
  So, is there a way to do anything like portmaster's +IGNOREME trick 
with
  the new pkg stuff?
 
 In the portmaster patch I have currently disabled this feature, but I think
 I'll try to re-enable it, even if the solution sounds a bit hacky. Better
 than nothing, anyway, for the moment.

Current version from my repository -
https://github.com/xzhavilla/pkgng/blob/master/ports/portmaster.patch
- has +IGNOREME working. portmaster -R works too, now. Only packages 
and file preservation are missing, plus a small part in portmaster -e.

Also, portmaster now sets the orphan flag which makes pkg autoremove 
work. Unfortunately pkg query %a is broken in pkgng beta 1, so it's not 
fully working yet. In addition, since the old package database doesn't store 
that information, pkg autoremove will only work with newly installed 
packages, for the moment.

  At the moment I'm trying to do 'portmaster -fa' using your patches and
  pkgng and telling portmaster to make packages of everything it installs.
  
   Unfortunately portmaster gets understandably confused when it tries to
  
  do that with ports-mgmt/pkg...
 
 It's a bug in portmaster. I reported it to dougb@, and a fix should be in
 the next version of the patch as soon as I feel submitting it to pkgng
 repository for review.

Can you test my latest version and report, submitting a log if you get an 
error? Thanks.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

Drawing on my fine command of language, I said nothing.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Alberto Villa
On Wednesday 01 February 2012 22:26:50 Alberto Villa wrote:
   At the moment I'm trying to do 'portmaster -fa' using your patches and
   pkgng and telling portmaster to make packages of everything it
   installs.
   
Unfortunately portmaster gets understandably confused when it tries 
to
   
   do that with ports-mgmt/pkg...
  
  It's a bug in portmaster. I reported it to dougb@, and a fix should be in
  the next version of the patch as soon as I feel submitting it to pkgng
  repository for review.
 
 Can you test my latest version and report, submitting a log if you get an
 error? Thanks.

By the way, you should avoid rebuilding portmaster itself, or a non patched 
version will be installed.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

We should keep the Panama Canal.  After all, we stole it fair and square.
-- S. I. Hayakawa


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Matthew Seaman
On 01/02/2012 21:31, Alberto Villa wrote:
 By the way, you should avoid rebuilding portmaster itself, or a non patched 
 version will be installed.

Oh, I just made some local hacks to add your patches automatically when
building the portmaster port.  No worries there.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Freddie Cash
On Mon, Jan 30, 2012 at 4:39 AM, Baptiste Daroussin b...@freebsd.org wrote:
 pkgng has just reached the beta phase, and has now found its way to the
 ports tree (disabled by default).

Are there any i386 remote repos setup yet?

I was all gung ho to start testing this, but I only see amd64 repos
listed in the README; there's no default pkg.conf file installed; and
there's no examples listed in the various pkg man pages.

-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Baptiste Daroussin
On Wed, Feb 01, 2012 at 03:34:42PM -0800, Freddie Cash wrote:
 On Mon, Jan 30, 2012 at 4:39 AM, Baptiste Daroussin b...@freebsd.org wrote:
  pkgng has just reached the beta phase, and has now found its way to the
  ports tree (disabled by default).
 
 Are there any i386 remote repos setup yet?
 
 I was all gung ho to start testing this, but I only see amd64 repos
 listed in the README; there's no default pkg.conf file installed; and
 there's no examples listed in the various pkg man pages.
 

Here is a sample: https://github.com/pkgng/pkgng/blob/master/pkg/pkg.conf.sample

for pkg conf, currently there is no public repository at all, it will come
pretty much soon (I hope :))

you can create your own repositories using the new ports-mgmt/poudriere for now,
tinderbox support should come soon.

regards,
Bapt


pgpKkOdkfVNbc.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread n j
 On 1/30/12 4:39 AM, Baptiste Daroussin wrote:
  Hi,
 
  pkgng has just reached the beta phase, and has now found its way to the
  ports tree (disabled by default).

This question is probably not related to this announcement, but I
wonder if this change (pkg_* -- pkgng) will result in increased
number of available binary packages in the repositories or this change
brings no benefits to the package build infrastructure?

In any case, good work.

Regards,
-- 
Nino
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Mark Linimon
On Tue, Jan 31, 2012 at 08:39:30AM +0100, n j wrote:
 This question is probably not related to this announcement, but I
 wonder if this change (pkg_* -- pkgng) will result in increased
 number of available binary packages in the repositories

Absolute number, no.  Speed of availability, possibly.

The main determinant of the latter has been processor horsepower
available to us.  This was greatly increased in 2011 due to both
hardware donations, and hardware purchases by the FreeBSD Foundation.

I am hopeful that 2012 will finally show the fruits of the work
that was done in 2011.

mcl
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Baptiste Daroussin
On Tue, Jan 31, 2012 at 09:09:47PM +0100, Marco Steinbach wrote:
 On Mon, 30 Jan 2012, Baptiste Daroussin wrote:
 
  Hi,
 
  pkgng has just reached the beta phase, and has now found its way to the
  ports tree (disabled by default).
 
 [...]
 
  cd /usr/ports/
  touch abc
 touch: abc: Permission denied
  pkg create net/ifstat
 Creating package for ifstat-1.1_5
 Segmentation fault
 
 
 The attached patch tries to enable pkg(1) to stay on top of things by adding
 error handling around archive_write_open_filename.
 
  pkg create net/ifstat
 Creating package for ifstat-1.1_5
 pkg: archive_write_open_filename(.//ifstat-1.1_5.txz): Permission denied
 pkg: unable to create archive
 
 MfG CoCo

 diff --git a/libpkg/packing.c b/libpkg/packing.c
 index e536eb8..9543c32 100644
 --- a/libpkg/packing.c
 +++ b/libpkg/packing.c
 @@ -49,7 +49,15 @@ packing_init(struct packing **pack, const char *path, 
 pkg_formats format)
   }
   snprintf(archive_path, sizeof(archive_path), %s.%s, path, 
 ext);
  
 - archive_write_open_filename((*pack)-awrite, archive_path);
 + if (archive_write_open_filename(
 + (*pack)-awrite, archive_path) != ARCHIVE_OK ) {
 + pkg_emit_errno(archive_write_open_filename,
 + archive_path);
 + archive_read_finish((*pack)-aread);
 + archive_write_finish((*pack)-awrite);
 + *pack = NULL;
 + return EPKG_FATAL;
 + }
   } else { /* pass mode directly write to the disk */
   (*pack)-awrite = archive_write_disk_new();
   archive_write_disk_set_options((*pack)-awrite, 
 EXTRACT_ARCHIVE_FLAGS);


Thanks for spotting this, can you:
send a git format-patch diff
or send a pull-request on github?

if not I'll integrate the patch as-is

regards,
Bapt


pgpOosUoJNWZJ.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Marco Steinbach

On Mon, 30 Jan 2012, Baptiste Daroussin wrote:


Hi,

pkgng has just reached the beta phase, and has now found its way to the
ports tree (disabled by default).


[...]


cd /usr/ports/
touch abc

touch: abc: Permission denied

pkg create net/ifstat

Creating package for ifstat-1.1_5
Segmentation fault


The attached patch tries to enable pkg(1) to stay on top of things by adding
error handling around archive_write_open_filename.


pkg create net/ifstat

Creating package for ifstat-1.1_5
pkg: archive_write_open_filename(.//ifstat-1.1_5.txz): Permission denied
pkg: unable to create archive

MfG CoCodiff --git a/libpkg/packing.c b/libpkg/packing.c
index e536eb8..9543c32 100644
--- a/libpkg/packing.c
+++ b/libpkg/packing.c
@@ -49,7 +49,15 @@ packing_init(struct packing **pack, const char *path, 
pkg_formats format)
}
snprintf(archive_path, sizeof(archive_path), %s.%s, path, 
ext);
 
-   archive_write_open_filename((*pack)-awrite, archive_path);
+   if (archive_write_open_filename(
+   (*pack)-awrite, archive_path) != ARCHIVE_OK ) {
+   pkg_emit_errno(archive_write_open_filename,
+   archive_path);
+   archive_read_finish((*pack)-aread);
+   archive_write_finish((*pack)-awrite);
+   *pack = NULL;
+   return EPKG_FATAL;
+   }
} else { /* pass mode directly write to the disk */
(*pack)-awrite = archive_write_disk_new();
archive_write_disk_set_options((*pack)-awrite, 
EXTRACT_ARCHIVE_FLAGS);
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread rflynn
 On Mon, Jan 30, 2012 at 9:32 AM, Baptiste Daroussin b...@freebsd.orgwrote:

 On Mon, Jan 30, 2012 at 09:21:37AM -0800, Jos Backus wrote:
  On Mon, Jan 30, 2012 at 9:10 AM, Baptiste Daroussin b...@freebsd.org
 wrote:
 
  No pkg query can't do this, but this would be a nice addition (something
   like
   raw output for info or query) I do like the idea, please create an
 issue
   on the
   github :))
  
   regards,
 
  Bapt
  
 
  I just created issue #128, thanks Baptiste!
 
  Cheers,
  Jos

 The time you did  that I implemented it :)

 pkg info -R will be in beta2.


 Merci beaucoup :)

 Salut,
 Jos

Why not stick this in query? Humans ask for information, computers query
for parseable stuff. The separation is there already, keep it consistent.
In fact, it makes a lot of sense to have a '-f format' option for query
and pluggable formatters. Have -R map to -f yaml if you wish.

-- Mel

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Andrey Zonov

On 30.01.2012 16:39, Baptiste Daroussin wrote:

Hi,

pkgng has just reached the beta phase, and has now found its way to the
ports tree (disabled by default).

1/ Why pkgng?


Hi,

What about pkgng support in tinderbox?

--
Andrey Zonov

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Jos Backus
On Jan 31, 2012 2:27 PM, rfl...@acsalaska.net wrote:
  Why not stick this in query? Humans ask for information, computers query
 for parseable stuff. The separation is there already, keep it consistent.
 In fact, it makes a lot of sense to have a '-f format' option for query
 and pluggable formatters. Have -R map to -f yaml if you wish.
That's fine with me, but YAML would also work here imo.

Jos
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-31 Thread Baptiste Daroussin
On Wed, Feb 01, 2012 at 09:23:35AM +0400, Andrey Zonov wrote:
 On 30.01.2012 16:39, Baptiste Daroussin wrote:
  Hi,
 
  pkgng has just reached the beta phase, and has now found its way to the
  ports tree (disabled by default).
 
  1/ Why pkgng?
  
 Hi,
 
 What about pkgng support in tinderbox?
 

beat and I are working on it, just some typos left to figure out, should be
there pretty much soon.

regards,
Bapt


pgpRmGWIwCXYI.pgp
Description: PGP signature


[HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Baptiste Daroussin
Hi,

pkgng has just reached the beta phase, and has now found its way to the
ports tree (disabled by default).

1/ Why pkgng?


Our current pkg_install tools are showing their age, are hard to maintain,
and they lack features:

- missing metadata
- no upgrade support
- no repository support
- no fine dependency tracking
- no modern binary package management
- and many others

Having old tools makes it hard to improve the ports infrastructure, as a
result lots of hacks have found their way into the different Mk/bsd.*.mk
files to work around pkg_install limitations plus there are lots of hacks
in the packages metadata itself such as @comment which are not comments,
and so forth.

We have people writing tools to improve the situation (portmaster and
portupgrade to name two), but they are limited by and can become quite
complicated to maintain because of the pkg_install limitations.

2/ What it is?
--

It is a tool that is designed to replace pkg_install and provide modern
features to advance package management on FreeBSD.

It has been done with compatibility in mind.  Most of the ports tree are
able to build on pkgng without modification (21500 successful packages is
the highest pkgng score so far).  The missing ones will be easily fixed
with pkgng in ports.

It has been done with ease of migration in mind.  It is easy to migrate
from pkg_install to pkgng.  (Please note that going backwards is not
possible.)

It has been done with FreeBSD features in mind: it supports chroot, jails,
rcng, etc.

It has been done with scripting features in mind: 'pkg query' will allow
you to query almost everything from the pkgng database in a script friendly
way.

It has been done with improvement in mind: it doesn't require a privileged
account to create packages with root files in it; it is already able to
package from a stage/fakeroot/name_it_like_you_want directory; it is also
able to fake the package creation to directly install the package from that
fake/stage/whatever directory.

It has been done with human readability in mind: the new metadata is
stored in YAML format; the plist keywords can be extended with YAML (for
the ports).

It has been our thinking that the pkg binary is not able to please
everyone's needs, so it has been written on top of a library which can be
used by any other third party tools.  (Think about packagekit, or ruby
binding for portupgrade for example, or any other usage like these).

pkgng is the result of my long studies and reflection about packaging
(studying what is done elsewhere: apt/dpkg, yum/rpm, pacman, aix, solaris,
netbsd, openbsd) and how to have something that tries to take the good
ideas from them, but tries not to take the *over engineered* complicated
parts. And most importantly, tries to do it the FreeBSD way: which means
it should work with the ports tree as-is (and help improve it in the future).

3/ Roadmap
--

We plan a very long beta phase with lots of beta versions, released as
often as possible to ease testing and help improve the tool as much as
possible.

The goal, now that we are in beta is to not break anything for users, which
means that pkgng will be able to safely upgrade itself.  (No real breakage
occurred during the alpha phase; expect even less in beta.)

Most of the big features are implemented, so now if you have a
revolutionary idea that breaks everything, it won't find its way into pkgng
1.0.  You can still provide it for pkgng 2.0.

1.0 is not revolutionary because of the way that it is full of workarounds
to allow compatibility with the current ports tree.  At some future time
(TBD), once we have dropped pkg_install support, things will be able to
move forward faster.

pkgng will live in the ports tree, so it will evolve with the
infrastructure, allowing us not to have to wait for the EOL of a release to
be able to move forward to new features.

The library API is currently not considered stable; it will be designated
stable as of pkgng 2.0.  Therefore, if you are going to use the library in
a third party project, you can expect some breakage from time to time.  Of
course, we will avoid breakage as much as possible.

The plan is to have pkgng 1.0 ready and rock solid for 10.0-RELEASE and
9.1-RELEASE.

The more testers/contributors we have, the faster we can go, and the faster
we go, the faster we can drop pkg_install and improve our port
infrastructure.

(Note: due to limitations in FreeBSD 7.x, we do not plan to backport
there.)

4/ pkgng itself


pkg add: add packages the old way (should be avoided by users)

pkg audit: audit the installed packages for vulnerabilities

pkg autoremove: interactively propose packages to be removed that were
installed automatically (as a dependency) and not depended on anymore

pkg check: check the installed packages database, prompting for
inconsistency and proposing to try to fix it

pkg clean: cleanup the package cache from binary installation (from
repositories)

pkg 

Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread wen heping
Cool !

wen

2012/1/30 Baptiste Daroussin b...@freebsd.org

 Hi,

 pkgng has just reached the beta phase, and has now found its way to the
 ports tree (disabled by default).

 1/ Why pkgng?
 

 Our current pkg_install tools are showing their age, are hard to maintain,
 and they lack features:



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Baptiste Daroussin
On Mon, Jan 30, 2012 at 08:43:58AM -0800, Jos Backus wrote:
 Hi Baptiste,
 
 This looks great!
 
 On Mon, Jan 30, 2012 at 4:39 AM, Baptiste Daroussin b...@freebsd.orgwrote:
 
 
  Sample output of pkg info:
 
  $ pkg info -f libreoffice:
  Name   : libreoffice
  Version: 3.4.4
  Origin : editors/libreoffice
  Prefix : /usr/local
  Categories : editors
  Licenses   : MPL  LGPL3
  Maintainer : off...@freebsd.org
  WWW: http://www.libreoffice.org/
  Comment: Full integrated office productivity suite
  Options:
 DEBUG: off
 GNOME: off
 GTK: on
 JAVA: off
 KDE4: off
 MMEDIA: off
 PYUNO: off
 SDK: off
 SYSTRAY: off
 WEBDAV: off
  Flat size  : 319 MB
  Description:
  LibreOffice is the free power-packed Open Source personal productivity
  suite for
  Windows, Macintosh and Linux, that gives you six feature-rich applications
  for
  all your document production and data processing needs: Writer, Calc,
  Impress,
  Draw, Math and Base.
 
  WWW:http://www.libreoffice.org/
 
 
 
 
 I haven't checked if  `pkg query' can do this yet, but how about emitting
 the above output in YAML as well? It would still be very readable for
 humans.
 
 Anyway, I'll try this out.
 

No pkg query can't do this, but this would be a nice addition (something like
raw output for info or query) I do like the idea, please create an issue on the
github :))

regards,
Bapt


pgp2ikQVyXJQe.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Jos Backus
Hi Baptiste,

This looks great!

On Mon, Jan 30, 2012 at 4:39 AM, Baptiste Daroussin b...@freebsd.orgwrote:


 Sample output of pkg info:

 $ pkg info -f libreoffice:
 Name   : libreoffice
 Version: 3.4.4
 Origin : editors/libreoffice
 Prefix : /usr/local
 Categories : editors
 Licenses   : MPL  LGPL3
 Maintainer : off...@freebsd.org
 WWW: http://www.libreoffice.org/
 Comment: Full integrated office productivity suite
 Options:
DEBUG: off
GNOME: off
GTK: on
JAVA: off
KDE4: off
MMEDIA: off
PYUNO: off
SDK: off
SYSTRAY: off
WEBDAV: off
 Flat size  : 319 MB
 Description:
 LibreOffice is the free power-packed Open Source personal productivity
 suite for
 Windows, Macintosh and Linux, that gives you six feature-rich applications
 for
 all your document production and data processing needs: Writer, Calc,
 Impress,
 Draw, Math and Base.

 WWW:http://www.libreoffice.org/




I haven't checked if  `pkg query' can do this yet, but how about emitting
the above output in YAML as well? It would still be very readable for
humans.

Anyway, I'll try this out.

Jos
-- 
Jos Backus
jos at catnook.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Jos Backus
On Mon, Jan 30, 2012 at 9:10 AM, Baptiste Daroussin b...@freebsd.orgwrote:

No pkg query can't do this, but this would be a nice addition (something
 like
 raw output for info or query) I do like the idea, please create an issue
 on the
 github :))

 regards,

Bapt


I just created issue #128, thanks Baptiste!

Cheers,
Jos
-- 
Jos Backus
jos at catnook.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Baptiste Daroussin
On Mon, Jan 30, 2012 at 09:21:37AM -0800, Jos Backus wrote:
 On Mon, Jan 30, 2012 at 9:10 AM, Baptiste Daroussin b...@freebsd.orgwrote:
 
 No pkg query can't do this, but this would be a nice addition (something
  like
  raw output for info or query) I do like the idea, please create an issue
  on the
  github :))
 
  regards,
 
 Bapt
 
 
 I just created issue #128, thanks Baptiste!
 
 Cheers,
 Jos

The time you did  that I implemented it :)

pkg info -R will be in beta2.

Thank you,
regards,
Bapt


pgpF9e9Zt2SvC.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Yuri Pankov
On Mon, Jan 30, 2012 at 01:39:30PM +0100, Baptiste Daroussin wrote:
[...] 
 to use pkgng:
 
 echo WITH_PKGNG=yes  /etc/make.conf
 make -C /usr/ports/ports-mgmt/pkg install clean
 
 Some links: 
 http://wiki.FreeBSD.org/pkgng
 http://github.com/pkgng/pkgng
 
 Note that on github you can find a patch for portmaster (against 3.10)

The patch seems to have typos in it (usr_pkgng):
https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L514
https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L528

And most stupid question for today - how do I actually tell portmaster
to use pkgng after applying the patch?


Thanks,
Yuri


pgpWRBGFuloAU.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Alberto Villa
On Monday 30 January 2012 23:34:59 Yuri Pankov wrote:
 The patch seems to have typos in it (usr_pkgng):
 https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L514
 https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L528

Please, take the patch from here:
https://github.com/xzhavilla/pkgng/blob/master/ports/portmaster.patch

It should be pulled into the main repository soon.

 And most stupid question for today - how do I actually tell portmaster
 to use pkgng after applying the patch?

Set use_pkgng=yes in /usr/local/etc/portmaster.conf.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

Depend on the rabbit's foot if you will,
but remember, it didn't help the rabbit.
-- R. E. Shay


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Alberto Villa
On Tuesday 31 January 2012 00:52:25 Alberto Villa wrote:
 Set use_pkgng=yes in /usr/local/etc/portmaster.conf.

Sorry, portmaster.rc.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

The government of the United States is not in any sense founded on the
Christian Religion
-- George Washington


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Jan Beich
Baptiste Daroussin b...@freebsd.org writes:

[...]
 It has been done with scripting features in mind: 'pkg query' will allow
 you to query almost everything from the pkgng database in a script friendly
 way.

How to query the date a package was installed? I often manually remove
my packages based on time interval or time + package name after
finishing some task. It can involve pruning lots of deps for software
not yet in ports.

  $ find /var/db/pkg/ -name +DESC -exec \
stat -f %Sm %N -t '%Y-%m-%d %H:%M' {} + \
| sed 's|/+.*||; s|/.*/||' \
| sort -r
| less
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Alberto Villa
On Tuesday 31 January 2012 00:52:25 Alberto Villa wrote:
 On Monday 30 January 2012 23:34:59 Yuri Pankov wrote:
  The patch seems to have typos in it (usr_pkgng):
  https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L514
  https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L528
 
 Please, take the patch from here:
 https://github.com/xzhavilla/pkgng/blob/master/ports/portmaster.patch
 
 It should be pulled into the main repository soon.

Just a quick note to say that I pushed some updates (now it works with 
portmaster 3.11 *only*) which have yet to be checked by pkgng masters, so, 
unless you want to test the new version, please get it from here:
https://github.com/xzhavilla/pkgng/blob/64ec7f352964b186b08aaa6b480afce8da625cb4/ports/portmaster.patch
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

Heisenberg may have slept here.


signature.asc
Description: This is a digitally signed message part.


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Jos Backus
On Mon, Jan 30, 2012 at 9:32 AM, Baptiste Daroussin b...@freebsd.orgwrote:

 On Mon, Jan 30, 2012 at 09:21:37AM -0800, Jos Backus wrote:
  On Mon, Jan 30, 2012 at 9:10 AM, Baptiste Daroussin b...@freebsd.org
 wrote:
 
  No pkg query can't do this, but this would be a nice addition (something
   like
   raw output for info or query) I do like the idea, please create an
 issue
   on the
   github :))
  
   regards,
 
  Bapt
  
 
  I just created issue #128, thanks Baptiste!
 
  Cheers,
  Jos

 The time you did  that I implemented it :)

 pkg info -R will be in beta2.


Merci beaucoup :)

Salut,
Jos


 Thank you,
 regards,
 Bapt




-- 
Jos Backus
jos at catnook.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Baptiste Daroussin
On Mon, Jan 30, 2012 at 10:16:00PM -0800, Julian Elischer wrote:
 On 1/30/12 4:39 AM, Baptiste Daroussin wrote:
  Hi,
 
  pkgng has just reached the beta phase, and has now found its way to the
  ports tree (disabled by default).
 
  1/ Why pkgng?
  
 the name sucks though
 it would be good to fix it before it's built in everywhere.
 
 like windows NT, which it is no longer NT.
 

Well if you have better proposition, pkgng is just for now a code name :)
the binary itself the library and the port are named simply pkg.

bsd.pkgng.mk remain pkgng because when we will have pkg_install dead it will be
merged into bsd.port.mk

regards,
Bapt


pgpBpSsoAhLiN.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Baptiste Daroussin
On Tue, Jan 31, 2012 at 03:27:20AM +0100, Alberto Villa wrote:
 On Tuesday 31 January 2012 00:52:25 Alberto Villa wrote:
  On Monday 30 January 2012 23:34:59 Yuri Pankov wrote:
   The patch seems to have typos in it (usr_pkgng):
   https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L514
   https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch#L528
  
  Please, take the patch from here:
  https://github.com/xzhavilla/pkgng/blob/master/ports/portmaster.patch
  
  It should be pulled into the main repository soon.
 
 Just a quick note to say that I pushed some updates (now it works with 
 portmaster 3.11 *only*) which have yet to be checked by pkgng masters, so, 
 unless you want to test the new version, please get it from here:
 https://github.com/xzhavilla/pkgng/blob/64ec7f352964b186b08aaa6b480afce8da625cb4/ports/portmaster.patch
 -- 
 Alberto Villa, FreeBSD committer avi...@freebsd.org
 http://people.FreeBSD.org/~avilla
 
 Heisenberg may have slept here.

This has been merged thank you very much, portmaster 3.11 seems to be full
working for me.

regards,
Bapt


pgpYZi9dzlAA3.pgp
Description: PGP signature


Re: [HEADSUP][CFT] pkgng beta1 is out

2012-01-30 Thread Julian Elischer

On 1/30/12 4:39 AM, Baptiste Daroussin wrote:

Hi,

pkgng has just reached the beta phase, and has now found its way to the
ports tree (disabled by default).

1/ Why pkgng?


the name sucks though
it would be good to fix it before it's built in everywhere.

like windows NT, which it is no longer NT.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org