- Timestamp:
- May 8, 2012, 4:12:21 AM (13 years ago)
- Location:
- devel
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/Makefile.PL
r1498 r1500 6 6 # the contents of the Makefile that is written. 7 7 WriteMakefile( 8 NAME => 'P rojectBuilder',9 DISTNAME => 'P rojectBuilder',10 VERSION => ' 0.11.3',8 NAME => 'PBPKG', 9 DISTNAME => 'PBPKG', 10 VERSION => 'PBVER', 11 11 INST_SCRIPT => 'blib/bin', 12 12 INSTALLDIRS => 'perl', -
devel/etc/pb.conf
r1498 r1500 59 59 # 60 60 osrelfile knoppix = /etc/knoppix_version 61 osrelfile oel = /etc/oracle-release 61 62 osrelfile yellowdog = /etc/yellowdog-release 62 63 osrelfile esmith = /etc/e-smith-release … … 112 113 osambiguous debian = debian,ubuntu 113 114 osambiguous suse = suse,sles,opensuse 114 osambiguous redhat = redhat,rhel,centos,mandrake,mandriva,vmware 115 osambiguous redhat = redhat,rhel,centos,mandrake,mandriva,vmware,oel 115 116 osambiguous lsb = ubuntu,lsb 116 117 … … 131 132 osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9]+).* \( 132 133 osrelexpr centos = .*CentOS .*release ([0-9]).* 134 osrelexpr oel = Oracle Linux Server) .*release ([0-9]+).* \( 133 135 osrelexpr redhat = Red Hat Linux release (.+) \( 134 136 osrelexpr sles = SUSE .* Enterprise Server (\d+) \( … … 165 167 osfamily sles = novell 166 168 osfamily redhat = rh 169 osfamily oel = rh 167 170 osfamily rhel = rh 168 171 osfamily fedora = rh … … 210 213 osupd rpm = sudo /usr/bin/yum clean all; sudo /usr/bin/yum -y update 211 214 osupd md = sudo /usr/bin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select --no-suggests 215 osupd opensuse-11.1 = sudo /usr/bin/zypper -n update 212 216 osupd opensuse = sudo /usr/bin/zypper --gpg-auto-import-keys -n update 213 217 osupd sol = /bin/true … … 225 229 osins novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo /sbin/yast2 -i 226 230 osins opensuse-10.2 = yes | sudo /usr/bin/zypper install 231 osins opensuse-11.1 = sudo /usr/bin/zypper -n install 227 232 osins opensuse = sudo /usr/bin/zypper --gpg-auto-import-keys -n install 228 233 osins sol = sudo pkgadd -d … … 246 251 ossuffix lsb = lsb 247 252 ossuffix hpux = sd 253 #ossuffix oel = oel 248 254 #ossuffix rhel = rhel 249 255 #ossuffix centos = el … … 288 294 rbsmindep 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 289 295 # 296 rbsmindep 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 # 298 rbsmindep 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 # 290 300 rbsmindep 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 291 301 # … … 296 306 # 297 307 rbsmindep 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 308 rbsmindep 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 # 310 rbsmindep 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 311 rbsmindep 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 298 312 # 299 313 rbsmindep 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 … … 312 326 # 313 327 rbsmindep 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 # 329 rbsmindep 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 314 330 # 315 331 rbsmindep 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 … … 329 345 330 346 # Where to store packages downloaded temporarily by rpmbootstrap 331 rbscachedir default = /var/cache/rpmbootstrap 347 cachedir rpmbootstrap = /var/cache/rpmbootstrap 348 cachedir pbmkbm = /var/cache/rpmbootstrap 332 349 333 350 # Options to pass to rpmbootstrap command. By default keep downloaded packages … … 348 365 #rbsmirrorsrv rhel = 349 366 # 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'}/ 369 rbsmirrorsrv opensuse = http://download.opensuse.org/distribution/$pbos->{'version'}/repo/oss/suse/$pbos->{'arch'}/ 351 370 # pbos->{'arch'} == i586 for i386 repo 352 371 rbsmirrorsrv mandriva = http://mirrors.kernel.org/mandriva/Mandrakelinux/official/$pbos->{'version'}/$pbos->{'arch'}/media/main/release/ … … 354 373 #rbsmirrorsrv debian = http://ftp.us.debian.org/debian/ 355 374 #rbsmirrorsrv ubuntu = http://us.releases.ubuntu.com/releases/ 375 # 376 377 # 378 # pbmkbm configuration parameters 379 # 380 mkbmpath default = /var/cache/pbmkbm 381 vetype pbmkbm = chroot 382 verpmtype pbmkbm = rpmbootstrap 383 vedebtype pbmkbm = debbootstrap 384 385 # Log command to use to have a sufficient understanding of the environment in which we oprate 386 logcmd pbmkbm = internal 387 # internal or sos, or cfg2html, or ... 388 logopt pbmkbm = --options 389 logfiles pbmkbm = /etc/raidtab,/proc/cmdline,/proc/swaps,/proc/partitions,/proc/filesystems,/proc/lvm,/dev/mapper 390 logcommands 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) 394 mkbmtargetdirs linux = /tmp,/dev 395 # In term of dirs from the original to copy to the target 396 mkbmbootdirs 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 398 mkbmbootfiles 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 400 mkbmbootcmds 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 405 mkbmkerneldir linux = /boot 406 #mkbmkerneldir linux = /boot/efi 407 # What is the regular expression to find the kernel file 408 mkbmkernelnamere linux = ^linu|^vmlinu|^xen 409 410 # Files to add on the boot media to support a full working system 411 mkbmbasefiles 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 414 mkbmbasedirs linux = 415 # Commands to add 416 mkbmbasecmds linux = file,bzip2,bunzip2,bash,date,ctrlaltdel,wc,xargs,less,ldconfig,tee,efibootmgr,lilo,grub,elilo,fdisk,parted 417 # 418 # To support debug 419 mkbmdbgfiles linux = 420 mkbmdbgcmds linux = ldd,strace,valgrind,dmidecode,lsusb,lshw,lspci,ethtool 421 mkbmdbgdirs linux = /usr/lib/valgrind,/usr/lib64/valgrind 422 423 # Where are the ISO bootloader for this OS 424 mkbmisobl linux = /usr/lib/syslinux/isolinux.bin,/usr/lib64/syslinux/isolinux.bin 425 mkbmkbd mageia = /usr/lib/kbd 356 426 357 427 # pb install dependencies per distro … … 461 531 oscodename debian-5.0 = lenny 462 532 oscodename debian-6.0 = squeeze 533 oscodename debian-7.0 = wheezy 463 534 oscodename ubuntu-6.06 = dapper 464 535 oscodename ubuntu-7.04 = feisty … … 471 542 oscodename ubuntu-10.10 = maverick 472 543 oscodename ubuntu-11.04 = natty 544 oscodename ubuntu-11.10 = oneiric 473 545 474 546 # Commands needed on the underlying system … … 477 549 oscmd rpmbootstrap = rpm,rpm2cpio,wget 478 550 #oscmdopt rpmbootstrap = 479 # 551 oscmd pbmkbm = 552 oscmdopt pbmkbm = 553 # 554 # If busybox, which one is used (from mindi, or native, ...) 555 ospathcmd-busybox default = /usr/lib/mindi/rootfs/bin/busybox 556 557 # Where is the keyboard config file 558 ospathcmd-keyfile default = /etc/rc.config 559 ospathcmd-keyfile rpm = /etc/sysconfig/keyboard 560 ospathcmd-keyfile slackware = /etc/rc.d/rc.keymap 561 ospathcmd-keyfile debian = /etc/console/boottime.kmap.gz 562 ospathcmd-keyfile ubuntu = /etc/console-setup/boottime.kmap.gz,/etc/console-setup/cached.kmap.gz 563 ospathcmd-keyfile arch = /etc/rc.conf 564 ospathcmd-keyfile gentoo = /etc/conf.d/keymaps 565 # Where is the keyboard directory 566 ospathcmd-keymapdir default = /usr/lib/kbd/keymaps 567 # ??? 568 ospathcmd-keymapdir slackware = /usr/share/kbd/keymaps 569 # Regular expression to find the locale in the keymap file 570 ospathcmd-keymapre rpm = s/^KEYTABLE="([[:alpha:]]+)"/$1/ 571 ospathcmd-keymapre arch = s/^KEYMAP="([[:alpha:]]+)"/$1/ 572 ospathcmd-keymapre gentoo = s/^KEYMAP="([[:alpha:]]+)"/$1/ 573 ospathcmd-keymapre slack = s/\w\s([[:alpha:]]+.map)/$1/ 480 574 481 575 # Some path for commands may defer from one system to another … … 507 601 oschkcmd deb = /usr/bin/lintian 508 602 oschkopt deb = 603 ospatchcmd default = /usr/bin/patch 604 ospatchopt default = -s -p1 509 605 510 606 # sha method for yum repo … … 524 620 ossha fedora-9 = sha1 525 621 ossha fedora-10 = sha1 622 623 # 624 # CPAN upload info (info from cpanupload) 625 # 626 cpanpause default = pause.perl.org 627 cpandir default = incoming 628 cpansubdir default = 629 cpanurl default = http://pause.perl.org/pause/authenquery 630 #cpanuser default = XXX 631 #cpanpasswd default = YYY -
devel/etc/pb.conf.pod
r1498 r1500 12 12 =head1 SYNOPSIS 13 13 14 Those files have the same format, which is near from a aperl hash structure:14 Those files have the same format, which is near from a perl hash structure: 15 15 keyword key = value1[,value2,...] 16 16 … … 22 22 23 23 =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 24 80 25 81 =item B<defpkgdir> … … 55 111 Example: filteredfiles mindi = rootfs/sbin/init,mindi,install.sh,doc/mindi.8 56 112 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 57 209 =item B<namingtype> 58 210 … … 142 294 Conffile: pb 143 295 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 144 312 145 313 =item B<ospathcmd-*> -
devel/lib/ProjectBuilder/Base.pm
r1498 r1500 39 39 40 40 our @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);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_get_osrelease pb_check_requirements pb_check_req $pbdebug $pbLOG $pbdisplaytype $pblocale); 42 42 ($VERSION,$REVISION) = pb_version_init(); 43 43 … … 50 50 =head1 DESCRIPTION 51 51 52 This module sprovides generic functions suitable for perl project development52 This module provides generic functions suitable for perl project development 53 53 54 54 =head1 SYNOPSIS … … 384 384 } 385 385 386 =item B<pb_get_osrelease> 387 388 This function returns the release of our operating system 389 390 =cut 391 392 sub pb_get_osrelease { 393 394 # On linux can also use /proc/sys/kernel/osrelease 395 my $rel = `uname -r`; 396 chomp($rel); 397 return($rel); 398 } 399 400 386 401 =item B<pb_get_arch> 387 402 … … 467 482 } else { 468 483 pb_log(2,"OK\n"); 469 return($found); 470 } 484 } 485 return($found); 471 486 } 472 487 -
devel/lib/ProjectBuilder/Distribution.pm
r1498 r1500 560 560 561 561 This function gets the OS context passed as parameter and return the corresponding distribution hash 562 If passed undef or "" then auto-detects 562 563 563 564 =cut … … 569 570 my $pbos; 570 571 571 if ( defined $os) {572 if ((defined $os) && ($os ne "")) { 572 573 my ($name,$ver,$darch) = split(/-/,$os); 573 574 pb_log(0,"Bad format for $os") if ((not defined $name) || (not defined $ver) || (not defined $darch)) ; -
devel/lib/ProjectBuilder/Version.pm
r1498 r1500 19 19 our @EXPORT = qw(pb_version_init); 20 20 21 $VERSION = " 0.11.3";22 $REVISION = " 1307";21 $VERSION = "PBVER"; 22 $REVISION = "PBREV"; 23 23 24 24 sub pb_version_init {
Note:
See TracChangeset
for help on using the changeset viewer.