# # $Id$ # %define perlvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define srcname project-builder Name: project-builder Version: 0.16.1 Release: 1.fc20 Summary: Project Builder helps providing multi-OSes Continuous Packaging Summary(fr): Project Builder ou pb produit des paquets pour diverses distributions License: GPLv2 Group: Applications/Archiving Url: http://trac.project-builder.org Source: ftp://ftp.project-builder.org//src/%{srcname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) Requires: perl >= 5.6.2,perl-Date-Manip,perl-ProjectBuilder,perl-File-MimeInfo,rpm-build # If we want to run make test, we need these modules, but upstream we do tests for this one in another way # also pb itself doesn't support using packages at the same time they are built yet # see http://trac.project-builder.org/ticket/175 #BuildRequires: perl-Date-Manip,perl-ProjectBuilder,perl-File-MimeInfo BuildArch: noarch BuildRequires: perl-Test-Simple %description ProjectBuilder aka pb helps producing packages for multiple OSes (Linux distributions, Solaris, ...). It does that by minimizing the duplication of information required and a set a very simple configuration files. It implements a Continuous Packaging approach. %description -l fr Project Builder ou pb est un programme pour produire des paquets pour diverses distributions. Il réalise cela en minimisant la duplication des informations requises et par un jeu de fichiers de configuration très simples. %prep %setup -q -n %{srcname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor destdir=${RPM_BUILD_ROOT}/ make %install %{__rm} -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0 | xargs rm -f find ${RPM_BUILD_ROOT} -type d -depth | xargs rmdir --ignore-fail-on-non-empty #check #make test %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS AUTHORS COPYING README %{perl_vendorlib}/ProjectBuilder/ %{_bindir}/pb* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Wed Aug 19 2020 Bruno Cornec 0.16.1-1 - Updated to 0.16.1 - Start to add support for aur packages (Bruno Cornec) - Fix packages built with a non tar.gz file (incompatible change between host and guests requiring a new version) (Bruno Cornec) * Thu Apr 02 2020 Bruno Cornec 0.15.3-1 - Updated to 0.15.3 - Fix #177 newproj command works again (Bruno Cornec) - Fix #184 with lots of performance improvements for sbx2build phase, back to early days (Bruno Cornec) - Adds internal YAML availability as last resort (Bruno Cornec) - Fix #180 by adding the pb_check_v function (Bruno Cornec) - Restore account env var after call to pb_parallel_launchv (Bruno Cornec) - Fix #181 with working *2docker commands to build the full stack for a project (Bruno Cornec) - Fix #183 by pushing the repomd.xml.asc file for SUSE and fix also repo names (Bruno Cornec) - Fix #140 where one extra line was generated in the pbcl (Bruno Cornec) - Fix setuposrepo to work on a per distro base, not project (Bruno Cornec) - Adds install2pkg command (Bruno Cornec) * Sat Sep 07 2019 Bruno Cornec 0.15.2-1 - Updated to 0.15.2 - Fix #178 and create new addbuildrepo, addinstallrepo, addtestrepo (Bruno Cornec) - Fix #179 create a pbkeyserver conf var (Bruno Cornec) - Force explicit analysis of boolean when using cluck (Bruno Cornec) - New function sbx|build2docker to build the 4 steps in a single command (Bruno Cornec) - Replace most of the die by confess (Bruno Cornec) - Uses option --rm for docker run except in debug mode (Bruno Cornec) - Add support for latest distros (Fedora 30, Debian 10, Ubuntu 19.04, Mageia 7) (Bruno Cornec) * Mon Mar 18 2019 Bruno Cornec 0.15.1-1 - Updated to 0.15.1 - Fix #167 by adding an oslocalins option (Bruno Cornec) - Improve usage of docker and stop on errors (Bruno Cornec) - Fix ECDSA lack of support for RHEL7 (Bruno Cornec) - Improve printing for getconf (Bruno Cornec) - RSA keys are the default over DSA (Bruno Cornec) - Add a sbx2prep command (Bruno Cornec) - pb_cms_init becomes pb_vcs_init to be used in env_init (Bruno Cornec) - Fix a bug on remote chmod for deb Release files (Bruno Cornec) - Automatic conversion with updateconf of pburl and YAML format (Bruno Cornec) - Now uses pbprojurl instead of pburl to be consistent with pbconfurl (Bruno Cornec) - PBVMTMOUT is now takeing precedence over params in conf files (Bruno Cornec) - YAML is used for all conf files (Bruno Cornec) * Wed Sep 06 2017 Bruno Cornec 0.14.6-1 - Updated to 0.14.6 - Fix #163 by adding support for additional GPG keys to export and for YUM repos (Bruno Cornec) - Fix bad mode for the Release.gpg file on Debian (Bruno Cornec) - Adds https_proxy support (Bruno Cornec) - ECDSA key should be 521 bits (Bruno Cornec) * Sat Jun 24 2017 Bruno Cornec 0.14.5-1 - Updated to 0.14.5 - Improve support for pre and post scripts (Bruno Cornec) - Fix some perl warnings (Bruno Cornec) * Sat Mar 11 2017 Bruno Cornec 0.14.4-1 - Updated to 0.14.4 - Fix some warnings for the Package target (Bruno Cornec) * Sat Mar 04 2017 Bruno Cornec 0.14.3-1 - Updated to 0.14.3 - Fix #155 by adding support for external deb repositories GPG signed (Bruno Cornec) - Add function pb_sign_setenv_rpm calling pb_sign_setenv which just sets up env var (Bruno Cornec) - Add support for no arch pkg for deb (aka all) in repositories (Bruno Cornec) - Rename pb_distro_setuprepo_gen as pb_distro_setuprepo_gen_conf and create a new pb_distro_setuprepo_gen external function called by pb to allow the usage of external repository for pb installation itself if needed (Bruno Cornec) - Solve an issue with dependency optimization (Bruno Cornec) - Add option --version (Bruno Cornec) - build is now calling back prep first in order to speed up the debug (Bruno Cornec) - Fix #152 by adding support for https scheme in URLs (Bruno Cornec) * Wed Jan 04 2017 Bruno Cornec 0.14.2-1 - Updated to 0.14.2 - Fix #148 by providing a getvar action to pb (Bruno Cornec) - Fix #115 by providing system conf file (under /usr/share/pb) and an admin conf file (under /etc/pb) (Bruno Cornec) - Fix a parallelism bug for docker by making cidfile unique (Bruno Cornec) - Fix a debian bug by analyzing all control files, not just the first one (Bruno Cornec) * Mon Jul 25 2016 Bruno Cornec 0.14.1-1 - Updated to 0.14.1 - Fix #108 by adding functions to sign files and file transfer for deb Release content (Bruno Cornec) - Fedora distributions since f10 uses perl-core to provide core modules (Bruno Cornec) - Fix #136 with tar file tagged with date and VCS rev and tag name for test versions of 0.date.letter+rev (Bruno Cornec) - Fix docker repo/registry usage and adds conf file entries for them (Bruno Cornec) - Adds target sbx2prep (Bruno Cornec) - build and delivery directories renamed pbbuild and pbdelivery for consistency and to ease filtering (with git e.g.) (Bruno Cornec) * Wed Feb 17 2016 Bruno Cornec 0.13.2-1 - Updated to 0.13.2 - Fix a bug in script2v by initializing pbstep to 3 as it wasn't defined (use mode) (Bruno Cornec) - Using -s option requires a full path name for the script to work, which is now checked (Bruno Cornec) - Do not call pb_ssh_get when pushing packages to ftp repo (Bruno Cornec) - Use id_* keys only when not in create mode (delivery to repo). Otherwise use pb_* keys (Bruno Cornec) - pb now scans VM or RM to detect whether they support ECDSA for ssh connection (RHEL7 e.g. doesn't support DSA anymore by default). If yes, then use the pb_ecdsa key file. By default favour DSA anyway. But that forces also to change the cleanup of the authorized_keys file on the VM|RM to be done once the VM is launched to have the scan working (Bruno Cornec) - Fix an issue when the VM is already launched during the ssh setup a wrong port was used (Bruno Cornec) - Improve git support where pbconf is upstream in the main directory of a simple project (Bruno Cornec) * Wed Nov 25 2015 Bruno Cornec 0.13.1-1 - Updated to 0.13.1 - Adds Docker support for VE build (using a specific build account in the container). Can start from a Docker Hub cimage. Can also build our own with rpmbootstrap or debootstrap as for chroot. Build 3 layers of containers (d-v-a, d-v-a-pb, d-v-a-pb-prj) and build in a container made from this third image (Bruno Cornec) - Adds preliminary dnf support for new Fedora 22+ versions (Bruno Cornec) - Fix package signing for new RPM::Sign module of Mageia 5 when the infra to sign is unavailable (Bruno Cornec) - Fix a gentoo bug for symlink generation in gentoo subdir of the ftp server (Bruno Cornec) - Fix pb install support on Debian 8 (Bruno Cornec) - Adds a pb_ssh_setup function used for both VM and RM to setup the ssh environment with the right keyfile used in launchv (Bruno Cornec) * Thu Feb 05 2015 Bruno Cornec 0.12.7-1 - Updated to 0.12.7 - Fix checkssh for deb based distro by including the arch in the pakcage name to be checked to avoid the global check done earlier (Bruno Cornec) * Sun Jun 22 2014 Bruno Cornec 0.12.6-1 - Updated to 0.12.6 - Improve git and git-svn support (Bruno Cornec) - Fix #129 by creating a new function pb_connect_db managing connection to the announces DB (Bruno Cornec) - Data::Dumper is a required perl module during sbx2setupvm and his documented as such (can be a separate one depending on distros) (Bruno Cornec) * Tue Feb 04 2014 Bruno Cornec 0.12.5-1 - Updated to 0.12.5 - Print first pb version before using it in VMs to be sure to use the correct version (Bruno Cornec) - Adapt VM names and filters for Debian as per the new rule (major numbers only) (Bruno Cornec) * Wed Jan 15 2014 Bruno Cornec 0.12.4-1 - Updated to 0.12.4 - Update pb presentation for LCA2014 and demo script (Bruno Cornec) - pb shouldn't look for chown locally and call it with the full path in the chroot as this doesn't necessarily work ! (Bruno Cornec) * Sun Jan 05 2014 Bruno Cornec 0.12.3-1 - Updated to 0.12.3 - Adds git-svn support (Bruno Cornec) - function pb_conf_print renamed into pb_distro_conf_print and move to Distribution.pm (Bruno Cornec) - pb_check_ps now returns a list of 2 params systematically so API changed accordingly everywhere (Bruno Cornec) - Adds a checkps target for pb (Bruno Cornec) - pb uses the new qemu hostfwd syntax for port forwarding (Bruno Cornec) - Fix deb changelog generation to avoid long lines (Bruno Cornec) - Better ssh port management, returned by pb_check_ps and not reset when a group of VMs has been launched (Bruno Cornec) - Adds a parameter for the mode of the sudoers file instead of hard-coding (Bruno Cornec) - Improve ntp handling for setupvm by adding a call to date when ntpdate is failing and using oscmdntp instead of vmntpcmd (Bruno Cornec) - Adds build2setup* target for pb (Bruno Cornec) - pb now prints the name of the VM as a prefix for each command result, improving greatly debug in parallel mode (Bruno Cornec) - launchvm now is able to launch multiple VMs (Bruno Cornec) - Fix #119 by improving correct deb and ebuild detection. (Bruno Cornec) - Update pb presentation with OSSI template and improve a bit content (Bruno Cornec) * Tue Feb 26 2013 Bruno Cornec 0.12.2-1 - Updated to 0.12.2 - Better debug info when passing a wrong parameter (Bruno Cornec) - Presentation updated for LCA 2013 (Bruno Cornec) - pbml & pbsmtp params only queried when really needed (can be omitted in the conf file thus for those not using announces) (Bruno Cornec) - Adds support for a 2ins target for all buildpkg call (example: sbx2pkg2ins) which adds the final installation of packages at the end (Bruno Cornec) - tar is needed in the VM (Bruno Cornec) - fix a bug for checkssh with test version where to many * where given (Bruno Cornec) - Red Hat 6.2 (not RHEL) support: doesn't support setarch i386 for a x86_64, builds with the rpm command, sudo doesn't support the env_keep var, sed -i doesn't work, setupve fix (however needs a manual install of perl 5.6.2 to work) (Bruno Cornec) - debug level is now passed to the vescrip improving debug capabilities in that script (Bruno Cornec) - When used the env command should be passed in full path for sudo and then not skipped (Bruno Cornec) - New deb generation regex to support non english messages better (Bruno Cornec) - Repository files generated now contains in their name a tag corresponding to the delivery dir. This allows to have easily both a test and non-test version in the same yum repo e.g. (Bruno Cornec) * Mon May 28 2012 Bruno Cornec 0.12.1-1 - Updated to 0.12.1 - Adds pbstoponerr option in conf file to allow to overwrite the default which is back to not stopping on errors as it perturbates VE and VM build for themoment, as not all commands are expected to succeed systematically. (Bruno Cornec) - Change urpmi.update call from /usr/bin (consolehelper) to /usr/sbin (urpmi) as that's what we have in VE. (Bruno Cornec) - Fix errors in mageia deps (Bruno Cornec) - pb correctly now differentiate PBDEP and BPBDEP (in Env.pm for template generation) (Bruno Cornec) - Reverting stop on error to false by default as VM are not usable for now with it. (Bruno Cornec) - Adds option pbshowsudo (false by default) to check whether we display the detail of sudo commands (to match security requiremetns) or not (to have a nicer output) (Bruno Cornec) - In pb create the RPM build dirs before entering in the parallel loop as sometimes 2 identical were created simultaneously, leading to an error leading to a die (Bruno Cornec) - option -h can now be passed multiple times. one provides synopsis, two gives full help. (Bruno Cornec) - Add a test script to have a full regression suite before publishing a new version. (Bruno Cornec) - Don't create a repomd.xml.key symlink if the pubkey is empty. opensuse zypper will reject the file and refuse to use the repo (even if the option to ignore signatures is specified) (Eric Anderson) - lots of improvement into .deb repositories support (Eric Anderson) - Use new pbgpgcheck option to control whether we enable gpgcheck in the repo script. (Eric Anderson) - Use new projcomponent value to specify which component we are building for -- most things probably aren't contrib (for deb based distros) (Eric Anderson) - Tolerate the file: and flat: schemes -- they were tolerated in some places but not others. (Eric Anderson) - Lots of documentation improvements (Eric Anderson) - log when we start and finish the build, that's an important state. (Eric Anderson) - Greatly simplify pb_get_distros function by using split and join. (Eric Anderson) - New pb_pbos_to_keylist function to generate the list of basenames. (Eric Anderson) - Improve support of ftp/http proxy, in particular for VEs. (Eric Anderson) - Add support for multi-line filter variables. (Eric Anderson) - Make sure that if we are doing a parallel build we will stop on errors if that option is set. (Eric Anderson) - Fix bug in running in 32bit VE with 64bit host. (Eric Anderson) - Do *not* set the time in a virtual environment as it breaks stuff. (Eric Anderson) - Tolerate failures on the debsign step -- the key-file can validly not exist. (Eric Anderson) - Add a new option pbusesshagent in pb.conf to allow the user to specify whether he wants to use his existing SSH environement and agent, or if he prefers to create a new key pair for building. (Bruno Cornec) - Update to make the port and login optional config entries. (Eric Anderson) - vmmonport is now optional. (Bruno Cornec) - vmmem is also now really optional (wasn't working before as wasn't correctly tested). (Bruno Cornec) - newv(e|m) doesn't require execution of cms2build before being available. (Bruno Cornec) - Set pb_stop_on_error, add option to continue through errors. (Eric Anderson) - Only try to apply and sign patches if the apply script exists. (Eric Anderson) - Add git support in pb_vcs_up, pb_vcs_checkin and pb_vcs_add. (Eric Anderson) - Conf.pm largely rewritten to cache all conf files into a local $h hash in which conf files are added in reverse order. (Bruno Cornec) - Improve web delivery by forcing more open modes for files (644) and dirs (755) in the web tree. (Bruno Cornec) - Split CMS functions in 2 parts, one lowlevel reusable outside of pb in VCS.pm, the remaining stay in CMS.pm, part of pb. (Bruno Cornec) - Fix #99. Adds a new extdir member to the pb structure, in order to manage the timestamp tag added in version name for test versions and have a complete correspondance between the tar file content, and the names. This modification creates an incompatibility in the build part of pb (thus change to 0.12.x), so requires that the build environment be updated before it's usable (with setupve|vm or sbx2setupve|vm). Use the new extdir member to update existing projects filter (Bruno Cornec) - Adds a new -k option to kep some temporary files for debug purposes (Bruno Cornec) - Fix bugs on check for gentoo. -r is for official versions, _p for test versions (Bruno Cornec) - Improve handling of lack of svn2cl command (Bruno Cornec) - Fix 2 bugs in newver with automatic change of version and delivery check to be done. (Bruno Cornec) - Fix #585 bug in the Mondorescue project (http://trac.mondorescue.org/ticket/585) by creating correct symlinks to the repo key file. (Bruno Cornec) - Make the parameter of the -t option optional, in which case the underlying distro is used. (Bruno Cornec) - Adds a cleanssh target to purge test versions on the remote repository. (Bruno Cornec) - Adds option checkexclude and command checkssh with the -rebuild option: this allows to check after the build which packages have not been built correctly and to potentially relaunch the build. (Bruno Cornec) - Fix #93 by recoding newver partly and remove the fixed loading of a pb profile in KVM and put it in option. (Bruno Cornec) - Start to add CPAN upload support to solve #101 - Needs to be tested now with an official version. (Bruno Cornec) - Fix a bug in the recursive function pb_list_bfiles where file handle should not be global (Bruno Cornec) - Add support for patches for deb family of distributions (bump version to 0.12 as this is an incompatible change which requires VM update) (Bruno Cornec) - Fix to support directories under the debian dir (such as source/format) (Bruno Cornec) - Fix to apply build files really from generic to specific (Bruno Cornec) - Create a new VE.pm module to host pb_ve_launch (from pb code now reusable for pbmkbm) (Bruno Cornec) - Adds a yum config line to allow for automatic GPG key import (Bruno Cornec) - pb now supports distro inhritance for the vmmem parameter (Makes stuff easier for fedora) (Bruno Cornec) * Wed May 25 2011 Bruno Cornec 0.11.3-1 - Updated to 0.11.3 - Avoid the structure check for git/hg for now as the way it's currently done is only valid for SVN and the likes (Bruno Cornec) - allow verbosity transfer to repo creation script (Bruno Cornec) - Avoids error msgs in announce due to find issues (Bruno Cornec) - By default enable gpg for repo built with pb, now that package signature is working (Bruno Cornec) - Fix #96 completely by using the realpkgname and sorting the results (Bruno Cornec) - Fix #94 by modifying wrong test condition in pb_get_port (Bruno Cornec) - Fix #97 by delivering in PBBUILDIR instead of non-existent dirs below (Bruno Cornec) - Adds delivery of the public key to each repository at each delivery (Bruno Cornec) - Adds suport for .deb package signing (Bruno Cornec) - Fix debian repo build (Bruno Cornec) - Adds RPM signature support and doc (Bruno Cornec) - Adds support for different sha algorithms for createrepo call, due to some distro with python 2.4 not supporting sha256. (Bruno Cornec) - Fix a bug in debian/ubuntu repo creation for amd64 (used x86_64 instead) (Bruno Cornec) * Sat Mar 12 2011 Bruno Cornec 0.11.2-1 - Updated to 0.11.2 - Fix #82 Undescriptive error message for missing pbcl file (Bruno Cornec) - Fix #90 - cms2webssh broken (Bruno Cornec) - Fix #92 as well as documentation generation which was also broken (linufr.org report) (Bruno Cornec) - Adds filter generation at newproj time for more debian/ubuntu distros (Bruno Cornec) - Call pb_get_ssh also for VE to build local keys (Bruno Cornec) - Fix bug #95 Personalized FILTER accessing an item in an hash of a hash (Bruno Cornec) - Fix a bug in newvm where VMsize was incorrectly used after pbos introduction. (Bruno Cornec) - Fix #91 where announce was broken and add pkg and sd pakgs to the list (Bruno Cornec) - Fix #89 where sources.list files generated were incorrect (Bruno Cornec) - Add support for patches and additional sources also for Solaris (Bruno Cornec) - Fix a debian build bug due to directory change (Bruno Cornec) - Postpone execution of pbinit after all files have been filtered so that e.g. a configure.in be filtered before a bootstrap script being executed and all variables expanded correctly. Case of MondoRescue (Bruno Cornec) - Updated Lab and pres for TES 2011 (Bruno Cornec) * Sat Feb 26 2011 Bruno Cornec 0.11.1-1 - Updated to 0.11.1 - NOTE: This version requires 0.11.1 in both host and guests so the whole processes work correctly. (Bruno Cornec) - Fix #87 - correct pbsrc management. This requires to update pb in the VM|RM|VE in order to work correctly (Nicolas Doualot/Bruno Cornec) - Fix #86 - error in hash test sources should be used and not patches (Nicolas Doualot) - Improve tmout management which is optional and now handled and documented as such using pb_distro_get_param (Bruno Cornec) - rmntpcmd, vmhost, vmmem, vmntpcmd and vmsize have OS keys and not project keys. Fixed in doc and code. (Bruno Cornec) - pb_date2v needs the pbos as param to deal with *ntpcmd correctly. $v param removed as a consequence. (Bruno Cornec) - Fix #83. rmntp is indeed optional. But rmntpcmd is mandatory as used to be placed at setup time in the sudoers file in order to allow its usage by root when needed from the build account (Bruno Cornec) - Packages installed are now using really the install command not the update one. (Bruno Cornec) - The repo key for pb now uses the delivery level (mandatory for gentoo) (Bruno Cornec) - Fix pb_get_filters to also support filter based on os name and os-ver-arch as well to be coherent, and also fix bugs in the tests made for filter exitence. (Bruno Cornec) - Fix pb_changelog with test for correct pb hash values which were changed previously (Bruno Cornec) - Revert back using no arch subdir for deb based repo (Bruno Cornec) - Introduce new parameter oscmdpath to support external commands full path name easier (could also be very useful for MondoRescue) (Bruno Cornec) - Change pb_date2v interface to just return the line we want. (Bruno Cornec) - Fix a parallelism issue when building in VMs. (Bruno Cornec) - Fix pb for patches and additional sources support in parallel mode which was previously broken. (Bruno Cornec) - Avoids a unicity issue when in parallel mode in pb_filter_file_inplace, by generating a unique temp file. (Bruno Cornec) - Allow pb_filter_file to manage undefined filter hash (Bruno Cornec) - Use some full path names for commands to improve security with sudo (for RM). (Bruno Cornec) - Adds support for RM (Remote Machines) in addition to VE/VM (Bruno Cornec) - pb_get_port function now needs the ref to the pbos (Bruno Cornec) - Add full path names on sudo commands now that a precise usage is done with sudo + other related fixes. (Bruno Cornec) - pb_get_sudocmds function added to provide the external list of commands called by sudo in osupd or osins. The whole sudo process has been revised. Only VE allow for ALL command execution. VM|RM are now just calling the commands they need. (Bruno Cornec) - Introduction of a new hash $pbos to manage all os related info through a single data structure. All functions reviewed accordingly. Externally transparent, hopefully, but much cleaner code as a consequence. VM/VE/RM remains to be tested. (Bruno Cornec) - Fix ebuild test name generation (Francesco Talamona) - Fix project package generation from file URL (Bruno Cornec) - Prepare for HP-UX port. Introduce hpux entry (not working) (Bruno Cornec) - Fix bugs when initializing a pb env without anything previously available exept the ~/.pbrc (Bruno Cornec) - Fix a bug in Web delivery where the pbscript wasn't executable by default which now is a problem. (Bruno Cornec) - Fix -nographic option name (Bruno Cornec) * Thu Jan 13 2011 Bruno Cornec 0.10.1-1 - Updated to 0.10.1 - Adds 2 new commands sbx2setupve|vm to update an in VE|VM incompatible version of pb to latest needed to dialog correctly (Bruno Cornec) - Do not return in pb_send2target if pb file not available in order to shutdown VM in all cases (Bruno Cornec) - Target build dir is now in dir/ver/arch everywhere, including in the delivery repo (Bruno Cornec) - Avoid File::MimeInfo hard requirement. Only abort if not found when needed. (Bruno Cornec) - Improve report when a perl module is missing (Bruno Cornec) - Kill an existing crashed VM using an SSH port needed for another VM (should avoid crashed VM to stay when building for all VMs) (Bruno Cornec) - Use a new parameter vmbuildtm as a timeout before killing the VM (should correspond to build + transfer time) (Bruno Cornec) - Mail::Sendmail is now optional for Log module as well, even if not used yet (Bruno Cornec) - use twice the number of VMs for ports in the range for SSH communication to allow for VMs to finish in an unordered way. (Bruno Cornec) - Module Version.pm move to pb-modules due to VERSION support addition (Bruno Cornec) - Adds function pb_set_parallel which set $pbparallel depending on memory size for VMs (Bruno Cornec) - Adds pb_set_port and pb_get_port functions to deal with SSH communication port with VMs using a range (Bruno Cornec) - sbx|cms2builb, build2pkg, build2v and setup2v are now using Parallel::ForkManager to generate packages in parallel and add a conf param - pbparallel - to force number of cores (Bruno Cornec) - Fix #68 by adding new option -g to support non-graphical modes on the CLI and not only in conf files and env var (Bruno Cornec) - Change pbgen and pbscript files to unique versions where appropriate to support later on parallelism (Bruno Cornec) - Fix #76 by improving solaris skeleton generation (Nicolas Doualot) - Adds params to pb_distro_setuprepo to support generic family/os templates (Bruno Cornec) - Adds function pb_distro_setuposrepo to setup pb install repo (Bruno Cornec) - Fix both #74 and #10 by adding support for additional files under a pbsrc dir, that can be manipulated at build time. (Bruno Cornec) - Use pb_check_req to avoid some hardcoded path (Bruno Cornec) - Fix #56 by creating the Contents file at the right place and using the buildrepo script content for debian (Bruno Cornec) - Rename previous option osupd into the more correct osins, and add a real osupd param to support distribution update commands (Bruno Cornec) - Adds a new optional parameter os for pb_distro_get_param (upper family such as linux) (Bruno Cornec) - Adds support for -t option to prepare a builbot or similar interface. (Bruno Cornec) - Fix #70 by adding 2 new commands to update distributions in VM|VE with updatevm|ve (Bruno Cornec) - Adds new configuration parameters (oschkcmd, oschkopt) to externalize package checking command (Bruno Cornec) - Adds new configuration parameters (pbinstalltype, pbpkg) to start allowing installation of pb in VM/VE with packages or files (Bruno Cornec) - Add support for RHEL6, Fedora 14, Mandriva 2010.1, Ubuntu 10.10 (Bruno Cornec) - Improve display of RPMS and SRPMS packages generated to allow easy cut and paste. (Bruno Cornec) - Fix #69 by doing recursion in pb_list_bfiles to handle new Debian 3.0 format with subdirs (Bruno Cornec) - Fix #36 by adding new targets to pb with sbx2 aka sandbox suffix. They replace in feature the previous cms2 targets (Bruno Cornec) - Fix #65 by adding support for .ymp files (Bruno Cornec) - Fix a bug when calling clean with no previous environment available (Josh Zhao) - New Web site management with 4 targets instead of only 2: sbx2webssh, cms2webssh, sbx2webpkg, cms2webpkg (Bruno Cornec) - Fix a bug when building for non VCS hosted projects in pb_cms_compliant (Bruno Cornec) - halt command is in another path on Solaris (Bruno Cornec) - Fix #66 by adding log management - not used yet - and Bug in template generation for define macro (Joachim Langenbach) - Fix a bug on gentoo build where tag needs to be prepended with 'r' (Francesco Talamona/Bruno Cornec) - Fix #64: add support for packager names with single quotes in it (krnekit) - Fix #41 by externalizing the VM command in the new vmcmd option (Bruno Cornec) - Fix a bug where some options were passed prefixed with a space and some other postfixed in the usage of PBVMOPT (Joachim Langenbach/Bruno Cornec) - Adds new "Walt Disney" feature: possibility to deliver in multiple variable dirs, and not just / and test (Bruno Cornec) - Improve Web site delivery for docs (man pages, ...) (Bruno Cornec) - various rpmlint and lintian fixes (Bruno Cornec) - Adds ebuild version for pb gentoo packages (Bruno Cornec) * Mon Jun 07 2010 Bruno Cornec 0.9.10-1 - Updated to 0.9.10 - Update pres for HP tech Forum (Bruno Cornec) - Add support for mirror server to debootstrap command (Bruno Cornec) - Add support for Ubuntu 10.04 natively and with debootstrap (universe repo needed) (Bruno Cornec) - Fix umask propagation in VE, fixing issues in directory creation with wrong rights (Bruno Cornec) - Successful tests with some VE (Mandriva 2009.1 and 2010.0, CentOS4, Fedora 12, CentOS5, Ubuntu 10.04, Debian 5) (Bruno Cornec) - Project-Builder.org is licensed under the GPL v2 for the moment. (Bruno Cornec) - Options cleanup (veconf => rbsconf, ve4pi => rbs4pi, vetmout/vemindep removed, verebuild not mandatory, rbsopt added for passing options to rpm|debbootstrap, ventp/vmntp is now optional) (Bruno Cornec) - New pb_get_postinstall generic function for rinse and rpmbootstrap (Bruno Cornec) - Pass more precisely the level of verbosity to rpmbootstrap (Bruno Cornec) - Fix bug in sudoers creation: now using the real account name, and also forcing to NOT requiretty (Bruno Cornec) * Sat May 01 2010 Bruno Cornec 0.9.9-1 - Updated to 0.9.9 - Adds debootstrap and rpmbootstrap support for VE (Bruno Cornec) - Improved pb presentation with Solaris integration for HP TES 2009, Fosdem 2010 and Solutions Linux 2010 (Bruno Cornec) - Adds the Project Builder Lab delivered for the TES 2009 inside HP (Bruno Cornec) - Preliminary version of a Web site (Bruno Cornec) - Fix a build error for deb based packages (macro definitions missing !) (Bruno Cornec) - Fix a bug in newve, by calling pb_distrib_init earlier to have the loading of the pb.conf main conf file, used to install default packages (Bruno Cornec) - Use pbsnap in pb_script2v instead of forcing no snapshot (Bruno Cornec) - use x86_64 arch for debian, and only amd64 for debootstrap call (Bruno Cornec) - debootstrap doesn't create a /etc/hosts file, so copy the local one in the VE (Bruno Cornec) - Previous snapshot removed before trying to create a new one to avoid useless extraction (Bruno Cornec) - Mandriva uses in fact genhdlist2 to generate indexes and hdlist.cz is now under media_info (Bruno Cornec) - Since SLES 11 the sudoers file is again back to 440 (Bruno Cornec) - Fixes to support ia64 chroot with centos5 - ongoing (Bruno Cornec) * Sun Nov 29 2009 Bruno Cornec 0.9.8-1 - Updated to 0.9.8 - Improves Debian support by a/ allowing PBDESC to be used in control file with space prepended. b/ prepend 0 to non digit versions such as devel. c/ creating debian pbfilter files for PBDEBSTD and PBDEBCOMP macros used in control (Bruno Cornec) - Uses pbtag for ebuild and pkg packages (Bruno Cornec) - Improves setupvm for RHEL 3 (Bruno Cornec) - Add support for Fedora 12, Mandriva 2010.0, OpenSuSE 11.2, Ubuntu 9.10 (Bruno Cornec) - Updates Module-Build to 0.35 version (Bruno Cornec) - Do not add conf files if already present in the list (changing pbconffiles into a hash for that to still keep order as this is mandatory) (Bruno Cornec) - Improve some testver usages and fix #51. Now passing false to testver works (Bruno Cornec) - ChangeLog file now created by pb_cms_log (Bruno Cornec) - Adds Solaris port, Solaris build files, generation of Solaris build file skeleton (Bruno Cornec) - Force to always build for the local distribution by default (Bruno Cornec) - Create a ~/.pbrc as template if no previous one was there - Fix #47 (Bruno Cornec) * Sun Jul 05 2009 Bruno Cornec 0.9.7.1-1 - Updated to 0.9.7.1 - Fix a critical bug on pb, where a module was loaded optionaly with use instead of require (prevents update of VMs) (Bruno Cornec) * Sat Jul 04 2009 Bruno Cornec 0.9.7-1 - Updated to 0.9.7 - vm commands support the -i option now. (Bruno Cornec) - Create a test2pkg, test2vm, test2ve commands (Bruno Cornec) - Create clean command (Bruno Cornec) - Adds SVK support (Bruno Cornec) - First steps for a snapshot support of VMs/VEs (Bruno Cornec) - Fix #35 by forcing the usage of a -r release option, and by exporting only that version tree from the VCS. (Bruno Cornec) - If this is a test version (aka testver = true) then the tag is forced to 0.date to allow for easy updates, including with official versions (Bruno Cornec) - Add support for pre and post scripts for VM/VE launched before and after the build to allow for local setup. (Bruno Cornec) - Add additional repo support for debian type as well. (Bruno Cornec) - Add support for proxy environment variables at setup and build time (Bruno Cornec) - Add Asianux support (Bruno Cornec) * Thu Feb 19 2009 Bruno Cornec 0.9.6-1 - Updated to 0.9.6 - Add support for addition of repository on the fly at build time with addrepo (Bruno Cornec) - Fix debian build deps computation and installation (Bruno Cornec) - Announce now make direct links for packages given (Bruno Cornec) - Add support for VE using rinse (tested), mock (coded) and chroot (tested), schroot (planned) (Bruno Cornec) - Improved centos support (Bruno Cornec) - Differentiate between Scripts for VE and VM with 2 tags (Bruno Cornec) - Have a working newve, setupve and cms2ve sequence for rinse and centos 4 and 5 at least (Bruno Cornec) - Remove the external locale dependece to use the one provided by perl (Bruno Cornec) - Adds kvm support (aligned on qemu support) (Bruno Cornec) - Fix a bug where duplicates in VE and VM lists where handled twice leading to errors with patches applied also twice in the same distro. Also more efficient. (Bruno Cornec) - Adds GIT support for schroot (Bruno Cornec) - Adds SOCKS support for all VCS commands by adding a new pbsockscmd option in .pbrc (tested with git access behind proxy) (Bruno Cornec) - Avoid erasing an existing VM when called with newvm (Bruno Cornec) - Improved PBVMOPT restoration (Bruno Cornec) - Fix a bug in the scheme reference during newver (Bruno Cornec) * Tue Dec 09 2008 Bruno Cornec 0.9.5-1 - Updated to 0.9.5 - Adds fedora 10 install support (Bruno Cornec) - Adds Mercurial support in CMS.pm for rinse project (Bruno Cornec) - Fix a bug in pb for lintian debs, packages and changes are one directory up (Bryan Gartner) - Adds pb_cms_mod_svn_http function to support fossology https svn checkout with svn+https syntax in URLs (Bruno Cornec) - Fix a bug with newproj and the late declaration of PBTPM (Bruno Cornec) - Improve newver for fedora older versions (Bruno Cornec) - Improve newver and pbcl management in order to only touch created files, not original ones (Bruno Cornec) - Adds links for gentoo to point on the repo to the latest version of the ebuild (Bruno Cornec) - Change pb_announce interface (Bruno Cornec) - Pass verbose level to pb launched in virtual environments/machines (Bruno Cornec) - Fix a bug on package name detection on Ubuntu (dpkg-deb output different from the Debian one !) (Bruno Cornec) * Mon Sep 29 2008 Bruno Cornec 0.9.4-1 - Updated to 0.9.4 - Add support to Website delivery - Fix #30 (Bruno Cornec) - Add pb_web_news2html which generates news from the announces DB (Bruno Cornec) - Debian packages are now working - Fix #26 and #33 (Bruno Cornec/Bryan Gartner) - Add support for specific naming conventions such as perl modules - Fix #32 (Bruno Cornec) - Preserve by default original tar files got by http or ftp to allow for checksum consistency - Fix #31 (Bruno Cornec) - Fix CVS export function to also use tags passed in param (Bruno Cornec) * Thu Aug 07 2008 Bruno Cornec 0.9.3-1 - Updated to 0.9.3 - Update pb to install VMs correctly with new perl deps Locale-gettext (Bruno Cornec) - Filtering functions now handle also pointer on hashes (such as the new pb hash) (Bruno Cornec) - Filtering functions support new macro for patch support (PBPATCHSRC and PBPATCHCMD) (Bruno Cornec) - Filtering functions use a single pb hash which contains the tag that will be handled during the filtering (Bruno Cornec) - Env.pm now generates correct templates for patch support and uses the new pb hash (Bruno Cornec) - pb_cms_export extended to support file:// URI, and also supports an undef second param (no local export available) (Bruno Cornec) - In pb, hashes now include also the arch (for better patch support) (Bruno Cornec) - Working patch support added to pb - tested with buffer - Fix #28 (Bruno Cornec) - pb supports local CMS based patches, as well as external references (not tested yet) (Bruno Cornec) - New pb_get_arch function provided (Bruno Cornec) - DBI is only required when using announce (Bruno Cornec) - When using pb 0.9.3, VMs should also use pb 0.9.3 for compatibility issues (2 tar files, arch in names, perl deps) (Bruno Cornec) - All global variables are prefixed with pb (Bruno Cornec) - Makes script execution verbose (Bruno Cornec) - Improve Fedora official package build (Bruno Cornec) - Allow subject modification for announces (Bruno Cornec) - Add support options per VM - Fix #27 (Bruno Cornec) - Allows pbcl files to not have info on the new version and add it on the fly for newver action (Bruno Cornec) - Adds support for pbml and pbsmtp at creation of project (Bruno Cornec) - Use Mail::Sendmail instead of mutt to deliver mail (From: header issue) (Bruno Cornec) - Announce is now supported in pb (Bruno Cornec) - Adds support for repositories (yum, urpmi and deb) - Fix #13 (Bruno Cornec) - Support perl eol separator ($/) in macros. (Useful for PBDESC) (Bruno Cornec) - Fix an issue of generation on redhat and rhas2.1 where _target_platform in %%configure is incorrect (Bruno Cornec) - pb now generates testver in the .pb for newproj (Bruno Cornec) - Sort output of build files (Bruno Cornec) - Adds pbrepo entry when using newproj (Bruno Cornec) - Add pb_cms_add function (Bruno Cornec) - Change interface of pb_cms_checkin (third param) (Bruno Cornec) - Check presence of inittab before touching it in setupvm (Bruno Cornec) - Fake Changelog for test version (Bruno Cornec) - setupvm improved with init level 3 by default (Bruno Cornec) - still issue for pb build on Debian with the devel version name, and the mixed cases for modules unallowed (Bruno Cornec) - Adds support for multi VM for setupvm command (Bruno Cornec) * Tue May 13 2008 Bruno Cornec 0.9.2-1 - Updated to 0.9.2 - Fix DateManip latest version (Bruno Cornec) - Add preliminary Slackware build support (Bruno Cornec) - Fix #23 Improve speed by not getting CMS logs if testver (Bruno Cornec) - Option UserKnownHostsFile of ssh used by default now (Bruno Cornec) - Now removes pbscript at the end of execution (Bruno Cornec) - Changes filtering interface to add pbrepo keyword support and PBREPO macro (Bruno Cornec) - Partly solves #13 by adding repository generation support + conf files to pb for rpm with yum and urpmi (Bruno Cornec) - test directory is now in a complete separate tree - allows recursive repository support (Bruno Cornec) - Fix a bug in the VM pb's account for ssh (Bruno Cornec) - Improved pbdistrocheck to support -v flags (Bruno Cornec) - Move the pb_env_init function to a separate module to allow pbinit usage (Bruno Cornec) - Adds support for a build system conf file under $vmpath/.pbrc or $vepath/.pbrc (Bruno Cornec) * Sun Apr 20 2008 Bruno Cornec 0.9.1-1 - Updated to 0.9.1 - split of functions from pb to perl-Project-Builder (Bruno Cornec) - Documentation of functions (Bruno Cornec) - Prepare conf file management to manage more conf files for build system, ... (Bruno Cornec) * Mon Apr 07 2008 Bruno Cornec 0.9.0-1 - Updated to 0.9.0 - Fix #20 newver comment testver and checks pbcl files (Bruno Cornec) - newver updated to support external CMS repo for build files (Bruno Cornec) - setupvm ok for all supported distro but slackware not yet supported by pb (Bruno Cornec) - Fix build2vm where the new name of the distro wasn't correctly handled when trying to get packages pushed to the ftp server. (Bruno Cornec) - pb_env_init does just setup env variables now. It does CMS checks and conf only if called on a CMS opration (Bruno Cornec) - systematic use of ENV VAR for PBPROJVER, PBPROJTAG, PBPACKAGER (Bruno Cornec) - new function to get package list for cms only context and the old one is simplified (Bruno Cornec) - $DESTDIR/pbrc contains now aal the keys needed to be independant when building - pbroot, pbprojver, pbprojtag, pbpackager. (Bruno Cornec) - remove ntp calls for the moment, not ready (Bruno Cornec) - new idempotent setupvm/setupve actions to prepare the VM/VE to be used by pb (Bruno Cornec) è Numerous fixes in the new way of working to have a full suite working for netperf, pb and mondorescue - newver, cms2build, build2pkg, pbcl, setupvm, build2vm (Bruno Cornec) - separation of CMS calls (only when using a cms2... action) and the environment variables used (Bruno Cornec) - Improvements for CMS support, lots on CVS (Bruno Cornec) - Use pod for pb documentation, modules to be done (Bruno Cornec) - Use Getopt::Long and support now long options (Bruno Cornec) - pb_syntax now uses pod2usage (Bruno Cornec) - All modules are packages now (Bruno Cornec) - pb_changelog back in Base.pm and removal of Changelog.pm (Bruno Cornec) - Major changes following a memorable Fort Collins discussion which makes that version incompatible with previous ones (Bruno Cornec/Bryan Gartner/Junichi Uekawa) - Support URLs for pbconf and projects (ftp, http, svn, cvs, file) (Bruno Cornec/Bryan Gartner) - Adds Virtual Environment support (mock, pbuilder, ...) (Bruno Cornec/Bryan Gartner) - Documentation of concepts (Bruno Cornec) - Fix for debian build in case a debian dir/link already exists in the project (Bruno Cornec/Bryan Gartner) * Thu Feb 07 2008 Bruno Cornec 0.8.12-1 - Updated to 0.8.12 - Adds support for supplemental files in projects (Bruno Cornec) - Addition of pbproj as a filtered variable for dploy needs also in pb_filter_file (Bruno Cornec) - fix #9 (Bruno Cornec) - adds gentoo support (Bruno Cornec) - Removes AppConfig dependency by using just a perl regexp instead (Bruno Cornec) - support for #11 test versions (Bruno Cornec) - overall ChangeLog support (Bruno Cornec) * Sun Nov 11 2007 Bruno Cornec 0.8.11-1 - Updated to 0.8.11 - Do not continue with VM if something goes wrong (Bruno Cornec) - Also build on 64 bits VMs when all (Bruno Cornec) - pb_env_init now creates a pbconf template dir if asked for (newproj option fix #3) (Bruno Cornec) - Fix a bug in build2vm where only the first parameter was taken in account, so we were only generating the first package (Bruno Cornec) * Tue Oct 30 2007 Bruno Cornec 0.8.10-1 - Updated to 0.8.10 - pbinit is now filtered before being used (Bruno Cornec) - Ubuntu 7.10 support added (Bruno Cornec) - pbinit executed after filtering (Bruno Cornec) - Fix bug #7 where .pbrc nearly empty wasn't working (Bruno Cornec) * Thu Oct 25 2007 Bruno Cornec 0.8.9-1 - Updated to 0.8.9 - Fix a bug for support of PBLOG = no (Bruno Cornec) * Thu Oct 25 2007 Bruno Cornec 0.8.8-1 - Updated to 0.8.8 - Add correct support for PBLOG = no (Bruno Cornec) * Tue Oct 23 2007 Bruno Cornec 0.8.7-1 - Updated to 0.8.7 - Fix #2 (Bruno Cornec) * Mon Oct 22 2007 Bruno Cornec 0.8.6-1 - Updated to 0.8.6 - Add Debian build support (Bruno Cornec) - New filtering rules (Bruno Cornec) - Add flat support to svn and cvs (Bruno Cornec) - Fix #4 (Bruno Cornec) * Tue Oct 16 2007 Bruno Cornec 0.8.5-1 - Updated to 0.8.5 - First public version (Bruno Cornec) * Thu Jul 26 2007 Bruno Cornec 0.5-1 - Updated to 0.5 - Creation of the project based on mondorescue build tools (Bruno Cornec)