Changeset 418


Ignore:
Timestamp:
Apr 27, 2008, 1:20:16 AM (12 years ago)
Author:
bruno
Message:
  • Adapt pbinit to new pb 0.9.2 and its external functions for mondorescue
  • First attempt to have correct deb build again for pb 0.9.2
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • pbconf/0.9.1/pb.pb

    r413 r418  
    3232# a QEMU rhel_3 here means that the VM will be named rhel_3.qemu
    3333#
    34 vmlist pb = mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,suse-10.3-i386,sles-9-i386,sles-10-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,fedora-6-x86_64,fedora-8-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,suse-10.3-x86_64,sles-10-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64
     34vmlist pb = mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,suse-10.3-i386,sles-9-i386,sles-10-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386
    3535
    3636velist pb = fedora-7-i386
  • pbconf/0.9.1/perl-ProjectBuilder/pbcl

    r410 r418  
    22
    33PERL-PROJECTBUILDER CHANGES
    4 
    5 devel (2009-04-28)
    6 - devel line
    74
    850.9.1 (2008-04-25)
  • pbconf/0.9.1/project-builder/pbcl

    r410 r418  
    22
    33PB CHANGES
    4 
    5 devel (2009-04-08)
    6 - devel line
    74
    850.9.1 (2008-04-20)
  • pbconf/devel/pb.pb

    r404 r418  
    2525sshport pb = 22
    2626
    27 #
    28 # For Virtual machines management
    29 # Naming convention to follow: distribution name (as per ProjectBuilder::Distribution)
    30 # followed by '_' and by release number
    31 # a .vmtype extension will be added to the resulting string
    32 # a QEMU rhel_3 here means that the VM will be named rhel_3.qemu
    33 #
    34 vmlist pb = mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,suse-10.3-i386,sles-9-i386,sles-10-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,fedora-6-x86_64,fedora-8-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,suse-10.3-x86_64,sles-10-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64
     27pbarch pb = noarch
    3528
    3629velist pb = fedora-7-i386
    37 
    38 pbarch pb = noarch
    39 
    4030vetype pb = chroot
    4131ventp default =  pool.ntp.org
     
    4434veconf pb = /etc/mock
    4535verebuild pb = false
    46 #
    47 # Valid values for vmtype are
    48 # qemu, (vmware, xen, ... TBD)
    49 vmtype pb = qemu
    50 
    51 # Hash for VM stuff on vmtype
    52 vmntp default = pool.ntp.org
    53 
    54 # We suppose we can commmunicate with the VM through SSH
    55 vmhost pb = localhost
    56 vmlogin pb = pb
    57 vmport pb = 2223
    58 
    59 # Timeout to wait when VM is launched/stopped
    60 vmtmout default = 120
    61 
    62 # per VMs needed paramaters
    63 vmopt pb = -m 384 -daemonize
    64 vmpath pb = /users/qemu
    65 vmsize pb = 5G
    6636
    6737#
     
    8454defpkgdir perl-ProjectBuilder = pb-modules
    8555
     56# On Debian perl modules have other name std
     57pbpkgdeb perl-ProjectBuilder = libprojectbuilder-perl
     58
    8659# Hash of additional package/package directory
    8760extpkgdir project-builder-doc = pb-doc
  • pbconf/devel/perl-ProjectBuilder/deb/control

    r378 r418  
    1010Section: PBGRP
    1111Priority: optional
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, libdate-manip-perl, libfile-mimeinfo-perl
     12Depends: ${shlibs:Depends}, ${misc:Depends}
    1313Recommends:
    1414Suggests:
    1515Description:
    16  Project Builder aka pb is a tool to produce packages for multiple
    17  distributions.
    18  It does that by minimizing the duplication of information required
    19  and a set a very simple configuration files.
     16 Reusable perl function from the project-builder.org project
    2017 .
    21  Homepage: http://www.project-builder.org
     18 Homepage: http://trac.project-builder.org
    2219
  • pbconf/devel/perl-ProjectBuilder/deb/copyright

    r238 r418  
    11This package was originally debianized by Bruno Cornec <bruno@project-builder.org>
    2 Fri, 19 Oct 2007 11:08:11 +0100.
     2Fri, 25 Apr 2008 11:08:11 +0100.
    33
    44The current upstream source was downloaded from
  • projects/mondorescue/pbconf/branches/2.2.6/mindi/pbinit

    r410 r418  
    33# Init script for mondo with Project-Builder
    44#
    5 use ProjectBuilder::CMS qw (pb_cms_export pb_cms_init);
    6 use ProjectBuilder::Filter qw (pb_get_filters pb_filter_file_inplace);
    7 
     5use ProjectBuilder::CMS;
     6use ProjectBuilder::Filter;
     7use ProjectBuilder::Env;
    88
    99my $pbpkg = "PBPKG";
     
    1111my $pbtag = "PBTAG";
    1212my $pbrev = "PBREV";
     13my $pbproj = "PBPROJ";
    1314
    1415# Export documentation to generate what is needed
    1516
     17# Action needs to be pbinit
     18my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
    1619my ($scheme,$uri) = pb_cms_init(undef);
    1720
     
    2023
    2124my $ptr = pb_get_filters($pbpkg);
    22 pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","");
     25pb_filter_file_inplace($ptr,"mindi.8",$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj);
  • projects/mondorescue/pbconf/branches/2.2.6/mondo/pbinit

    r410 r418  
    55
    66# Export documentation to generate what is needed
    7 use ProjectBuilder::Base qw (pb_mkdir_p pb_rm_rf);
    8 use ProjectBuilder::Filter qw (pb_filter_file pb_get_filters);
    9 use ProjectBuilder::CMS qw (pb_cms_init pb_cms_export);
     7use ProjectBuilder::Base;
     8use ProjectBuilder::Filter;
     9use ProjectBuilder::CMS;
     10use ProjectBuilder::Env;
    1011use File::Basename;
    11 
    1212
    1313system("./bootstrap");
     
    2020my $pbtag = "PBTAG";
    2121my $pbrev = "PBREV";
     22my $pbproj = "PBPROJ";
    2223
     24# Action needs to be pbinit
     25my ($filteredfiles, $supfiles, $defpkgdir, $extpkgdir) = pb_env_init($pbproj,undef,"pbinit");
    2326my ($scheme,$uri) = pb_cms_init(undef);
    2427
     
    3437my $ptr = pb_get_filters($pbpkg);
    3538foreach my $f (<docs/mantmp/*>) {
    36     pb_filter_file("$f",$ptr,"docs/man/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"","");
     39    pb_filter_file("$f",$ptr,"docs/man/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj);
    3740}
    3841foreach my $f (<docs/entmp/*>) {
    39     pb_filter_file("$f",$ptr,"docs/en/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"","");
     42    pb_filter_file("$f",$ptr,"docs/en/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"","",$pbproj);
    4043}
    4144pb_rm_rf("docs/entmp");
  • projects/mondorescue/pbconf/branches/2.2.6/pbfilter/all.pbf

    r384 r418  
    2424# PBPKG is replaced by the package name ($pbpkg in code)
    2525filter PBPKG = $pbpkg
     26
     27# PBPROJ is replaced by the project name ($pbproj in code)
     28filter PBPROJ = $pbproj
Note: See TracChangeset for help on using the changeset viewer.