Changeset 1500


Ignore:
Timestamp:
May 8, 2012, 4:12:21 AM (7 years ago)
Author:
bruno
Message:

project-builder-r1426

Location:
devel
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • devel/Makefile.PL

    r1498 r1500  
    66# the contents of the Makefile that is written.
    77WriteMakefile(
    8     NAME         => 'ProjectBuilder',
    9     DISTNAME     => 'ProjectBuilder',
    10     VERSION      => '0.11.3',
     8    NAME         => 'PBPKG',
     9    DISTNAME     => 'PBPKG',
     10    VERSION      => 'PBVER',
    1111    INST_SCRIPT  => 'blib/bin',
    1212    INSTALLDIRS  => 'perl',
  • devel/etc/pb.conf

    r1498 r1500  
    5959#
    6060osrelfile knoppix = /etc/knoppix_version
     61osrelfile oel = /etc/oracle-release
    6162osrelfile yellowdog = /etc/yellowdog-release
    6263osrelfile esmith = /etc/e-smith-release
     
    112113osambiguous debian = debian,ubuntu
    113114osambiguous suse = suse,sles,opensuse
    114 osambiguous redhat = redhat,rhel,centos,mandrake,mandriva,vmware
     115osambiguous redhat = redhat,rhel,centos,mandrake,mandriva,vmware,oel
    115116osambiguous lsb = ubuntu,lsb
    116117
     
    131132osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9]+).* \(
    132133osrelexpr centos = .*CentOS .*release ([0-9]).*
     134osrelexpr oel = Oracle Linux Server) .*release ([0-9]+).* \(
    133135osrelexpr redhat = Red Hat Linux release (.+) \(
    134136osrelexpr sles = SUSE .* Enterprise Server (\d+) \(
     
    165167osfamily sles = novell
    166168osfamily redhat = rh
     169osfamily oel = rh
    167170osfamily rhel = rh
    168171osfamily fedora = rh
     
    210213osupd rpm = sudo /usr/bin/yum clean all; sudo /usr/bin/yum -y update
    211214osupd md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select --no-suggests
     215osupd opensuse-11.1 = sudo /usr/bin/zypper -n update
    212216osupd opensuse = sudo /usr/bin/zypper --gpg-auto-import-keys -n update
    213217osupd sol = /bin/true
     
    225229osins novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo /sbin/yast2 -i
    226230osins opensuse-10.2 = yes | sudo /usr/bin/zypper install
     231osins opensuse-11.1 = sudo /usr/bin/zypper -n install
    227232osins opensuse = sudo /usr/bin/zypper --gpg-auto-import-keys -n install
    228233osins sol = sudo pkgadd -d
     
    246251ossuffix lsb = lsb
    247252ossuffix hpux = sd
     253#ossuffix oel = oel
    248254#ossuffix rhel = rhel
    249255#ossuffix centos = el
     
    288294rbsmindep fedora-14 = ConsoleKit-libs,audit-libs,basesystem,bash,bzip2-libs,c-ares,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,cyrus-sasl-lib,db4,dbus,dbus-libs,device-mapper,device-mapper-libs,dhclient,e2fsprogs,e2fsprogs-libs,elfutils-libelf,expat,fedora-release,fedora-release-notes,file,file-libs,filesystem,findutils,gamin,gawk,gdbm,glib2,glibc,glibc-common,gnupg2,gpgme,grep,info,initscripts,iproute,iputils,keyutils-libs,krb5-libs,libacl,libattr,libcap,libcom_err,libcurl,libgcc,libgcrypt,libgpg-error,libidn,libselinux,libsepol,libssh2,libstdc++,libusb,libxml2,linux-atm-libs,logrotate,lua,mingetty,module-init-tools,ncurses,ncurses-base,ncurses-libs,net-tools,nspr,nss,nss-softokn,nss-softokn-freebl,nss-util,openldap,openssl,pam,passwd,pcre,pinentry,popt,procps,psmisc,pth,pygpgme,python,python-iniparse,python-libs,python-pycurl,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,rsyslog,sed,setup,shadow-utils,sqlite,sysvinit-tools,tzdata,udev,upstart,util-linux-ng,vim-minimal,xz-libs,yum,yum-metadata-parser,zlib
    289295#
     296rbsmindep fedora-15 = ConsoleKit-libs,audit-libs,basesystem,bash,bzip2-libs,c-ares,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,cyrus-sasl-lib,db4,dbus,dbus-libs,device-mapper,device-mapper-libs,dhclient,e2fsprogs,e2fsprogs-libs,elfutils-libelf,expat,fedora-release,fedora-release-notes,file,file-libs,filesystem,findutils,gamin,gawk,gdbm,glib2,glibc,glibc-common,gnupg2,gpgme,grep,info,initscripts,iproute,iputils,keyutils-libs,krb5-libs,libacl,libattr,libcap,libcom_err,libcurl,libgcc,libgcrypt,libgpg-error,libidn,libselinux,libsepol,libssh2,libstdc++,libusb,libxml2,linux-atm-libs,logrotate,lua,mingetty,module-init-tools,ncurses,ncurses-base,ncurses-libs,net-tools,nspr,nss,nss-softokn,nss-softokn-freebl,nss-util,openldap,openssl,pam,passwd,pcre,pinentry,popt,procps,psmisc,pth,pygpgme,python,python-iniparse,python-libs,python-pycurl,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,rsyslog,sed,setup,shadow-utils,sqlite,sysvinit-tools,tzdata,udev,vim-minimal,xz-libs,yum,yum-metadata-parser,zlib
     297#
     298rbsmindep fedora-16 = ConsoleKit-libs,audit-libs,basesystem,bash,bzip2-libs,c-ares,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,cyrus-sasl-lib,db4,dbus,dbus-libs,device-mapper,device-mapper-libs,dhclient,e2fsprogs,e2fsprogs-libs,elfutils-libelf,expat,fedora-release,fedora-release-notes,file,file-libs,filesystem,findutils,gamin,gawk,gdbm,glib2,glibc,glibc-common,gnupg2,gpgme,grep,info,initscripts,iproute,iputils,keyutils-libs,krb5-libs,libacl,libattr,libcap,libcom_err,libcurl,libgcc,libgcrypt,libgpg-error,libidn,libselinux,libsepol,libssh2,libstdc++,libusb,libxml2,linux-atm-libs,logrotate,lua,mingetty,module-init-tools,ncurses,ncurses-base,ncurses-libs,net-tools,nspr,nss,nss-softokn,nss-softokn-freebl,nss-util,openldap,openssl,pam,passwd,pcre,pinentry,popt,procps,psmisc,pth,pygpgme,python,python-iniparse,python-libs,python-pycurl,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,rsyslog,sed,setup,shadow-utils,sqlite,sysvinit-tools,tzdata,udev,vim-minimal,xz-libs,yum,yum-metadata-parser,zlib
     299#
    290300rbsmindep centos-4 = MAKEDEV,SysVinit,audit-libs,basesystem,bash,beecrypt,bzip2-libs,centos-release,coreutils,cracklib,cracklib-dicts,db4,device-mapper,e2fsprogs,elfutils-libelf,ethtool,expat,filesystem,findutils,gawk,gdbm,glib2,glibc,glibc-common,grep,info,initscripts,iproute,iputils,krb5-libs,libacl,libattr,libcap,libgcc,libidn,libselinux,libsepol,libstdc++,libtermcap,libxml2,libxml2-python,mingetty,mktemp,module-init-tools,ncurses,neon,net-tools,openssl,pam,pcre,popt,procps,psmisc,python,python-elementtree,python-sqlite,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,sed,setup,shadow-utils,sqlite,sysklogd,termcap,tzdata,udev,util-linux,yum,yum-metadata-parser,zlib
    291301#
     
    296306#
    297307rbsmindep rhel-5 = MAKEDEV,SysVinit,audit-libs,basesystem,bash,beecrypt,bzip2-libs,coreutils,cracklib,cracklib-dicts,db4,device-mapper,e2fsprogs,e2fsprogs-libs,elfutils-libelf,ethtool,expat,filesystem,findutils,gawk,gdbm,glib2,glibc,glibc-common,grep,info,initscripts,iproute,iputils,krb5-libs,libacl,libattr,libcap,libgcc,libidn,libselinux,libsepol,libstdc++,libsysfs,libtermcap,libxml2,libxml2-python,mcstrans,mingetty,mktemp,module-init-tools,ncurses,neon,net-tools,nss,nspr,openssl,pam,pcre,popt,procps,psmisc,python,python-elementtree,python-iniparse,python-sqlite,python-urlgrabber,readline,redhat-release,rpm,rpm-libs,rpm-python,sed,setup,shadow-utils,sqlite,sysklogd,termcap,tzdata,udev,util-linux,yum,yum-metadata-parser,zlib
     308rbsmindep oel-5 = MAKEDEV,SysVinit,audit-libs,basesystem,bash,beecrypt,bzip2-libs,coreutils,cracklib,cracklib-dicts,db4,device-mapper,e2fsprogs,e2fsprogs-libs,elfutils-libelf,ethtool,expat,filesystem,findutils,gawk,gdbm,glib2,glibc,glibc-common,grep,info,initscripts,iproute,iputils,krb5-libs,libacl,libattr,libcap,libgcc,libidn,libselinux,libsepol,libstdc++,libsysfs,libtermcap,libxml2,libxml2-python,mcstrans,mingetty,mktemp,module-init-tools,ncurses,neon,net-tools,nss,nspr,openssl,pam,pcre,popt,procps,psmisc,python,python-elementtree,python-iniparse,python-sqlite,python-urlgrabber,readline,redhat-release,rpm,rpm-libs,rpm-python,sed,setup,shadow-utils,sqlite,sysklogd,termcap,tzdata,udev,util-linux,yum,yum-metadata-parser,zlib
     309#
     310rbsmindep rhel-6 = MAKEDEV,ConsoleKit-libs,audit-libs,basesystem,bash,bzip2-libs,c-ares,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,cyrus-sasl-lib,db4,dbus,dbus-libs,device-mapper,device-mapper-libs,dhclient,e2fsprogs,e2fsprogs-libs,elfutils-libelf,expat,fedora-release,fedora-release-notes,file,file-libs,filesystem,findutils,gamin,gawk,gdbm,glib2,glibc,glibc-common,gnupg2,gpgme,grep,info,initscripts,iproute,iputils,keyutils-libs,krb5-libs,libacl,libattr,libcap,libcom_err,libcurl,libgcc,libgcrypt,libgpg-error,libidn,libselinux,libsepol,libssh2,libstdc++,libusb,libxml2,linux-atm-libs,logrotate,lua,mingetty,module-init-tools,ncurses,ncurses-base,ncurses-libs,net-tools,nspr,nss,nss-softokn,nss-softokn-freebl,nss-util,openldap,openssl,pam,passwd,pcre,pinentry,popt,procps,psmisc,pth,pygpgme,python,python-iniparse,python-libs,python-pycurl,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,rsyslog,sed,setup,shadow-utils,sqlite,sysvinit-tools,tzdata,udev,upstart,util-linux-ng,vim-minimal,xz-libs,yum,yum-metadata-parser,zlib
     311rbsmindep oel-6 = MAKEDEV,ConsoleKit-libs,audit-libs,basesystem,bash,bzip2-libs,c-ares,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,cyrus-sasl-lib,db4,dbus,dbus-libs,device-mapper,device-mapper-libs,dhclient,e2fsprogs,e2fsprogs-libs,elfutils-libelf,expat,fedora-release,fedora-release-notes,file,file-libs,filesystem,findutils,gamin,gawk,gdbm,glib2,glibc,glibc-common,gnupg2,gpgme,grep,info,initscripts,iproute,iputils,keyutils-libs,krb5-libs,libacl,libattr,libcap,libcom_err,libcurl,libgcc,libgcrypt,libgpg-error,libidn,libselinux,libsepol,libssh2,libstdc++,libusb,libxml2,linux-atm-libs,logrotate,lua,mingetty,module-init-tools,ncurses,ncurses-base,ncurses-libs,net-tools,nspr,nss,nss-softokn,nss-softokn-freebl,nss-util,openldap,openssl,pam,passwd,pcre,pinentry,popt,procps,psmisc,pth,pygpgme,python,python-iniparse,python-libs,python-pycurl,python-urlgrabber,readline,rpm,rpm-libs,rpm-python,rsyslog,sed,setup,shadow-utils,sqlite,sysvinit-tools,tzdata,udev,upstart,util-linux-ng,vim-minimal,xz-libs,yum,yum-metadata-parser,zlib
    298312#
    299313rbsmindep opensuse-10.1 = aaa_base,audit-libs,bash,boost,bzip2,coreutils,cpio,cracklib,curl,cyrus-sasl,db,dbus-1,dbus-1-glib,device-mapper,diffutils,dirmngr,e2fsprogs,ethtool,expat,filesystem,fillup,findutils,gawk,gdbm,glib2,glibc,gpg2,grep,gzip,hal,info,insserv,krb5,libacl,libattr,libcom_err,libicu,libgcc,libgcrypt,libgpg-error,libidn,libksba,libnscd,libreiserfs,libstdc++,libusb,libxcrypt,libxml2,libxml2-python,libzio,libzypp,mingetty,module-init-tools,ncurses,neon,net-tools,openldap2-client,openslp,pam,pam-modules,parted,pciutils,pcre,perl,permissions,pinentry,pmtools,popt,procps,psmisc,pwdutils,python,python-elementtree,python-sqlite,python-urlgrabber,rpm,rpm-python,sed,setserial,sqlite,suse-release,sysvinit,termcap,udev,util-linux,yum,zlib
     
    312326#
    313327rbsmindep opensuse-11.4 = ConsoleKit,cracklib-dict-small,PolicyKit,aaa_base,bash,bzip2,coreutils,cpio,cracklib,cyrus-sasl,dbus-1,dbus-1-glib,device-mapper,diffutils,dirmngr,e2fsprogs,ethtool,expat,filesystem,fillup,findutils,gawk,gdbm,glib2-branding-upstream,glibc,gpg2,grep,gzip,hal,info,insserv,keyutils-libs,krb5,libacl,libassuan0,libattr,libaugeas0,libbz2-1,libcap2,libcom_err2,libcurl4,libdb-4_5,libelf1,libexpat1,libgcc45,libgcrypt11,libglib-2_0-0,libgobject-2_0-0,libgthread-2_0-0,libgpg-error0,libidn,libksba,libldap-2_4-2,liblua5_1,liblzma5,libmodman1,libncurses5,libnscd,libopenssl1_0_0,libpopt0,libproxy1,libreadline6,libreiserfs,libselinux1,libsepol1,libsmbios2,libssh2-1,libstdc++45,libudev0,libusb-0_1-4,libuuid1,libxcrypt,libxml2,libxml2-python,libzio,libzypp,login,mingetty,module-init-tools,ncurses-utils,net-tools,openSUSE-release,openSUSE-release-ftp,openslp,pam,pam-config,pam-modules,parted,pciutils,perl-base,permissions,pinentry,pm-utils,procps,psmisc,pwdutils,python,rpm,rpm-python,satsolver-tools,sed,setserial,sysvinit,termcap,terminfo-base,udev,util-linux,zlib,zypper
     328#
     329rbsmindep opensuse-12.1 = ConsoleKit,cracklib-dict-small,PolicyKit,aaa_base,bash,bzip2,coreutils,cpio,cracklib,cyrus-sasl,dbus-1,dbus-1-glib,device-mapper,diffutils,dirmngr,e2fsprogs,ethtool,expat,filesystem,fillup,findutils,gawk,gdbm,glibc,gpg2,grep,gzip,info,insserv,krb5,libacl1,libassuan0,libattr1,libaugeas0,libbz2-1,libcap2,libcares2,libcom_err2,libcurl4,libdb-4_5,libelf1,libexpat1,libgcc46,libgcrypt11,libglib-2_0-0,libgobject-2_0-0,libgthread-2_0-0,libgpg-error0,libidn,libkeyutils1,libksba,libldap-2_4-2,liblua5_1,liblzma5,libmodman1,libncurses5,libnscd,libopenssl1_0_0,libpopt0,libproxy1,libreadline6,libreiserfs,libselinux1,libsepol1,libsmbios2,libsolv-tools,libssh2-1,libstdc++46,libudev0,libusb-0_1-4,libuuid1,libxcrypt,libxml2,libxml2-python,libzio,libzypp,login,mingetty,module-init-tools,ncurses-utils,net-tools,openSUSE-release,openSUSE-release-ftp,openslp,pam,pam-config,pam-modules,parted,pciutils,perl-base,permissions,pinentry,pm-utils,procps,psmisc,pwdutils,python,rpm,rpm-python,sed,setserial,sysvinit,termcap,terminfo-base,udev,util-linux,zlib,zypper
    314330#
    315331rbsmindep mandriva-2009.1-i386 = makedev,consolekit,basesystem,bash,chkconfig,coreutils,cpio,cracklib,cracklib-dicts,crontabs,dbus,dhcp-client,dirmngr,e2fsprogs,ethtool,expat,file,filesystem,findutils,gamin,gawk,glib2.0-common,glibc,gnupg2,grep,info,initscripts,iproute2,iputils,keyutils,krb5,libacl1,libattr1,libbzip2_1,libdb4.6,libelfutils1,libext2fs2,libidn11,liblua5.1,libmagic1,libncurses5,libnspr4,libnss3,libopenssl0.9.8,libpopt0,libreadline6,librpm4.6,libsqlite3_0,libtermcap2,liblzma2,libgcc1,logrotate,lua,mandriva-release-common,mingetty,module-init-tools,ncurses,net-tools,nss,openldap,openssl,pam,passwd,pcre,perl-base,perl-Config-IniFiles,perl-Locale-gettext,perl-MDV-Distribconf,perl-URPM,procps,psmisc,python,rpm,sed,setup,shadow-utils,udev,urpmi,util-linux-ng,vim-minimal,wget,zlib1
     
    329345
    330346# Where to store packages downloaded temporarily by rpmbootstrap
    331 rbscachedir default = /var/cache/rpmbootstrap
     347cachedir rpmbootstrap = /var/cache/rpmbootstrap
     348cachedir pbmkbm = /var/cache/rpmbootstrap
    332349
    333350# Options to pass to rpmbootstrap command. By default keep downloaded packages
     
    348365#rbsmirrorsrv rhel =
    349366# pbos->{'arch'} == i586 for i386 repo
    350 rbsmirrorsrv opensuse = http://mirrors.kernel.org/opensuse/distribution/$pbos->{'version'}/repo/oss/suse/$pbos->{'arch'}/
     367# kernel.org is not up to date anymore for opensuse
     368#rbsmirrorsrv opensuse = http://mirrors.kernel.org/opensuse/distribution/$pbos->{'version'}/repo/oss/suse/$pbos->{'arch'}/
     369rbsmirrorsrv opensuse = http://download.opensuse.org/distribution/$pbos->{'version'}/repo/oss/suse/$pbos->{'arch'}/
    351370# pbos->{'arch'} == i586 for i386 repo
    352371rbsmirrorsrv mandriva = http://mirrors.kernel.org/mandriva/Mandrakelinux/official/$pbos->{'version'}/$pbos->{'arch'}/media/main/release/
     
    354373#rbsmirrorsrv debian = http://ftp.us.debian.org/debian/
    355374#rbsmirrorsrv ubuntu = http://us.releases.ubuntu.com/releases/
     375#
     376
     377#
     378# pbmkbm configuration parameters
     379#
     380mkbmpath default = /var/cache/pbmkbm
     381vetype pbmkbm = chroot
     382verpmtype pbmkbm = rpmbootstrap
     383vedebtype pbmkbm = debbootstrap
     384
     385# Log command to use to have a sufficient understanding of the environment in which we oprate
     386logcmd pbmkbm = internal
     387# internal or sos, or cfg2html, or ...
     388logopt pbmkbm = --options
     389logfiles pbmkbm = /etc/raidtab,/proc/cmdline,/proc/swaps,/proc/partitions,/proc/filesystems,/proc/lvm,/dev/mapper
     390logcommands pbmkbm = mount,lsmod,esxcfg-module -l,df -T
     391
     392# What is needed at boot time to have a minimal working environment
     393# Directories to create on the target media, even if no file is in it (else it will be created automatically)
     394mkbmtargetdirs linux =  /tmp,/dev
     395# In term of dirs from the original to copy to the target
     396mkbmbootdirs linux =  /etc/modprobe.d/,/etc/ssh,/etc/udev,/etc/hotplug.d,/etc/mdadm,/var/lib/dhcp
     397# In term of files from the original to copy to the target
     398mkbmbootfiles linux = /etc/init.d/functions,/etc/rc.d/functions,/etc/rpc,/etc/netconf,/usr/lib/libnss_compat.so,/usr/lib64/libnss_compat.so,/usr/lib/libnss_files.so,/usr/lib64/libnss_files.so,/etc/modprobe.conf,/etc/conf.modules,/etc/modules.conf.local,/etc/mdadm.conf,/etc/raidtab
     399# In term of commands from the original to copy to the target
     400mkbmbootcmds linux = perl,mt,awk,gawk,dd,grep,uname,df,loadkeys,pidof,gzip,klogd,syslogd,rsyslogd,syslog-ng,mount,mount.nfs,mount.nfs4,sshfs,mount.fuse,fusermount,ssh,ulockmgr_server,mount.cifs,mount.cifs3,mount.smb,mount.smb3,mount.smbfs,mount.smbfs3,mount.ntfs,mount.ntfs-3g,MAKEDEV,udev.static,udevsend,udevd,hwup,path_id,scsi_tur,udeadm,udevstart.static,udev_volume_id,start_udev,udevstart,create_static_dev_nodes,scsi_id,insmod,lsmod,modprobe,mdadm,mdassemble,raidstart,multipath,dmsetup,kpartx,dmraid,mpath_prio_alua,mpath_wait,mpath_ctl,mpath_prio_emc,mpath_prio_hds_modular,mpath_prio_netapp,mpath_prio_ontap,mpath_prio_rdac,mpath_prio_tpc,ping,ifconfig,ip,route,dhclient,dhcpcd,
     401
     402# Where is your kernel file - optional if you want to really be sure of what is used
     403#mkbmkerneldir linux = /boot
     404# Where is your kernel directory
     405mkbmkerneldir linux = /boot
     406#mkbmkerneldir linux = /boot/efi
     407# What is the regular expression to find the kernel file
     408mkbmkernelnamere linux = ^linu|^vmlinu|^xen
     409
     410# Files to add on the boot media to support a full working system
     411mkbmbasefiles linux = /etc/modules.conf,/etc/fstab,/etc/hosts,/etc/host.conf,/etc/resolv.conf,/etc/hosts.allow,/etc/hosts.deny,/etc/nsswitch.conf,/usr/share/misc/file/magic,/usr/share/file/magic,/usr/share/file/magic.mgc
     412#mkbmbasefiles lsb-3.2 = /usr/share/misc/file/magic,/usr/share/misc/magic.mgc
     413## Dirs to add
     414mkbmbasedirs linux =
     415# Commands to add
     416mkbmbasecmds linux = file,bzip2,bunzip2,bash,date,ctrlaltdel,wc,xargs,less,ldconfig,tee,efibootmgr,lilo,grub,elilo,fdisk,parted
     417#
     418# To support debug
     419mkbmdbgfiles linux =
     420mkbmdbgcmds linux = ldd,strace,valgrind,dmidecode,lsusb,lshw,lspci,ethtool
     421mkbmdbgdirs linux = /usr/lib/valgrind,/usr/lib64/valgrind
     422
     423# Where are the ISO bootloader for this OS
     424mkbmisobl linux = /usr/lib/syslinux/isolinux.bin,/usr/lib64/syslinux/isolinux.bin
     425mkbmkbd mageia = /usr/lib/kbd
    356426
    357427# pb install dependencies per distro
     
    461531oscodename debian-5.0 = lenny
    462532oscodename debian-6.0 = squeeze
     533oscodename debian-7.0 = wheezy
    463534oscodename ubuntu-6.06 = dapper
    464535oscodename ubuntu-7.04 = feisty
     
    471542oscodename ubuntu-10.10 = maverick
    472543oscodename ubuntu-11.04 = natty
     544oscodename ubuntu-11.10 = oneiric
    473545
    474546# Commands needed on the underlying system
     
    477549oscmd rpmbootstrap = rpm,rpm2cpio,wget
    478550#oscmdopt rpmbootstrap =
    479 #
     551oscmd pbmkbm =
     552oscmdopt pbmkbm =
     553#
     554# If busybox, which one is used (from mindi, or native, ...)
     555ospathcmd-busybox default = /usr/lib/mindi/rootfs/bin/busybox
     556
     557# Where is the keyboard config file
     558ospathcmd-keyfile default = /etc/rc.config
     559ospathcmd-keyfile rpm = /etc/sysconfig/keyboard
     560ospathcmd-keyfile slackware = /etc/rc.d/rc.keymap
     561ospathcmd-keyfile debian = /etc/console/boottime.kmap.gz
     562ospathcmd-keyfile ubuntu = /etc/console-setup/boottime.kmap.gz,/etc/console-setup/cached.kmap.gz
     563ospathcmd-keyfile arch = /etc/rc.conf
     564ospathcmd-keyfile gentoo = /etc/conf.d/keymaps
     565# Where is the keyboard directory
     566ospathcmd-keymapdir default = /usr/lib/kbd/keymaps
     567# ???
     568ospathcmd-keymapdir slackware = /usr/share/kbd/keymaps
     569# Regular expression to find the locale in the keymap file
     570ospathcmd-keymapre rpm = s/^KEYTABLE="([[:alpha:]]+)"/$1/
     571ospathcmd-keymapre arch = s/^KEYMAP="([[:alpha:]]+)"/$1/
     572ospathcmd-keymapre gentoo = s/^KEYMAP="([[:alpha:]]+)"/$1/
     573ospathcmd-keymapre slack = s/\w\s([[:alpha:]]+.map)/$1/
    480574
    481575# Some path for commands may defer from one system to another
     
    507601oschkcmd deb = /usr/bin/lintian
    508602oschkopt deb =
     603ospatchcmd default = /usr/bin/patch
     604ospatchopt default = -s -p1
    509605
    510606# sha method for yum repo
     
    524620ossha fedora-9 = sha1
    525621ossha fedora-10 = sha1
     622
     623#
     624# CPAN upload info (info from cpanupload)
     625#
     626cpanpause default = pause.perl.org
     627cpandir default = incoming
     628cpansubdir default =
     629cpanurl default = http://pause.perl.org/pause/authenquery
     630#cpanuser default = XXX
     631#cpanpasswd default = YYY
  • devel/etc/pb.conf.pod

    r1498 r1500  
    1212=head1 SYNOPSIS
    1313
    14 Those files have the same format, which is near from a a perl hash structure:
     14Those files have the same format, which is near from a perl hash structure:
    1515keyword key = value1[,value2,...]
    1616
     
    2222
    2323=over 4
     24
     25=item B<checkexclude>
     26
     27 Nature: Optional
     28 Key: package (as provided in defpkgdir or extpkgdir)
     29 Value: coma separated list of OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch) that are excluded from the checkssh command (no build made for them). The OS name is generaly used here.
     30 Conffile: project
     31 Example: checkexclude pkg1 = centos,lsb,solaris
     32
     33=item B<cpandir>
     34
     35 Nature: Optional
     36 Key: project (as defined in the -p option or PBPROJ environment variable)
     37 Value: CPAN Pause directory to upload new modules
     38 Conffile: pb
     39 Example: cpandir default = incoming
     40
     41=item B<cpanpasswd>
     42
     43 Nature: Optional
     44 Key: project (as defined in the -p option or PBPROJ environment variable)
     45 Value: CPAN Pause user's password
     46 Conffile: home
     47 Example: cpanpasswd default = mycomplicatedpwd
     48
     49=item B<cpanpause>
     50
     51 Nature: Optional
     52 Key: project (as defined in the -p option or PBPROJ environment variable)
     53 Value: CPAN Pause site to upload new modules
     54 Conffile: pb
     55 Example: cpanpause default = pause.perl.org
     56
     57=item B<cpansubdir>
     58
     59 Nature: Optional
     60 Key: project (as defined in the -p option or PBPROJ environment variable)
     61 Value: CPAN Pause subdirectory in the user's area to upload into
     62 Conffile: pb
     63 Example: cpansubdir default = mydir
     64
     65=item B<cpanurl>
     66
     67 Nature: Optional
     68 Key: project (as defined in the -p option or PBPROJ environment variable)
     69 Value: CPAN Pause URL to activate the upload mecanism
     70 Conffile: pb
     71 Example: cpanurl default = http://pause.perl.org/pause/authenquery
     72
     73=item B<cpanuser>
     74
     75 Nature: Optional
     76 Key: project (as defined in the -p option or PBPROJ environment variable)
     77 Value: CPAN Pause user
     78 Conffile: home
     79 Example: cpanuser default = XXX
    2480
    2581=item B<defpkgdir>
     
    55111 Example: filteredfiles mindi = rootfs/sbin/init,mindi,install.sh,doc/mindi.8
    56112
     113=item B<logcmd>
     114
     115 Nature: Mandatory
     116 Key: project (as defined in the -p option or PBPROJ environment variable)
     117 Value: internal (the application then handles the logging of what it finds useful) or the name of an application to launch to log context (e.g. sos, cfg2html, ...).
     118 Conffile: pb
     119 Example: logcmd pbmkbm = sos
     120
     121=item B<logcmds>
     122
     123 Nature: Optional
     124 Key: project (as defined in the -p option or PBPROJ environment variable)
     125 Value: In case the B<logcmd> command is internal, a coma separated list of the commands whose trace execution is to be captured in order to log context.
     126 Conffile: pb
     127 Example: logcmds pbmkbm = mount,lsmod,esxcfg-module -l,df -T
     128
     129=item B<logfiles>
     130
     131 Nature: Optional
     132 Key: project (as defined in the -p option or PBPROJ environment variable)
     133 Value: In case the B<logcmd> command is internal, a coma separated list of the files to capture in order to log context.
     134 Conffile: pb
     135 Example: logfiles pbmkbm = /etc/raidtab,/proc/cmdline,/proc/swaps
     136
     137=item B<logopt>
     138
     139 Nature: Optional
     140 Key: project (as defined in the -p option or PBPROJ environment variable)
     141 Value: In case the B<logcmd> command is not internal, the options of the B<logcmd> application to launch to log context
     142 Conffile: pb
     143 Example: logcmd pbmkbm = --all
     144
     145=item B<mkbmbootcmds>
     146
     147 Nature: Mandatory
     148 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     149 Value: coma separated list of commands to be copied from the original OS to the target boot media tree (works recursively for directory creation on the target). Their actual path is deduced from the PATH variable.
     150 Conffile: pb
     151 Example: mkbmbootcmds linux = perl,awk,gawk,dd,grep,uname
     152
     153=item B<mkbmbootdirs>
     154
     155 Nature: Mandatory
     156 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     157 Value: coma separated list of directories to be copied from the original OS to the target boot media tree (works recursively on the target).
     158 Conffile: pb
     159 Example: mkbmbootdirs linux = /etc/ssh,/etc/udev,/etc/mdadm
     160
     161=item B<mkbmbootfiles>
     162
     163 Nature: Mandatory
     164 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     165 Value: coma separated list of files to be copied from the original OS to the target boot media tree (works recursively for directory creation on the target).
     166 Conffile: pb
     167 Example: mkbmbootfiles linux = /etc/mdadm.conf,/etc/raidtab,/etc/modprobe.conf
     168
     169=item B<mkbmkerneldir>
     170
     171 Nature: Mandatory
     172 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     173 Value: path of the directory containing your kernel.
     174 Conffile: pb
     175 Example: mkbmkerneldir linux = /boot
     176
     177=item B<mkbmkernelfile>
     178
     179 Nature: Optional
     180 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     181 Value: full path of the your kernel.
     182 Conffile: pb
     183 Example: mkbmkernelfile linux = /boot/vmlinuz-specific
     184
     185=item B<mkbmkernelnamere>
     186
     187 Nature: Mandatory
     188 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     189 Value: Perl Regular Expression allowing to find OS kernel names in the B<kerneldir> directory.
     190 Conffile: pb
     191 Example: mkbmkerneldir linux = ^linu|^vmlinu|^xen
     192
     193=item B<mkbmpath>
     194
     195 Nature: Mandatory
     196 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     197 Value: path of the temporary directory into which the boot media is created.
     198 Conffile: pb
     199 Example: mkbmpath default = /var/cache/pbmkbm
     200
     201=item B<mkbmtargetdirs>
     202
     203 Nature: Mandatory
     204 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     205 Value: coma separated list of empty directory paths to be created on the target boot media.
     206 Conffile: pb
     207 Example: mkbmtargetdirs linux = /tmp,/dev
     208
    57209=item B<namingtype>
    58210
     
    142294 Conffile: pb
    143295 Example: osnover gentoo = true
     296
     297=item B<ospatchcmd>
     298
     299 Nature: Optional
     300 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
     301 Value: package patch command. For RPM is implicit.
     302 Conffile: pb
     303 Example: ospatchcmd deb = /usr/bin/patch
     304
     305=item B<ospatchopt>
     306
     307 Nature: Optional
     308 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
     309 Value: package patch options.
     310 Conffile: pb
     311 Example: ospatchcmd deb = -s -p1
    144312
    145313=item B<ospathcmd-*>
  • devel/lib/ProjectBuilder/Base.pm

    r1498 r1500  
    3939
    4040our @ISA = qw(Exporter);
    41 our @EXPORT = qw(pb_mkdir_p pb_system pb_rm_rf pb_get_date pb_log pb_log_init pb_get_uri pb_get_content pb_set_content pb_display_file pb_syntax_init pb_syntax pb_temp_init pb_get_arch pb_check_requirements pb_check_req $pbdebug $pbLOG $pbdisplaytype $pblocale);
     41our @EXPORT = qw(pb_mkdir_p pb_system pb_rm_rf pb_get_date pb_log pb_log_init pb_get_uri pb_get_content pb_set_content pb_display_file pb_syntax_init pb_syntax pb_temp_init pb_get_arch pb_get_osrelease pb_check_requirements pb_check_req $pbdebug $pbLOG $pbdisplaytype $pblocale);
    4242($VERSION,$REVISION) = pb_version_init();
    4343
     
    5050=head1 DESCRIPTION
    5151
    52 This modules provides generic functions suitable for perl project development
     52This module provides generic functions suitable for perl project development
    5353
    5454=head1 SYNOPSIS
     
    384384}
    385385
     386=item B<pb_get_osrelease>
     387
     388This function returns the release of our operating system
     389
     390=cut
     391
     392sub pb_get_osrelease {
     393
     394# On linux can also use /proc/sys/kernel/osrelease
     395my $rel = `uname -r`;
     396chomp($rel);
     397return($rel);
     398}
     399
     400
    386401=item B<pb_get_arch>
    387402
     
    467482} else {
    468483    pb_log(2,"OK\n");
    469     return($found);
    470 }
     484}
     485return($found);
    471486}
    472487
  • devel/lib/ProjectBuilder/Distribution.pm

    r1498 r1500  
    560560
    561561This function gets the OS context passed as parameter and return the corresponding distribution hash
     562If passed undef or "" then auto-detects
    562563
    563564=cut
     
    569570my $pbos;
    570571
    571 if (defined $os) {
     572if ((defined $os) && ($os ne "")) {
    572573    my ($name,$ver,$darch) = split(/-/,$os);
    573574    pb_log(0,"Bad format for $os") if ((not defined $name) || (not defined $ver) || (not defined $darch)) ;
  • devel/lib/ProjectBuilder/Version.pm

    r1498 r1500  
    1919our @EXPORT = qw(pb_version_init);
    2020
    21 $VERSION = "0.11.3";
    22 $REVISION = "1307";
     21$VERSION = "PBVER";
     22$REVISION = "PBREV";
    2323
    2424sub pb_version_init {
Note: See TracChangeset for help on using the changeset viewer.