Changeset 1204


Ignore:
Timestamp:
Feb 18, 2011, 10:28:59 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Add debian 6.0 build support and VMs
  • use --no-suggests for urpmi to allow for minimal chorrot build
  • Adapt pbinit for website to new b structure (needs to be tested)
  • add afio build for debian based distro (and build it fr latest debian 6 and ubuntu 10.10)
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf

    r1198 r1204  
    206206osupd gen = sudo /usr/bin/emerge --update --deep world; sudo /usr/bin/revdep-rebuild
    207207osupd rpm = sudo /usr/bin/yum clean all; sudo /usr/bin/yum -y update
    208 osupd md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select
     208osupd md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select --no-suggests
    209209osupd opensuse = sudo zypper -n update
    210210osupd sol = /bin/true
     
    219219osins rhel-3 = sudo up2date -y
    220220osins rhel-4 = sudo up2date -y
    221 osins md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto
     221osins md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --no-suggests
    222222osins novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 -i
    223223osins opensuse-10.2 = sudo yes | zypper install
  • pbconf/devel/website/pbinit

    r1178 r1204  
    3939pb_mkdir_p("docs");
    4040pb_mkdir_p("tmp");
    41 my %pb;
    42 $pb{'pkg'} = "PBPKG";
    43 $pb{'ver'} = "PBVER";
    44 $pb{'tag'} = "PBTAG";
    45 $pb{'rev'} = "PBREV";
    46 $pb{'proj'} = "PBPROJ";
    47 $pb{'date'} = "PBDATE";
    48 $pb{'repo'} = "PBREPO";
    49 $pb{'realpkg'} = "PBREALPKG";
    50 $pb{'packager'} = q/PBPACKAGER/;
    51 $pb{'chglog'} = "";
     41my $pb;
     42$pb->{'pkg'} = "PBPKG";
     43$pb->{'ver'} = "PBVER";
     44$pb->{'tag'} = "PBTAG";
     45$pb->{'rev'} = "PBREV";
     46$pb->{'proj'} = "PBPROJ";
     47$pb->{'date'} = "PBDATE";
     48$pb->{'repo'} = "PBREPO";
     49$pb->{'realpkg'} = "PBREALPKG";
     50$pb->{'packager'} = q/PBPACKAGER/;
     51$pb->{'chglog'} = "";
    5252
    5353# Action needs to be pbinit
     
    7171    pb_log(0,"\nProcessing $f\n");
    7272    pb_log(0,"==========================\n");
    73     pb_filter_file_inplace($ptr,$f,\%pb);
     73    pb_filter_file_inplace($ptr,$f,$pb);
    7474    my $ext = 1;
    7575    if ($f =~ /\.pod/) {
  • projects/afio/pbconf/2.5/afio.pb

    r1175 r1204  
    6868#supfiles afio = afio.init
    6969
    70 vmlist afio = asianux-2-i386,asianux-3-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,asianux-2-x86_64,asianux-3-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64
    71 6_64,ubuntu-10.04-x86_64,ubuntu-10.10-x86_64
     70vmlist afio = asianux-2-i386,asianux-3-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,asianux-2-x86_64,asianux-3-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64,debian-6.0-i386,ubuntu-10.10-i386,debian-6.0-x86_64,ubuntu-10.10-x86_64
  • projects/afio/pbconf/2.5/afio/deb/afio.dirs

    r451 r1204  
     1script1
     2script2
     3script3
     4script4
     5script5
  • projects/afio/pbconf/2.5/afio/deb/afio.docs

    r451 r1204  
    1 INSTALL
    2 COPYING
    3 AUTHORS
    4 NEWS
     1INSTALLATION
    52README
     3HISTORY
     4PORTING
     5SCRIPTS
     6ANNOUNCE-2.5
  • projects/afio/pbconf/2.5/afio/deb/rules

    r451 r1204  
    2121
    2222ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    23         CFLAGS += -O0
     23    CFLAGS += -O0
    2424else
    25         CFLAGS += -O2
     25    CFLAGS += -O2
    2626endif
    2727ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
    28         INSTALL_PROGRAM += -s
     28    INSTALL_PROGRAM += -s
    2929endif
    30 config.status: configure
    31         dh_testdir
    32 
    33         # Configure the package.
    34         CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
    35  --mandir=\$${prefix}/share/man
    3630
    3731# Build both architecture dependent and independent
    38 build: build-arch build-indep
     32build: build-arch
    3933
    4034# Build architecture dependent
    4135build-arch: build-arch-stamp
    4236
    43 build-arch-stamp:  config.status
    44         dh_testdir
     37build-arch-stamp:
     38    dh_testdir
    4539
    46         # Compile the package.
    47         $(MAKE)
    48 
    49         touch build-stamp
    50 
    51 # Build architecture independent
    52 build-indep: build-indep-stamp
    53 
    54 build-indep-stamp:  config.status
    55         # Nothing to do, the only indep item is the manual which is available as html in original source
    56         touch build-indep-stamp
     40    # Compile the package.
     41    $(MAKE)
     42    chmod 644 script*/*
     43    touch build-stamp
    5744
    5845# Clean up
    5946clean:
    60         dh_testdir
    61         dh_testroot
    62         rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
    63         # Clean temporary document directory
    64         rm -rf debian/doc-temp
    65         # Clean up.
    66         -$(MAKE) distclean
    67         rm -f config.log
     47    dh_testdir
     48    dh_testroot
     49    rm -f build-arch-stamp #CONFIGURE-STAMP#
     50    # Clean temporary document directory
     51    rm -rf debian/doc-temp
     52    # Clean up.
     53    -$(MAKE) distclean
     54    rm -f config.log
    6855ifneq "$(wildcard /usr/share/misc/config.sub)" ""
    69         cp -f /usr/share/misc/config.sub config.sub
     56    cp -f /usr/share/misc/config.sub config.sub
    7057endif
    7158ifneq "$(wildcard /usr/share/misc/config.guess)" ""
    72         cp -f /usr/share/misc/config.guess config.guess
     59    cp -f /usr/share/misc/config.guess config.guess
    7360endif
    7461
    75         dh_clean
     62    dh_clean
    7663
    7764# Install architecture dependent and independent
    78 install: install-arch install-indep
     65install: install-arch
    7966
    8067# Install architecture dependent
    8168install-arch: build-arch
    82         dh_testdir
    83         dh_testroot
    84         dh_clean -k -s
    85         dh_installdirs -s
     69    dh_testdir
     70    dh_testroot
     71    dh_clean -k -s
     72    dh_installdirs -s
    8673
    87         # Install the package files into build directory:
    88         # - start with upstream make install
    89         $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE_NAME)/usr mandir=$(CURDIR)/debian/$(PACKAGE_NAME)/us
    90 r/share/man
    91         # - copy html manual to temporary location for renaming
    92         mkdir -p debian/doc-temp
    93         dh_install -s
    94 
    95 # Install architecture independent
    96 install-indep: build-indep
    97         dh_testdir
    98         dh_testroot
    99         dh_clean -k -i
    100         dh_installdirs -i
    101         dh_install -i
     74    # Install the package files into build directory:
     75    dh_install -s
     76    rm -rf $(CURDIR)/debian/$(PACKAGE_NAME)
     77    mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/bin
     78    mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man/man1
     79    install -p -m 755 afio $(CURDIR)/debian/$(PACKAGE_NAME)/usr/bin
     80    install -p -m 644 afio.1 $(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man/man1
    10281
    10382# Must not depend on anything. This is to be called by
     
    10584# in another 'make' thread.
    10685binary-common:
    107         dh_testdir
    108         dh_testroot
    109         dh_installchangelogs ChangeLog
    110         dh_installdocs
    111         dh_installman
    112         dh_link
    113         dh_strip
    114         dh_compress
    115         dh_fixperms
    116         dh_installdeb
    117         dh_shlibdeps
    118         dh_gencontrol
    119         dh_md5sums
    120         dh_builddeb
    121 
    122 # Build architecture independant packages using the common target.
    123 binary-indep: build-indep install-indep
    124         $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
     86    dh_testdir
     87    dh_testroot
     88    #dh_installchangelogs changelog
     89    dh_installdocs
     90    dh_installman
     91    dh_link
     92    dh_strip
     93    dh_compress
     94    dh_fixperms
     95    dh_installdeb
     96    dh_shlibdeps
     97    dh_gencontrol
     98    dh_md5sums
     99    dh_builddeb
    125100
    126101# Build architecture dependant packages using the common target.
    127102binary-arch: build-arch install-arch
    128         $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
     103    $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
    129104
    130105# Build architecture depdendent and independent packages
    131 binary: binary-arch binary-indep
     106binary: binary-arch
    132107.PHONY: clean binary
    133108
  • projects/buffer/pbconf/1.19/pbfilter/deb.pbf

    r457 r1204  
    1212
    1313# PBDEP is replaced by the list of dependencies
    14 #filter PBDEP =
     14filter PBDEP =
    1515
    1616# PBSUG is replaced by the list of suggestions
    17 #filter PBSUG =
     17filter PBSUG =
    1818
    1919# PBREC is replaced by the list of recommandations
    20 #filter PBREC =
     20filter PBREC =
    2121
  • projects/qemu/.pbrc

    r1175 r1204  
    6363# a XEN rhel-5-x86_64 here means that the VM will be named rhel-5-x86_64.qemu
    6464#
    65 vmlist default = asianux-2-i386,asianux-3-i386,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,mandriva-2008.1-i386,mandriva-2009.0-i386,mandriva-2009.1-i386,mandriva-2010.0-i386,mandriva-2010.1-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,opensuse-10.3-i386,opensuse-11.0-i386,opensuse-11.1-i386,opensuse-11.2-i386,opensuse-11.3-i386,sles-9-i386,sles-10-i386,sles-11-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,debian-5.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,ubuntu-8.04-i386,ubuntu-8.10-i386,ubuntu-9.04-i386,ubuntu-9.10-i386,ubuntu-10.04-i386,ubuntu-10.10-i386,solaris-10-i386,asianux-2-x86_64,asianux-3-x86_64,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,mandriva-2008.1-x86_64,mandriva-2009.0-x86_64,mandriva-2009.1-x86_64,mandriva-2010.0-x86_64,mandriva-2010.1-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64,suse-10.2-x86_64,opensuse-10.3-x86_64,opensuse-11.0-x86_64,opensuse-11.1-x86_64,opensuse-11.2-x86_64,opensuse-11.3-x86_64,sles-10-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,debian-5.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64,ubuntu-8.04-x86_64,ubuntu-8.10-x86_64,ubuntu-9.04-x86_64,ubuntu-9.10-x86_64,ubuntu-10.04-x86_64,ubuntu-10.10-x86_64
     65vmlist default = asianux-2-i386,asianux-3-i386,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,mandriva-2008.1-i386,mandriva-2009.0-i386,mandriva-2009.1-i386,mandriva-2010.0-i386,mandriva-2010.1-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,opensuse-10.3-i386,opensuse-11.0-i386,opensuse-11.1-i386,opensuse-11.2-i386,opensuse-11.3-i386,sles-9-i386,sles-10-i386,sles-11-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,debian-5.0-i386,debian-6.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,ubuntu-8.04-i386,ubuntu-8.10-i386,ubuntu-9.04-i386,ubuntu-9.10-i386,ubuntu-10.04-i386,ubuntu-10.10-i386,solaris-10-i386,asianux-2-x86_64,asianux-3-x86_64,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,mandriva-2008.1-x86_64,mandriva-2009.0-x86_64,mandriva-2009.1-x86_64,mandriva-2010.0-x86_64,mandriva-2010.1-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64,suse-10.2-x86_64,opensuse-10.3-x86_64,opensuse-11.0-x86_64,opensuse-11.1-x86_64,opensuse-11.2-x86_64,opensuse-11.3-x86_64,sles-10-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,debian-5.0-x86_64,debian-6.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64,ubuntu-8.04-x86_64,ubuntu-8.10-x86_64,ubuntu-9.04-x86_64,ubuntu-9.10-x86_64,ubuntu-10.04-x86_64,ubuntu-10.10-x86_64
Note: See TracChangeset for help on using the changeset viewer.