2002-10-30 Junichi Uekawa * 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 kludgy 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, 2002 Junichi Uekawa $Id$