Re: [csw-devel] blocking SunOS5.8 removals with csw-upload-pkg

2011-09-06 Thread Maciej Bliziński
2011/9/6 Ben Walton :
> In order to prevent someone (me) from touching the SunOS5.8 catalog by
> removing packages (the default with --remove), you pointed me at
> releases_web.py line 210.  I'm not clear on the best way to prevent
> this action (in that function) other than raising an exception if the
> osrel_name is SunOS5.8.  Maybe that is the best way to go but I'm not
> positive.

That is what I was thinking.  You could create something like
frozen_os_rels in common_constants.py and have releses_web.py read it.

> Also, should we block adding a package to 5.8 without a specific
> tool/interface?

I would like to leave the option to manipulate all catalogs using the
lower-level tool (pkgdb) in order we wanted to e.g. make a pkgutil
release into 5.8.

Maciej
___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] SF.net SVN: opencsw:[522] buildfarm/bin/generate-catalog

2011-09-06 Thread dmichelsen
Revision: 522
  http://opencsw.svn.sourceforge.net/opencsw/?rev=522&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:00:21 + (Tue, 06 Sep 2011)
Log Message:
---
gzipping the catalog

Modified Paths:
--
buildfarm/bin/generate-catalog

Modified: buildfarm/bin/generate-catalog
===
--- buildfarm/bin/generate-catalog  2011-09-03 21:48:07 UTC (rev 521)
+++ buildfarm/bin/generate-catalog  2011-09-06 09:00:21 UTC (rev 522)
@@ -34,10 +34,11 @@
 fi
 
 # This request should return a signed catalog
+echo "Fetching '${_URL}'"
 if curl -s -f ${_URL} > catalog.new
 then
   mv catalog.new catalog
+  /opt/csw/bin/gzip --to-stdout catalog > catalog.gz
 else
   echo "Signing $(pwd) failed."
 fi
-

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: opencsw:[523] buildfarm/bin/push-opencsw-future

2011-09-06 Thread dmichelsen
Revision: 523
  http://opencsw.svn.sourceforge.net/opencsw/?rev=523&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:01:06 + (Tue, 06 Sep 2011)
Log Message:
---
push-opencsw-future: Don't start with file deletions

Modified Paths:
--
buildfarm/bin/push-opencsw-future

Modified: buildfarm/bin/push-opencsw-future
===
--- buildfarm/bin/push-opencsw-future   2011-09-06 09:00:21 UTC (rev 522)
+++ buildfarm/bin/push-opencsw-future   2011-09-06 09:01:06 UTC (rev 523)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # The official mirror push
-/opt/csw/bin/rsync -raHv --delete /export/mirror/opencsw/ 
mir...@rsync.opencsw.org:/csw/rsync/csw/
+/opt/csw/bin/rsync -raHv --delete-after /export/mirror/opencsw-official/ 
mir...@rsync.opencsw.org:/csw/rsync/csw/
 
 # The development mirror push
-/opt/csw/bin/rsync -raHv --delete /export/mirror/opencsw-future/ 
mir...@rsync.opencsw.org:/csw/rsync/csw-future/
+/opt/csw/bin/rsync -raHv --delete-after /export/mirror/opencsw-future/ 
mir...@rsync.opencsw.org:/csw/rsync/csw-future/

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: opencsw:[524] buildfarm/bin/generate-unstable

2011-09-06 Thread dmichelsen
Revision: 524
  http://opencsw.svn.sourceforge.net/opencsw/?rev=524&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:01:51 + (Tue, 06 Sep 2011)
Log Message:
---
generate-unstable: use opencsw-official

Modified Paths:
--
buildfarm/bin/generate-unstable

Modified: buildfarm/bin/generate-unstable
===
--- buildfarm/bin/generate-unstable 2011-09-06 09:01:06 UTC (rev 523)
+++ buildfarm/bin/generate-unstable 2011-09-06 09:01:51 UTC (rev 524)
@@ -13,7 +13,7 @@
 
 declare -r catalogs=( "unstable" "dublin" )
 declare -r os_rels=( "5.9" "5.10" "5.11" )
-declare -r mirror_name="opencsw-future"
+declare -r mirror_name="opencsw-official"
 declare -r mirror_root="/home/mirror/${mirror_name}"
 
 for catalog in "${catalogs[@]}"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: opencsw:[525] buildfarm/bin/cleanup-experimental

2011-09-06 Thread dmichelsen
Revision: 525
  http://opencsw.svn.sourceforge.net/opencsw/?rev=525&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:02:36 + (Tue, 06 Sep 2011)
Log Message:
---
cleanup-experimental: Ignore an artifact from submitpkg

Modified Paths:
--
buildfarm/bin/cleanup-experimental

Modified: buildfarm/bin/cleanup-experimental
===
--- buildfarm/bin/cleanup-experimental  2011-09-06 09:01:51 UTC (rev 524)
+++ buildfarm/bin/cleanup-experimental  2011-09-06 09:02:36 UTC (rev 525)
@@ -52,6 +52,9 @@
   closedir D;
 
   foreach my $f (sort @files) {
+# Ignore artifact from submitpkg
+next if( $f eq "newpkgs.mail" );
+
 # Check for package files with identical names
 if( exists $allpkgfiles{$f} ) {
   system( "cmp -s $experimentaldir/$p/$f $allpkgsdir/$f" );

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: opencsw:[526] buildfarm/bin/experimental-head.inc

2011-09-06 Thread dmichelsen
Revision: 526
  http://opencsw.svn.sourceforge.net/opencsw/?rev=526&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:04:31 + (Tue, 06 Sep 2011)
Log Message:
---
experimental-head.inc: description update

Modified Paths:
--
buildfarm/bin/experimental-head.inc

Modified: buildfarm/bin/experimental-head.inc
===
--- buildfarm/bin/experimental-head.inc 2011-09-06 09:02:36 UTC (rev 525)
+++ buildfarm/bin/experimental-head.inc 2011-09-06 09:04:31 UTC (rev 526)
@@ -50,10 +50,10 @@
 
 http://buildfarm.opencsw.org/cgi-bin/experimental.atom";> Experimental packages
 
-This is the experimental area of OpenCSW. You can download the packages please 
use
-http://www.opencsw.org/packages/pkgutil";>pkgutil.
-The utilities rely on a catalog which is updated every 5 minutes, so
-don't try this immediately after pushing packages to 
experimental/.
+This is the experimental area of OpenCSW. You can download packages in each
+subdirectory manually, or use one of our standard tools. The utilities rely
+on a catalog which is updated every 5 minutes, so don't try this
+immediately after pushing packages to /home/experimental/.
 
 There are catalogs generated for each project at http://buildfarm.opencsw.org/opencsw/experimental/";>http://buildfarm.opencsw.org/opencsw/experimental/.
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: opencsw:[527] buildfarm/bin

2011-09-06 Thread dmichelsen
Revision: 527
  http://opencsw.svn.sourceforge.net/opencsw/?rev=527&view=rev
Author:   dmichelsen
Date: 2011-09-06 09:05:10 + (Tue, 06 Sep 2011)
Log Message:
---
wikidot integration update

Modified Paths:
--
buildfarm/bin/list-experimental
buildfarm/bin/wikidot

Modified: buildfarm/bin/list-experimental
===
--- buildfarm/bin/list-experimental 2011-09-06 09:04:31 UTC (rev 526)
+++ buildfarm/bin/list-experimental 2011-09-06 09:05:10 UTC (rev 527)
@@ -29,7 +29,7 @@
 #   http://www.wikidot.com/doc:api
 my $cli = 
RPC::XML::Client->new("https://webcsw:${pass}\@www.wikidot.com/xml-rpc-api.php";);
 $RPC::XML::ALLOW_NIL = 1;
-my $req = RPC::XML::request->new( "site.pages", {'site' => 'opencsw'} );
+my $req = RPC::XML::request->new( "pages.select", {'site' => 'opencsw'} );
 my $resp;
 $resp = $cli->send_request($req);
 
@@ -37,9 +37,22 @@
 my %projects;
 if( defined $resp ) {
   if( ref $resp ) {
-foreach my $page (@{$resp->value}) {
-  if( $page->{name} =~ /^project-(.*)/ ) {
-$projects{lc $1} = $page;
+my @pages = grep { /^project-/ } @{$resp->value};
+while( @pages > 0 ) {
+  my @rpages = splice( @pages, 0, 10 );
+  my $req2 = RPC::XML::request->new( "pages.get_meta", {'site' => 
"opencsw", 'pages' => \@rpages });
+  my $resp2 = $cli->send_request($req2);
+  if( defined $resp2 ) {
+if( ref $resp2 ) {
+  foreach my $p (keys %$resp2) {
+if( $p =~ /^project-(.*)/ ) {
+  $projects{lc $1}->{name} = $p;
+  $projects{lc $1}->{title} = $resp2->{$p}->{title}->value;
+}
+  }
+} else {
+  print "Error: $resp2\n";
+}
   }
 }
   } else {

Modified: buildfarm/bin/wikidot
===
--- buildfarm/bin/wikidot   2011-09-06 09:04:31 UTC (rev 526)
+++ buildfarm/bin/wikidot   2011-09-06 09:05:10 UTC (rev 527)
@@ -23,7 +23,8 @@
 
 #my $req = RPC::XML::request->new( "site.pages",
 #{'site' => RPC::XML::string->new("opencsw")});
-my $req = RPC::XML::request->new( "site.pages", {'site' => "opencsw" });
+#my $req = RPC::XML::request->new( "site.pages", {'site' => "opencsw" });
+my $req = RPC::XML::request->new( "pages.select", {'site' => "opencsw" });
 
 $RPC::XML::ALLOW_NIL = 1;
 
@@ -31,3 +32,46 @@
 print Dumper( $resp );
 # print ref $resp ? join(', ', grep { /project/ } map { $_->{name} } 
@{$resp->value}) : "Error: $resp\n";
 
+my $req3 = RPC::XML::request->new( "pages.get_one", {'site' => "opencsw", 
'page' => 'perl-dublin' });
+my $resp3 = $cli->send_request($req3);
+print Dumper( $resp3 );
+
+open F, ">/opt/csw/apache2/share/htdocs/buildfarm/perl-dublin.html";
+print F $resp3->{html}->value;
+close F;
+
+__END__
+
+
+my @pages = grep { /^project-/ } @{$resp->value};
+my %projects;
+while( @pages > 0 ) {
+  my @rpages = splice( @pages, 0, 10 );
+  my $req2 = RPC::XML::request->new( "pages.get_meta", {'site' => "opencsw", 
'pages' => \@rpages });
+  my $resp2 = $cli->send_request($req2);
+  foreach my $p (keys %$resp2) {
+if( $p =~ /^project-(.*)/ ) {
+  $projects{lc $1}->{name} = $p;
+  $projects{lc $1}->{title} = $resp2->{$p}->{title};
+}
+  }
+# print Dumper( $resp2 );
+}
+
+print Dumper( %projects );
+
+__END__
+
+my %projects;
+if( defined $resp ) {
+  if( ref $resp ) {
+foreach my $page (@{$resp->value}) {
+  if( $page =~ /^project-(.*)/ ) {
+$projects{lc $1}->{name} = $page;
+  }
+}
+  } else {
+print "Error: $resp\n";
+  }
+}
+

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15537] csw/mgar/pkg/pkgutil/trunk

2011-09-06 Thread bonivart
Revision: 15537
  http://gar.svn.sourceforge.net/gar/?rev=15537&view=rev
Author:   bonivart
Date: 2011-09-06 16:10:00 + (Tue, 06 Sep 2011)
Log Message:
---
pkgutil/trunk: 2.5

Modified Paths:
--
csw/mgar/pkg/pkgutil/trunk/Makefile
csw/mgar/pkg/pkgutil/trunk/checksums

Modified: csw/mgar/pkg/pkgutil/trunk/Makefile
===
--- csw/mgar/pkg/pkgutil/trunk/Makefile 2011-09-05 13:41:18 UTC (rev 15536)
+++ csw/mgar/pkg/pkgutil/trunk/Makefile 2011-09-06 16:10:00 UTC (rev 15537)
@@ -1,5 +1,5 @@
 NAME = pkgutil
-VERSION = 2.5b2
+VERSION = 2.5
 CATEGORIES = utils
 
 DESCRIPTION = Installs Solaris packages easily
@@ -51,19 +51,28 @@
 RUNTIME_DEP_PKGS_CSWpkgutilplus  += CSWcswpkgloghooks CSWpython 
CSWpmstringapprox
 #RUNTIME_DEP_PKGS_CSWpkgutilplus += CSWpmwwwcurl
 
+# Harmless since /usr/local is just one (valid) search path used
 CHECKPKG_OVERRIDES_CSWpkgutil += 
file-with-bad-content|/usr/local|root/opt/csw/bin/pkgutil
+
+# This is a read-only template file
 CHECKPKG_OVERRIDES_CSWpkgutil += 
discouraged-path-in-pkgmap|/opt/csw/var/pkgutil
 CHECKPKG_OVERRIDES_CSWpkgutil += 
discouraged-path-in-pkgmap|/opt/csw/var/pkgutil/admin.CSW
+
+# Yes, this archall package does contain binaries of both architectures, this 
is intentional
 CHECKPKG_OVERRIDES_CSWpkgutil += 
archall-with-arch-paths|/opt/csw/libexec/pkgutil/wget-i386
 CHECKPKG_OVERRIDES_CSWpkgutil += 
archall-with-binaries|opt/csw/libexec/pkgutil/wget-i386
 CHECKPKG_OVERRIDES_CSWpkgutil += 
archall-with-binaries|opt/csw/libexec/pkgutil/wget-sparc
 CHECKPKG_OVERRIDES_CSWpkgutil += 
binary-wrong-architecture|file=opt/csw/libexec/pkgutil/wget-i386|pkginfo-says=all|actual-binary=i386
 CHECKPKG_OVERRIDES_CSWpkgutil += 
binary-wrong-architecture|file=opt/csw/libexec/pkgutil/wget-sparc|pkginfo-says=all|actual-binary=sparc
+
+# Needed for the provided scripts to work
 CHECKPKG_OVERRIDES_CSWpkgutilplus += surplus-dependency|CSWperl
 CHECKPKG_OVERRIDES_CSWpkgutilplus += surplus-dependency|CSWcswpkgloghooks
 CHECKPKG_OVERRIDES_CSWpkgutilplus += surplus-dependency|CSWgnupg
 CHECKPKG_OVERRIDES_CSWpkgutilplus += surplus-dependency|CSWpmstringapprox
 CHECKPKG_OVERRIDES_CSWpkgutilplus += surplus-dependency|CSWpkgutil
+
+# This is slightly suspicious, may take a look later
 CHECKPKG_OVERRIDES_CSWpkgutilplus += 
file-with-bad-content|/export/home|root/opt/csw/bin/cswcatalog
 
 PKGFILES_CSWpkgutilplus  = .*bldcat.*

Modified: csw/mgar/pkg/pkgutil/trunk/checksums
===
--- csw/mgar/pkg/pkgutil/trunk/checksums2011-09-05 13:41:18 UTC (rev 
15536)
+++ csw/mgar/pkg/pkgutil/trunk/checksums2011-09-06 16:10:00 UTC (rev 
15537)
@@ -1 +1 @@
-b95c14c3ab39f518d59d919a76bcb904  pkgutil-2.5b2.zip
+30003060efc61f7632cac1b1f5fbc29f  pkgutil-2.5.zip

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15538] csw/mgar/pkg/gcc4/branches/ldflags-problem/Makefile

2011-09-06 Thread wahwah
Revision: 15538
  http://gar.svn.sourceforge.net/gar/?rev=15538&view=rev
Author:   wahwah
Date: 2011-09-06 16:28:44 + (Tue, 06 Sep 2011)
Log Message:
---
pkg/gcc4/branches/ldflags-problem: a special branch to fix one problem

Modified Paths:
--
csw/mgar/pkg/gcc4/branches/ldflags-problem/Makefile

Modified: csw/mgar/pkg/gcc4/branches/ldflags-problem/Makefile
===
--- csw/mgar/pkg/gcc4/branches/ldflags-problem/Makefile 2011-09-06 16:10:00 UTC 
(rev 15537)
+++ csw/mgar/pkg/gcc4/branches/ldflags-problem/Makefile 2011-09-06 16:28:44 UTC 
(rev 15538)
@@ -25,6 +25,8 @@
 DISTFILES= $(DISTNAME).tar.bz2
 MASTER_SITES = $(GNU_MIRROR)/$(NAME)-$(VERSION)/
 
+LIBOBJC = 3
+
 PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
 PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
 
@@ -76,9 +78,16 @@
 CONFIGURE_ARGS += --enable-threads=posix 
 # We'll build ada later. It requires the PPL library.
 # CONFIGURE_ARGS += --enable-languages=ada,c,c++,fortran,java,objc
-CONFIGURE_ARGS += --enable-languages=c,c++,fortran,java,objc
+# Only c and c++ for testing
+CONFIGURE_ARGS += --enable-languages=c,c++
 CONFIGURE_ARGS += --with-system-zlib=/opt/csw
 
+# It doesn't work, it doesn't set the RPATH on libstdc++.so.6.
+# CONFIGURE_ARGS += --with-stage1-ldflags="-R$(libdir)"
+# CONFIGURE_ARGS += --with-boot-ldflags="-R$(libdir)"
+# CONFIG_SITE = --with-boot-ldflags="-R$(libdir)"
+EXTRA_EXPORTS += LD_OPTIONS
+
 # there could be some abstractions in gar.conf.mk, but at the moment there
 # aren't so let's specify architectures by hand.
 #
@@ -107,6 +116,16 @@
 EXTRA_EXPORTS += CFLAGS_FOR_TARGET
 EXTRA_EXPORTS += CXXFLAGS_FOR_TARGET
 
+# This branch is to facilitate efforts to fix the problem where libstdc++.so.6
+# doesn't have the RPATH set.
+# BOOT_LDFLAGS = -L$(libdir) -R$(libdir)
+# EXTRA_EXPORTS += BOOT_LDFLAGS
+# EXTRA_EXPORTS += LD_OPTIONS
+
+CONFIGURE_EXPORTS = CC $(EXTRA_EXPORTS)
+BUILD_EXPORTS =
+INSTALL_EXPORTS =
+
 # The theory goes that the CFLAGS and others cause problems with the multilib
 # builds where 64-bit binaries are built.  This is triggered by the gcc build;
 # the compiler binaries are 32-bit only, but since the compiler can generate
@@ -277,18 +296,19 @@
 RUNTIME_DEP_PKGS_CSWlibgomp1 += CSWlibgcc-s1
 OBSOLETED_BY_CSWlibgomp1 += $(PKG_BASENAME)corert
 
-PACKAGES += CSWlibobjc3
-CATALOGNAME_CSWlibobjc3 = libobjc3
-PKGFILES_CSWlibobjc3 += $(call baseisadirs,$(libdir),libobjc\.so\.3(\.\d+)*)
-SPKG_DESC_CSWlibobjc3 += $(DESCRIPTION), libobjc.so.3
-RUNTIME_DEP_PKGS_CSWlibobjc3 += CSWlibgcc-s1
 
-PACKAGES += CSWlibobjc-gc3
-CATALOGNAME_CSWlibobjc-gc3 = libobjc_gc3
-PKGFILES_CSWlibobjc-gc3 += $(call 
baseisadirs,$(libdir),libobjc_gc\.so\.3(\.\d+)*)
-SPKG_DESC_CSWlibobjc-gc3 += $(DESCRIPTION), libobjc_gc.so.3
-RUNTIME_DEP_PKGS_CSWlibobjc-gc3 += CSWlibgcc-s1
+PACKAGES += CSWlibobjc$(LIBOBJC)
+CATALOGNAME_CSWlibobjc$(LIBOBJC) = libobjc$(LIBOBJC)
+PKGFILES_CSWlibobjc$(LIBOBJC) += $(call 
baseisadirs,$(libdir),libobjc\.so\.$(LIBOBJC)(\.\d+)*)
+SPKG_DESC_CSWlibobjc$(LIBOBJC) += $(DESCRIPTION), libobjc.so.$(LIBOBJC)
+RUNTIME_DEP_PKGS_CSWlibobjc$(LIBOBJC) += CSWlibgcc-s1
 
+PACKAGES += CSWlibobjc-gc$(LIBOBJC)
+CATALOGNAME_CSWlibobjc-gc$(LIBOBJC) = libobjc_gc$(LIBOBJC)
+PKGFILES_CSWlibobjc-gc$(LIBOBJC) += $(call 
baseisadirs,$(libdir),libobjc_gc\.so\.$(LIBOBJC)(\.\d+)*)
+SPKG_DESC_CSWlibobjc-gc$(LIBOBJC) += $(DESCRIPTION), libobjc_gc.so.$(LIBOBJC)
+RUNTIME_DEP_PKGS_CSWlibobjc-gc$(LIBOBJC) += CSWlibgcc-s1
+
 PACKAGES += CSWlibssp0
 CATALOGNAME_CSWlibssp0 = libssp0
 PKGFILES_CSWlibssp0 += $(call baseisadirs,$(libdir),libssp\.so\.0(\.\d+)*)
@@ -483,6 +503,10 @@
 JAVA_BINARIES += gkeytool gnative2ascii gorbd grmic grmid grmregistry
 JAVA_BINARIES += gserialver gtnameserv jcf-dump jv-convert rebuild-gcj-db
 
+CONFIGURE_ENV = CC=$(CC)
+BUILD_ENV =
+INSTALL_ENV =
+
 include files/scripts.mk
 include gar/category.mk
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15539] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15539
  http://gar.svn.sourceforge.net/gar/?rev=15539&view=rev
Author:   igalic
Date: 2011-09-06 22:53:38 + (Tue, 06 Sep 2011)
Log Message:
---
hwloc needs -g to pass tests.

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 16:28:44 UTC (rev 15538)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 22:53:38 UTC (rev 15539)
@@ -22,11 +22,14 @@
 RUNTIME_DEP_PKGS_CSWhwloc += CSWlibcairo2
 RUNTIME_DEP_PKGS_CSWhwloc += CSWlibxml2-2
 
+#BUILDDEPS = CSWautoconf
+
 CONFIGURE_ARGS  = $(DIRPATHS)
-CONFIGURE_ARGS += --disable-visibility
+#CONFIGURE_ARGS += --disable-visibility
 
 BUILD64 = 1
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
+GARFLAVOR = DBG
+
 include gar/category.mk
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15540] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15540
  http://gar.svn.sourceforge.net/gar/?rev=15540&view=rev
Author:   igalic
Date: 2011-09-06 23:35:21 + (Tue, 06 Sep 2011)
Log Message:
---
best match wins. -dev took all the files. duh.

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 22:53:38 UTC (rev 15539)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 23:35:21 UTC (rev 15540)
@@ -1,5 +1,4 @@
 # $Id$
-# TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = hwloc
 VERSION = 1.2.1
@@ -16,8 +15,8 @@
 
 PACKAGES += CSWhwloc-dev
 CATALOGNAME_CSWhwloc-dev = hwloc_dev
-SPKG_DESC_CSWhwloc += $(DESCRIPTION), development files
-PKGFILES_CSWhwloc-dev += $(PKGFILES_DEVEL)
+SPKG_DESC_CSWhwloc-dev  += $(DESCRIPTION), development files
+PKGFILES_CSWhwloc-dev= $(PKGFILES_DEVEL)
 
 RUNTIME_DEP_PKGS_CSWhwloc += CSWlibcairo2
 RUNTIME_DEP_PKGS_CSWhwloc += CSWlibxml2-2

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15541] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15541
  http://gar.svn.sourceforge.net/gar/?rev=15541&view=rev
Author:   igalic
Date: 2011-09-06 23:46:28 + (Tue, 06 Sep 2011)
Log Message:
---
description too long for -dev package (was 101)

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 23:35:21 UTC (rev 15540)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 23:46:28 UTC (rev 15541)
@@ -5,7 +5,7 @@
 GARTYPE = v2
 CATEGORIES = devel
 
-DESCRIPTION = Hwloc provides an abstraction of the hierarchical topology of 
modern architectures
+DESCRIPTION = Hwloc provides abstraction of the hierarchical topology of 
modern architectures
 define BLURB
   The Portable Hardware Locality (hwloc) software package provides a portable 
abstraction (across OS, versions, architectures, ...) of the hierarchical 
topology of modern architectures, including NUMA memory nodes, sockets, shared 
caches, cores and simultaneous multithreading. It also gathers various system 
attributes such as cache and memory information. It primarily aims at helping 
applications with gathering information about modern computing hardware so as 
to exploit it accordingly and efficiently.
 endef

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15542] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15542
  http://gar.svn.sourceforge.net/gar/?rev=15542&view=rev
Author:   igalic
Date: 2011-09-07 00:31:12 + (Wed, 07 Sep 2011)
Log Message:
---
separate packages into base, rt and -dev.

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-06 23:46:28 UTC (rev 15541)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-07 00:31:12 UTC (rev 15542)
@@ -14,12 +14,23 @@
 DISTFILES  = $(DISTNAME).tar.gz
 
 PACKAGES += CSWhwloc-dev
+PACKAGES += CSWhwlocrt
 CATALOGNAME_CSWhwloc-dev = hwloc_dev
+CATALOGNAME_CSWhwlocrt   = hwlocrt
 SPKG_DESC_CSWhwloc-dev  += $(DESCRIPTION), development files
+SPKG_DESC_CSWhwlocrt+= $(DESCRIPTION), runtime
+
+PKGFILES_CSWhwloc= $(bindir)/.*
+PKGFILES_CSWhwloc   += $(mandir)/man1/.*
+PKGFILES_CSWhwlocrt  = $(call pkgfiles_lib,libhwloc.so.3)
 PKGFILES_CSWhwloc-dev= $(PKGFILES_DEVEL)
 
-RUNTIME_DEP_PKGS_CSWhwloc += CSWlibcairo2
-RUNTIME_DEP_PKGS_CSWhwloc += CSWlibxml2-2
+RUNTIME_DEP_PKGS_CSWhwloc  = CSWlibcairo2
+RUNTIME_DEP_PKGS_CSWhwloc += CSWhwlocrt
+RUNTIME_DEP_PKGS_CSWhwlocrt= CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWhwlocrt   += CSWlibxml2-2
+RUNTIME_DEP_PKGS_CSWhwloc-dev  = CSWhwloc
+RUNTIME_DEP_PKGS_CSWhwloc-dev += CSWhwlocrt
 
 #BUILDDEPS = CSWautoconf
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


Re: [csw-devel] SF.net SVN: gar:[15542] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread Ben Walton
Excerpts from igalic's message of Tue Sep 06 20:31:12 -0400 2011:

Hi Igor,

>  PACKAGES += CSWhwloc-dev
> +PACKAGES += CSWhwlocrt

I think this would likely be better as CSWlibhwloc3...?  If it's only
delivering a single library, this is almost certainly the case.

HTH.
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15543] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15543
  http://gar.svn.sourceforge.net/gar/?rev=15543&view=rev
Author:   igalic
Date: 2011-09-07 01:03:12 + (Wed, 07 Sep 2011)
Log Message:
---
*really* add base package, fix names, and hence dpendencies.

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-07 00:31:12 UTC (rev 15542)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-07 01:03:12 UTC (rev 15543)
@@ -13,24 +13,25 @@
 MASTER_SITES =  http://www.open-mpi.org/software/hwloc/v1.2/downloads/
 DISTFILES  = $(DISTNAME).tar.gz
 
+PACKAGES += CSWhwloc
 PACKAGES += CSWhwloc-dev
-PACKAGES += CSWhwlocrt
-CATALOGNAME_CSWhwloc-dev = hwloc_dev
-CATALOGNAME_CSWhwlocrt   = hwlocrt
-SPKG_DESC_CSWhwloc-dev  += $(DESCRIPTION), development files
-SPKG_DESC_CSWhwlocrt+= $(DESCRIPTION), runtime
+PACKAGES += CSWlibhwloc3
+CATALOGNAME_CSWhwloc-dev   = hwloc_dev
+CATALOGNAME_CSWlibhwloc3   = libhwloc3
+SPKG_DESC_CSWhwloci   += $(DESCRIPTION)
+SPKG_DESC_CSWhwloc-dev+= $(DESCRIPTION), development files
+SPKG_DESC_CSWlibhwloc3+= $(DESCRIPTION), runtime
 
-PKGFILES_CSWhwloc= $(bindir)/.*
-PKGFILES_CSWhwloc   += $(mandir)/man1/.*
-PKGFILES_CSWhwlocrt  = $(call pkgfiles_lib,libhwloc.so.3)
-PKGFILES_CSWhwloc-dev= $(PKGFILES_DEVEL)
+PKGFILES_CSWhwloc  = $(bindir)/.*
+PKGFILES_CSWhwloc += $(mandir)/man1/.*
+PKGFILES_CSWlibhwloc3  = $(call pkgfiles_lib,libhwloc.so.3)
+PKGFILES_CSWhwloc-dev  = $(PKGFILES_DEVEL)
 
 RUNTIME_DEP_PKGS_CSWhwloc  = CSWlibcairo2
-RUNTIME_DEP_PKGS_CSWhwloc += CSWhwlocrt
-RUNTIME_DEP_PKGS_CSWhwlocrt= CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWhwlocrt   += CSWlibxml2-2
+RUNTIME_DEP_PKGS_CSWhwloc += CSWlibhwloc3
+RUNTIME_DEP_PKGS_CSWlibhwloc3 += CSWlibxml2-2
 RUNTIME_DEP_PKGS_CSWhwloc-dev  = CSWhwloc
-RUNTIME_DEP_PKGS_CSWhwloc-dev += CSWhwlocrt
+RUNTIME_DEP_PKGS_CSWhwloc-dev += CSWlibhwloc3
 
 #BUILDDEPS = CSWautoconf
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15544] csw/mgar/pkg/hwloc/trunk/Makefile

2011-09-06 Thread igalic
Revision: 15544
  http://gar.svn.sourceforge.net/gar/?rev=15544&view=rev
Author:   igalic
Date: 2011-09-07 01:27:42 + (Wed, 07 Sep 2011)
Log Message:
---
It's regex, not glob.

Modified Paths:
--
csw/mgar/pkg/hwloc/trunk/Makefile

Modified: csw/mgar/pkg/hwloc/trunk/Makefile
===
--- csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-07 01:03:12 UTC (rev 15543)
+++ csw/mgar/pkg/hwloc/trunk/Makefile   2011-09-07 01:27:42 UTC (rev 15544)
@@ -18,16 +18,17 @@
 PACKAGES += CSWlibhwloc3
 CATALOGNAME_CSWhwloc-dev   = hwloc_dev
 CATALOGNAME_CSWlibhwloc3   = libhwloc3
-SPKG_DESC_CSWhwloci   += $(DESCRIPTION)
+SPKG_DESC_CSWhwloc+= $(DESCRIPTION)
 SPKG_DESC_CSWhwloc-dev+= $(DESCRIPTION), development files
 SPKG_DESC_CSWlibhwloc3+= $(DESCRIPTION), runtime
 
 PKGFILES_CSWhwloc  = $(bindir)/.*
-PKGFILES_CSWhwloc += $(mandir)/man1/.*
+PKGFILES_CSWhwloc += $(mandir)/man1
 PKGFILES_CSWlibhwloc3  = $(call pkgfiles_lib,libhwloc.so.3)
 PKGFILES_CSWhwloc-dev  = $(PKGFILES_DEVEL)
 
 RUNTIME_DEP_PKGS_CSWhwloc  = CSWlibcairo2
+RUNTIME_DEP_PKGS_CSWhwloc += CSWlibxml2-2
 RUNTIME_DEP_PKGS_CSWhwloc += CSWlibhwloc3
 RUNTIME_DEP_PKGS_CSWlibhwloc3 += CSWlibxml2-2
 RUNTIME_DEP_PKGS_CSWhwloc-dev  = CSWhwloc

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15545] csw/mgar/pkg

2011-09-06 Thread bdwalton
Revision: 15545
  http://gar.svn.sourceforge.net/gar/?rev=15545&view=rev
Author:   bdwalton
Date: 2011-09-07 01:27:53 + (Wed, 07 Sep 2011)
Log Message:
---
pkg-get/trunk: create a stub tree for the pkg-get deprecation package

Added Paths:
---
csw/mgar/pkg/pkg-get/
csw/mgar/pkg/pkg-get/Makefile
csw/mgar/pkg/pkg-get/branches/
csw/mgar/pkg/pkg-get/tags/
csw/mgar/pkg/pkg-get/trunk/
csw/mgar/pkg/pkg-get/trunk/Makefile
csw/mgar/pkg/pkg-get/trunk/checksums
csw/mgar/pkg/pkg-get/trunk/files/

Copied: csw/mgar/pkg/pkg-get/Makefile (from rev 15145, 
csw/mgar/pkg/template/Makefile)
===
--- csw/mgar/pkg/pkg-get/Makefile   (rev 0)
+++ csw/mgar/pkg/pkg-get/Makefile   2011-09-07 01:27:53 UTC (rev 15545)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+   @echo "You are in the pkg/ directory."
+
+%:
+   $(MAKE) -C trunk $* 
+
+paranoid-%:
+   $(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+   $(MAKE) -C trunk $* || echo "   *** make $* in $$i failed ***" >> 
$(BUILDLOG) 


Property changes on: csw/mgar/pkg/pkg-get/trunk
___
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/pkg-get/trunk/Makefile
===
--- csw/mgar/pkg/pkg-get/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/pkg-get/trunk/Makefile 2011-09-07 01:27:53 UTC (rev 15545)
@@ -0,0 +1,29 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = pkg-get
+VERSION = x.y
+GARTYPE = v2
+CATEGORIES = category
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = 
+DISTFILES  = $(DISTNAME).tar.gz
+
+# File name regex to get notifications about upstream software releases
+# NOTE: Use this only if the automatic regex creation
+#   does not work for your package
+# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, 
then 
+# uncomment the next line. Otherwise it is set by default to the value of 
MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/pkg-get/trunk/Makefile
___
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/pkg-get/trunk/checksums
===
This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15546] csw/mgar/pkg/pkg-get/trunk

2011-09-06 Thread bdwalton
Revision: 15546
  http://gar.svn.sourceforge.net/gar/?rev=15546&view=rev
Author:   bdwalton
Date: 2011-09-07 01:52:02 + (Wed, 07 Sep 2011)
Log Message:
---
pkg-get/trunk: commit a working stub recipe for pkg-get

Modified Paths:
--
csw/mgar/pkg/pkg-get/trunk/Makefile

Added Paths:
---
csw/mgar/pkg/pkg-get/trunk/files/license
csw/mgar/pkg/pkg-get/trunk/files/pkg-get

Modified: csw/mgar/pkg/pkg-get/trunk/Makefile
===
--- csw/mgar/pkg/pkg-get/trunk/Makefile 2011-09-07 01:27:53 UTC (rev 15545)
+++ csw/mgar/pkg/pkg-get/trunk/Makefile 2011-09-07 01:52:02 UTC (rev 15546)
@@ -2,28 +2,36 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = pkg-get
-VERSION = x.y
+VERSION = 4.5.1
 GARTYPE = v2
-CATEGORIES = category
+CATEGORIES = utils
 
-DESCRIPTION = Brief description
+DESCRIPTION = Deprecated CSW version of automated package download tool
 define BLURB
-  Long description
+A deprecated tool for automated package download and installation.
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(DISTNAME).tar.gz
+MASTER_SITES = http://opencsw.org
+DISTFILES = pkg-get license
 
-# File name regex to get notifications about upstream software releases
-# NOTE: Use this only if the automatic regex creation
-#   does not work for your package
-# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = 
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
 
-# If the url used to check for software update is different of MASTER_SITES, 
then 
-# uncomment the next line. Otherwise it is set by default to the value of 
MASTER_SITES
-# UPSTREAM_MASTER_SITES = 
+PACKAGES = CSWpkgget
+CATALOGNAME_CSWpkgget = pkg_get_stub
+RUNTIME_DEP_PKGS_CSWpkgget = CSWpkgutil
+ARCHALL_CSWpkgget = 1
+CHECKPKG_OVERRIDES_CSWpkgget += surplus-dependency|CSWpkgutil
+CHECKPKG_OVERRIDES_CSWpkgget += 
catalogname-does-not-match-pkgname|pkgname=CSWpkgget|catalogname=pkg_get_stub|expected-catalogname=pkgget
 
-CONFIGURE_ARGS = $(DIRPATHS)
-
 include gar/category.mk
 
+install-custom:
+   @(mkdir -p $(DESTDIR)$(bindir); \
+ mkdir -p $(DESTDIR)$(docdir)/pkg_get_stub; \
+   ginstall -m 0755 $(FILEDIR)/pkg-get $(DESTDIR)$(bindir); \
+   ginstall -m 0644 $(FILEDIR)/license 
$(DESTDIR)$(docdir)/pkg_get_stub; \
+   ln -s $(docdir)/pkg_get_stub $(DESTDIR)$(docdir)/pkg_get)
+   @$(MAKECOOKIE)

Added: csw/mgar/pkg/pkg-get/trunk/files/license
===
--- csw/mgar/pkg/pkg-get/trunk/files/license(rev 0)
+++ csw/mgar/pkg/pkg-get/trunk/files/license2011-09-07 01:52:02 UTC (rev 
15546)
@@ -0,0 +1 @@
+This is not a real package so it doesn't need a real license.

Added: csw/mgar/pkg/pkg-get/trunk/files/pkg-get
===
--- csw/mgar/pkg/pkg-get/trunk/files/pkg-get(rev 0)
+++ csw/mgar/pkg/pkg-get/trunk/files/pkg-get2011-09-07 01:52:02 UTC (rev 
15546)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo "The pkg-get is deprecated for use with OpenCSW.  Please use pkgutil"
+echo "instead.  It was installed at the same time this package was updated."
+echo
+echo "We apologize for any inconveniences this causes you."
+echo
+echo
+exit 1


Property changes on: csw/mgar/pkg/pkg-get/trunk/files/pkg-get
___
Added: svn:executable
   + *

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel


[csw-devel] SF.net SVN: gar:[15547] csw/mgar/pkg/pkg-get/trunk/files/pkg-get

2011-09-06 Thread bdwalton
Revision: 15547
  http://gar.svn.sourceforge.net/gar/?rev=15547&view=rev
Author:   bdwalton
Date: 2011-09-07 02:14:47 + (Wed, 07 Sep 2011)
Log Message:
---
pkg-get/trunk: tweak wording in pkg-get deprecation script

Modified Paths:
--
csw/mgar/pkg/pkg-get/trunk/files/pkg-get

Modified: csw/mgar/pkg/pkg-get/trunk/files/pkg-get
===
--- csw/mgar/pkg/pkg-get/trunk/files/pkg-get2011-09-07 01:52:02 UTC (rev 
15546)
+++ csw/mgar/pkg/pkg-get/trunk/files/pkg-get2011-09-07 02:14:47 UTC (rev 
15547)
@@ -1,8 +1,15 @@
 #!/bin/sh
 
-echo "The pkg-get is deprecated for use with OpenCSW.  Please use pkgutil"
-echo "instead.  It was installed at the same time this package was updated."
 echo
+echo
+echo
+echo "DEPRECATION NOTICE"
+echo
+echo "The pkg-get tool is deprecated for use with OpenCSW catalogs."
+echo
+echo "Please use pkgutil(1) instead.  The CSWpkgutil package should"
+echo "have been installed at the same time as this CSWpkgget update."
+echo
 echo "We apologize for any inconveniences this causes you."
 echo
 echo

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel