2003-08-22 Junichi Uekawa * pbuilder-user-mode-linux: error out when COW file cannot be created. (UML_DEBUGMODE): add --buildplace option. * pbuilder-user-mode-linux.1: update manual page since some information are missing. Add information on --buildplace option. 2003-08-20 Junichi Uekawa * pbuilder-user-mode-linux: give a more helpful message when /dev/ubd/1 is not mountable. Give a warning message that running as uid=0 is not supported. * pbuilder-buildpackage (BUILD_PID): Use chown "userid:" instead of "userid" 2003-08-15 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): Document uml-net group requirement for user-mode-linux. * THANKS: update. * pbuilder-user-mode-linux (UML_EXITCODE): check against no --distribution flag. pbuilder-user-mode-linux errored out when no distribution was set. From: Marek Habersack * pbuilder-user-mode-linux.1: update document to note that pbuilder-uml shouldn't be ran as root. 2003-08-09 Junichi Uekawa * pbuilder-modules (pbuilder-options): rm -r replacement, clean_subdirectories, use this instead of rm -rf, to check for -xdev. 2003-08-05 Junichi Uekawa * pbuilder-user-mode-linux: add 'rw' option to linux invocation to mount / read-write. 2003-08-01 Junichi Uekawa * pbuilder-user-mode-linux (UML_EXITCODE): remove |lv from pipe, it's not needed. Subject: Bug#203732: pbuilder-uml: Missing dependency on lv From: Daniel Schepler 2003-07-27 Junichi Uekawa * pbuilder-user-mode-linux: support --distribution flag for pbuilder-user-mode-linux #176095 2003-07-26 Junichi Uekawa * debian/pbuilder.links: Try symlinking /etc/pbuilderrc to /etc/pbuilder/pbuilderrc 2003-07-22 Junichi Uekawa * Documentation/pbuilder-doc.xml: document update, to clarify a little bit on where the example for running lintian is. 2003-07-08 Junichi Uekawa * pbuilderrc.5: update to note about user-mode-linux quirks. * pbuilder-uml.conf.5: note that APTCACHEHARDLINK * Documentation/pbuilder-doc.xml: document the error for LOGNAME not defined warning, Invalid cross-device link error, and conflict against essential being a bad idea. 2003-07-03 Junichi Uekawa * pbuilder-user-mode-linux.1: document that. * pbuilder-user-mode-linux (UML_DEBUGMODE): interpret --configfile itself and then pass to pbuilder. 2003-06-07 Junichi Uekawa * pbuilder.8: update documentation so that --othermirror is obvious. 2003-05-17 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): add notes on pbuilder backport. 2003-04-24 Junichi Uekawa * Documentation/pbuilder-doc.xml: note that --configfile option is useful for switching distributions. 2003-04-20 Junichi Uekawa * pbuilder-satisfydepends: use Source: rather than Format. Format does not exist on very old .dsc files. 189691 Daniel Schepler 2003-04-19 Junichi Uekawa * pbuilder: update copyright date. * pbuilder-buildpackage (PACKAGENAME): moved around D hook location so that D hook is called before satisfying build-deps. update copyright date. * pbuilder.8: minor improvements on the documentation wording. 2003-04-17 Junichi Uekawa * Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): update and document /tmp peculiarity. * pbuilder-user-mode-linux.1: document /tmp peculiarity 2003-04-11 Junichi Uekawa * debian/TODO: update TODO, bind mount, and other entries. 2003-04-10 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): added id tags to facilitate with wysidocbookxml 2003-04-09 Junichi Uekawa * pbuilder-user-mode-linux (EXTRAOPT): Change to use new hostfs options for user-mode-linux 2003-04-08 Junichi Uekawa * Documentation/pbuilder-doc.xml: update documentation a bit. * debian/TODO: update the TODO file wrt bind-mount/hostfs for UML. * pbuilder-user-mode-linux: Do not try to umount the mountpoints. There is no point in doing that. This works around the problem of non-upgradable UML. * pbuilder-modules (pbuilder-options): support IGNORE_UMOUNT option, and do not umount. * pbuilder-checkparams (IGNORE_UMOUNT): split --no-targz and --internal-build-uml. new variable IGNORE_UMOUNT, for ignoring umount. 2003-04-06 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): document bindmounts option. * pbuilderrc: add reference to the manual page in the example configuration file. * pbuilder-user-mode-linux (UML_DEBUGMODE): --bindmounts option. * debian/TODO: remove bind-mount from TODO. * pbuilder.8: document --bindmounts. * pbuilder-modules (pbuilder-options): add --bindmounts option * pbuilder-checkparams (PRESERVE_BUILDPLACE): add --bindmounts option * AUTHORS: update * pbuilderrc.5: document BINDMOUNTS option 2003-04-05 Sam Hartman * pbuilder: Remove warning about bind filesystems as it is no longer true. * pbuilder-modules : Support Bind mounts * pbuilderrc (BINDMOUNTS): New option 2003-04-05 Sam Hartman * pbuilder-modules (cleanbuildplace): Use find not rm -rf to clean up; avoid crossing out of the chroot on bind mounts. 2003-03-30 Junichi Uekawa * Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): spell-checked 2003-03-17 Junichi Uekawa * Documentation/pbuilder-doc.xml: add new FAQ entry on using apt cache for pbuilder files. 2003-03-12 Junichi Uekawa * pbuilder-modules (pbuilder-options): fix applying of preserve-buildplace patch. * pbuilder-checkparams (PRESERVE_BUILDPLACE): thinko fix. do not unset buildresult. 184420,184422 2003-03-11 Junichi Uekawa * pbuilder-buildpackage (PACKAGENAME): add missing PACKAGENAME. duh. * pbuilder-satisfydepends: unquote checkbuilddep_versiondeps ${CURRENTREALPKGNAME} * pbuilder-checkparams (PRESERVE_BUILDPLACE): the next day bug. let -buildresult '' to set BUILDRESULT to ''. 2003-03-10 Junichi Uekawa * pbuilder-checkparams (PRESERVE_BUILDPLACE): support pbuilder-user-mode-linux invocation for --buildresult. * pbuilder.8,pbuilder-createbuildenv,pbuilder-updatebuildenv: change hook name to E. * debian/rules: add check target for build. * Makefile (check): add check target to makefile, to see if there is any syntax error. * pbuilder-updatebuildenv: support --preserve-buildplace apply things from Daniel Schepler * pbuilder-satisfydepends: support --preserve-buildplace support Format: field. * pbuilder-modules (pbuilder-options): support --preserve-buildplace * pbuilder-buildpackage (PACKAGENAME): support --preserve-buildplace * pbuilder-buildpackage-funcs: support --preserve-buildplace * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): support --preserve-buildplace * pbuilder-checkparams (PRESERVE_BUILDPLACE): add PRESERVE_BUILDPLACE * pbuilder.8: update docs to add --preserve-buildplace * pbuilder-satisfydepends: quote some strings... trying to be pedantic * pbuilder-buildpackage-funcs: unset LOGNAME for when building with real root privilage. thanks Barak Pearlmutter * pbuilder.8: document X hooks which were previously undocumented. * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use readlink on real existing files. GNU "readlink -f " exits with an exit code of 1 when the file does not exist, debianutils readlink did not. * pbuilder-runhooks (hooks): do not call readlink here, since the file may not exist. * pbuilder-checkparams (USE_PKGNAME_LOGFILE): use readlink on real existing files. * pbuilder-buildpackage (PACKAGENAME): use readlink on real existing files. 2003-03-09 Junichi Uekawa * pbuilder.8: fix typo From: Tommaso Moroni Subject: Bug#184049: pbuilder: typo error in man page * THANKS: update. * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): add doc on PS1 setting for pbuilder. 183861: distinctive prompt Barak Pearlmutter 2003-03-06 Junichi Uekawa * AUTHORS: update authors and thanks file. 2003-03-01 Junichi Uekawa * pbuilder-satisfydepends: Try giving out messages on fail to install, and bugfix. from Daniel Schepler * Documentation/pbuilder-doc.xml: update documentation info somewhat to match what dxml-db2latex expects. 2003-02-22 Junichi Uekawa * pbuilder: check if it is in UML mode, and do not warn if it is in UML mode. 2003-02-14 Junichi Uekawa * Documentation/pbuilder-doc.xml: update ssh installing script to allow X forwarding. 2003-02-13 Junichi Uekawa * Documentation/pbuilder-doc.xml: document an example script to start up ssh inside pbuilder-uml. * pbuilder-checkparams: support execute option. * Documentation/pbuilder-doc.xml: document pbuilder-uml more, and execute command. * pbuilder-modules: update copyright statement. document "execute" * pbuilder-user-mode-linux.1: document "execute" command * pbuilder-user-mode-linux: implement execute command. * pbuilder.8: document "execute" * pbuilder: "execute" command. 2003-02-10 Junichi Uekawa * pdebuild: set pdebuild here as well. * pbuilder-checkparams (BASEBUILDPLACE): support the convention, and do not exec < /dev/null in that case. * pdebuild-user-mode-linux (PBCURRENTCOMMANDLINEOPERATION): set to pdebuild-user-mode-linux. * pbuilder-user-mode-linux.1: fix manual to have pbuilder-uml.conf.5 * Makefile (install): add pdebuild-user-mode-linux * pdebuild-user-mode-linux.1: Initial manual page. * pdebuild-user-mode-linux: try making a new script that uses pbuilder-user-mode-linux for building instead of pbuilder. 2003-02-04 Junichi Uekawa * pbuilder-buildpackage-funcs: use "cp -p" in copydsc 2003-01-29 Junichi Uekawa * pbuilder: add warning on never to bind mount on login. * pbuilder-uml.conf.5: document the FQDN lookup quirk. * pbuilder-uml.conf (UML_HOSTNAME): default value is the hostname of the host system. 2003-01-28 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): document that. * pbuilder.8: document apt-get update hook. * pbuilder-satisfydepends: apply patch from Daniel Schepler , fixing obvious typos. Bug: 178552 2003-01-18 Junichi Uekawa * THANKS: update. * pbuilder-modules (pbuilder-options): doit=cp instead of "ln -s". in pbuilder-modules. Thanks to eichin@metacarta.com (Mark Eichin) for reporting this. Bug: 177173 2003-01-16 Junichi Uekawa * pbuilder-modules (save_aptcache,recover_aptcache): use "find | while read ; " combination to go over the limits of shell globbing. #176872, reported by "Michel Dänzer" . 2003-01-10 Junichi Uekawa * pbuilder-user-mode-linux: use /var/cache/pbuilder/pbuilder-umlresult as directory to mount hostfs for result. (UML_DEBUGMODE): --uml-debugmode option to enable trace of shell. * Makefile (install): create pbuilder-umlresult dir. * pbuilder-uml.conf.5: document UML_BUILDRESULT * pbuilder-uml.conf (UML_BUILDRESULT): add UML_BUILDRESULT= * pbuilder-user-mode-linux (EXTRAOPT): add support for exitcode. Thanks mdz for the hint! (UML_EXTRAOPT): try and implement BUILDRESULT 2003-01-09 Junichi Uekawa * pbuilder-user-mode-linux: use /var/cache/pbuilder/pbuilder-mnt instead of /mnt, which may be used for other tasks. PBUILDER_COWFILENAME is buildplace/$$.cow. * Makefile (install): install /var/cache/pbuilder/pbuilder-mnt dir. * pbuilder-user-mode-linux (UML_EXTRAOPT): --buildresult ignore. * pbuilder-user-mode-linux.1: document --uml-hostname * pbuilder-user-mode-linux: set hostname inside UML. (UML_EXTRAOPT): --uml-hostname option. * pbuilder-uml.conf.5: document * pbuilder-uml.conf (UML_HOSTNAME): add variable for hostname 2003-01-08 Junichi Uekawa * pbuilder-user-mode-linux (UML_EXTRAOPT): --logfile option. * pbuilder-user-mode-linux.1: and document these new options. * pbuilder-user-mode-linux (OPERATION): --override-config option passed through to pbuilder. (EXTRAOPT): quote ${EXTRAOPT} which is probably meant to be passed through. (UML_EXTRAOPT): define as variable that is used to pass uml extra options. and, of course, add these options: --binary-arch --override-config --timeout --http-proxy --configfile --hookdir --aptconfdir * debian/rules (binary-arch): add manual page installation * pbuilder-uml.conf.5: new manual page * pbuilder-uml.conf (UML_MEM): Use 128MB memory per default, it would be better to use that. * pbuilder-user-mode-linux: export HOME inside UML Try and umount the device afterwards, so that it will be clean-mount the next time. thanks: Matt Zimmerman (OPERATION): --uml-mem option. * pbuilder-checkparams: update copyright * pdebuild: update copyright info. * update copyright information to add 2003. * pbuilder-user-mode-linux: LOGNAME is set as soon as entering UML. 2003-01-07 Junichi Uekawa * Documentation/pbuilder-doc.xml (PBUILDER_UML_IMAGE): update notes on parallel-invocation of pbuilder-uml * Documentation/pbuilder-doc.xsl: stylesheet * Documentation/Makefile (%.html): build rules updated thusly. * Documentation/pbuilder-doc.css: add new file to match netfort page style. * Documentation/pbuilder-doc.xml: update documentation and add chapter on pbuilder-uml, document that pbuilder-uml actually works, and some detailed nodes on how to use them. Add FAQ entry on how to specify extra apt sources. fix encoding to be utf-8 * pbuilder-user-mode-linux.1: update doc to document that configuration files for pbuilder is now read in. * pbuilder-user-mode-linux: add debug info, to print out the command-line used for running uml. export TMPDIR=/tmp inside the chroot inside UML. change UML_CHROOT_MOUNTPOINT from /tmp/ubd1 to /mnt, and do not mkdir UML_CHROOT_MOUNTPOINT. fix /tmp creation script so that /tmp is writable when not using tmpfs. use tempfile in creating the COW file. clean COW file after finishing. remove temporary file created by tempfile, because UML doesn't seem to like the zero-byte file. (POSSIBLE SECURITY PROBLEM) extra cleanup added for cleanup_function * pbuilder-uml.conf (BUILDPLACE): add definition of BUILDPLACE for pbuilder-uml. It is probably needed, because BUILDPLACE needs to be writable by the user for UML, while it is not for pbuilder. * pbuilder-user-mode-linux: load config for pbuilder also, before trying to load other things. 2003-01-06 Junichi Uekawa * Documentation/pbuilder-doc.xml (EXTRAPACKAGES): document possible usage of pbuilder for dchroot. * pbuilder.8: document --no-targz * pbuilder-checkparams (USE_PKGNAME_LOGFILE): allow --no-targz option as alias to --internal-build-uml * pdebuild (ARCHITECTURE): use dpkg-architecture to find out the architecture. sign changes file not dsc file. pointed out by Andrew Lau , bug #175432 2003-01-04 Junichi Uekawa * debian/control (Description): fix suggests to pbuilder-uml 2003-01-03 Junichi Uekawa * Documentation/pbuilder-doc.xml: add notes on what kind of things to expect when mass-autobuilding. 2002-12-31 Junichi Uekawa * debian/README.Debian (Testsuite): update the number of packages which do build and not build. 5000 builds -> 6000 1000 fail -> 600 * Documentation/pbuilder-doc.xml: import some parts from README.Debian. * debian/README.Debian (Try): removed some parts to XML doc. * Documentation/pbuilder-doc.xml: add notes on how to set up pentium-builder for building. * Documentation/Makefile (install): add install method. * Makefile (install): add install method for docs. * Documentation/pbuilder-doc.xml: history of pbuilder moved to here. * AUTHORS: history and background of pbuilder is moved over and remove from here. * Documentation/pbuilder-doc.xml: add docs on pbuildd. * pbuildd/Makefile (install): add /var/cache/pbuilder/pbuildd dir 2002-12-30 Junichi Uekawa * Makefile: install pbuildd files as well. * pbuildd/buildd.sh: modified for pbuilder. * pbuildd/buildd-config.sh (HOOKDIR): modified for pbuilder. 2002-12-28 Junichi Uekawa * Documentation/Makefile (all): documentation makefile. * Documentation/pbuilder-doc.xml: start to create documentation. 2002-12-23 Junichi Uekawa * pbuilder-satisfydepends: add note of which versions to try in pdebuild. 2002-12-18 Junichi Uekawa * pbuilder-user-mode-linux: try to use COW device. I had a typo, fix it. * pbuilder-user-mode-linux.1: document 2002-12-16 Junichi Uekawa * THANKS: update. * pdebuild.1: More vigorously document pdebuild option, which changed. From: Jose Carlos Garcia Sogo . 2002-12-15 Junichi Uekawa * THANKS: update this file, thinking that this file is probably autogenerated from ChangeLog on other projects... * pbuilder-modules (pbuilder-options): modify the ordering of scripts so that concurrent-build experience is more active. (pbuilder-options): extraction does not need the locking, does it? I can ignore the locks while extracting. Creating the tarball needs to lock the file. mv will not replace inodes, and running extraction routines will not be affected by it. Therefore I am removing the locking completely from extraction routines. At request of Sam Couter 2002-12-13 Junichi Uekawa * examples/D10tmp: fix error in script. * examples/C10shell: example of shell invocation. * Makefile (install): install dpkg-i example. * examples/B91dpkg-i: add new file to demonstrate using script to automatically install packages. * README: update the readme file for a change, since Andrew Stribblehill noticed a mistake. 2002-12-12 Junichi Uekawa * pbuilder-buildpackage (PACKAGENAME): add banner for logfile. * debian/control (Recommends): add devscripts to recommends * pbuilder-checkparams (USE_PKGNAME_LOGFILE): fix typo * pbuilder-modules (pbuilder-options): add reference to pkgname-logfile to help text. * pbuilder.8: documentation of pkgname-logfile moved closer to --logfile option. * ChangeLog: spell-checked. * pbuilder.8: document --pkgname-logfile option. From Michael Banck , requested feature. * pbuilder-checkparams (PBUILDER_BUILD_LOGFILE): logfile name is stored in PBUILDER_BUILD_LOGFILE (PBUILDER_BUILD_LOGFILE): add --pkgname-logfile option for using logfile with pkgname-version.log (USE_PKGNAME_LOGFILE): make this variable be usable only as command-line option, and not for configuration. * pbuilderrc.5: update doc to document AUTO_DEBSIGN * pdebuild: force set BUILDRESULT from pdebuild options when invoking pbuilder, so that config from pdebuild is used inside pbuilder. (PKG_SOURCENAME, PKG_VERSION): define as version and source base name. (debsign): invoke debsign when AUTO_DEBSIGN=yes. From Andrew Lau , requested feature. * pdebuild.1: update docs, so that --buildresult quirk is documented, and --auto-debsign is documented. * pbuilder-checkparams: change option ordering so that internal options go at bottom. --auto-debsign option added for setting AUTO_DEBSIGN=yes (BINARY_ARCH): move buildsourceroot and pbuilderroot option around so that they are in the pdebuild options section. * pbuilder.8: fix the documentation to clarify that A is executed after satisfying the build-depends. 2002-12-07 Junichi Uekawa * pbuilder-buildpackage-funcs: apply patch from Daniel Schepler , to properly use BUILDOPT in checkbuilddep. 2002-11-27 Junichi Uekawa * pbuilder-buildpackage-funcs: try and implement binary-arch option. * pbuilder-checkparams (--binary-arch): set DEBBUILDOPTS. * pbuilder.8: document --binary-arch * pbuilder-modules (pbuilder-options): add doc of binary-arch * pbuilder-checkparams (OVERRIDE_APTLINES): --binary-arch option. (BINARY_ARCH): set initial value to "no". thanks: Daniel Schepler * THANKS: update. * pbuilder-buildpackage-funcs (createbuilduser): do not set HOME here. * pbuilder-buildpackage (PACKAGENAME): make HOME to be "/tmp/buildd". thanks: Clint Adams 2002-11-25 Junichi Uekawa * THANKS: update list of people. * pbuilder-modules (pbuilder-options): display value of $BASETGZ instead of base.tgz Bug: 167813 Thanks: Michael Banck * pbuilder-user-mode-linux: Fix the order of conffile loading. Bug: 167808 Thanks: Peter Hawkins 2002-11-12 Junichi Uekawa * debian/README.Debian: update documentation a little-bit. 2002-10-30 Junichi Uekawa * pbuilder.8: update documentation for --debemail, it was wrong. * pbuilderrc.5: update documentation for DEBEMAIL, it was wrong. * pbuilderrc (HOOKDIR): Set default DEBEMAIL to "". * pbuilder-satisfydepends: remove the debug thing. * debuild-pbuilder: a better handling of directory, copied from pdebuild. * pbuilder-satisfydepends: make CHROOTEXEC invocation to make it less ambiguous, for versiondeps. 2002-10-29 Junichi Uekawa * pbuilder-buildpackage-funcs: unset LOGNAME * pbuilder-satisfydepends (--continue-fail): add a new feature to debug. * pbuilderrc.5: update * pbuilder.8: update documentation slightly. * THANKS: update thanks file. * pbuilder-buildpackage-funcs: LOGNAME is set to BUILDUSERNAME, and Create shadow entry for inside chroot on fakerooting as well. Reported by: Robert Bihlmeyer * pbuilder-buildpackage: Changed to work with trap instead of other kludgey alternatives. * pbuilder-buildpackage-funcs: fixed to use trap for buildpackage hooks. 2002-10-27 Junichi Uekawa * pbuilder-checkparams (BASEBUILDPLACE): check for user-mode-linux operation, Reported by ranty@debian.org Bug: #166194 2002-10-23 Junichi Uekawa * pbuilder-buildpackage-funcs: clean up when dsc-file copying into chroot fails. 2002-10-19 Junichi Uekawa * debian/TODO: beautify file, with Todoo mode. * debian/control (Standards-Version): 3.5.7 * and revert the change made.... fuser will kill anything that uses proc, which may be outside the chroot (including X and other things..) * pbuilder-modules (umountproc): use "umount_one". * debian/control (Suggests): add psmisc Suggestion. * pbuilder-modules (umount_one): generic umount module split out from umountproc Add FORCE_KILL_WITH_FUSER option, kills processes with fuser if "yes" Reported by Thorsten Sauter 2002-10-18 Junichi Uekawa * pbuilder-buildpackage-funcs: hack HOME variable. 2002-10-16 Junichi Uekawa * THANKS: update. * AUTHORS: update, add hmh. * debian/README.Debian: update a lot. * pbuilderrc.5: update doc to mention --override-config * pbuilder.8: update doc to mention that sid/sarge/woody are supported. update doc to mention --override-config * pbuilder-modules: update the help text a little bit. * pbuilder-checkparams (OVERRIDE_APTLINES): new option --override-config to install new aptlines. * pbuilder-modules (extractbuildplace): Check that OVERRIDE_APTLINES is not set, and rewrite apt lines. Bug: #164473 * pbuilder-satisfydepends: apply patch from hmh, thanks! It now searches for a version that matches. Bug: #164919 2002-10-11 Junichi Uekawa * pbuilder-modules (create_basetgz): new function add file locking (extractbuildplace) add file locking. * pbuilder-updatebuildenv: use create_basetgz * pbuilder-createbuildenv (DEBOOTSTRAPSCRIPT): make error handling more fine-grained, and add more handling for error cases. (create_basetgz): move function over to -modules. and use it. 2002-10-05 Junichi Uekawa * pbuilder-buildpackage (BUILD_PID): fix more quoting problems with PID. $! cannot be inside "". It seems. * debian/TODO: note that TODO item, support building without root is implemented. Running as non-root in the build process is implemented through the fakeroot options, so that entry goes away, too. * AUTHORS: update the little story. * THANKS: update a bit. * pbuilder-buildpackage (BUILD_PID): quote properly 2002-09-29 Junichi Uekawa * pbuilderrc.5: update manpage to document the vars. * pbuilder-buildpackage (BUILD_PID): preserve file permissions on copying the result. (BUILDRESULTUID,BUILDRESULTGID): define UID and GID. chown and chgrp to the user ID after build. 2002-09-25 Junichi Uekawa * pbuilder-runhooks (hooks): do not error out if there are no hooks in the hookdir. * debuild-pbuilder.1: fix typo. update date. add author and URL. * pdebuild.1: add author, URL. * pbuilder.8: update date and add URL. * pbuilderrc.5: add credits and upstream URL. update date. 2002-09-24 Junichi Uekawa * pbuilder-modules (copy_local_configuration): fix the rules to copy over to work around debootstrap breakage with handling of symlinks. Remove the target file prior to copy. 2002-09-22 Junichi Uekawa * THANKS: updated thanks file. * pbuilder.8: update documentation, to clarify a bit. * pbuilder-checkparams (BUILDPLACE): Change command-line parsing so that it should fix problems with specifying configfile. (BUILDPLACE): only set CHROOTEXEC if it is empty. set CHROOTEXEC to be empty at the start of param checking. * pbuilder-createbuildenv: use pbuilder-modules code for copying etc/ files. * pbuilder-modules: split out the function to copy local configuration. 2002-09-19 Junichi Uekawa * debian/rules (binary-indep): install pbuilder-user-mode-linux.1 manpage. * pbuilder-user-mode-linux.1: document with more details. * pbuilder-user-mode-linux (OPERATION): add distribution option. 2002-09-18 Junichi Uekawa * pbuilder-uml.conf: change configuration file so that it is more generic. * debian/pbuilder-uml.files: add more files to be moved over to pbuilder-uml package. * pbuilder-user-mode-linux: change the filenames to pbuilder.conf pbuilder-uml.conf * pbuilder-user-mode-linux.1: document config files. * pbuilder-uml.conf: change filename. * uml.conf: new file created. * pbuilder-user-mode-linux (BUILDING_DSC_FILE): add update after create. It should work better. (UML_MOUNT_TMPFS): add config file loading routine. 2002-09-17 Junichi Uekawa * pbuilder-user-mode-linux (UML_MOUNT_TMPFS): fix update whatever. * pbuilder-user-mode-linux.1: create manual page * pbuilder-user-mode-linux (BUILDING_DSC_FILE): update script to get it working. 2002-09-16 Junichi Uekawa * pbuilder-user-mode-linux (BUILDING_DSC_FILE): change the construct of the script. (UML_MOUNT_TMPFS): make chroot tmpfs mounting optional. * debian/control (Depends): add Source-Version dependency, because some modules are going to be incompatible with each other. * debian/pbuilder-user-mode-linux.files: create file. Move pbuilder-user-mode-linux * debian/rules: move the thing from binary-arch to binary-indep * debian/control (Depends): update depends of debootstrap to 0.1.17.9 * pbuilder-user-mode-linux: add trapping and cleaning up routine. * pbuilder-modules: modify things shuffling around until it works... * pbuilder-user-mode-linux (BUILDING_DSC_FILE): add call to pbuilder update. * pbuilder-updatebuildenv: check for INTERNAL_BUILD_UML and ignore the basetgz creation in UML. * pbuilder-modules: remove invocation of hostname from uml. * debian/control (Depends): require 1.31.1 or greater of debianutils for readlink * Makefile (install): add pbuilder-user-mode-linux to install target * debian/control (Depends): add depends on debianutils, for readlink * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use --internal-build-uml * pbuilder-modules (extractbuildplace): change to do less things when INTERNAL_BUILD_UML is specified. (cleanbuildplace): add check for INTERNAL_BUILD_UML * pbuilder-checkparams (--internal-build-uml): new option. * Makefile (install): add pbuilder-buildpackage-funcs to install target * pbuilder-buildpackage (PACKAGENAME): add id tag for calling showbuildbanner * pbuilder-buildpackage-funcs: create new file add banner opt for showbuildbanner * pbuilder-buildpackage: move funcs to /usr/lib/pbuilder/pbuilder-buildpackage-funcs 2002-09-15 Junichi Uekawa * pbuilder-user-mode-linux: experimental file. 2002-09-13 Junichi Uekawa * pbuilder-checkparams (CHROOTEXEC): add --internal-chrootexec option to set CHROOTEXEC variable. * pbuilder-createbuildenv: remove def for CHROOTEXEC * pbuilder-updatebuildenv: ditto * pbuilder-checkparams (CHROOTEXEC): CHROOTEXEC is set in checkparams, instead of -buildpackage etc. 2002-09-09 Junichi Uekawa * AUTHORS: add notes on devfs support. * pbuilder-modules: add devfs support Thanks to: "Dagfinn Ilmari Manns?er" * pbuilderrc (USEDEVFS): change default value on USEDEVFS * pbuilderrc.5: update docs on noninteractive. document USEDEVFS 2002-09-06 Junichi Uekawa * debian/changelog: 0.36 * debian/rules (binary-arch): add manpage install * pbuider-loadconfig: create from checkparams. a module to load config files only. * debuild-pbuilder: add debuild wrapper script. * debuild-pbuilder.1: add manpage * pbuilder-buildpackage (BUILD_PID): use "trap" a bit, so that error checking can be done at all. 2002-08-27 Junichi Uekawa * pbuilder-buildpackage (BUILD_PID): race condition with termination. Make it display message before KILL. 2002-08-24 Junichi Uekawa * pbuilder-buildpackage (BUILD_PID): add error checking for "kill" 2002-08-20 Junichi Uekawa * pbuilder-buildpackage (BUILD_PID): add better messages for build-termination process. more verbose execution logs, better messages * debian/docs: add THANKS. * pbuilder-modules: document --timeout option. * pbuilder.8: document --timeout option * pbuilder-checkparams: add --timeout option * pbuilderrc.5: document TIMEOUT_TIME * pbuilder-buildpackage (CHROOTEXEC): add missing executehooks "C" to a case. (CHROOTEXEC): clean the command-line a bit, so that it's easier to use. (BUILD_PID): add timeout for build process. 2002-08-18 Junichi Uekawa * AUTHORS: added section about History and background of pbuilder. 2002-08-07 Junichi Uekawa * debian/changelog: 0.35 release * debian/control (Depends): stricter depends. * debian/README.Debian: update notes 2002-08-06 Junichi Uekawa * pbuilderrc.5: update manpage to make it more verbose 2002-07-23 Junichi Uekawa * Makefile (install): add examples dir. (install): install B90linda, D10tmp (install): install them executable, probably. 2002-07-17 Junichi Uekawa * debian/changelog: 0.33 release * THANKS: Created file to credit people. 2002-07-11 Junichi Uekawa * pbuilder-updatebuildenv: fix the && usage to use if. 2002-07-07 Junichi Uekawa * pbuilderrc.5: document that "" for APTCACHE will turn off the caching, as pointed by Colin Walters * pbuilder.8: add some documentation. 2002-06-20 Junichi Uekawa * examples/B90linda: added an example to use linda. 2002-06-18 Junichi Uekawa * debian/README.Debian: update README.Debian to note of TMPDIR. 2002-05-30 Junichi Uekawa * pbuilder-modules: add suggestion from david@josefine.at 2002-05-26 Junichi Uekawa * pbuilder-modules: use readlink -f to determine the real location of etc/hostname etc. 2002-05-14 Junichi Uekawa * pbuilder-buildpackage: add handler for some .dsc files which contain something after the filenames, like ones which have the undocumented url: field. (e.g. zope-extfile) 2002-05-13 Junichi Uekawa * pbuilder: modified clean target to load pbuilder-checkparams, instead of sourcing the config file directly. Change the test to if conditions. Fixed a thinko. 2002-05-07 Junichi Uekawa * pbuilderrc.5: document USEDEVPTS * pbuilderrc (USEDEVPTS): added USEDEVPTS option, and change to yes. * pbuilder-modules: mount /dev/pts and umount. fixed messages 2002-05-01 Junichi Uekawa * debian/changelog: release 0.27 2002-04-30 Junichi Uekawa * debian/rules (binary-arch): change pbuilder manpage to 8 * pbuilderrc.5: change pbuilder manpage to 8 * pbuilder.1: change pbuilder manpage to 8 * pdebuild.1: change pbuilder manpage to 8 * pbuilderrc.5: updated documentation by comment from Steven M Robbins. I appreciate this! 2002-04-20 Junichi Uekawa * debian/TODO: update a little bit. 2002-04-13 Junichi Uekawa * examples/D10tmp: created TMPDIR creating script * created examples dir, for example script. * pbuilder.1: added notes on manpage 2002-04-05 Junichi Uekawa * pbuilder-buildpackage: "perl dpkg-source" instead of "dpkg-source" for potato. er... this didn't help, reverting. 2002-03-31 Junichi Uekawa * pbuilder-satisfydepends: changed message slightly to make things more visible. 2002-03-24 Junichi Uekawa * pbuilder-satisfydepends: Build-Depends:[SPACE] is not forced. Fixed regexp. for "smurf" 2002-03-13 Junichi Uekawa * pbuilderrc.5: fixed the documentation, somehow --distribution doc was mixed in with --hookdir. refer to pbuilder.1 for --hookdir options. * pbuilder-buildpackage (CHROOTEXEC): executehooks "D" before unpack, and after extract. * pbuilder.1: document new hook "D" * pbuilder-satisfydepends: fix depends regexp, so that multi-line Build-Depends with epoch versions will not fail. * pbuilder-buildpackage: will clean up and exit if satisfydepends fail. * pbuilder-satisfydepends: fixed --echo and --chroot race. It is now possible to specify "--chroot whatever --echo" to debug some chrooting action. "/usr/lib/pbuilder/pbuilder-satisfydepends" reads debian/control and satisfies dependency, outside of chroot. It is rather handy. saveaptcache_umountproc_cleanbuildplace cannot be called from satisfydepends. fixed error message. * pbuilder.1: added notes on "almost obsolete"ness of -m option. 2002-03-12 Junichi Uekawa * pbuilder-satisfydepends: created Modified/forked pbuilder-buildpackage. Should be possible to install build-dependency outside of chroot, for usual operation. -- Do you trust pbuilder parser ? Instead of dpkg --print-architecture, use dpkg-architecture -qDEB_HOST_ARCH It is now possible to debug dependency with pbuilder-satisfydepends --echo --force-version --control controlfile * pbuilder-buildpackage: only run apt-get -y install ${EXTRAPACKAGES} when ${EXTRAPACKAGES} is not "" * debian/TODO: updated, non-root builds using fakeroot are now supported. document $TMPDIR and $HOME problems. * pbuilder-buildpackage: only handle Build-Depends / Control found in Source section and ignore any such entry in package sections.. 2002-03-10 Junichi Uekawa * debian/changelog: add new bug # to changelog. 2002-03-03 Junichi Uekawa * pbuilder.1: fix the documentation, --debbuildopts. Note the default. * pbuilder-checkparams (BUILDPLACE): no longer set DEBEMAIL to nobody@nowhere even if it is "". Just hope that the user has set it to a valid value. * pbuilderrc (DEBEMAIL): nobody@nowhere is the default DEBEMAIL. Configure it! * pbuilderrc, pbuilderrc.5: change default to build source/binary packages. Document it. 2002-02-26 Junichi Uekawa * pbuilder-buildpackage: reversed logic. sort -nr instead of sort in PACKAGEVERSION apt-cache routine. 2002-02-24 Junichi Uekawa * debian/changelog: release 0.24 * pdebuild.1: added better documentation. * pbuilder-buildpackage: add runhooks * pbuilder-runhooks: add quoting. * pbuilder.1: added notes of hooks * pbuilder-createbuildenv: HOOKDIR checking is moved over to runhooks. * pbuilder-updatebuildenv: likewise * pbuilder-runhooks: checks HOOKDIR, and if it's blank, quit. 2002-02-22 Junichi Uekawa * debian/changelog: release 0.23 2002-02-20 Junichi Uekawa * Makefile (install): fixed typo. * pbuilderrc.5: update the doc accordingly. * pbuilder-buildpackage (CHROOTEXEC): add fakeroot to EXTRAPACKAGES when in fakeroot mode. * pbuilderrc (BASETGZ): revert the pbuilderrc change to make fakeroot always installed. It's only required when fakeroot mode of buildpackage is run. Make it so. * pbuilder-buildpackage: most things are now fixed. fakeroot mode now works! * Makefile (INSTALL_DIRECTORY): rewrote the makefile to be a bit better with install. * pbuilder-buildpackage: add fix to chown the directory as well removed some debug string. 2002-02-18 Junichi Uekawa * pbuilder-modules: adds /etc/mailname on extractbuildplace. emacsen should install. * pbuilder-buildpackage: Can now handle ([SPACE]<< version) version relationship. Needed for arpack trying to change the /etc/group string, to make things work. Changed ordering of commands for SUTOUSER. 2002-02-16 Junichi Uekawa * pbuilder-buildpackage: fix ordering, to make the passwd creation work -rfakeroot added to DEBBUILDOPTS automatically. some more typos fixed. very much fixo. * pbuilderrc: added fakeroot to default extrapackages * pbuilderrc.5: added notes. 2002-02-15 Junichi Uekawa * pbuilder.1: document updated, noting of minor details of what option takes effect in what command. * pbuilder-buildpackage: changing it to use the specified uid. EXTRAPACKAGES option is valued within "pbuilder build" * pbuilderrc.5: document BUILDUSERNAME, BUILDUSERID * pbuilderrc (BUILDUSERNAME): added (BUILDUSERID): added 2002-02-14 Junichi Uekawa * debian/TODO: document some known bugs and features. * pbuilder-updatebuildenv: instead of purge lilo, purge $REMOVEPACKAGES Tried to add something like: -o 'DPkg::Options={"--force-confnew";}' to apt-get dist-upgrade, but it doesn't seem to function. * pbuilder-buildpackage: quoting some string redirct the cp error output to /dev/null because it looks ugly. Slight mods to message 2002-02-13 Junichi Uekawa * pbuilder-buildpackage: support for saving the aptcache when build target fails in the middle of installing the build dependency. 2002-02-12 Junichi Uekawa * debian/changelog: 0.22 released, 0.23 started. * pbuilder-updatebuildenv: apt-get clean is handled with ||true * pbuilder-modules: some notes will be given if cache content is empty Added more check. * debian/changelog: updated the changelog, adding notes. 2002-02-11 Junichi Uekawa * pbuilder-buildpackage: added a banner for pbuilder changed the message for build-dependency failure, to make it more "pbuilder" like. 2002-02-10 Junichi Uekawa * debian/TODO: updated TODO * debian/README.Debian (Testsuite): document testsuit. The current testsuite is not individual programs, but the Debian main archive itself. * debian/changelog: update the changelog wrt the problem with debootstrap. * debian/control (Depends): update the depends field to require 0.1.16.2 of debootstrap. There was a bug in 0.1.16 and 0.1.16.1 0.1.15.7 etc. should work, but they no longer exist in the archive, I shouldn't worry about it. * pbuilder-buildpackage: fixed the sed rule to allow for space. * pbuilder-buildpackage: fixing the awk bit to make case-insensitive, and non-intervening. Build-Depends detection should be better now. slight fix in ordering and minor detail. * pbuilder-buildpackage: Build-Depends-Indep etc. field names are handled as case-insensitive. So "BuilD-DePeNDS-inDeP" is a valid field name according to policy. INSTALLPKG and INSTALLPKGMULTI are local vars considering INSTALLPKGMULTI is printed with $0, not $1 (which contains random output) introduced CURRENTREALPKGNAME Using the CURRENTREALPKGNAME variable in depends/conflicts checker. fixed the CURRENTREALPKGNAME to handle packages with build-dependency without space. i.e. PACKAGENAME(>> version) * pbuilder-updatebuildenv: uses recover_aptcache and save_aptcache. * pbuilder-createbuildenv: added recover_aptcache, and save_aptcache to the creation process. * pbuilder-modules: recover_aptcache, save_aptcache function created * pbuilder-buildpackage: moved the recovering the aptcache and saving routine out to -modules. 2002-02-09 Junichi Uekawa * pbuilder-modules: some message change. * pbuilder-buildpackage: Build-[dD]epends, and Build-[Dd]epends-[Ii]ndep, because many packages seem to use Build-depends instead of Build-Depends, and most tools seem to cope with it. Likewise for Build-Conflicts. fix some messages. 2002-02-08 Junichi Uekawa * debian/changelog: release 0.21 * pbuilder-buildpackage: added echobacktime function, and some logging of time, so that the information can be used in tracking the time required. * pdebuild: use the dpkg-buildpackage -r option rather than calling it with $BUILDSOURCEROOTCMD. dpkg-buildpackage does more optimal things. Am I breaking things? * pbuilder-checkparams : adding DEBIAN_FRONTEND=Noninteractive case to the noninteractive mode check. Needed to work around FAI/ sbuild/whateverelse undocumented incompatibility. 2002-02-06 Junichi Uekawa * debian/changelog: updated the changelog. 2002-02-02 Junichi Uekawa * debian/README.Debian: typo fixes. * pbuilderrc.5: checked and fixed typos. * pbuilder-modules: fixed, privilate -> privilege * debian/TODO: fixed typo, added notes. * pbuilder-updatebuildenv: added GPL notice * pbuilder-createbuildenv: added GPL notice * pbuilder-checkparams: added GPL notice * pbuilder-modules: added GPL notice * pbuilder-buildpackage: added GPL notice at top * pbuilder: updated copyright notice to 2001,2002. * pbuilder: remove the unnecessary test -z thing, so that duplicate help message will not appear. * pbuilderrc.5: APTCONFDIR documentation * pbuilder.1: document --aptconfdir added some more comments on "update" option and "--distribution" more notes are added to --buildresult. * pbuilder-modules: when aptconfdir is set, just dump the files inside there to /etc/apt inside chroot. * pbuilder-checkparams: added --aptconfdir * pbuilderrc (APTCONFDIR): new variable. * pbuilder-modules: installing apt-lines will use arbitrary dir to copy the template from. 2002-02-01 Junichi Uekawa * pbuilder-checkparams: --othermirror option parser had a typo. pointed by kov@debian.org 2002-01-31 Junichi Uekawa * debian/TODO: updated documentation in TODO. * debian/changelog, debian/README.Debian: the documented workaround is not a good one, removed the workaround, and mention of it. * debian/README.Debian: updates to the documentation. 2002-01-28 Junichi Uekawa * debian/changelog: updated the changelog. * pbuilder-checkparams: change the --logfile option behavior, it should be able to redirect stderr output better. Read ~/.pbuilderrc * pbuilder.1: typo/spelling mistake fixed. * debian/README.Debian (Notes): added notes on the workaround. 2002-01-27 Junichi Uekawa * pbuilder: modified to use umountproc_cleanbuildplace in "trap" for "pbuilder login" * pbuilder-createbuildenv: added a trap function to cleanbuildplace on exit. some obsolete and unnecessary cleanbuildplace invocation removed. * pbuilder-buildpackage: changed abortingfunction -> umountproc_cleanbuildplace (name change) * pbuilder-modules (umountproc_cleanbuildplace): changed function name. * pbuilder-updatebuildenv: changed aborting function to umountproc_cleanbuildplace, to unify. moved the "trap" invocation to a better location, before loadhooks. 2002-01-24 Junichi Uekawa * pbuilder-updatebuildenv: Aborting function is performed through trap * exit. Probably others too need to be done this way. 2002-01-22 Junichi Uekawa * pbuilder-updatebuildenv: added a aborting function abortprocess, so that any upgrade process that fails will clean up. 2002-01-18 Junichi Uekawa * pbuilder-checkparams: fixed a typo. 2002-01-18 * pbuilder-modules: added documentation for debbuildopts. * pbuilderrc (DEBBUILDOPTS): added a default value for the new option. * pbuilder-buildpackage : hand-applied patch from Daniel Kobras * pbuilder-checkparams: ditto * pbuilder.1: ditto * pbuilderrc.5: ditto * added copyright notice to bottom of ChangeLog * AUTHORS: added Daniel Kobras to the list. Maybe he should join the "THANKS" file, but I don't know if I should be making another file. * debian/TODO: updated 2002-01-15 * pbuilderrc: quoting some text just for the sake of quoting. adding some verbose comments. * pbuilder-checkparams: var emptying at the beginning for DPKG_BUILDPACKAGEOPTS was obsolete, removed. * debian/README.Debian (Testsuite): added notes on testsuites, and how they are doing. * pbuilder: Modify $@ to "$@" as pointed out by Daniel Kobras. 2002-01-15 Junichi Uekawa * pbuilder-checkparams : added routine to load usr/share/pbuilder/pbuilderrc if it exists. * Makefile (install): added usr/share/pbuilder/pbuilderrc default config. This file contains some changelog record for individual files. More generic info should be found in debian/changelog. I should probably create NEWS file, but well... it takes some energy. When pbuilder stabilizes, I will look at doing it. 14 Jan 2002 Junichi Uekawa Copyright (c) 2001-2003 Junichi Uekawa $Id$