Parent Directory
|
Revision Log
| Sticky Revision: |
Traditional Chinese translation update (French update is an artefact)
Updated Greek translation
releasing version 1.4.45
releasing version 1.4.44
releasing version 1.4.43
The passthrough frontend sets the value of visible questions by getting the value from the UI agent, but it didn't set the value of invisible questions as the confmodule expects it to. It now sets the value of invisible questions in the same way as the noninteractive frontend.
Added Arabic programs translation
Add Tagalog translation
Korean translation updated
Updated Romanian translation
Basque translation updated
More translations updated
Several translations updated
Make a few new strings translatable in dpkg-preconfigure Closes: #225463
releasing version 1.4.42
* Patch from mdz to improve the passthrough frontend:
- Use DEBCONF_READFD and DEBCONF_WRITEFD for passthrough communication
if DEBCONF_PIPE is not set to a socket.
- Change passthrough protocl for INPUT command so it is the same as in
the debconf protocol, and pass the type of the question in a "DATA type"
command.
- Fix passing of extended descriptions in DATA. Note they're newline
escaped.
- Pass choices for multiselect questions.
* Fix typo in man page example. Closes: #285099
* Add --unseen flag to debconf-set-selections. Closes: #286318
* Fix bug in man page example script. Closes: #286335
releasing version 1.4.41
Add Romanian programs translation
Finnish programs translation updated
* Joey Hess
- Force PERL_DL_NONLAZY=1 in confmodule, confmodule.sh, debconf.py, and
Debconf::Client::ConfModule to avoid bad behavior of the dynamic linker
when Text::Iconv is loaded but its symbols have not really been
resolved. This caused debconf to be killed with a relocation error
in certian upgrades from woody involving packages that use debconf in
their preinst. Closes: #278417 Thanks to Andrew Suffield and Branden
Robinson for analysis.
- Add check in frontend and debug message if PERL_DL_NONLAZY is not set
to 1 when it's run from a preinst, in case I missed other entry points.
Add Slovak translations
Set the seen flag on questions asked in the noninteractive frontend if DEBCONF_NONINTERACTIVE_SEEN is set to true. This allows debootstrap to behave better (partly fixes #238301).
Remane po/zh_TW.Big5.po to zh_TW.po Updated po/zh_CN.po
[l10n) Indonesian programs translation added
releasing version 1.4.39
- Polish updated (debconf). Closes: #275815
* Joey Hess
- Avoid a warning message in DbDriver::Copy that's triggered by d-i
debconf preseeding. Closes: #275122
[l10n] Norwegian Nynorsk programs translation added
[l10n] Updated Italian translations
Added Hebrew translation
[l10n] Updated Spanish translation
releasing version 1.4.38
* Translations:
- Updated Brazilian Portuguese translation (programs). Closes: #273941
releasing version 1.4.37
[l10n] Czech translation update
[l10n] Portuguese translation added
Mark #272541 as pending
[l10n] Dutch translation added
[l10n] Russian translation updates. #272723
[l10n] Italian debconf translation update. #272521
[l10n] Errors corrected by the translator who wasn't drunk that time
releasing version 1.4.36
Correct trivial errors to Russian and Polish translations Remove incorrect UTF-8 in changelog
Brazilian translation checked and run debconf-updatepo just in case
Updated Polish debconf translation
Updated Ukrainian translations Updated French debconf translation
[l10n] Yet another french translation bug to be closed..:-)
[l10n] Updated French translations
* Fix debconf-get-selections to not choke on files with comments followed
by nothing.
* Allow multiple spaces between all values except the last one in preseed
files.
releasing version 1.4.34
releasing version 1.4.33
releasing version 1.4.32
releasing version 1.4.31
improvement
* Add Tukish po file translation from Recai Oktas. Closes: #264713 * Japanese po file update from kmuto. Closes: #265984
see changelog
* Patch from David Schweikert to let dpkg-reconfigure use the noninteractive
frontend if forced to do so. Closes: #263398
* Minor Danish po file update. Closes: #262131
* State machine improvements and better back out handling from Bruce Perens.
releasing version 1.4.30
releasing version 1.4.29
releasing version 1.4.28
* Typo fixes in debconf-devel.7. Closes: #253341
releasing version 1.4.27
releasing version 1.4.26
* Add Basqe translation by Piarres Beobide Egaña. Closes: #247321 * German translation update. Closes: #251731
releasing version 1.4.25
releasing version 1.4.24
releasing version 1.4.23
releasing version 1.4.22
* Fix frontend capitalisation warning. Closes: #242277 * Wording tweak in dpkg-reconfigure. Closes: #242917 * Update po/da.po. Closes: #243202
* Update po/ja.po. Closes: #241786
releasing version 1.4.21
releasing version 1.4.20
releasing version 1.4.19
releasing version 1.4.18
releasing version 1.4.17
* Added Turkish po file translation from Recai Oktas. Closes: #239141
releasing version 1.4.16
releasing version 1.4.15
releasing version 1.4.14
releasing version 1.4.13
releasing version 1.4.12
releasing version 1.4.11
releasing version 1.4.10
releasing version 1.4.9
releasing version 1.4.8
license files added, other misc
releasing version 1.4.7
releasing version 1.4.6
releasing version 1.4.5
releasing version 1.4.4
releasing version 1.4.3
releasing version 1.4.2
releasing version 1.4.1
releasing version 1.4.0
* When the teletype frontend is processing the answer to a boolean
question, accept English answers even if the locale is set to some other
language, as the question may not yet be translated. Closes: #220472
* Remove cruft that acted as if "" was a default value in Teletpye Boolean.
Closes: #210671
* debconf-copydb, DbDriver/Copy: deal better with input dbs that have no
Owners fields, such as cdebconf templates dbs. Assume that the owner is
"unknown" in this case.
* Add support for the SETTITLE command to better handle translated titles.
Closes: #172218, #213184
* Drop ucfirst of package name in default title.
* Make Debian::DebConf::Client::ConfModule deprecation warning go to stderr,
not log.
* Conflict with versions of whiptail before --default-item was added.
* Use --default-item in dialog frontend, instead of the nasty menu
reordering. Yay!
* Move debconf-communicate from debconf-utils to debconf, it is needed by
base-config 2.0.
* Urgency medium to help the new base-config get into testing quickly.
* Dialog frontend set values to "" or defaults when the user hit cancel or
escape and capb backup was not enabled. Instead, in this case do not
change any values.
releasing version 1.3.21
releasing version 1.3.20
releasing version 1.3.19
releasing version 1.3.18
releasing version 1.3.17
releasing version 1.3.16
move from cvs import
* Spanish update. Closes: #212401 * Russian update. Closes: #214364
* Move from build-depends-indep to build-depends, to match current policy.
* Updated Japanese template po file from Kenshi Muto. Closes: #210374
* Removed the outdated debconf tutorial which was aimed at converting
pre-debconf packages to debconf. Use debconf-devel(7) for all your debconf
development needs.
* Got rid of all the xml stuff, trimmed build deps down.
* Lots of other doc reference updates.
* Removed the pre 0.9 downgrade warning from prerm.
* Removed the debconf.cfg removal code from postinst.
* pt_BR template po update. Closes: # 207963 * French po file update. Closes: #208365
* Update Spanish templates. Closes: #206803 * Fix name of dpkg-preconfigure in its help output. Closes: #206892
* Removed the showold question, and all showold support except what's
necessary for dpkg-reconfigure. Closes: #129666, #184142
* Dutch templates po file translaton. Closes: #204916
* French man page updates from Julien Louis. Closes: #204745 * Move dh_python to python2.3 module directory. Closes: #206165
* Make the LDAP driver not crash debconf if it is not Required and it fails
to connect. Closes: #203780
* Added perl to Suggests line since perl and/or perl-modules are
needed by eg, the readline frontend. Also added note to man page.
Closes: #203766
* Updated French translaton by Christian Perrier. Closes: #203101
* debconf-i18n conflicts/replaces older debconf-utils, which used to have
the translated copydb manpages. Closes: #203619
sync
* Fixed a typo.
* Improved wording of error message while parsing config file.
Closes: #184991
* debconf-copydb: Include --owner-pattern option in the synopsis and usage.
Closes: #201680
* readline and teletype frontends do not display default in brackets,
and do not special case empty string as the default. It's more important
that the user be able to enter an empty string reliably. Default values
are still provided if Term::Readline::Gnu is installed. Closes: #183970
* FORCE_DIALOG is now renamed to DEBCONF_FORCE_DIALOG, and documented.
Also, it now simply sets the preference; if dialog is not installed
debconf will use whiptail with this variable set.
* The "free meals all week" release.
* Do the debconf-utils doc dir transition in its postinst, not preinst.
Closes: #201018, #201024, #201019, #201018, #201017
* The "Amaya says I can't eat until I fix a RC bug" release.
* Updated ja.po. Closes: #200764
* Fix debconf-utils preinst to not try to remove the old directory on a
fresh install. Closes: #200941
* debconf-i18n needs to Replaces debconf, as it takes over files from the
old version.
* First DebConf^3 upload.
ja update and other
* Debconf will now use Tomohiro KUBOTA's Text::WrapI18N module for line
folding, thus supporting proper display of:
- multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5,
- combining characters and fullwidth characters which occupy zero
and two columns on screen, and
- languages which don't use whitespace between words (Chinese and
Japanese) and mixture of such languages and other languages.
* Debconf also makes use of Tomohiro's Text::CharWidth module for character
counting.
* Known bugs:
- Line-folding of prompt line in readline frontend is not aware of
multibyte encodings nor combining/fullwidth characters (Bug#195678).
- For dialog frontend, "dialog" package should not be used because
it doesn't yet support multibyte encodings nor combining/fullwidth
characters (Bug#195674). (Dickey is working on it.)
* The above is made possible thanks to the work of Tomohiro KUBOTA
<kubota@debian.org>.
* Extended Deconf::Encoding module to provide wrap, $cols, and width.
It loads Tomohiro's modules if available, and falls back Text::Wrap and
length if not.
* Reorganized the i18n support, so all necessary packages are installed by
default (Closes: #196475, #173647), and so it can easily be removed
(saving 500k) for those who don't need it and lack disk space.
Introduced debconf-i18n and debconf-english packages.
* Link debconf-utils doc dir to debconf's, since it depends on it anyway.
With transition preinst script. Saves 60k.
* debconf-english and debconf-i18n are linked also.
* debconf-show: Act on all packages named on command line. Closes: #198036
* debconf.fr.7 update. Closes: #198096
* debian/po/fr.po update
* SCHEIDLER Balazs <bazsi@balabit.hu> provided a patch to make the
passthrough frontend skip hidden elements. Closes: #198503
update
* Debconf will now use Tomohiro KUBOTA's Text::WrapI18N module for line
folding, thus supporting proper display of:
- multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5,
- combining characters and fullwidth characters which occupy zero
and two columns on screen, and
- languages which don't use whitespace between words (Chinese and
Japanese) and mixture of such languages and other languages.
* Debconf also makes use of Tomohiro's Text::CharWidth module for character
counting.
* Known bugs:
- Line-folding of prompt line in readline frontend is not aware of
multibyte encodings nor combining/fullwidth characters (Bug#195678).
- For dialog frontend, "dialog" package should not be used because
it doesn't yet support multibyte encodings nor combining/fullwidth
characters (Bug#195674). (Dickey is working on it.)
* The above is made possible thanks to the work of Tomohiro KUBOTA
<kubota@debian.org>.
* Extended Deconf::Encoding module to provide wrap, $cols, and width.
It loads Tomohiro's modules if available, and falls back Text::Wrap and
length if not.
* Reorganized the i18n support, so all necessary packages are installed by
default (Closes: #196475, #173647), and so it can easily be removed
(saving 500k) for those who don't need it and lack disk space.
Introduced debconf-i18n and debconf-english packages.
* Link debconf-utils doc dir to debconf's, since it depends on it anyway.
With transition preinst script. Saves 60k.
* debconf-english and debconf-i18n are linked also.
* debconf-show: Act on all packages named on command line. Closes: #198036
* debconf.fr.7 update. Closes: #198096
* debian/po/fr.po update
* SCHEIDLER Balazs <bazsi@balabit.hu> provided a patch to make the
passthrough frontend skip hidden elements. Closes: #198503
* Debconf will now use Tomohiro KUBOTA's Text::WrapI18N module for line
folding, thus supporting proper display of:
- multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5,
- combining characters and fullwidth characters which occupy zero
and two columns on screen, and
- languages which don't use whitespace between words (Chinese and
Japanese) and mixture of such languages and other languages.
* Debconf also makes use of Tomohiro's Text::CharWidth module for character
counting.
* Known bugs:
- Line-folding of prompt line in readline frontend is not aware of
multibyte encodings nor combining/fullwidth characters (Bug#195678).
- For dialog frontend, "dialog" package should not be used because
it doesn't yet support multibyte encodings nor combining/fullwidth
characters (Bug#195674). (Dickey is working on it.)
* The above is made possible thanks to the work of Tomohiro KUBOTA
<kubota@debian.org>.
* Extended Deconf::Encoding module to provide wrap, $cols, and width.
It loads Tomohiro's modules if available, and falls back Text::Wrap and
length if not.
* Reorganized the i18n support, so all necessary packages are installed by
default (Closes: #196475, #173647), and so it can easily be removed
(saving 500k) for those who don't need it and lack disk space.
Introduced debconf-i18n and debconf-english packages.
* Link debconf-utils doc dir to debconf's, since it depends on it anyway.
With transition preinst script. Saves 60k.
* debconf-english and debconf-i18n are linked also.
* debconf-show: Act on all packages named on command line. Closes: #198036
* debconf.fr.7 update. Closes: #198096
* debian/po/fr.po update
* Make the conflict with whiptail-utf8 versioned (to the last version
before it was removed) since whiptail provides it. Closes: #197863
* Follow up with a Spanish template update, also from Carlos.
Closes: #196786
* Spanish translation update from Carlos Valdivia Yag�e. Closes: #196672
* Conflict with whiptail-utf8 until it gets --output-fd support.
Closes: #195818
* Conflict with whiptail versions before 0.51.4-7, which adds --output-fd
support.
* Turn on output-fd support for whiptail.
* Wrap priority question better on narrow terminals. Closes: #195485
* Make Net::LDAP use LDAPv3 since that's the default provided by slapd
now. Closes: #195673
* Conflict with dialogs older than 0.9b-20020814-1, which added --output-fd.
* Add support to dialog frontend for using the --output-fd switch when using
dialog, to separate error messages and output. Closes: #194331
However, whiptail does not yet implement --output-fd, so you can still
screw your system up using whiptail and a bad TERM setting. This is
whiptail bug #55182.
* Updated Japanese translation. Closes: #193747
* Updated French translation. Closes: #194525
* Several French translation updates from Julien Louis. Closes: #189448
- updates - updated all installhooks for new kite directory layout
* Don't need PATH munging for dh_installdebconf since po-debconf is used
now. Closes: #185913
* Updated pt_BR template po file again. Closes: #184950 * typo, Closes: #185587
* Updated pt_BR template po file. Closes: #183301
* Complete de and da translations downloaded from DDTP.
(NB, some have trailing whitespace fuzzyness issues.)
* debconf-mergetemplates: Split field and lang non-greedily on field,
to properly split eg, fr.iso-8859-1. Patch from Dennis.
* Patch from Roderich Schupp:
- PackageDir needs to manually remove files on shutdown, calling
inherited remove method fails as the items are not in the cache
anymore. This only shows up if using PackageDir for both config and
templates.
- Fix typo in Directory::remove which kept it from removing "-old"
backup files.
- Make PackageDir::shutdown Call endfile on format.
Closes: #182725
* Use ! not ^ in confmodule character class. Closes: #183032
* Now provides the debconf-2.0 virtual package. Note that 2.0 is the debconf
protocol version, not the package version. Packages that depend on debconf
should begin to migrate over to the new virtual package, as it will
eventually let cdebconf be used as an alternate.
(However, I will wait for this to get into testing before changing
dh_installdebconf's generated dependencies, to avoid blocking too much
from testing.)
* No longer provides debconf-tiny.
* confmodule: split on only one whitespace. Closes: #182287
* Update for debconf-show.fr.1 and confmodule.fr.3. * debconf-getlang and debconf-mergetemplate now print deprecation warnings. * Set $Text::Wrap::break = qr/\n|\s(?=\S)/ Closes: #159653
* Debugf message when skipping 1 or 0 select select question.
Closes: #181620
* With a name like POSIX_ME_HARDER, what do you expect? Turned it off in
dialog frontend. Closes: #178746
* To find .debconfrc, look up the home directory of the current user with
getpwuid, instead of trusting $HOME, which is untrustworthy thanks to
programs like sudo. Closes: #181288
* Sylvain Ferriol enhanced debconf-show so it can list debconf databases,
owners of questions, and so it can be limited to list only owners or
questions in a given database.
* French man page updates from Julien Louis.
* Updated Russian po files from Serge Winitzki. Closes: #180891
(corrected po/ru.po broken quote and added missing \n)
* LDAP DbDriver: If bind to server fails, throw an error (that can be
downgraded to a warning by making the DbDriver non-required), instead of
calling a method of an undefined value. Closes: #175989
* Applied Denis Barbier's LANGUAGE env variable support patch.
Closes: #172704
* Updated pt_BR.po from Andre Luis Lopes, Closes: #177224
updates
* Build-depend on python for dh_python. Closes: #172839
* Added --default-priority to dpkg-reconfigure.
* Added a python binding for debconf written by moshez. If you use it, you
must take care of making your package depend on python; debconf itself
does not. It only works with python 2.2.
* Updated da.po. Closes: #171890
* Force unset POSIXLY_CORRECT in dialog frontend; whiptail cannot use
sleect list params after -- (the only truely safe way to pass them) if
this variable is set. Closes: #170646
* Fixed a typo in debconf-devel man page. Closes: #172152
* Mention text data-type in deconf-devel(7). #168761 * Updated French man pages.
updates
* Fixed up templates and po/output. Closes: #167600
* Patch from Roderich Schupp fixes double lock issue with PackageDir
DbDriver.
* Reworded debconf/priority template. Closes: #60541 * Updated zh_TW.Big5.po.
* Fix debconf/helper confusion in debconf-devel(7). Closes: #166585
* Don't let readline frontend be used with Term::ReadLine::GNU and emacs
shell buffers, as those two don't get along. See bug #166987
* Include topmost 100 changelog entries now in the hope that I will rarely
release debconf 100 times between entries into testing. I'm still leery of
bloating the base system with 50k of ancient changelog. Closes: #165399
* Added debconf.conf.fr.5.
* Ongoing French manpage translations. * Italian template update. Closes: #164807
* Added DEBCONF_SYSTEMRC environment variable, which reportbug can set to
make it ignore ~/.debconfrc when gathering debconf information.
* dpkg-reconfigure: run prerm script. Should be safe.
* Doc update Closes: #162978
* Use po-debconf for debconf package's own template translations.
* debconf-getlang and debconf-mergetemplate are deprecated in favour of
po-debconf.
* Added docs to debconf-devel(7) about using po-debconf.
* Remove old translation section from tutorual.
* Remove bts-script.
* Updated ja.po. Closes: #162268 * Updated ca.po.
* Fixed name of french debconf-getlang(1) translation file so it will be
put into the binary package. Closes: #161879
* Similar for debconf-copydb and debconf.1. Closes: #161878
* Turn on binmode on output to avoid encoding re-conversion.
* Experiment in signing a deb for the archive failed: apt-ftparchive and all
apt deb parsing are horribly screwed.
* Experiment in signing a deb for the archive failed: apt-ftparchive and all
apt deb parsing are horribly screwed.
* Typo, Closes: #161518
* dpkg-reconfigure: Don't imply that a package is broken if it is not
installed. Closes: #161528
* Typo, Closes: #161518
* dpkg-reconfigure: Don't imply that a package is broken if it is not
installed. Closes: #161528
* Removed fileutils dep. Debconf's postinst has changed a lot and it is not
needed. Closes: #161421
* Hmm, I wasn't aware that perl ran use's inside eval {} blocks at compile
time. Use quotes instead. Closes: #161308, #161273
* Updated ja.po from Junichi Uekawa.
* Added support for encoding specification in translated templates. Use
field names of the form "Field-ll_LL.charset". Example:
Description-de_DE.UTF-8
* The reccommended encoding of all debconf templates files is UTF-8.
Whenever it is possible, do not use other encodings. The possibility to
support non-UTF-8 encodings is provided just in case.
* Prefer a field matching the user's charset and language. If one is
not found, look for one matching the user's language, and use iconv to
convert to their charset.
* Suggest libtext-iconv-perl, without which the above will not work.
* This is all experimental, untested, and undocumented.
* Closes: #148490
* Add question when loading a template if the question is gone and the
template still claims to own it. This should never happen unless you
have a disk crash or bad kernel hang when using debconf, but enough
people experience it to waste too much of my time. This is more robust.
Closes: #151406, #160960
* Update fr.po
* Fixed typos in debconf.conf.
* fix_db.pl: Loop only 10 times. Closes: #153775
* Added back Polish template translation. Closes: #160183 * Fixed bad use of gettext in gnome hostname thing. Closes: #160209 * Updated Polish po file. Closes: #160210
* Fixed stdin/stdout inversion in call to open3 in dialog frontend.
Closes: #155682
* Allow stacked dbdrivers with readonly databases on top.
* Patch from Michel D�nzer to put the hostname in the gnome window title.
Closes: #141235
* Man page type fixes and translations from Philippe Batailler
and Julien Louis.
* Minor templates fixes by Denis Barbier. Closes: #158189
updates
* Added several translated French man pages from Julien Louis.
* Be forgiving of leading/trailing whitespace in lines of debconf.conf.
Closes: #157010
* Typos. Closes: #155547, #155572
* debconf-devel(7) example conffile premision preservation pathch
Closes: #157134
* Added DEBCONF_DB_OVERRIDE and DEBCONF_DB_FALLBACK environment variables
that are very useful for feeding databases to remote hosts for unattended
ad-hoc mass upgrades. Based on a patch by Sam Vilain.
* Corrected references to /usr/doc in man page. Closes: #154571
* Patch from "Devin Carraway" <debbug-debconf-20020724@nospam.devin.com> to debconf-mergetemplate outputs what part is fuzzy. Closes: #154109 * Used said output to quickly fix up debconf's two fuzzy template items. Very nice! * Allow regular user to run dpkg-reconfigure --help. Closes: #153916
* Don't override default die; that makes catching dialog frontend failure
to run in an eval when TERM is unset fail.
* Detect multiline protocol errors and warn, and work around.
* Updated debconf.conf.5 pt_BR translation.
* Make dialog frontend refuse to run with TERM=unknown. Closes: #153122
* Fixed bug in PackageDir exists when called on nonexistant items that
were part of an existing package.
* Directory DbDriver is pure virtual now; I had to move exists and iterator
out of it, and it is fairly useless by itself.
* Seems that LDAP has no end of quoting problems, and Dagfinn Ilmari
Manns�ker sent in a patch to update more of them (changes the schema again
amoung other things). Closes: #152477
* Stop leaking priority fields into the config database.
* Fixed bug in PackageDir exists when called on nonexistant items that
were part of an existing package.
* Directory DbDriver is pure virtual now; I had to move exists and iterator
out of it, and it is fairly useless by itself.
* Fixed up iterator for PackageDir DbDriver. PackageDir still has problems
with a few edge conditions.
* The "no, DebConf 2 is over there" release.
* Added a new dbdriver called "PackageDir" that stores items for each package
in separate files (shared items go in their own file) in a subdirectory.
This is a tradeoff between the load speed of DirTree and the
manageability and smaller size of the flat file that has been the default
so far. Locality of reference is reasonable when debconf is used on a
per-package basis, as in debian. This dbdriver is planned to superceed
File as the default once it's gotten some testing.
If you want to test this, edit your debconf.conf to define new databases
of this type into it, use debconf-copydb to copy your existing databases
into the new ones, and then make the new ones be used by default.
* Applied a patch from ilmari@ping.uio.no (Dagfinn Ilmari Manns�ker) to the
LDAP dbdriver to change fields to IA5 text, skipping empty fields.
Closes: #139779
* Made more vocal about use of capitalized frontend names, which are
deprecated. Fixed the couple of places in the debconf tree that still used
the old style.
* Note that debconf.conf(5) pt_BR translation is outdated.
* Make Directory (and not just DirTree) dbdriver refuse to accept
names with .. in them.
* Added support for backup files to Directory, and thus to DirTree as well,
and defaulted it to on.
* Modified cache load methods to call a cacheadd method to add items back
to cache; this allows a load method to actually load up related items when
asked for one item.
* Doc updates.
* moved debconf.8 and debconf-devel.8 to section 7, and updated all
references. Closes: #150594
* Redesigned sigil classes a trifle, and added sigils to dialog frontend.
Using the boring punctuation ones by default there.
* Added priority sigils to the readline frontend. If you don't like the
smileys, put Smileys: false in debconf.conf. To disable sigils entirely,
use Sigils: false. I will implement smiley customization for $25. (Ads
in a changlog -- you saw it here first :-P)
Besides looking cute, the intent here is to make it obvious what priority
a question is being asked at, to help combat priority inflation. Varying
types of sigils will be added to the other frontends as well.
* Made the examples in debconf.conf have some acuaintance with reality.
Closes: #150078
* A patch from Sam Vilain <sam@vilain.net> to debconf.8 documents ways of
using debconf in clusters and large installations. Closes: #150206, I
guess.
* Fixed warnings if a question was displayed, then unregistered, then
debconf tries to set its seen flag. Triggered by packages that ask a
question and then purge in their postrm.
* Fixed nasty uninitalized values from DirTree driver.
* Have Debconf::Log override die and print a stack trace. * Denis Barbier sent in a nice patch to clean up gettext strings. Thanks!
* dpkg-reconfigure now sets DEBCONF_RECONFIGURE=1 before running postinst
scripts. A postinst with an expensive operation to avoid at
reconfiguration time can look at this. This is a hack and we will
eventually transition to passing "reconfigure" to postinst scripts;
postinst scripts that use debconf are encouraged to begin accepting such a
parameter already.
* Fixed transition_db.pl to pass the new extra type argiments to
Question->new and Template->new. Thanks to the help of Pre and Cliph on
irc. Closes: #147932
* Don't run all the db mangling code in the whole postinst on fresh
installs.
* Fixed something to do with propigation of template types through database
stack driver into accept method when setting up a brand-new template with;
clearly broken at version 1.1.0. Looks like I recoded it properly but forgot
to delete the old code. Closes: #147576, #147684, #147620
* Tighthened up the version number in the dbeconf-utils conflicts.
Closes: #147490
* Push 1.1 branch into unstable from experimental.
* Really fixed apt.conf.d file.
* debconf-mergetemplate will now only drop old templates if it is passed
a --drop-old-templates parameter. The old waqy broke base-config's build,
and might break anytime someone calls the program by hand in a weird way.
I will turn this parameter on in dh_installdebconf though.
Closes: #145436
* Updated french po file.
* Tomohiro KUBOTA <tkubota@riken.go.jp> sent in a new Japanese templates
file.
* Fixed apt.conf.d file.
* NOT targeted at woody.
* debconf-mergetemplate now drops out of date translations by default.
The --outdated flag allows for the old behavior of keeping them.
Closes: #131173
* Added a "debconf" program, which runs a given program inside debconf
without all the nasty hackiness that auto-debconf invocation entails.
The future hope is that dpkg becomes smart enough to run postinst scripts
that use debconf by means of this program. Closes: #75578, #119338
This means a conflict with cdebconf.
* This command is the best way to debug debconf-using scripts, you can run
a command like debconf sh -x my-script. Documented that, Closes: #84864
* And the debconf command has a --showold option. I added a DEBCONF_SHOWOLD
variable for good measure. Closes: #130072
* Split the configdb into two files, a password database and a database for
all else. This allows normal users to query the debconf db for items that
are not passwords, which should be generally useful. The immediate
application is a bug report plugin that includes debconf-show output..
* The configdb split will happen automatically on systems with an unmodified
debconf.conf. Admins of systems with a modified debconf.conf will need to
do it manually, if it is done at all.
* I had to move debconf-copydb into the main debconf package, since it is
used to do the db split.
* Make failure to open a database cause the init method to abort, even if
the db is not required. Cuts down on ugly messages.
* Fixed accept method to look up the real template of a question instead of
assuming that there will be a template by the same name as the question.
* I had to add a third parameter to Debconf::Question->new to make
accept/rejecttype really work right. And similar to all the addowner
methods. And fixed a typo that had prevented it from working at all.
* Added a DEBCONF_NOWARNINGS environment variable. Amoung other things this
can be used to turn off the frontend fallback messages. Closes: #103288
* Have debconf-show open the db readonly, so it will not contend for locks.
* Put debconf-show in /usr/bin/.
* Turned on comment stripping of some more files.
* Now supports escaped substitution variables in templates, do it like
"\${foo}", and "${foo}" will be displayed. Closes: #122818
* Made the dialog frontend smarter about exceedingly wide select and
multiselect choices. Closes: #129224
* Using upper-case in the value of DEBIAN_FRONTEND is deprecated, and
debconf now warns when it detects this if DEBCONF_DEBUG is set to
developer. Closes: #131800
* Do not skip displaying multiselect questions that have only one choice;
the user still needs to choose between one and none. Closes: #139489
* Don't load Getopt::Long unless there are options to process in
Debconf::Config.
* A multiselect question, once displayed, gets its value set to the selected
choices, in the same order as those choices appear in its Choices field.
Previously, the order had been undefined. Closes: #129768, #135961
* Warn when an unknown field is found in a template. Closes: #131227
* Stronger reccommendation of libterm-readline-gnu-perl in documentation.
Closes: #136284
* Settled on one email address.
* Some s/Syntax:/Usage:/
* Patch from Manuel Estrada Sainz <ranty@debian.org> to let debconf-copydb
filter by owner. Closes: #136488
* Uses debhelper v4.
unreleased
unreleased
unreleased new version
unreleased new version
* Made fix_db.pl more robust in the face of really screwed up db's.
* Updated debconf schema using OID numbers allocated under
enterprise.Debian.package.debconf by Wichert.
* Fixed ancient program name in old tutorual. Closes: #141904
* Fixed some typos and crazy man escapage in debconf.devel(8),
Closes: #140991
unre
* Fixed a bug in the Stack driver's iterator, needed by FAI.
Thanks to Joerg Lehmann <joerg@luga.de> for the patch.
* Typo and spelling corrections (did not change verbiage to verbage however;
I do not intend that connotation). Closes: #131807
* Added --force to dpkg-reconfigure.
* Fixed typo in debconf.conf. Closes: #140085
unreleased
various updates
* Versioned conflicts with debconf-tiny, see #137019
* Corrected some wording in the German translation. Closes: #137005
* Removed translated default fields in the Russian template (don't do that,
folks).
* Matthew Palmer <mjp16@ieee.uow.edu.au> contributed a LDAP backend database for debconf. This will open up all kinds of new possiilities for using debconf in a cluster, etc. It is currently experimental, and will not be used unless you enable it; so there is no chance this new code will impact the freeze. * Wrote debconf-devel(8) man page, which attempts to be a complete reference for developing packages that use debconf. Read it. * Fixed the doc-base name of the debconf tutorial. * Minor change to debconf-mergetemplate man page synopsis. * Refuse to use the dialog frontend if the screen is too small, it'll fall back to the text frontend which will work on screens down to about 2 lines of 20 characters each. Closes: #132972 * Fixed typo, Closes: #134161 * Patch from Denis Barbier <barbier@debian.org> to make debconf-getlang work better with ll_LL form languages. Closes: #134307 * Display choices for boolean questions in the editor frontend, Closes: #135078 * Improved the section in the tutorial on translations. Patch from Denis Barbier. Closes: #96836 * Added a new Russian template from Ilgiz Kalmetev, Closes: #135839
* Matthew Palmer <mjp16@ieee.uow.edu.au> contributed a LDAP backend database for debconf. This will open up all kinds of new possiilities for using debconf in a cluster, etc. It is currently experimental, and will not be used unless you enable it; so there is no chance this new code will impact the freeze. * Wrote debconf-devel(8) man page, which attempts to be a complete reference for developing packages that use debconf. Read it. * Fixed the doc-base name of the debconf tutorial. * Minor change to debconf-mergetemplate man page synopsis. * Refuse to use the dialog frontend if the screen is too small, it'll fall back to the text frontend which will work on screens down to about 2 lines of 20 characters each. I want a pager with ssh. Closes: #132972 * Fixed typo, Closes: #134161 * Patch from Denis Barbier <barbier@debian.org> to make debconf-getlang work better with ll_LL form languages. Closes: #134307
not yet released
unreleased
* Removed uninitialized value warning in Teletype frontend.
Actually, this was a bug that did not let it display only one column on
choices when necessary; triggered by quake2-data.
* Incuded a short README.Debian for debconf-utils, Closes: #129541
* Made the README point to all the main docs for users and developers.
Closes: #129545
* Deregister SIGPIPE handler after confmodule finishes, so it is not called
after the object is gone. Closes: #129463
* Chomp whitespace at the end of field continuation lines; this fixes a
bug that caused some indented lines to be accidentially wrapped up to
the previous line.
* Stop using funky grave quotes in this package's templates.
* Updated Spanish template. Closes: #128838
* Updated Catalan.
* Added German po file, updated templates.
* Killed the following overly-outdated translated templates: pl, ru,
zh_CN, zh_TW, nl, ja, it.
* fi and gl have one fuzzy translation each, and all the rest are fine.
* Corrected incorrect indents in a number of translated templates, sigh.
* debconf(8) tweak, Closes: #130348
pending release
* The "bite the bullet" release.
* Enhanced fix_db.pl to detect and deal with every debconf db corruption
scenario that has been reported to me. Run it on upgrade from versions
prior to this one. I suspect that all instances of inconsistent and
corrupt debconf db's are due to past bugs in debconf and especially the
transition from the crufty old data::dumper db, and the "fix" for the
missing template problem, plus possibly some unclean shutdown problems.
So fix them all now, and either the problems go away for good or I prove
my theories wrong if they pop back up later.
* Closes: #128707, #128265, #99786
* Reverted the $Text::Wrap::break change from the last version, as that was
making Text::Wrap eliminate multiple \n's, which leads to display
problems. Closes: #128034
* Delete vanishing extended descriptions when merging templates.
Closes: #126239
* Set $Text::Wrap::break=q/\s+/ everywhere I use Text::Wrap,
see bug #126202
* zh_TW.Big5.po update
* I've had a number of reports of truncated templates files (that make
debconf crash later). Some if not all are related to system hangs while
an upgrade is in progress. Since debconf is already very careful to do
updates atomically, nearly the only safety feature left is to sync files
after writing them, which I have now done for all db file writes. My
hypothesis is that the atomicity was being thwarted by disk caching.
Closes: #122891, #112921, #122825, #112921 (??)
* Directory DbDriver was unlocking the db too early, fixed.
* ConfModule: on startup(), automatically CLEAR. Closes: #122176
* Fixed crash if a question is INPUT, UNREGISTERed, and then we GO.
Closes: #120303
* Updated fr.po from Martin Quinson <Martin.Quinson@ens-lyon.fr>
* Also a patch from Martin to make 'make check' in po output stats.
* High urgency upload to get this into testing before the freeze, as it
fixes a bug that can cripple upgrades from stable.
* Conflict with whiptail << 0.50.17-7, as some version between that one and
the 0.50-7 in stable changes something that is required to make the
fix I put in for values starting with dashes work. Closes: #122182
* Added a number of Brazilian Portuguese man pages.
Closes: #122011, #122012, #122017, #122018, #122019, #122026, #122028
Closes: #122027, #121982, #122001
* Updated Swedish translation.
added pt_BR manpages. This required revamping the whole man pge build system
* Documented that debconf-getlang runs descriptions through a word-wrapper.
Closes: #97049
* When parsing a template description, if there is a " \n", don't turn that
into " " when collapsing newlines, and instead go with just a single
space.
* From Federico Di Gregorio <fog@debian.org>, a patch to the Gtk frontend
that makes it more usable with packages with a large multiselect widget,
or with lots of concurent questions. The main change is that the window
now scrolls. Closes: #113801
* Federico also sent a patch that moves widgets in the gtk frontend around
for better cosmetics.
* Added a debconf.8 man page translated to pt_BR by Andre Luis Lopes
<andrelop@ig.com.br>, Closes: #121155
* Updated pt_BR debconf translation thanks to Gustavo Noronha Silva and
#debian-br. Closes: #119029
* Added several pointers to the debconf specification. Closes: #119340
* Minor spelling corrections to man page. Closes: #119843
* Another French update. * Danish translation by Morten Brix Pedersen <morten@wtf.dk> * frontend: don't glob unnecessarily, Closes: #117077 * Michel D�nzer <daenzer@debian.org> figured out how to turn off the gnome session manager warnings. Closes: #116087 * Turns out that the gnome frontend ARGV stomping was not being backed out if gtk failed to init due to a bad DISPLAY. Fixed that, which probably Closes: #118513
* Reworded the 'not preconfiguring' method, since it seems to confuse
people.
* Updated French translation, except for the above change.
* Typo, Closes: #116275
* Added dashsep support for password and text elements in the dialog
frontend. Closes: #116642
* Frontend::Gnome: erase @ARGV before calling Gnome->init, since that
blasted subroutine parses @ARGV, and throws untrappable exceptions if it
sees an argument it doesn't know about. This makes tzsetup -y work with
the gnome frontend.
* Appled patch to japanese templates to work around the multibyte "word"
wrapping bug. Closes: #115314
wheee!
* Fixed inverted test added in last version. Aargh. This mistake means that
any package with doubly-indented debconf descriptions built with debconf
1.0.12 needs to be rebuilt, or the description will look nasty.
* Dialog frontend fixups:
- changed the spacer value for dialog to 0, instead of 4, which seems ok
and fixes some bad displays, like 1 line tall select lists.
* Whoops, I forgot that Frontend::makeelement could be used as a class
method! This release fixes the scary, harmless, warning messages.
* The "did someone mention a freeze?" release.
* Added 'Teletype' frontend, which should work on any teletype, no matter
how primative (yeah, even the ones with paper in them, or the one on
the s/390, or what you get when you ssh -T).
* Renamed the Text frontend to Readline, which better reflects what it's
all about. Of course, it's now derived from Teletype. And of course
I did this in a way that won't break anything that still tries to use a
frontend called Text..
* Added the elementtype field to FrontEnd, which lets closely related
frontends share elements without a lot of trouble; Readline uses this.
* Fixed a bug in the dialog frontend that made it display the same
infobox multiple times sometimes (with very short screens).
* Renamed Tty to ScreenSize to release confusion, and removed the
</dev/tty thing I put in long ago, since dpkg-preconfigure reopens
the tty, which should work around that ancient problem.
* Editor frontend will now work on terminals w/o a controlling tty, since
at least vim (and probably most vi's, and ed too of course!) do work ok
on such a terminal.
* Fixed Directory DbDriver to call SUPER on shutdown, which is necessary
to save out the cache. I broke that in 1.0.02, and that's why this
upload is medium urgency. Closes: #113913
unreleased
* Removed overoptimization in File DbDriver that made it not unlock the
file if the db was saved and there were no changes to save. This was
breaking dpkg-reconfgigure of non-debconf packages. Closes: #113140
* Implemented savedb menthod in the Directory driver (just unlocks the
database), which is needed to make dpkg-reconfigure of
non-debconfiscated stuff work.
* Renamed savedb to shutdown, which more clearly indicates what that
method is supposed to do.
* pt_BR updates. Closes: #112336
not released
* Let's call it 1.0, folks!
* This leaves the following big things for later:
- a better confmodule interface that doesn't eat stdin/out
- container template types
- select list with explainations
- a textual replacement for the dialog frontend that is just as
easy to use, and sucks less
- better developer's documentation
- regression tests
- everything else in the TODO file
* I mention a dialog frontend replacement that does not suck. The slang
frontend was intended to be just that, but it is a failure, with big
problems like unscrollable extended descriptions, UI clunkiness, etc.
Nobody wants to fix these issues, and so the best thing to do is remove
it, before a lot of people begin to use it.
Closes: #66170, #81344, #96302, #74722, #77085, #101643
* Removing the slang frontend also involved:
- getting rid of debconf/helpvisible, which was only used by it
- modifiying the debconf/frontend's template description, thus making
all the translatione be out of date again, right as I release 1.0.
Bleh. I was able to clean up the french template, but all the other
translations of that template were too out of date to live, so I
removed it from them. I am accepting updated translations, and I would
love to get a 1.1 release out with fully up-to-date translations of
everything.
- doc updates
- libterm-stool-perl will be removed, so removed relations to it
- ensuring an upgrade path, if not a very clean one, for people who had
it set to use the slang frontend. You'll get dialog now, and just
ignore that nasty set of perl errors you get while upgrading to this
version, I can't do anything about it w/o some nasty hacking.
* Jordi Mallach <jordi@debian.org> quickly updated the Spanish translaton
and added Catalan as well.
* Allow notes to be saved from the gnome frontend even if they have
already been seen. Closes: #110510
* Let's call it 1.0, folks!
* This leaves the following big things for later:
- a better confmodule interface that doesn't eat stdin/out
- container template types
- select list with explainations
- a textual replacement for the dialog frontend that is just as
easy to use, and sucks less
- better developer's documentation
- regression tests
- everything else in the TODO file
* I mention a dialog frontend replacement that does not suck. The slang
frontend was intended to be just that, but it is a failure, with big
problems like unscrollable extended descriptions, UI clunkiness, etc.
Nobody wants to fix these issues, and so the best thing to do is remove
it, before a lot of people begin to use it.
Closes: #66170, #81344, #96302, #74722, #77085, #101643
* Removing the slang frontend also involved:
- getting rid of debconf/helpvisible, which was only used by it
- modifiying the debconf/frontend's template description, thus making
all the translatione be out of date again, right as I release 1.0.
Bleh. I was able to clean up the french template, but all the other
translations of that template were too out of date to live, so I
removed it from them. I am accepting updated translations, and I would
love to get a 1.1 release out with fully up-to-date translations of
everything.
- doc updates
- libterm-stool-perl will be removed, so removed relations to it
- ensuring an upgrade path, if not a very clean one, for people who had
it set to use the slang frontend. You'll get dialog now, and just
ignore that nasty set of perl errors you get while upgrading to this
version, I can't do anything about it w/o some nasty hacking.
* Jordi Mallach <jordi@debian.org> quickly updated the Spanish translaton
and added Catalan as well.
* Let's call it 1.0, folks!
* This leaves the following big things for later:
- a better confmodule interface that doesn't eat stdin/out
- container template types
- select list with explainations
- a textual replacement for the dialog frontend that is just as
easy to use, and sucks less
- better developer's documentation
- regression tests
- everything else in the TODO file
* I mention a dialog frontend replacement that does not suck. The slang
frontend was intended to be just that, but it is a failure, with big
problems like unscrollable extended descriptions, UI clunkiness, etc.
Nobody wants to fix these issues, and so the best thing to do is remove
it, before a lot of people begin to use it.
Closes: #66170, #81344, #96302, #74722, #77085, #101643
* Removing the slang frontend also involved:
- getting rid of debconf/helpvisible, which was only used by it
- modifiying the debconf/frontend's template description, thus making
all the translatione be out of date again, right as I release 1.0.
Bleh. I was able to clean up the french template, but all the other
translations of that template were too out of date to live, so I
removed it from them. I am accepting updated translations, and I would
love to get a 1.1 release out with fully up-to-date translations of
everything.
- doc updates
- libterm-stool-perl will be removed, so removed relations to it
- ensuring an upgrade path, if not a very clean one, for people who had
it set to use the slang frontend. You'll get dialog now, and just
ignore that nasty set of perl errors you get while upgrading to this
version, I can't do anything about it w/o some nasty hacking.
* Fixed note mailed message so it doesn't hardcode where it is mailed to.
Closes: #108287
* Updated the zh_TW.Big5 translation.
* Fixed an overloaded field problem in the Backup DbDriver.
* Fixed the InFd field of the Pipe DbDriver so it actually works, and
it may now be set to "none" to stop it from reading a db on startup.
This allows use of stuff like this, to get a partial debconf db dump,
which developers may find useful when getting info on bugs:
debconf-copydb configdb out -c Name:out -c Driver:Pipe \
-c InFd:none --pattern='^slrn/'
* New logo from Jared Johnson <solomon@futureks.net>, quite nice too.
* Complete zh_TW.Big5 translation from "Hin-lik Hung, Shell"
<shell@shellhung.org>
* html2text fixed, revert workaround
* Worked around html2text bug (broken stdin handling) to make
tutorial.txt not be empty.
* Added debian logo for gnome frontend. It looks like crap, but at least
the frontend runs now. Anyone want to come up with a version of the
debian logo that looks good on a blue background (or come up with a new
color scheme for this frontend -- if you know how to make a gnome driud
use some color other than white for the foreground title color ), is
the right size (64x64 I think), and doesn't eat 200+ colors?
* Other gnome frontend fixups:
- Fixed help dialog; run_and_close doesn't work, so first run and then
close.
- Gnome elements are now responsible for packing in the label and help
buttons. This makes it cleaner for text and notes to not include help
buttons, and it lets booleans not pack in a label. Instead, the
checkbox itself has the text of the question after it, which is much
nicer. Also, text type questions are displayed as unadorned labels,
which is the Right Thing.
- Make the overall window title be "Debconf", while the druid title
varies.
- Fixed multiselect questions so the defaults are auto-selected.
- Removed sigsegv handler thing. It seems to not be needed any more?
* Merged in Progeny's gnome frontend.
* Lots of code changes to this frontend, to bring it current from debconf
0.3, fix tab damage, not break perl object abstractions, add some docs,
remove dead code, and so forth. Mostly untested, probably quite a few
bugs introduced here, but they'll just affect this frontend, so I don't
feel _too_ bad about slipping it in so near to freeze.
* In the gnome (well, gtk) sucks department, why does the thing throw an
untrappable exception if the DISPLAY can't be connected to? Myopic. I
added a nasty hack to fork an entire process that just checks to see if
gnome is going to make debconf blow up when init'ed, or if it'll work.
so when do I get to a system where I can test this?
blanket removal of emacs cruft from changelog files, and some other minor changes
* Made frontend fallback messages less likely to generate FRNBs
(Frequently-Reported Non-Bugs).
* Looks like new shared templates have been ignored ever since 0.9.10!
Symtoms that installed a second package that shared a template
with an already installed first did not add the second owner to the
list of owners. It's possible that this was also responsible for
sporadic reports of db corruption; the question that should belong
to a template going away when the only recorded other owner was purged.
* Added a call in the postinst to a program to clean up after this
problem.
* Cute, debconf was ignoring fsets of seen of questions that were asked
previously in the same session. Overagressive caching. Closes: #104490
* Allow for spaces and options in $EDITOR. Closes: #104445
* Expanded debconf.8 to include most of the text of the debconf user's
guide, and removed the user's guide. Added some additional docs to the
man page.
* Register the debconf tutorial with doc-base. Closes: #103973
* No longer shipping the introduction, though it's still in the source
for historical interest.
* Don't use double dashes for dialog, though they are needed for
whiptail. Gag. Closes: #103867
* Put back debconf/helpvisible question, and made the slang frontend
toggle it again. This makes changes to the slang frontend help visiable
status made by hitting the button persistant again.
* In terse mode, default help to not visible no matter what the
helpvisible setting.
* Closes: #103621
* Introducing terse mode. You know what you're doing, and so you're using
the text frontend (of course!) as you do a remote upgrade from rexx over
a 30 hop, 95% packet loss link to another continent. Every byte hurts.
You don't need all those touchy-feely verbose help screens. Terse mode is
for you. (Well, for me anyway. Damn this wireless link.)
# dpkg-reconfigure debconf --terse
What interface should be used for configuring packages? Text
Ignore questions with a priority less than.. low
Show all old questions again and again? no
* Added DEBCONF_TERSE variable.
* Added terse support to text frontend.
* Renamed debconf/helpvisible to debconf/terse.
* Terse can be configured in debconfrc and with --terse too.
* Finally tracked down the mysterious text frontend title printing bug --
it happened if nothing was displayed, but a note was mailed.
* Updated korean translation from Eungkyu Song <eungkyu@sparcs.org>
Closes: #103260
* Added brazillian portuguese po file from Gustavo Noronha Silva
<kov@debian.org>, Closes: #103253
* Added debconf-show, which displays all questinos belonging to a
package, their values, and indicates if they have been seen or not, all
in a compact format handy for bug reports. Now why didn't I think of
this before?
* To keep the bit scales balanced, removed an unused template.
* Dropped libterm-stool-perl down to a suggests.
* No changes. Testing has debconf 0.9.41, which breaks under perl 5.6.1.
5.6.1 just went into testing. This needs to go in ASAP.
* aj, if you see this, this is your cue to slam this package into testing
without any delay at all.
* Fixed pod2man silly man page header issue. Closes: #101766
* Fix doc link, Closes: #101114
* Fixed the last known bug in the text frontend, cleaned up TODO.
* Let's make the templates cache mode 644. There's nothing sentative in
there. (Modified the debconf.conf file.)
* Convert Mode field to octal on the fly to precent confusion.
* Spell checked debconf.conf.5. Along the way, I discovered that a field
name in the debconf db was mispelled. So, "Extention" should really be
"Extension". Update your debconf.conf. Since this is not used in the
stock config file, and I've never seen it used, I did just rename the
field, breaking backwards compatability.
* Prevent Editor::Note's from feeding undef values into the db,
Closes: #100776
* Fixed unsupported command message to include the syntax error code. * Also, include full line in the error message, may make debugging easier.
* Updated the user's guide frontend section.
* Man page section fixes, Closes: #100076
* Noted in description of shell library that yes, the protocol commands
are lower-cased (it already explained about the db_ prefixing).
Closes: #100276
* Text frontend UI changes: select and multiselect lists no longer have
lettered choices. Instead, it uses numbers, and any unique anchored
substring of a choice is understood, too. The old system was great,
except when it sucked. This should scale more evenly.
* Added full completion to the text frontend! Now it really is the best
frontend, for sure..
* French po file update from Martin Quinson <Martin.Quinson@ens-lyon.fr>.
* Fixed an obscure bug that made the REGISTER command fail if the owner
was set to "" (or any other perlwise-false string).
* Updated Korean translation (templates, not po file) from Eungkyu Song
<eungkyu@sparcs.kaist.ac.kr>, Closes: #99034
* Added some space after prompts in text frontend, which seems to
visually set off each new question more clearly.
* Made the text frontend's long-broken shutdown() method work, to
always ensure you have hit enter at a prompt if a message is printed
out as the last part of a debconf run. After trying that out for a bit,
I found I hated it, so I removed the method.
* Put a blank line between short description and long description for
notes.
* In template parsing, don't add leading spaces before new paragraphs.
(This was manifesting as an ugly one-space indent on paragraphs 2 and
on, in the text frontend.)
* Make dpkg-preconfigure read all of its input in --apt mode, even if it
cannot preconfigure, so apt doesn't think it failed. However, this will
only work in normal operation, and things might break in exceptional
circumstances. I think this is a bug in apt.
* Now that perl-base has Getopt::Long, I can get rid of the handrolled
option parsing code in most every debconf utility, saving quite some
LOC's. Even better, I was able to set up some global options for many
utilities, so -f, --frontend, -p, and --priority are standard. And all
the programs handle -h and --help too. More global options will likely
follow.
* Fixed dpkg-reconfigure --all.
* Modified Template->clearall() to actually remove fields, rather
than just setting them to ''. The old behavior broke badly if a
localized Choices field was "cleared" -- debconf would then refuse to
display that question in that locale, since there were no choices to
choose from. Closes: #95487
* To make that fix possible, I had to add yet another function to the
DbDriver interface, removefield().
* Removed all the lvalue stuff. Not used (I hope!), breaks under perl
5.6.1.
* The POSIX_ME_HARDER release.
* confmodule: more shell fun and games. Should now deal with spaces at
the end of protocol lines. I will not go into the gory details, but it
is *disgusting*. Closes: #91229 (RC)
* ConfModule.pm: support a tab as the delimiter between numeric and
textual return codes.
* A typo in debconf-getlang was making it incorrectly mark some things as
fuzzy. Fumitoshi UKAI pointed out the fix, Closes: #97475
* Some Spanish updates by Carlos Valdivia Yag�e.
* A typo in debconf-getlang was making it incorrectly mark some things as
fuzzy. Fumitoshi UKAI pointed out the fix, Closes: #97475
* Modified extended description parsing to not stick a space at the end
of every paragraph, Closes: #97002
* Made template parsing less strict, allowing there to be no space after
the colon. You should not do that though, except perhaps if the field
value is blank. Closes: #97060
* In the dialog frontend, add a -- before the items in a select or
multiselect list when running dialog. This allows the items to start
with dashes..
* Dialog is the default frontend for new installs again, since slang
still need work, and cannot work on the base system anyway.
Closes: #96381
* DEBCONF_ADMIN_EMAIL can be used to change where debconf mails notes and
stuff to, overriding whatever is in the config file. Note that it may
be set to "" to disable mails. Closes: #95956
* Changed to converting html with html2text, which does better than
links.
* Remove /var/lib/debconf on upgrade. Nothing uses it anymore,
and it contains some large old database files, and on most systems,
a large amount of cruft (temporary files, editor backup files, backups
of the db, sockets, the list goes on and on).
* Expunged all remaining traces of the directory from debconf and its
documentation.
* Correcgted bashism in docs, Closes: #96139
* Fixed a bug in dpkg-reconfigure that made reconfiguring base-config
fail half way through because of db lock contention problems. Db->save
was not causing the db to shut down all the way, because
%DbDriver::drivers still had a reference to it. That should be a
WeakRef, but WeakRef's arn't available in base, so I had to solve it
differently: I redefined savedb() to also close the db, dropping all
locks. Closes: #95449 (The high urgency is because this breaks new
installs of woody..)
* Also fixed dpkg-reconfigure to re-load the db properly after all this
(typo).
* Fixed an overoptimization in the Text Dialog input Element that caused
it to default inconsistently to yes or no the first time, and y or n
thereafter.
* Changed the debug and log stuff in debconf.conf and removed log-to.
This will break any debconf.conf files which used that stuff, but I'm
proably the only one. The new scheme is more realistic -- you can have
debconf always log a given thing, while turning on debugging of other
things temporarily on the fly.
* debconf-doc moved to section doc, Closes: #94840
* The "timezone bingo" release.
* Made syslog logging work with syslogd in its default configuration,
which only listens to the unix domain socket, not inet.
* If any of the syslog stuff fails, catch the exception and don't
log anything (think single user mode). I thought about falling back to
stderr logging, but if you log to syslog you probably don't want the
log info scrawled accross the console during routine single user mode
upgrades.
doc updates
* Fixed undefined values with log_to.
* Updated to important priority since some important priority stuff uses
it.
* The config file can have a Debug: line that is the same as always
setting DEBCONF_DEBUG. The config file can also be used to redirect
debug output to the syslog.
* debconf-mergetemplates: ignore locale settings, as they should not take
effect for this program. Closes: #91860
* Jacobo Tarrio <jtarrio@iname.com> contributed a Galician translation, bringing the number of languages supported up to 15.
* Added Brazilian Portuguese translation by "Gustavo Noronha Silva (KoV)" * <kov@debian.org>, Closes: #90864
* The "bugger testing" release.
* Uploaded with high urgency because I am SICK AND TIRED of getting
2 bugs a day from people who have downgraded to the ancient debconf in
testing and broken their systems, the 2 other bugs a day from people
who panic at the sight of a perl -w message, and the 3 or 4 messages a
day on -user from people who are experiencing other, tangential
problems.
* Moved config file reading into Debconf::Config. This let me easily add
support for configuring more things in the config file. You can specify
a frontend or a priority in there with more to come soon.
* Config file can also be used to set Admin-Email, which defaults to
root, but can redirect mail to anyone. Also, this can be used to
turn off mail entirely. Closes: #70677
* Made dpkg-preconfigure print usage if called incorrectly, instead of
a screen of crazed messages.
* Tightened up protocol parsing.
* Completed and updated Finnish translation by Jaakko Kangasharju
<ashar@iki.fi>
* Added code in the postinst to delete any files that inexplicably linger
in /usr/lib/perl5/Debconf/, since since files break the current debconf
badly. I don't know why two people have reported files there; it's
either user error or some crazy dpkg bug. Closes: #89471
* Check to make sure a template has owners besides just existing before
returning it in Template->new. This should not be necessary, but
it fixes a problem with the templates db sometimes having templates
that lack any owners. I hypothesize that the problem was caused by
one of the early 0.9x releases, but I cannot reproduce it, so this will
have to do for a workaround. Closes: #89155
* Branden is able to trigger the most obscure cases. :-)
Fixed a bug where a question was unregistered and removed, then
the confmodule tried to access the question again in the same run, and
Debconf::Question has a question object by that name cached, so it used
it, and the results were ugly. The fix is simple: when a question is
unregistered, remove the object from the cache. Closes: #89262
* Changed how I disable echo in password prompts in the text frontend.
For all readline libraries except ReadLine::Perl, I just use stty
-echo. That doesn't work for ReadLine::Perl, so I had to read the line
myself in that case. What a PITA. Closes: #89324
* Fixed dialog frontend to display cancel button when backing up is
enabled. Closes: #89364
* dpkg-preconfigure: fixed problem with it trying to run an unlinked
config file if there was a template parse error (triggered by tgif).
* Added Debug driver and simplified some other debug output.
* Added Pipe db driver. If Craig really wants, he can use this to do
exactly what he was complaining that debconf could not do. I think,
though, that there are really better ways of accomplishing the same thing.
* Added versioning to some 'use base'es, to detect people who have an old
base.pm floating around somewhere. See bug #89050
* Simplified the functions generated by /usr/share/debconf/confmodule
by using read -r a b instead of doing the set -- split thing.
* Sanitize IFS in there, so things like cvs's config script that mangle
it will not produce unexpected results. Closes: #88830
* Fixed stacks so shadowing actually works and non-topmost items can be
seen (stupid thinko). Also improved debug output. I now have some
satellite systems that are successfully using a master debconf db for
defaults, with local modifications stored locally (using icky nfs as
the transport though), so stacks are useful, but still experimental.
* Made Db.pm read /usr/share/debconf/debconf.conf if no other config file
is found, so it will have sensible defaults in two situations:
1) user decides to delete file in /etc
2) upgrade from pre-conffile version, and debconf is asked to do
something before it is configured
Closes: #88840
* Renamed Copy driver to Backup, and renamed its fields too -- if you
have used it already, take note!
* Some internal restructuring of db driver classes.
* Added debconf-copydb, the all-singing all dancing db conversion,
excerpting, and copying tool, to debconf-utils.
* Backups of File db's can be turned off.
* Made dpkg-preconfigure drop a user-level debug item including the name
of the package and its version as the package is preconfigured.
Closes: #88855
* Updated transition_db.pl to fix skipping of items with no owner.
Closes: #88820
* Documented in the user's guide that it needs apt-utils 0.5 or above for
preconfiguration (really later, since that is currently broken in
apt..) Closes: #88705
* Made apt-extracttemplates be less scary if apt-utils is not installed.
We really need a better solution here, I think..
* Updated french translation from Martin Quinson <Martin.Quinson@ens-lyon.fr>
* Made the File DbDriver keep a backup file in -old, and
greatly increased the robustness of its writes. Closes: #88804
* Increased the robustness of the writes done by the directory driver
too, though it doesn't keep backups.
* For general backup purposes, introduced a new metadriver called
Copy, which does all reads and writes to one driver, while sending
a copy of all writes to another driver.
* Resetting the value of a question that had no default stuffed an undef
into the cache dbdriver, which made the 822 formatter warn of
uninitialized values. Fixed by making template field accesses always
return a defined value, even if the field isn't present. Closes: #88751
* Fixed some exporter problems.
* Removed bogus preconfig template item (again..).
* Moved dirty flag out into its own hash, so items in the cache can be
marked dirty and removed at the same time. This should really fix
unregistration of items. I had been meaning to do this last week, but
it seems I forgot.
* Actually enabled the optimization of not saving flatfile db if no
changes were made, and made it not save deleted items.
* Modified the transition script to detect corrupt old databases that
have some questions with undefined templates. Those are just skipped,
and it prints out a warning. I've only had one report of this problem
so far. Closes: #88731
* Strip the transition script.
* I think the haikus are over. :-) * Renamed apt.conf.d file to 70debconf.
* Workaround a bug
that showed up in fresh installs
or ancient upgrades. Closes: #88682, #88676
The fix is simple:
just don't abort if it fails
to unregister.
* Though I waited long --
twelve days -- I must upload now.
(And thus, miss testing.)
* The long overdue
backend database is here:
the missing quarter. Closes: #50437
And so the version
approaches 1.0 -- joy!
Though more work awaits.
* Db setup lore
is in debconf.conf(5)
in debconf-doc.
You'll find it's layered;
quite a flexible design
(many thanks, Wichert).
Users can setup
their own debconf db's or
use the global one.
(If, that is, they choose
to use the DirTree driver
for the global store.) Closes: #81574
* To make this work, though,
debconf must conflict with old
cdebconf versions.
The ones that themselves
used /etc/debconf.conf
as their config file.
* And I had to write
some transition code, too (bleagh),
to reformat stuff.
This should work better
than past conversions, I hope.
Still needs testing, though.
So, it won't delete
the old database files yet,
'till I'm sure that's safe.
Anyhow, reports
of trouble in past upgrades
are now obsolete. Closes: #80940, #88256
(Report new bugs though,
if you must. I don't mind (much).
Just don't send dups, please.)
* All of debconf's code
does sane temp file opens now:
no more cruft in var.
* The interface to
debconf-communicate
has utterly changed.
* I updated the
Dutch translation (or rather,
some Dutch guy did -- thanks). Closes: #87493
Other translations
are probably outdated
after these changes.
Come to think of it,
the Dutch one may be too; it's
a week or two old.
* Debconf must always
be usable, so I made
it pre-dep on perl.
* The new db code
fixes a db reload
bug in -reconfigure. Closes: #85873
* Some bugs are fixed in
the preconfigure program
by this upload too:
Overfiend, it makes
two passes now, so scary
shared templates will work.
* Besides these changes,
some mods to support the new
apt slipped in somehow:
apt.conf.d
is used rather than munging
apt.conf by hand.
* I gladly removed
apt-extracttemplates: moved
to apt-utils.
Preconfiguring
requires that package now
be installed, to work.
A Reccommends is
present in debconf, but, <sigh>,
apt will ignore it.
So you might have to
install apt-utils by hand
to get it working.
On the plus side, though --
porters everywhere rejoice --
debconf is arch all!
So maybe it'll
get into testing one day,
not many weeks hence.
* And I think that's all
the changes of note in this
release of debconf.
I'll stop sitting here
in the dark counting fingers,
and zinc off to bed.
foo
changes for apt 0.5.1, back to arch all
* Wrote a flexible extensible layered backend database system for
debconf. It's the long-missing quarter of debconf, and thus debconf
will be ready for 1.0 once the kinks in it are worked out. See the
debconf.conf(5) man page (in debconf-doc) for more information.
* Conflicts with versions of cdebconf that themselves use a
/etc/debconf.conf.
* Db reloads inside the same perl invocation (dpkg-reconfigure needs to
do this sometimes) are no longer a problem, Closes: #85873
* Now uses apt 0.5's apt.conf.d directory to enable preconfiguration.
Edit /etc/apt/apt.conf.d/debconf to turn it off. Removed the question
as there is no reason to configure this during debconf install time,
and no good reason to use debconf to ask a question about it.
* Removed various outdated database transition code.
* Added new transition code.
* Changed interface of debconf-communicate.
* Made dpkg-preconfigure make one pass over the templates, and then a
second pass over the config scripts, should fix Overfiend's problem
with shared templates and X.
* Pre-depends on perl-base, to ensure that debconf is always usable,
even if it is just unpacked and not yet configured.
* Dutch template update, Closes: #87493
foo
* Wrote a flexible extensible layered backend database system for
debconf. It's the long-missing quarter of debconf, and thus debconf
will be ready for 1.0 once the kinks in it are worked out. See the
debconf.conf(5) man page (in debconf-doc) for more information.
* But we're not at 1.0 yet. Use this release with *extreme* caution!
It _will_ trash your debconf database. It _will_ break your system.
* Conflicts with versions of cdebconf that themselves use a
/etc/debconf.conf.
* Db reloads inside the same perl invocation (dpkg-reconfigure needs to
do this sometimes) are no longer a problem, Closes: #85873
* Now uses apt 0.5's apt.conf.d directory to enable preconfiguration.
Edit /etc/apt/apt.conf.d/debconf to turn it off. Removed the question
as there is no reason to configure this during debconf install time,
and no good reason to use debconf to ask a question about it.
* Removed various outdated database transition code.
* Added new transition code.
* Changed interface of debconf-communicate.
* Made dpkg-preconfigure make one pass over the templates, and then a
second pass over the config scripts, should fix Overfiend's problem
with X.
* Pre-depends on perl-base, to ensure that debconf is always usable,
even if it is just unpacked and not yet configured.
* Dutch template update, Closes: #87493
* Wrote a flexible extensible layered backend database system for
debconf. It's the long-missing quarter of debconf, and thus debconf
will be ready for 1.0 once the kinks in it are worked out. See the
debconf.conf(5) man page (in debconf-doc) for more information.
* But we're not at 1.0 yet. Use this release with *extreme* caution!
It _will_ trash your debconf database. It _will_ break your system.
* Conflicts with versions of cdebconf that themselves use a
/etc/debconf.conf.
* Db reloads inside the same perl invocation (dpkg-reconfigure needs to
do this sometimes) are no longer a problem, Closes: #85873
* Now uses apt 0.5's apt.conf.d directory to enable preconfiguration.
Edit /etc/apt/apt.conf.d/debconf to turn it off. Removed the question
as there is no reason to configure this during debconf install time,
and no good reason to use debconf to ask a question about it.
* Removed various outdated database transition code.
* Added new transition code.
* Changed interface of debconf-communicate.
* Made dpkg-preconfigure make one pass over the templates, and then a
second pass over the config scripts, should fix Overfiend's problem
with X.
* Pre-depends on perl-base, to ensure that debconf is always usable,
even if it is just unpacked and not yet configured.
* Dutch template update, Closes: #87493
* Wrote a flexible extensible layered backend database system for
debconf. It's the long-missing quarter of debconf, and thus debconf
will be ready for 1.0 once the kinks in it are worked out. See the
debconf.conf(5) man page (in debconf-doc) for more information.
* But we're not at 1.0 yet. Use this release with *extreme* caution!
It _will_ trash your debconf database. It _will_ break your system.
* Conflicts with versions of cdebconf that themselves use a
/etc/debconf.conf.
* Db reloads inside the same perl invocation (dpkg-reconfigure needs to
do this sometimes) are no longer a problem, Closes: #85873
* Now uses apt 0.5's apt.conf.d directory to enable preconfiguration.
Edit /etc/apt/apt.conf.d/debconf to turn it off. Removed the question
as there is no reason to configure this during debconf install time,
and no good reason to use debconf to ask a question about it.
* Removed various outdated database transition code.
* Added new transition code.
* Changed interface of debconf-communicate.
* Made dpkg-preconfigure make one pass over the templates, and then a
second pass over the config scripts, should fix Overfiend's problem
with X.
* Pre-depends on perl-base, to ensure that debconf is always usable,
even if it is just unpacked and not yet configured.
* Dutch template update, Closes: #87493
pre-dep on perl templates updates
fixed brandon's problem
I have now tested the entire protocol, and found bugs that have always existed in debconf even, plus some new ones (how many ways can I misspell "persistent"?), and fixed them all.
many changes all aimed at getting removals and purges to work
builds debs now, I'm letting people test it
fixed bougs "field" fields.
Added per-item dirty flags to cache; file driver can use this to skip the expensive save step if no changes occurred, and all cache using drivers benefit to lesser degrees.
foo
foo
foo
Broke out output formats into a seperate set of classes. The directory driver can now use any format anyone includes, user just needs to specify a Format: field in the config file.
heh. Setting a question's template to the same template it already had was wiping out the template and starting afresh, because the template's ownership count temporarily went to zero. Fixed.
Use new apt's apt.conf.d directory to enable preconfiguration. Other cleanups to the maint scripts.
Added directory-level locking.
fixed multiple db reloads by not starting the db on import, but on load
completly fixed up iterators
Fixed exists problems.
foo
more work on the 'does it exist in cache' problem. Still not properly solved.
tons still to do :-(
foo
foo
implemented much saner tmp file handling /var/lib/debconf will be mode 755 and will have 2 subdirs
added a short list of items I must do before release
misc
The evil ConfigDb is GONE. Every last vestiage now erased.
don't allow package builds for now
* Made Debconf::Question keep track of instantiated questions; a class method can dig any of them up. * Made a lot of code use this new interface when it needs a particular question. NOT CURRENTLY IN A USABLE STATE (but I'm braindead now) zzzz
* Updated to new perl policy.
* debconf-communicate now accepts piped input, or you can just run
it and talk with debconf on the fly over stdin.
* use debhelper v3.
* Fix compilation with apt 0.4. Closes: #86417
* Removed outdated test of $@ from element creation code.
* Dutch templates file from "Thomas J. Zeeman" <tjzeeman@cs.vu.nl>, Closes: #85549 * Added code to support foolish downgrades to really old and crufty versions of debconf. Closes: #85124
* Added half a Finnish translation (the templates half), by Jaakko
Kangasharju <ashar@iki.fi>, Closes: #85199
* More unremarkable changes here and there.
* Italian template update.
* Corrected an off-by-one in FSET arg checking, Closes: #84792
* Updated Franch translation from Martin Quinson
<Martin.Quinson@ens-lyon.fr>
* debconf-getlang now preserves fuzzy translations accross multiple runs,
if a new translation is not put in. I also had to rename the -OLD
fields to -fuzzy.
* Fixed a couple of memory leaks that the absurd bug in magicfilter
exposes. Closes: #84211
* Updated the Swedish translation.
* Made debconf-getlang more or less ignore whitespace as a factor
in fuzzy translations.
* Now you have to list the files to look at in stats mode too,
seems hardcoding the lookup wasn't such a good idea.
* Removed the -q flag, just use --stats instead.
* Added Korean translation from Eungkyu Song <eungkyu@sparcs.kaist.ac.kr>
* Now that policy includes the debconf spec, I have removed the spec
from this source tree and debconf-doc. Since the version in policy is
canoical, I have removed the spec from cvs too. It will remain in the
Attic for historical purposes. I do still include a copy of the priority
table so it can go in the user's guide, and debconf-doc now suggests
debian-policy.
* debconf-getlang supports detection of fuzzy translations now,
and can display translation stats for a package too. See man page.
* Added dialog frontend back to template description for now.
Closes: #83670
* Changes to do with -ll_LL field localizations. These should actually
work now.
* Suddenly I have to hardcode the docbook xml version in DOCTYPE. Very
strange.
* Clean up after bogus foo/bar template I accidentially released. * Added German template translation by Michael Bramer <grisu@debian.org>, Closes: #82914
* Corrected overrides disparities.
* dpkg-preconfigure: Split on any whitespace, Closes: #82579
* po/Makefile is now smart about msgmerge just updating datestamps,
and doesn't let such trivial changes be checked into cvs.
* dpkg-preconfigure: don't split on apt-extractemplates output on
' ', use \s
* Fixed type that broke slang note elements, Closes: #81869
* Modified slang frontend to not instantiate Term::Stool widgets until
the GO command. This allows for thinge like:
db_set foo yes; db_input priority foo || db_set foo no
* All other frontends should already handle this just fine.
* Modified shell confmodule to use read -r, so if \ characters are
read in, it will not interpret them. That was causing mangled password
entry problems in base-config, Closes: #77920. It could also cause
random hangs if the data was just right..
* apt-extracttemplates null pointer checking, Closes: #77787
* Modified a few places in the tutorial to refer to essential packages,
not the base system. Closes: #81350
* Build-depends perl-5.6-base, Closes: #81328
* To keep debconf out of testing for nother two weeks, I fixed a bug
involving truncation of excessively-long short descriptions in the
slang frontend. Closes: #80163
* I guess perl is fixed now, so I can remove the bogus dependancy.
Thanks, bod!
* Aw hell, that won't work; too many things still depend on old versions
of perl.
* The "I didn't get a fixed perl for $MAJOR_WINTER_HOLIDAY" release.
* Conflicts with every perl-*-base package before perl-5.6-base, because
perl's alternatives system has been known to make /usr/bin/perl point
at some old version of perl, even though debconf depends on 5.6, which
breaks things pretty badly.
* Both dialog and whiptail now support --nocancel, which the dialog
frontend will use now if a cancel button is not appropriate.
Closes: #67419
* Reluctantly brought back a *temoporary* dependancy on perl-5.6 until
it gets it act in order. Closes: #79571 (Debian *cannot* be released
while debconf has this bogus dependancy.)
* Fixed umask-related build problem, Closes: #78453
* Removed screen refresh forcing in the slang frontend, it makes
it look like crap and if someone writes to the screen, that is their
problem, not mine.
* Corrected recently introduced resizing bug in slang frontend.
* Removed bogus perl-5.6 dependancy, now that perl is fixed.
* Now that base.pm is in perl-5.6-base, I no longer need to do hackery in
my Makefile to avoid using that module. Got rid of it, and versioned
dep on perl-5.6-base.
* Put README.translators in debconf-doc.
* Finally broke in and implemented multiselect support for the slang
frontend. Closes: #65782, #67242, #67340, #71095, #78571
* That was harer than it seems, I had to change Slang Elements to hold
groups of widgets, and support that everywhere. I also found it best to
move all the wiget positioning code into Elements from the frontend.
* Modified tutorial, Closes: #78537
* Two chinese translations of the templates file (zh_CN, zh_TW), from
zw@debian.org
* Removed test from dpkg-reconfigure for .config script. The test
shouldn't be necessary; postinst scripts _should_ be idempotent.
* If debconf is run without a controling tty..
- TERM will not be defined. This breaks the dialog frontend (which is
broken pretty badly by the lack of a tty too ;-), so detect
lack of TERM and refuse to use that frontend.
- Same for slang frontend.
- Lack of a controlling tty messes with the Text frontend,
though it still half-way works in some circumstances.
I've made its parent, the Tty frontend, detect this and bail.
- That also affected the Editor frontend (which could perhaps work in
this situation, but only if you use an X based editor, and tough
luck then).
... so in conculsion, if you do this, you'll probably get the
Noninteractive frontend. Woe on you if you're upgrading ssh and it
clobbers PermitRootLogin. :-(
* Tagged all frontend fallback messages for i18n.
* Corrected uninitialized value leading to looping bahavior in text
frontend, Closes: 77923
* dpkg-reconfigure: Wait until after loading db before doing frontend
fix up. Closes: #77847
* Typo.
* Fixed noninteractive note element to not let the shell get its grubby
little hands on unvalidated input, which was making it puke.
Closes: #77589 and a whole raft of other bugs filed against X which we
will be merging to it. Special thanks to Ingo Saitz for providing many
debug logs, and the person I've forgot who should delete my debug
account from their box now.
* Temporarily depends on perl-5.6 until perl-5.6-base is fixed so
POSIX.pm works without the former package installed. Grrre.
Closes: #77399, #77397 (really perl's bugs, but it has enough open on
this issue already).
* The stuff the postinst adds to apt.conf now doesn't return a error
code and make the apt run fail even if peices of the system like perl
are broken, as they are now for so many people. I had held off on this
change for a long time, but enough is enough.
* Also some not-yet-ready copletion stuff in the text frontend.
* The text frontend now supports backing up! It's now probably the
most usable of all debconf frontends, if you're comfortable at the
command line. Give it a try! (Tab completion is on the horizon, too.)
* A pretty painful reorganization of how all Elements return and validate
values -- at least it's consistent now.
* Probability I broke something this time: 76.51%
* Added something to the help to make select widgets more obvious. * Fixed sizing of select widgets.
* Modified all the frontends to deal with this scenario:
A config scripts asks questions a, b, and c. a and c are asked at
priorities that make them visible, b is not. The user gets to c,
and backs up.
Previously, debconf would loop back to b, skip it again, and return the
user to c. Now it is smart enough to go back to a once b is skipped.
* Changed how debconf keeps track of what questions have been seen
before. Now it tracks this info on a per confmodule basis, and when a
confmodule terminates, sets the "seen" flag on (almost) all questions
that were displayed. Questions that are shown multiple times during the
same confmodule run will indeed appear multiple times[1]. This makes
supporting backing up trivial; it means that people have no excuse to
play around with the isdefault flag anymore, which they almost always
got wrong anyway; and it renames that flag to the much clearer "seen".
* It is possible that this change breaks confmodules that expect to be able
to display the same question twice with impunity.
* NOTE NOTE NOTE if you use this new behavior, make sure to depend on
debconf (>= 0.5)!
* The isdefault flag will continue to work, it is just mapped to the
inverse of the "seen" flag now, and deprecated.
* All the frontends were reworked to various degrees to make this work,
and I got rid of a fair bit of redundant code too.
* Modified debconf's own config script to use these features and sure
enough, it looks quite clean and simple now.
* Updated all docs.
* Added nasty code to transition from the isdefault flag to the new flag.
* Fixed backup in dialog frontend, 255 == -1
* Just to make life more interesting, I made debconf depend on perl 5.6;
which allows me to remove all my crud working around bugs in perl
5.005, and lets me use lots of nifty 5.6-specific features, but not,
sadly, lvalues.
* Probability of all this breaking something: 99.99%
.
[1] Unless they are to be displayed in the same block.
Oh, tons of changes. See the changelog. Checking in before I start ripping it to peices again..
* NOT READY FOR RELEASE
* Modified all the frontends to deal with this scenario:
A config scripts asks questions a, b, and c. a and c are asked at
priorities that make them visible, b is not. The user gets to c,
and backs up.
Previously, debconf would loop back to b, skip it again, and return the
user to c. Now it is smart enough to go back to a once b is skipped.
* Swedish translation from peter karlsson <peter@softwolves.pp.se>
* Corrected man page location, Closes: #76747
* Corrected italian choices list to include translation of "critical".
I don't see any problems in the other translations. (No, there is no
automated check yet.) Closes: #75312
* Slang frontend now forces a refresh each time. It pains me to do this,
but it prevents screen corruption if something is output in between.
Closes: #72891
* Wrote a debconf.8 man page, Closes: #58287 It's very tiny right now;
I'd sorta like to convert the docbook userguide.xml and use it as the
man page, but I cannot figure out docbook2man. Help!
* Closes: #76273, this bug is only in a not really released version.
* Randolph updated apt-extracttemplates to build with the new apt. I
have converted that to use ifdefs so it should build with both.
* Added a hostname to the mails sent out by the noninteractive frontend,
as admins may have multiple hosts configured to sent mail with the same
hostname. Closes: #76653 Also reformatted the messages some for clarity
and conciseness.
foo
* Fixed a subtle bug in the slang frontend. This bug made noninteractive
elements not be "shown" ever, so they didn't send mail. It also made
noninteractive select elements get "" shoved into them whenever they
were INPUT, which messed up some things like progeny's postfix package.
* Added a check to the metaget command to make sure the requested field
exists.
* Ignore any number of leading and trailing newlines around templates,
since the spec doesn't really say There Must Be Only One, and it can be
useful to have more. Closes: #75420
* confmodule: Properly quote arguments to frontend, just in case.
Closes: #74827
* debconf-loadtemplates was totally hosed. It forgot to load the db up,
and so it wiped it all out when it saved it! Fixed, Closes: #74826
* Added basic syntax checking and usage to debconf-getlang (and
debconf-loadtemplate too). Closes: #74825
* Fixed a typo in the preinst.
Closes: #75318, #66484, #75322, #75328, #75339, #75341, #75319, #75367,
#75399 (and probably a bunch more, but they're merged anyway). Actually
tested this time, and it actually works.
* Patch from bod to wrapper.
* Bod rewrite the ConfModule wrapper. Now should handle errors properly.
* Moved over to a hopefully more robust check in the preinst to see if
the database needs to be converted, after receiving two reports that
the current check is not always firing. Closes: #75240
* Patch from Martin Quinson <mquinson@ens-lyon.fr> to po/Makefile, adding
stuff for translators. It automatically merges the new debconf.pot
with .po files, and outputs stats on how up-to-date the translation is.
* Seems that the Debian::DebConf::Client::ConfModule stub from bod
isn't good enough. :-( The problem is code that calls stuff like
Debian::DebConf::Client::ConfModule::title directly. Ugh. Added an AUTOLOAD
with a nasty eval to deal with this. Closes: #75239
* Fixed an uninitialized value if a boolean item has no default. Bleagh.
* Removed recursive build-dependancy on debconf-utils. There were two
ways to do this, the quick hack way and the move lots of directories in
cvs way. I took the latter.
* While I was reorganizing *EVERYTHING*, I renamed all the perl modules,
what was Debian::DebConf::foo is now Debconf::foo.
Debian::DebConf::Client::ConfModule is now just Debconf::ConfModule, but
a stub module exists in the old location for backwards compatability
(thanks, bod).
* If you use the new module, you should depend on this version of
Debconf!
* This hacking also required some ugly ugly hacking of the debconf
database. Debconf needs a real database. :-(
* I guess this means the filename in all the .po files are wrong, bug
since those filenames are in comments, the .po files should continue to
work, right?
* debconf-utils now depends on debconf >= 0.4, so it will continue to
work.
* Needless to say, this was a massive PITA all around. I've NEVER going
to do this again, so I hope I got it right.
* For a short while, I considered using MakeMaker. That is, until I
noticed MakeMaker had no way of marking scripts for install into
/usr/sbin, and after not one but two perl gods advised me using it for
anything more cpmplex than a simple library package was not a good
idea. People have asked me to use MakeMaker in the past, and it's just
not going to happen unless you send me a very nice patch.
more epic struggles to change the world
* all this stuff was moved to Debconf/FrontEnd * updated some docs to refer to proper module names
* Removed CVS dirs that snuck into the binary debs.
* French templates and po file from
Martin Quinson <mquinson@zeppelin-cb.de> (shrug ;-)
* Added some useful info to Template parse exceptions.
* Added Spanish templates file from Enrique Zanardi <ezanard@debian.org>.
* Japanese now fully up to date thanks to Keita Maehara <maehara@debian.org> Closes: #72697
* Copyright change: debconf is now licensed under the terms of the BSD
copyright, minus the advertising clause. I have contacted all
contributors and they agree with this license change. This also changes
the license of the Configuration Management spec. The sole exception to
this change is some libapt code in Client/preconfigure that is part of
the /usr/lib/debconf/apt-extracttemplates binary. That code remains
under the GPL, as it is part of libapt. It will hopefully be moved back
into libapt one day. apt-extracttemplates is not necessary for the
proper functioning of debconf; it is just a binary used in an
optimization.
* Motivations for this change were various. I want programs to be able to
use debconf even if they are not licensed under the GPL, and it could
be argued debconf serves as a library (with varying degrees of
correctness depending which part you were talking about). I would like
debconf to be available to others, including the BSD community, some of
whom I know are looking at issues that could possibly be solved by
debconf.
* Several reogranaizations for this. Deleted doc/COPYING. Added a README.
Included the text of the copyright into debian/copyright, since it is a
slightly modified BSD license (minus point 3). Modified numerous files
for the new copyright. Removed Client/preconfigure/README, and included
the text that was in it (expended) indo debian/copyright. Added
doc/COPYING to Client/preconfigure/ (how many copies of the GPL do
_you_ have in your cvs repository? ;-) Caused debian/copyright to be
linked to doc/COPYRIGHT in the source tarball.
important fixes
* Updated templates.ja from Keita Maehara <maehara@debian.org>. Still out of date, though. Closes: #71937
* Whoops, let's not install cvs .#* files into the binary package or
generate POD docs for them, shall we?
* Reworded and reformatted some of Debconf's questions. Translations:
not yet up to date.
* Sometimes you put in something to be helpful, and it comes back to bite
you in a major way. Say you add some code to /usr/share/debconf/confmodule
to allow broken postinst scripts that use debconf to still echo stuff to
stdout and not have it go to debconf. Then you find that this hack makes
legitimate code that uses the confmodule and uses the perl ConfModule
library nested inside, not work. So your choices are to add a further
hack to the perl ConfModule, or end all these hacks and do things
cleanly. Unfortunatly, several packages have come to depend on the hack.
What do you do?
* Well I chickened out and hacked Client::ConfModule. But I have added an
entry to the TODO, and if you have a broken debconf-using package,
expect a bug report soon.
* Some copyright file cleanups.
* My night for stupid debconf bugs. It turns out that the
string element in the dialog frontend was causinng the
default from the template to be used if the a text input
line was returned empty. Now "" is returned as it should
be. I know one package bitten by this is cvs, in its
repository directory selection question.
* Fixed a really stupid typo in the editor and text frontends
that made them ignore the width of the screen.
* Don't strip Client::ConfModule of pod docs.
* Build depends on a links that support -dump. Don't know when this was
added, so I'll just build-depend on the current version.
* Questions w/o extended descriptions are a bad thing. The tutorial
now speaks more strogly about this.
* Added Spanish translation thanks to Enrique Zanardi <ezanard@debian.org>.
Only the .po file so far, not templates.
* Corrected a title refresh bug in the slang frontend, Closes: #70693 * Other minor fixes.
* Spelling corrections from Sean, who should ispell the xml next time.
* Killed an uninitialized value warning, Closes: #70508 (This one is
tickled only by nasty packages like sslwrap that provide no extended
descriptions to their questions. Evil.)
* Fixed a debconf corrupted database crash. This is, I think, just
another bit of fallout from the very old debconf db corruption problem
(see changelog entry 0.3.19). Closes: #69781, #69582
* Corrected the wrapping-of-bulleted-lists issue. It is now possible to
have bulletted lists or other preformatted text in a templates file
just like you would in a normal debian control file -- 2 space indent.
Closes: #65518
* This was too easy. Silly me.
* Fixed preconfiguring -- since version 0.3.60, it has unnecessarily
skipped preconfiguring of all packages that Depend: on debconf w/o a
version. Silly thinko..
* Switched to using links to convert html to text, since it
a) handles tables ok
b) doesn't omit link references
* Long-overdue fix to the specification -- added the list of commands to
it -- they were removed when it was converted to xml.
* Make a nice non-scary message if Term::Stool is not installed and one
tries to use the slang frontend. For some reason, normal perl cannot
load lib messages seem to be scaring users to death. Closes: #68557
* Fixed doc dir symlink, Closes: #68558
* Reworked rules file, since this package now has arch-indep and -dep
parts. Split build dependancies along those lines. Closes: #68461
* Removed obsolete Version.pm (Randolph's code does the checking now).
* Passthrough fix. s/carp/croak/
* So we (culus, tausq, joeyh) did some benchmarking, and figured out how
to speed up dpkg-preconfigure by about 3x. It turns out most of the
existing overhead was in calls to dpkg-deb, which is slow, and in all
the forking necessary to do said calls, which is also slow. So we moved
the initial package scanning out into a C++ program which links to apt
code and is quite fast. (Sadly, it's also quite big, and has bloated
debconf by 30k and made it arch-dependent.) Anyway, I guess it's worth
it to save a few seconds. <shrug>
* Some internal code reogranizations and function renames and stuff,
to make things more flexable.
* New Passthrough "frontend" to allow third-party GUI operation, by
Randolph Chung. This is currently somewhat experimental.
* Frontend fallback is now based on per-starting-frontend lists -- ie,
slang can fallback to dialog while dialog falls back to slang, without
an infinite loop being created. Closes: #68337
* Capabilities fix: There was a problem if, eg, debconf and then cvs were
configured. Debconf supports BACKUP, cvs does not, but the frontends
were not informed of the change. Now they are, and the slang frontend
properly dims out the back button in this situation.
Passthrough frontend stuff
some code reorgs. The point is to let me try bods stuff, but my code wasn't flexable enough to accomidate it well. It is now.
* So we (culus, tausq, joeyh) did some benchmarking, and figured out how
to speed up dpkg-preconfigure by about 3x. It turns out most of the
existing overhead was in calls to dpkg-deb, which is slow, and in all
the forking necessary to do said calls, which is also slow. So we moved
the initial package scanning out into a C++ program which links to apt
code and is quite fast. (Sadly, it's also quite big, and has bloated
debconf by 30k and made it arch-dependent.) Anyway, I guess it's worth
it to save a few seconds.
Not uploading yet, I want to sit on this at least overnight. Bod may yet
save us all ;-)
* Cleanups to the xml docs to use "question" consistently.
* Fixed stupid tab expansion problem. It's really Text::Wraps' fault; bug
filed.
* Since jade generates the ugliest html I have ever seen, I'm now
using tidy to clean that up and indent it properly.
* Fixed some undefined value warnings, Closes: 67029
* Fixed FrontEnd::makeelement to not crash if a question has no
associated template. This should never happen, but a very old version
of debconf left behind databases with that problem. The fix is trivial:
just use $question->type instead of $question->template->type. This has
the exact same effect, with the side effect of catching undef'd
templates and not crashing. It goes on to not make an element in that
case, which is reasonable.
* s/dpkg-getlang/debconf-getlang/ # Closes: #65918
* Typo fix, Closes: #65919
* More debug code added for bug #66484.
* Added italian translation of templates file (po still needs to be
translated), from Eugenia Franzoni <eugenia@pluto.linux.it>
* Added debug code to help track down bug #66484.
* Added Japanese translation from Akira YOSHIYAMA <yosshy@cts.ne.jp>
* Fixed documentation of isdefault flag, which needs to be renamed.
Cf, Bug #64374.
* Corrected a bua in how text multiselect elements parsed input: A
2-diget number would be incorrectly split into 2 numbers. Closes: #66195
* Russian translation update.
* Don't let the dialog frontend run with with TERM=dumb either.
* Fixed perl 5.6 specific error message.
* Fixed slang hide/show help button to be wide enough for
the currentl localization. Closes: #64752
* Fixed a minor bug in frontend -- notice when a template file has been
successfully loaded, and don't keep trying to find it.
* Applied the same fix to multiselect elements that I applied to select
elements in the last version. I think using internationalized debconf
should work pretty well now.
* The editor frontend now asks that you separate chocies in multiselect
questions with spaces and commas, so it will work if the choices
contain spaces.
* Added Russian translation, by Michael Sobolev <mss@transas.com> * Added French translation, by Vincent Renardias <vincent@ldsol.com> * Now that I have real localizations to work with, I can find some related problems. - Fixed all select elements to translate back to C locale whatever is input into them. They had been storing it internally in the language that was being used, and passing those localized values to the config scripts that used them, which didn't exactly work very well.. - Similarly, translate the default value, which is in the C locale, to the current locale before using it to prompt the user. * Made frontend fallback even more robust, mainly to deal with the results of the above mentioned select element nastiness. * Element::Editor::Select had the wrong parent; this is corrected. * Added a newline at the end of the files the editor frontend generates, since vim likes to see one there. * Failure to make an input element has been upgraded to be a warning message, instead of the debug message it was before. This should not happen in normal use, if it does, I want to know. (Of course, the slang frontend still has no multiselct elements, maybe this will remind me to fix that sometime..) * Fixed a nasty infinite recusion error in the web frontend, which actually works now. * Reworked the debconf debug mechanism. It now uses symbolic names for various types of debug messages, and DEBCONF_DEBUG specifies which types are shown. See the User's Guide for details. * Some reorganizations to the Tutorial; split out some big sections into entities to aid maintenance. Moved namespace.txt into the tutorial as an Appendix.
* Now that I have a real localization to work with, I can find some
related problems.
- Fixed all select elements to translate back to C locale whatever is
input into them. They had been storing it internally in the language
that was being used, and passing those localized values to the
config scripts that used them, which didn't exactly work very well..
- Similarly, translate the default value, which is in the C locale, to
the current locale before using it to prompt the user.
* Made frontend fallback even more robust, mainly to deal with the results
of the above mentioned select element nastiness.
* Element::Editor::Select had the wrong parent; this is corrected.
* Added a newline at the end of the files the editor frontend generates,
since vim likes to see one there.
* Failure to make an input element has been upgraded to be a warning
message, instead of the debug message it was before. This should not
happen in normal use, if it does, I want to know. (Of course, the slang
frontend still has no multiselct elements, maybe this will remind me to
fix that sometime..)
* Fixed a really nasty infinite recusion error in the web frontend, which
actually works now.
* Reworked the debconf debug mechanism. It now uses symbolic names for
various types of debug messages, and DEBCONF_DEBUG specifies which
types are shown. See the User's Guide for details.
* Some reorganizations to the Tutorial; split out some big sections into
entities to aid maintenance.
Not yet done; moving to my home box for more work.
starting to fix localization problems
* Fixed typo that broken the web frontend (#64474)
* Updated and completed the Polish l10n thanks to Marcin Owsiany
<porridge@pandora.info.bielsko.pl>.
* Now build depends on the latest debhelper to automatically merge
translated templates files.
* Corrected stupid mistake I made when I added sprintf() calls. Now new
Polish translation is fully functional.
* Fixed minor bug in Template stringification.
* Note to self: test before uploading
* Fixed a minor bug in debconf-getlang to do with when Default needs to
be translated.
* Jazzed up the Template class. It can now load in templates files and
instantiate whole sets of templates on the fly. This is good because
that code used to be in ConfigDb, which is the part of debconf that
will probably go away eventually.
* Templates can also strignify themselves now, which recreates a
templates file entry. And there is a class method for stringifying a
whole list of objects, which can recreate a whole templates file.
* The above new functionality lets me use the Template class for
something new: management of translated templates files. Added some new
utilities to help with splitting and merging templates files for
translation. The idea for these utilities came from Michael Sobolev
<mss@transas.com>. Thanks, Michael!
* Added mentions of these utilities to the tutorial.
* Broke off all the small and non-essential utilities into a new
debconf-utils package. Developers and extreme power users may want it,
others will not.
* All the programs in debconf-utils now have names starting with
"debconf-". This means dpkg-debconf has been renmaed (again) to
debconf-communicate, and dpkg-loadtemplate has been renamed to
debconf-loadtemplate. I hope these are the last name changes.
* Used sprintf in all gettext() calls that have a parameter. This may
have messed up the polish translation though.
* gettextized the entire source tree, so it can now be translated. I used
Locale::gettext for this, but since it is not in base, I have arranged
for debconf to continue working if it is not found (just using the C
locale).
* Added polish translation from Marcin Owsiany
<porridge@pandora.info.bielsko.pl>.
* Prompted priority to standard, since lynx depends on it. Closes: #63346
* Don't use the 'lib' module in Client/frontend. Closes: #62629
* Dpkg-preconfigure in apt mode bails if it is asked to scan just one
package. Thete's no benefit to preconfiguration if you're just doing
one, because apt is just going to install it immediatly anyway. This
optimizes for the "apt-get install foo" case.
* Catch undefined value returned if a package that is not installed is
preconfigured, and use '' instead. This clears up the undefined value
warning people have been seeing for months.
Closes: #55498, #57792, #62263, #53657
* Fixed for a while: Closes: #48816
* Corrected bug in slang frontend -- if the last item in a dropdown
select box was default, it was not highlighted as such correctly.
Closes: #62021
* debconf-doc conflicts with older versions of debconf that contained the
manpages. Closes: #62030
* Added crazy new frontend: it just makes a pseudo-config file, and
pops up your favorite editor on it.
* Killed question w/o template debug code, I'm reasonably sure the problem
is just happenning to people who had a very old version of debconf, and
that the problem is being corrected properly.
Closes: #62004, #61970, #61947
* Added debug code to try to track down the uninitialized value in
confmodule startup/open2 bug.
* Fixed a bug in the 'use base' expander that was causing multiple
inheritance to turn into syntax errors.
* dpkg-reconfigure detects if your default frontend is Noninteractive,
and uses Slang instead so you actually get to reconfigure the package.
Closes: #57614
* And this is an upload with the -doc package turned back on. Maybe one
day a ftp admin will be kind enough to approve that new package..
* This is a quick build w/o the -doc package, to allow debconf to get
quickly through incoming without waiting for manual approval (I have
some important bugs fixed in the many versions below that are stuck in
Incoming.)
* Don't crash if a question has no associated template. That should never
happen, but I have one report of it happening. I suspect that some
rather old version of debconf caused the problem. It's also possible
that deleting the templates.db file might cause similar problems. I've
made debconf ask for bug reports in this case, so I can gather more
data.
* Tightended up regexp that pareses Template: lines, so spaces are not
allowed in the name of a template. As a side effect, this just ignores
trailing space on all fields in a templates file. I hope this has no
bad side effects..
* Minor doc updates. * Fixed syntax error in Client::ConfModule, Closes: #61535
* Used exported sub names in a few places I missed before.
* Renamed AutoSelect::frontend and AutoSelect::confmodule to
make_frontend and make_confmodule, and allow them to be exported
too.
* Added dpkg-debconf. This is a program that lets you send commands to
debconf directly from the command line. Will probably be quite useful
for debugging purposes. (We used to have something like this a long,
long time ago, but I like this new design better.)
* Added dpkg-loadtemplate, a simple program that loads templates into the
debconf database. This is *not* intended to be used by debian packages,
but can be useful for debugging purposes and for pre-seeding the
database before installing a package.
* Moved all external manpages for perl programs into POD format.
* Updated all pod docs to fix formatting problems.
* debconf-tiny is no more. Instead, we now have debconf and debconf-doc.
This makes debconf proper be nearly as small as debconf-tiny used to be
and gets rid of the set of problems associated with debconf-tiny.
* This huge and unmanageable changelog is 20k compressed. To make debconf
a reasonable size, I am only including the last 5 changelog entries in
debconf; the rest go in -doc.
* Several modules are now Exporters, and I use that where possible to
reduce code size.
* Strip all pod docs out of modules in binary package. Ugly, but saves a
great deal of space.
* Killed off the gtk frontend. The code has been rotting, and it just
needs to be rewritten.
* Changed the AutoSelect fallbacks around, most frontends now fall back
to Slang.
* Text frontend no longer always prompts for a Enter press at the end of
a run.
* Moved some doc files into doc/ in the source package.
* AUTOLOAD function now creates field accessor functions on the fly.
Slight speedup.
* s/property/field/g
ok, let's release as is.
dunno
skip duplicate questions
support backing up TODO additions
Lots of random fixes here and there.
Added text and note types to slang frontend, only multiselect is unimplemented. Started to use init methods wherever I can, with a lot of thrashing resulting. The advanatge of init is it's a lot shorter and simpler to write one than to properly set up a new() method that does the same thing. All the slang elements were re-organized, so they all inherit from Element::Slang, and create widgets in their init methods, rather than a makewidget method. This necessitated changes to FrontEnd::Slang as well. Checkpointing here while everything mostly works, next step is to convert many more modules to use init rather than new.
hm
fixed some bugs Added text to helpbar.
* Made noninteractive select elements smarter. If the value is set, but
is set to something not on the list, disregard it and pick the first
element from the list. This is actually an important bugfix; it's been
causing problems with apt-setup in base-config, making
http.us.debian.org be incorrectly picked as the default when users try
to set up apt to use a country that just has one mirror on file.
* Closes #60160 (important)
* Added DEBIAN_PRIORITY for consitency.
* Text frontend now prompts you to hit return if text has been displayed
w/o a prompt. This is to prevent said text from running off the screen
during a dpkg run. To make this work, I had to add a shutdown method to
frontends, to be called before a frontend is destroyed.
* Denastified the object property references all over. I just hope I didn't
remove any direct accesses that were meant to be there (often a good
way to introduce infinite loops, so use this version with care..)
* Optimized the Text frontend's handling of resize events.
* Fixed a compile error in the specification, and actually installs the
spec's gif.
* Fixed noninteractive note element to not mark the item as seen if
/usr/bin/mail doesn't exist. (Oops)
* Use fully-qualified path for dpkg-preconfigure in apt.conf,
Closes: #58469
* Removed quite obsolete exim samples. I don't want to maintain samples
anymore past those needed by the tutorial and a regression test script.
There is quite enough real debconf code out there.
* Corrected three ways badly written packages could make
dpkg-preconfigure die:
- They could try to ask questions that didn't exist.
- They could try to ask questions using garbage priority values.
- They could have garbage template files that lack required fields.
All three are now handled sanely, and debconf even tells the client
what stupid thing it has done in the first 2 cases. To make that work,
I made FrontEnd::add much simpler, and moved a lot of the failure-prone
code into Confmodule::command_input, and did some other
reorganizations.
* Checked and I don't think any more cases like this exist in debconf.
* While I was at it, I shut up messages about failing to make
noninteractive elements in debug 2 mode. A common FAQ causer.
* Added a Debian.bugtemplate file, in an attempt to get people to report
bugs that are actually useful. This is used by newer reportbug
packages.
* Fixed another stupid typo, that messed up text select and multiselect
elements sometimes.
* Fixed a stupid typo introduced last version.
* Added --unseen-only switch to dpkg-reconfigure. This makes it only ask
questions that have not been asked before. Closes: #59260
* When debconf or debconf-tiny is purged, the database is not deleted if
debconf or debconf-tiny is still installed. Closes: #59029
* word-wrap all text that is mailed at 75 columns, Closes: #58911
* Catch SIGPIPEs from confmodules and handle them. Closes: #58847, #58818
* dpkg-reconfigure: Now forces priority to low when reconfiguring
packages. People have often complained that it should do this,
so it does now. Added a swtich to disable this behavior, which should be
used by eg, the boot floppies when it reconfigures base-config. Also,
re-wrote the switch parsing to match how it's done in dpkg-preconfigure.
* Removed lots of extortions to use -plow from docs.
* Bother. base.pm is not in perl-base. Added nasty code to fix this when
building debconf-tiny.
* Copyright and url updates.
* dpkg-reconfigure: don't run the postrm of the package. Doing so breaks
things when for example, the package uses dpkg-divert and tries to
remove diversions in the postrm. This cannot be an isolated problem
either. This reverses the change made in version 0.2.52, which did not
say why I added it in the first place.. (suspicion: non-idempotent
postinst scripts may need the postrm to clean up after them before being
called again. However, such scripts are broken.)
Closes: #58527 (important bug)
* no changes; Closes: #58495 (I'm not going to add 3 lines of code bloat
to a package in base just to provide a marginally better error message.)
* Added --help to dpkg-preconfigure and dpkg-reconfigure. Closes: #58496
* Added more cautions about passwords to the tutorial.
* Text mode [multi]select elements now display in multiple columns. This is
experimental, and I don't know how it will interact with having support for
descriptions associated with items in the selection list, which is a todo
item.
* Use w3m again to format docs (how'd I lose that?)
* Fixed minor back problem in debconf's own config script, and some
documentation fixes.
* dpkg-preconfigure: It turns out that the trick of reading from stdin
until EOF, then reading more later only works if stdin is a tty. When it
was running from apt, that wasn't so, and so it caused dialog to lock up,
in a tight loop, unable to read keypresses from stdin. The fix is
pretty simple; just open /dev/tty and connect STDIN to it after reading
the filelist from apt. Closes: #56518, #57771 (important bugs).
* Disabled dialog exclusion that was added in the last release.
* Fixed dpkg-preconfigure to not use Getopt::Long, so it will work even on
the base system it is now a part of.
* As a workaround for the dialog lock problem (which seems to be a dialog
bug), never use dialog for the text mode menus. Works around: #56518
(grave), #57771 (important)
* Use perl's "base" module throughout the code, cutting 2 lines from each
module. Due to a bug in the module, I had to throw lots of "use"'s back
in, in the case of child modules that had a name that just appeneded to
the name of their parent. I have filed a perlbug about that
(ID 20000212.001). These additions are marked "# perlbug" so I can grep
them back out later.
* Warning: I expect this release is very buggy. But that's why you're
tracking unstable, right?
* Add templates file, config script, postinst, and posrtm to debconf-tiny,
so debconf/priority actually exists. This is necessary so base-config
can change the priority if the boot-floppies were installed in verbose or
quiet mode. This is a critical bugfix, as it fixes a bug that made newly
installed systems unusable.
* Added dpkg-preconfigure to debconf-tiny, since this:
a) lets debconf-tiny use debconf's postinst unchanged
b) is useful in general to have in debconf-tiny
* Several k of bloat. Oh well..
* Corrected 2 typos, Closes: #57605 * Closes: #57607 -- already fixed.
* Fixed a typo I introduced earlier today.
* Fixed some uninitialized values related to multiselct questions with no
defaults.
* Added code to postinst to delete long-obsolete /etc/debconf.cfg
* dpkg-reconfigure: detect perl confmodules properly, by making my regexp
match case in-sensitively. This fixes a bug that made dpkg-reconfigure
not work at all to reconfigure packages that used ConfModule.pm.
* dpkg-reconfigure: assume all config scripts are confmodules, it would be
pretty weird for one not to be, and this speeds things up a tiny bit.
* Installed workaround from Joel Klecker to fix the annoying termcap
warning from Term::Readline. This does not close these bugs, but it does
work around them: #47363, #50286, #50540, #51787, #52052, #53274, #55142,
#56987, and #46270
* Added checks for wrong number of parameters in all command_* subs in
ConfModule.pm. If the check fails, error 20 is returned (syntax error).
Merged from potato.
merged potato changes
* Woops, I forgot to let the CLEAR command be executed in any of the
confmodule libraries!
* base-config needs that command, so this must go to frozen.
* Woops, I forgot to let the CLEAR command be executed in any of the
confmodule libraries!
* base-config needs that command, so this must go to frozen.
* Re-enabled use of _ and . in template fields. Necessary for localaization.
* Corrected a bug in noninteractive select elements. Amoung other things,
this bug broke apt-setup in base-config (so it is a critical bug, yada,
yada). I believe this also Closes: #55036
* Switched over to using perl's setlocale() function to determine the
current locale. This means that locale aliases work, and that users
who have a locale like 'es_ES.ISO-8859-1' see all the es_ES messages.
* Added one level of locale fallback: for example, it looks for 'es'
messages too in the case above.
* I guess these changes are necessary to make debconf usable for people
who use locales, so this should _probably_ go into frozen.
* Make dpkg-reconfigure work inside a base system that has no Getopt::Long.
This is critical to get into potato, because base-config has to be
dpkg-reconfigure'd on initial reboot to set the root password and so on.
* Really make dialog frontend default. I thought I did this 8 versions
back..
* Medium priority is now default.
* Probably fixed bug #55174, but who knows, I cannot reproduce it anyway.
* Renamed dpkg-preconfig to dpkg-preconfigure, for consistency.
Closes: #53893
* Moved dpkg-preconfigure and dpkg-reconfigure to /usr/sbin.
* Sped up and simplified language code.
* Fixed dpkg-preconfigure to not re-show old questions when running in apt
mode (oops!)
* '_' and '.' can now appear in fields names in templates. Necessary for
some localization.. If you use them in a field name, you had better
depend on this version; earlier ones will die if they see such a thing.
* Fixed a logic error that broke debconf if you had LC_ALL or LANG set,
Closes: #54615, #54638, #54655
* Debconf is not yet internationalized itself, but the data it reads in
from templates now may be.
* Documented what else I need to do toward i18n in the TODO.
* Client::ConfModule detects newline in text it is going to send out,
and warns about them. This after the pain of debugging what a spare \n
can do to the protocol..
* Documented DEBCONF_DEBUG, Closes: #54434
* Don't show "none of the above" choice in text frontend's select element.
It is only supposed to be in multiselect elements.
* A few more bug reports that were fixed 2 versions ago should be closed.
Closes: #54459, #54462, #54429, #54393, #54443, #54400
* When the back button is hit, clear the buffer of all questions.
Fixes some truely confusing behavior.
* Fixed type that was making a sbin file, Closes: #0.2.65
* Add dpkg-reconfigure to debconf-tiny.
* Changed default frontend (again), back to the dialog frontend. I can't
really make my mind up on this, but my reasoning for using dialog is that
debconf-tiny is going to be used by several packages on a fresh install,
so the user is going to see some debconf dialog stuff right from the
start. Changing to text half-way through is liable to be confusing.
* Removed apt-setup; it is in base-config now.
* Minor README change.
* Now build-depends on sgml-data, to follow the bouncing xml.dcl.
* In fact, I have to change things to use a new name and path for that
file too.
* Really fixed that typo.
Removed apt-setup.
* Typo fix, Closes: #54205
* When dpkg-preconfig is run from apt, it turns off showing of old
questions. That remains turned off until all preconfiguration is complete.
The effect is that you can now configure debconf to re-show old questions,
and not have to suffer through seeing all the old questions twice. If
you turned off showing of old questions because seeing questions twice was
annoying, you may want to turn it back on now.
* Client/frontend: the templates filename guessing has been a bit broken
in one case. I've fixed that now, Closes: #53730. Happy GNU year!
* Don't use lib. Closes: #53316
* Now just depends on perl-5.005-base (of sufficiently recent version),
since that package now contains everything I need. (Closes: #53186)
* Client/frontend: Look for templates in /usr/share/debconf/templates/
as well as the current directory. Useful for stadalone programs that
use debconf.
* Include apt-setup in debconf and debconf-tiny for now, since the base
system needs them available *now*. This is not the right long-term
location, though. Closes: #53187 (Adam, you want to run
"/usr/sbin/apt-setup probe")
* Tightened up the perl dependancies. I think the previous looser
dependancies might have caused a problem.
* Depend on the version of fileutils that supported
--ignore-fail-on-non-empty, Closes: #52746 (should that bug really have
been grave? It could only be triggered if you installed debconf w/o
upgrading to potato fileutils, and then purged it.)
* Despite what the bug report says, the postinst has never ran rmdir.
* Added to the tutorial.
* In the dialog frontend, do not pass the default password to dialog. This
is a security hole, and besides it's very confusing since dialog doesn't
display the passowrd, and the user might inaverdently append to it.
* "Cancel" (or hitting escape) in the dialog frontend is now interpreted
to mean back up a step. Not quite intuitive, but it is the bast thing I
can do with a cancel button, and I need the ability to backup.
Closes: #51887
* Reworked how question values are set. This is now done in FrontEnd::go(),
instead of in each Element's show() method.
* Debconf install now asks if you want to preconfigure packages, and
if you answer no, does not add/removes call to dpkg-preconfig in apt.conf.
* Changed user's guide to match.
* dpkg-reconfigure runs the postrm now. It's also substantially smaller.
* Made noninteractive frontend really silent. Closes: #51952
* Corrected debconf-tiny's conflicts.
* Autoselect can now have loops in the frontends it tries, it is smart
enough to break the loops. This lets the text frontend fallback to the
Dialog frontend. Since that is the only frontend in debconf-tiny,
this is required to make it use the dialog frontend.
* Needs a versioned debhelper dependency.
* Build-Depends on docbook-stylesheets, which are needed to make the xml
docs be formatted decently.
* Added comment to apt.conf that the line was added by debconf,
Closes: #51720
* Element/Dialog/String.pm: Fixed a thinko that is causing the warning
messages reported in bug #51561.
* Changed tutorial docs of version command. Clients are not stricly
required to pass a version number into it.
* Removed warning message if a client does not pass in a version,
Closes: #51431
* Added build dependancy info.
* Discovered dialog's --separate-output parameter, and use it for
multiselect boxes, since it simplfies parsing.
removed 'master'
* w3m -dump works again, so use it.
* dpkg-preconfig: modified regexp to work under perl 5.004
(Closes: #50854, #50880)
* Improved abbreviation finding algorythm for text select elements.
* Cleaned up the show method of Element::Text::Select.
* Element::Text::MultiSelect can now inherit from Element::Text::Select,
making it much shorter.
* Changed how text frontend's select element indicates which choice is
default. It can now indicate when numbers are the default. Closes: #50751
* Detect if libterm-readline-*-perl is being used. If so, allow
interactive editing of the default, since that is supported. If not,
display the default as part of the prompt. This makes things more
consistent overall.
* Added 'none of the above' option to [multi]select elements, so if you
don't have libterm-readline-*-perl, you can still override the default
and choose nothing. Unfortunatly, I still don't see a way to do that with
string input elements..
* Since w3m is currently broken, dump pages with lynx for now.
* dpkg-preconfig: Do a basic dependancy check before attempting to
preconfigure a package. If the package depends on a newer version of
debconf than is installed, do not preconfigure. (Closes: #50411, #50236)
Should prevent any further breakages of the type we've seen before.
* doc/tutorial.xml: If you use the multiselect data type, you should depend
on debconf 0.2.26.
* Version.pm: Added, to store the debconf version.
* When processing what dialog returns after showing a multiselct, there
may be trailing space after the last double quote. Nodified to handle
that, Closes: #50471
* Client/frontend: be less aggressive when trying to guess a template
filename. Fixes sslwrap purge problem.
* I've been persuaded that the Text frontend is the best default for
new installs. This doesn't change the default for people who already
have debconf installed.
* Update database files atomically, should fix the isolated empty db files
that have been reported twice now.
* Fixed 3 bugs reports that will get filed in the next 36 hours. The
debconf bug betting pool is now open -- how many times will this be
reported now that it's been fixed? :-p
* Specifically, now that ConfModule doesn't send a return code for STOP,
frontends can't try to read such a return code, or they hang.
* Debconf scripts now automatically load their templates when they are
invoked manually, if the .templates file is present in the same directory.
* This makes debconf-loadtemplate basically obsolete, so I have removed it.
* This means there is no need for a special test.pl in the source package.
* And this also means it's now a lot easier to debug config scripts before
putting them in a package. Documented this in the tutorial.
* Feh, I have to keep the debconf-tiny changelog in sync with this one,
or the package version isn't updated. Debhelper is too smart for its
own good. Hacked around it. (If other people have this problem, I can
add a flag to debhelper to handle this better..)
* Documented everywhere that when reconfiguring debconf, --priority=medium
is a good idea. Closes: #50225
* Added a debconf-tiny package, which is a very stripped down debconf to be
used on the base system. Debconf itself is 117+k, mainly because of all
the frontends and docs. To make debconf-tiny, I:
- removed all docs
- removed all frontends except dialog and noninteractive
- removed most stuff in /usr/bin
- stripped out all POD docs and regular comments from all perl modules
- All this got the package down to 27k compressed. 14k compressed of that
was this changelog (It's all the fault of long changelog entries like
this one!)
- So, I started a new changelog for debconf-tiny, in which I will record
changes specific to it. debconf-tiny is now 12k.
* Removed /etc from package.
* Always returns "mulitselect" as one of it's capabilities now.
This was added because people need a way for their packages, when
preconfigured, to check to see if they have a new enough version of
debconf to ask a multiselect question.
* The better, long term fix is basic dependancy checking in
dpkg-preconfig, and that is now the top of my todo list.
* STOP cannot return a success code, since in all likelyhood, the pipe it
would try to write it to is broken. (Closes: #49856, #49946)
* debug messages are now prioritized, DEBCONF_DEBUG can be set to 1 to see
some, 2 for more, etc.
* dpkg-preconfig now clears it's progress meter when done, like apt
does now.
* Fixed a possible infinite recursion in the text frontend, if you
use it on an absurdly small screen. (It tried to display the title,
had to paginate it, went to display [More], and first decided
to display the title...)
* With doogie's help, simplified Client/confmodule a bit.
* Added a Debconf user's guide. * Cleaned up the doc Makefile.
* Corrected Client::ConfModule to return the right thing when one of its
functions is called in scalar context. It was returning the result code
by mistake, now it returns the value, like it is documented to do.
* Added multiselect data type.
* Wrote input elements for this type for all frontends except the Gtk
frontend. The Gtk frontend needs a bit of a redesign before it can
handle this, I think.
* Made dpkg-preconfig properly accept -f and --frontend, Closes: #49920
* Removed gtk frontend from list of frontends. If you already have it
selected, you can continue using it, but I'm sick of people filing bugs
on it who didn't bother to read the note that said it had known problems
and should not be used.
* dpkg-reconfigure now doesn't do anything if it's told to reconfigure
packages that lack a config script. This makes it not fail on packages
that don't use debconf, though it is just a no-op with them.
Closes: #48190
* Fixed the stty error messages, and screen size detection should work
again. For some reason I had to make stty use /dev/tty for stdin, plain
default stdin doesn't work when dpkg-preconfig is being run by apt.
* Change undefined values to '' when starting confmodules, Closes: #49797
* Fixed web frontend to never display empty forms.
* Added sane defaults if stty -a fails. (Closes: a whole slew of bug
reports people will file over the next 2 days. :-P)
* The noninteractive frontend now mails notes to root.
* Reworked the mechanism that makes select questions always set
their value when they are INPUT, even if they arn't really displayed,
to be much cleaner: This is now handled by the noninteractive select
element.
* Reworked how Elements are created to use eval, which kills the
duplicated makelement() code in all the FrontEnds.
* frontend now works if run from something other than dpkg. Closes: #49449
* Created a new Tty frontend to serve as a base class for Dialog and Text.
It detects screen resizes. Made it the parent of Dialog and Text,
and they now also detect screen resizes. Debconf in a 30x5 xterm is
beautiful!
* Fixed the text frontend to not lower-case choices in a select list.
(Closes: #49650)
* People just don't seem to get it -- NEVER use dh_input in a postinst!
Tightened up the language about that in the tutorial, and repeated my
self in several places in the hope people will read at least one of them.
* Eliminated use of Fcntl, one of the modules that made us depend on perl.
* Deleted the copy of the spec that was local to this document. The
configuration management spec is now available as an xml document, in
Debian CVS. For convenience, debconf includes that document now.
* Spelling fixes, Closes: #49587
* Documented on each man page that talks about --frontend, how the
frontend can be permanently changed. Closes: #49537
* Don't crash if told to remove a nonexistant question.
* Rationalized debug and warning message printing.
* So it is possible to use debconf from the preinst of a package, after
all. Added sundry nasty hacks to make it work. (Also talked with BenC
and Wichert about doing this right in dpkg.)
* When a package is installed for the first time, the config script now
gets "" as its second parameter, as it should.
* ConfModule.pm now just execs a frontend, instead of turning into one. Not
quite as cool, but a lot easier to maintain.
* Made frontend fallback message less scary.
* Split the template data out of the main debconf database and into
templates.db. This reduces the chances of it getting corrupted.
* The last changelog lies: it's actually not possible to do any debconf
stuff in a preinst. The templates arn't available then.
* Documented this, until someone comes up with a workaround.
* I found that the currently installed version of the package was being
passed to the config script if the package was just installed with dpkg
and not preconfiged. Fixed.
* If a preinst sources confmodule, the config script will be run.
Needed for packages like ssh that need to ask questions before install
time always.
* Patchs from Fumitoshi UKAI <ukai@ukai.org> to: - fix typo that was breaking gtk frontend, Closes: #49074, #49076 - call set_locale so gtk frontend can display text in any language, Closes: #49075
* dpkg-preconfig is now more robust: If a config script fails, it
outputs an error message, but continues so as much as possible of the
install can still complete.
* Fixed spelling error, Closes: #49032, which was filed on base for
unfathomable reasons.
* For some reason, jade was inserting ' ' into generated html, which
looks nasty in w3m. Fixed that, and also use w3m to dump html to text
now, so tables are legible.
* Squashed a ConfModule startup warning.
* Removed an implicit apt dependancy.
* _Really_ fixed problem with newline after owner. Tested and resteted
this time. Closes: #48450
* Fixed xml stylesheet to include legalnotice.
* Fixed a stupid error that was making parameters never get passed into
confmodules. Closes: #48824, #48853
* Closes: 47458 (been fixed for a while)
* Select Elements are not shown if they have less than 2 choices. However,
for conistency, even if not shown, the value of the Question they represent
is changed as if they were shown.
* Expanded and fixed up the Debian::DebConf::Client::ConfModule.2pm
man page. Closes: #48809
* Moved that man page to man section 3. Closes: #48810
* Corrected Question->value to return undef if there is no default set.
This Closes: #48829, and is the right thing to do. It does, however,
break slews of debconf code that never expected to get an undef there.
So I dug around and fixed it all, I think.
* Fixed entering of '0' into text box in dialog frontend, which was broken.
* Removed stupid debugging code. (oops)
* Just for Culus, sped up dpkg-preconfig by a factor of 3.
* Fixed confmodule.sh reentrancy bug again.
* Corrected debconf upgrade problem. If an old version of debconf
preconfig'd a newer version, the config script failed.
* Confmodule.pm fixes I forgot in the last version.
* Now uses version 2.0 of the configuration management protocol.
- All commands in the protocol now return a numerical return code,
optionally followed by a space and a text return code.
* confmodule is a new shell library that handles this by making each
command it provides now return the numerical return code. They continue
to set $RET to the text return code. This means that you now have to
check the return codes of those commands, or the set -e script you are
running them in may exit if they return an error code.
* confmodule.sh is now deprecated, but remains for backwards compatability,
and has special compatability code in it.
* ConfModule.pm handles this by making each of its commands, when called
in list contect, return a list consiting of the numeric return code, and
the string return code. When called in scalar context, it behaves
in a backwards compatable way.
* Deprecated the VISIBLE command. Check to see if INPUT returns 30 instead.
* Deprecated the EXIST command. Check for return code 10 from commands that
try to use the question, instead.
* The GO command no longer returns "back"; instead, it returns 30.
* Documented all this.
* Hey, a state machine is the way to go if you want to support back buttons!
Converted the tutorial to reccommend this, and converted debconf's own
config script into a state machine.
* Used tables in several places in the tutorial where they make sense.
* Split the actual working templates and code out of the tutorial, and put
it in the samples direcotry. It is included inline so it is still
available in the tutorial, but now I can also debug it and make sure it
works..
* Added the noninteractive frontend to the list of choices you get when
configuring debconf.
* If the text frontend fails (this can really happen, if you run debconf
w/o a controlling tty in an autobuilder, say), falls back to the
noninteractive frontend. (Closes: #48644)
* The web frontend now only accepts connections from localhost.
* The web and noninteractive frontends now print out text saying they are
running.
* If a frontend fails, the failure message is always printed, not just in
debug mode.
* Fixed checkboxes in the web frontend so if they are unchecked, this
fact is noted.
* Added debconf-loadtemplate to the .deb.
This is a major new version, which changes the return codes of all commands. It is not yet complete.
* Fixed confmodule.sh reentrancy problem.
* Fixed a problem with empty text input fields in the Dialog frontend
setting the value of the question back to default instead of to ''
* Added a very important note to the tutorial.
* In the dialog frontend, if a prompt is too big to fit on a dialog and
has to be slit up, it will now display just the extended description
in a dialog, and then display a new dialog with the short description
and the actual input element in it. This is intended to reduce confusion
when a user sees a question at the bottom of a dialog and an "Ok"
button beneath it -- that won't happen any more, and I think it's
ok to say this change Closes: #47644
* Reduced the amount of code in Dialog Elments a lot.
* Fixed yet another bug in dialog select box sizing. WIll they never end?
* Dialog select boxes no longer have numbered items. Looks better.
* dpkg-preconfig: fixed so it chomps the package name, to prevent ugliness
like \n in the owners field. Closes: #48450
* The dialog frontend can now use --passwordbox with both whiptail and
dialog, so I made that change. (Closes: #47196)
* Added a section to the tutorail on adding backup capabilities to config
scripts. (Closes: #47676)
Changes on a plane. See changelog.
* Fixed the web frontend to send a HTTP reponse header, patch from
Fumitoshi UKAI <ukai@debian.or.jp>, Closes: #47937
* s/newbie/politically_correct_language()/eg;
Closes: #47668
* With regards to the second part of that bug report: critical is first on
the list, and always has been, unless you are using the dialog frontend,
where I have to do nasty re-ordering to make the default be first. If
you want, file a seperate (wishlist) bug on this.
* Fixed a truely braindead problem in Container.pm, which was breaking
Select Elements a bit. (Closes: #47683)
* Applied patch from Rafael Laboissiere to add an "exists" command.
Be warned that this command is probably only temporary, I am looking
for a better solution. (Closes: #46927)
Work properly if there are > 26 choices.
* Fixed text fromtend boolean input element to return true if true is
the default. (Closes: #47049)
* Fixed tutorial typo. (Closes: #47050)
* Converted the tutorial and introduction to xml and docbook.
* Guarded postinst code that modifies apt.conf to prevent dup entries.
* Started doing some cleanup of the gtk frontend:
- It no longer flashes the window up on the screen unless it really
has a question to ask this time around.
- Made cancel button work.
It still segfaults on exit though.
* Allowed confmodule.sh to be loaded twice. Closes: #46843
* Patch from rafael@icp.inpg.fr (Rafael Laboissiere) to fix a perl warning, Closes: #46871 * Another patch from Rafael to fix a mistake in the tutorial. Closes: #46873
* Wrote a perl module dependancy grapher, and include output in the .deb
package. I need to clean up parts of the Element hierarchy. Running this
on all perl modules in /usr/lib/perl is amusing, too, though it needs
some more work to be of general utility. (And I suspect someone has
already written a better one I'm not aware of.)
* Made a new frontend -- the Noninteractive frontend.
* All objects in debconf now derive from a common base class, which saved
a few dozen lines of code at least.
* There is now only one ConfModule object, no more multiple derived
objects per FrontEnd type. To make this work, I had to move the capb
property into the FrontEnd.
Minor fix.
* Reorganized some modules. No user-visible changes.
* Gtk frontend can use the newest gtk-perl to test whether opening the
display will work. Closes: #46736
* metaget'ing choices now returns a list. Fixes the other half of #46606.
* Select boxes that consist of one item are not displayed.
* Corrected db_text command in confmodule.sh, Closes: #46640 * Corrected typo in confmodule.3 man page, Closes: #46651 * Corrected whiptail window sizing problems, Closes: #46498, #46655
* Debconf config scripts are now called with options. "configure" is
normally passed, "reconfigure" is passed if dpkg-reconfig is
reconfiguring the package. After that, the version of the package is
passed.
* dpkg-reconfigure will only work on packages that are fully installed.
* Corrected several errors with how the choices field is accessed.
(Closes: #46606)
* No longer parses the choices field at template load time. This is a
big change and might break stuff -- we'll see.
* Added a simple little progress report display to dpkg-preconfig so
when apt passes it 200 packages to be upgraded on a 386, it's clear
that something is actually going on.
* Quoted a few more bareword hash keys that were causing a perl warning. What
puzzles me is I cannot reproduce the warning at all.. (Closes: #46545)
* Doh -- I need to update to use debhelper's debconf support! :-)
* Gdialog only takes --defaultno options at the end. Dialog only takes
than at the beginning. Whiptail takes them either place. Argh. I've
changed to using the end for now, since I don't use dialog at all yet.
* Disambiguated {owners} in Question.pm, Closes: #46347
* Killed EXAMPLES out of the debian package.
* Flipped ordering of short and long descriptions in notes and text in the
dialog frontend; makes more sense this way.
* dpkg-reconfigure aborts if you arn't root.
* Doh -- I need to update to use debhelper's debconf support! :-)
* Yesterday's changes to the choices field broke all select lists -- fixed. * Added regression tests to TODO, it's clear I need them.
* Modified the README to refer to the locations of docs in the installed
.deb, rather than the tarball, now that most people are installing debs.
Closes: #46302.
* Added the metaget command. I did this mainly to let one get a list of
the owners of a question, though it might have other uses later.
* Substitutions now take effect on the choices field as well as the
description field.
* Put these two changes together and it's now possible to install several
related packages (ispell dictionaries, say), and get a list of what
dictionaries are available when the config scripts run, and only prompt
the user once for which one they want. Added a section to the tutorial
about this.
* Fixed the problems with the purge command, which were really package
name guessing problems and some errors in the new purge code. BenC, it's
ready for you.
* Don't install frontend in /bin (Closes: #46149)
* Fixed a problem with interpretation of the set command. The second
parameter can have spaces in it.
* Added data-dumper dependancy, since some perl's don't include it.
(Closes: #46147)
don't install file in bin
ENd of day commit. Not yet in release state.
* Fixed a problem with Client::ConfModule.
* Applied patch from Peter Vreman <pfv@cooldown.demon.nl> to correct dialog size guessing code. Did some additional fixes for whiptail. (Closes: 46060) * Fixed a really silly formatting bug in FrontEnd::Dialog that was probably leading to what looked like corrupted displays for some people. * When breaking a question up over multiple screens with dialog, it makes sure to always show the short description when it actually prompts for input. This is a lot less disorienting.
* gdialog will soon support --defaultno, added versionsed conflicts
with versions that don't, and support it again.
* ConfModule::new() doesn't take a confmodule to start anymore, I broke
that out into a separate function.
* AutoSelect only starts up the script if it's actually passed once. TRhis
should fix your problem, BenC.
* Hm, I know I fixed this before, but the fix seems to have been lost:
Fixed bug in the AutoSelect that was making it *always* try dialog
first, even if something else was picked. (Closes: #46020)
* Dialog has no --defaultno flag, which makes it unusable for debconf.
Oh, so does gdialog. I have submitted a patch for dialog, but for now
I have simply made debconf not accept dialog. If you don't have whiptail,
you get text mode. I also made the --defaultno flag be passed first,
which is how dialog will (eventually) support it. (Closes: #46047)
* Dialog frontend no longer clears the screen when running. Makes it
easier to get at debug messages. (Closes: #46048)
* dpkg-reconfigure was trashing ownerships, fixed.
* Added password data type. Currently supported by the Text frontend
(though it has problems displaying right in an xterm), the Gtk frontend,
and the Web frontend (though you'd be insane to use it!).
* Fixed a nasty bug in the fallback code.
* Read-protected the debconf db directory.
* Fixed a problem if perl failed to configure and dpkg-preconfig then
bombed out on the next apt run, users would have an unusable apt and not
be able to fix their system. Now dpkg-preconfigure detects a broken perl
and exits sanely, allowing apt to continue and fix things.
(Closes: #45927)
* Fixed a dpkg-preconfig type introduced last version.
* Added fallback frontend support. If the frontend the user selects is not
available, or fails to initialize (say DISPLAY is unset for Gtk), it will
fall back intelligently to another frontend.
* This means debconf doesn't really depend on much at all except perl.
Moved most stuff to suggests.
* The Gtk frontend was dying in a way not catchable by eval (!!) if DISPLAY
was unset; added a fix to that so it falls back instead.
* Removed some dpkg-preconfig spam.
* Mappings. What good are they? None, that I could see, so I completely
removed them! This doesn't influence debconf's behavior at all, just
removes many lines of code and makes it all easier to understand.
* Added the concept that each question is owned by one or more packages.
When the number of owners goes to zero, the question is removed.
* Whenever a question is removed, I check to see if the template it used
is no longer used as well. If so, it's also removed.
* What this lets us do is it allows packages to get rid of questions and
templates they created when they are purged. And shared questions are
fully supported and won't go away until the last package that uses them
does.
* Added a "purge" command that accomplishes this easily. (You could of
course always call unregister by hand for each question, but this is
easier.)
* Modifed dpkg-preconfig so all the templates in all the packages that
are being installed are read first, and then all the config scripts are
run.
* The changes above have an intriguing side benefit that offers a fix to a
vexing problem. There is now a field in each question called "owners", that
is a comma and space delimited list of the packages that have registered
ownership. This list is up to date as soon as all the templates are
loaded if apt is used. A set of related packages can all provide the same
template in them; and their config scripts can then look at the owners
field to get the list of all related packages that is/will be installed.
Then they can do things like turn that into a list of choices of window
managers, or ispell dictionaries, etc, and prompt the user to pick one.
This feels only a little hackish, and the only problem with it is that if
they are not installing with apt, the list isn't fully complete until each
and every package has been installed.
* Fixed question default value code so it always inherits from the current
template, whatever that might be.
I've been adding some ownership code to things, and I'm about to make a huge change. Tagging this first so I can revert to it if necessary. This checkin in not in a usable state!
* Fixed dpkg-reconfigure, whgich was broken since yesterday.
* Fixed template merge bug. This was making old descriptions show up
even if a new template with changed descriptions was loaded.
* Now it properly handles config scripts and postinsts that exit with
a return code, by propigating that return code up to dpkg.
* Killed dpkg-frnotend for good. It's in the Attic now only.
* In the dialog frontend, hitting cancel (or escape, maybe), will now
break out and cancel everything.
* Added "visible" command to tell if a question will be displayed.
Very useful for preventing some kinds of loops.
* Debhelper now supports debconf, amended turorial to note this. * More spelling fixes. * Added doc/namespace.ttx, which explains the variable namespace. * First upload to unstable.
* Patch from James R. Van Zandt <jrv@vanzandt.mv.com> with: - spelling corrections - man page enhancements - better debian/templates text
* Fixed a bug.
* Added default title support.
* Added a config script and templates for debconf itself. It uses
them to configure what frontend to use, etc. /etc/debconf.cfg is no
more.
* Modified Config.pm so it contains functions that return values,
not just hard coded values. The functions now try to pull values out of
the database, and fall back on the defaults. Also, environment
DEBIAN_FRONTEND always works for specifying a frontend now, overriding
all else.
* Changed a myriad of other files that use Config.pm to call the new
functions.
* The Priority module is no longer used to set priority, Config.pm can
handle that now.
* Added showold to Config.pm, you can always see old questions now, if
you like.
* Renamed the entire Line frontend to Text. Line really doesn't make as
much sense. If you're following long in CVS, I also probably broke your
repository again; a clean checkout is reccommended. Sorry.
Added debconf configuration config script. Enough configs?
* Modified the dialog frontend. Short descriptions now appear after long,
instead of as dialog titles. The title appears as the dialo title, and
the background title is "Debian Configuration"
* Hm, that actually cleaned up the API a bit, I guess it was the right
thing to do.
* Fixed link.
* Force use of gnu readline perl library. The other one is too bad. * dpkg-reconfigure allows you to configure it's frontend now.
* Fixed a typo in the tutorial, and expanded it some.
* Fixed the apt dependancy, which was on too low a version.
* Depend on whiptail || dialog || gnome-utils so some kind of dialog is
installed always.
* All the sigchld counting and handling stuff was making debconf segfault
and making it fragile in various ways. Removed it. Instead, I have
modified update-menus to DTRT, and I depend on that version.
* Fixed Line::Boolean default stuff, last time, I hope.
* I had a truely nasty problem: when installing packages using the dialog
frontend, and using dpkg directly, debconf would segfault shortly after
the config script was run. It looks like this was due to reentrancy
problems in my sigchld handler and I think I've squashed it.
* Expanded the tutorial, it's now a complete standalone document with
examples. <pant, pant>
* Oops, I never implemented the reset command! Fixed that.
* Oops, there are 2 different reset commands! Renamed one to clear,
contingent on Wichert's approval, and implemented the other as well.
* Removed dpkg-frontend from the binary package. I really don't want
people using it.
* Added pod docs for all Element files. Rather minimal right now.
* Tested the changes to Client::ConfModule; they work, but I have
occasional segfaults if using dialog.
* UI tewak to text boolean element.
* Expanded the tutorial, it's now a complete standalone document with
examples. <pant, pant>
* Oops, I never implemented the reset command! Fixed that.
* Oops, there are 2 different reset commands! Renamed one to clear,
contingent on Wichert's approval, and implemented the other as well.
* Removed dpkg-frontend from the binary package. I really don't want
people using it.
* Added pod docs for all Element files. Rather minimal right now.
* Tested the changes to Client::ConfModule; they work.
* Added COPYING file.
* Renamed README to EXAMPLES.
* Wrote a new README that just points to the other files.
* Wrote doc/INTRODUCTION, giving some history of how things
have worked, and why debconf is better.
* Suggests libterm-readline-gnu-perl, which is best for the Line
frontend.
* dpkg-preconfig uses the frontend specified in the conffile now.
* Element::Line::Boolean now uses the correct values as the default.
* FrontEnd::Line now actually displays titles.
* Client::ConfModule should now run the config script like confmodule.sh
does, for transparent installation of debconf packages. Needs testing.
* Got rid of the DEBIAN_FRONTEND environment variable entirely. Instead,
/etc/debconf.cfg has a variable in it to specify the default frontend
to use.
* Also added a question priority variable to the config file.
* Oh yeah, the big change is I fixed the postinst hang bug. Or rather,
worked around it. The bug was caused by update-menus forking to
background and waiting, but not closing stdin/out. I worked around by
catching SIGCHLD's and closing the pipes from the other end when the
postinst has existed. I've also contacted Joost.
* This, barring a little bit of docs and a few packages built to use it,
is basically ready to be shown to the world.
* Got rid of the DEBIAN_FRONTEND environment variable entirely. Instead,
/etc/debconf.cfg has a variable in it to specify the default frontend
to use.
* Also added a question priority variable to the config file.
* Broke the nasty perl code out of confmodule.sh, it's much cleaner now
(and you don't see a page long perl -e command in ps..)
* I now know exactly what's causing the hang problem -- update-menus!
I still have no clue why.
* Modified Client/frontend so it runs the config script of a package
if the script is available, every time. This is pretty ugly, but it has
a very nice effect: when you dpkg -i a brand new debconfed .deb, the
config script runs as soon as the postinst tries to use debconf, and
this lets you configure it, and then it is installed. So you don't have
to dpkg-preconfig it first. Of course, if you're using apt, it is
preconfiged, and then the config script is run again, redundantly (but
doesn't do anything since it's already run). This is basically the last
workaround needed for dpkg not preconfiguring stuff on it's own -- now
debconf use is completly transparent.
* Don't use dh_link, so it can still build on va.
* Gtk::FrontEnd now has the xpm it uses inlined into the file.
* /etc/debconf.cfg now holds configurable debconf settings. Config.pm is
just a link to it now.
* Gtk::FrontEnd now has the xpm it uses inlined into the file.
* dpkg-reconfigure now sets a flag in FrontEnd::Base that makes old
questions be shown as well. This is very nice for reconfiguring stuff..
* Added db_set command to confmodule.sh
* Uh oh. "set" is a shell builtin, so you cannot access the set command
via the shell interface. After talking with Sean, I've decided to just
prefix all the commands in the shell interface with "db_". So dh_set,
db_get, etc. Most packages that use debconf thus need to be changed.
* Back after a one month hiatus. I've moved debconf around in my cvs
repository, though the debconf module name should still work.
* Debconf is now FHS compliant.
* Removed some junk from the Makefile I no longer need.
* Added doc/packages-prompt, just a list of some packages that need to be
modified.
Ok, I'm back.
* Question->value now returns the default field if value is unset (thanks,
AJ)
* Various minor touchups everywhere.
* Killed slrn sample, this is going into the main slrn package and is
already significently better in there.
* Added Element/Gtk/*, from AJ.
* Added beginnings of GTK frontend by AJ.
* Began moving the docs from internals.txt into POD documentation. It was
getting out of sync with the code, this will prevent that. Only Elements
still need to be converted.
* Fixed unset bug in confmodule.sh
Random changes.
* Patch from AJ that:
- makes Questions inherit properties direct from their associated
Templates. This simplifies a lot of code which no longer needs to
use $question->template->foo.
- implements STOP command in protocol.
- dies on unknown questions instead of failing obscurely later.
- removes bashism
- misc fixes and updates to cvs.config.
- adds template substitution support and the SUBST command.
- makes template parsing work better WRT the extended description and
actually look for dots on thier own lines, not lines starting with dot.
* Minor mods to above patch.
* Documented template substitutions in the draft spec.
foo changes
* Got rid of the NOTE and TEXT commands; notes and text are now put on
templates. This breaks any packages already using debconf (again).
* The above change made it clear I needed to reorganize the Elements --
each data type is now a seperate object type. The code is much simpler
now!
* While I was doing that, it became possible to make the base ConfModule
handle command_input in a general way. Much duplicate code removed.
* Modified clients for above changes.
* Modified samples and docs for above changes.
* Made the postrm not fail during error unwind.
* Picky Sean fixes..
* Added support for isdefault flag. Now you only see a question once.
* Added support for the FGET and FSET commands. (untested)
* The mappings file is no more. All questions on a template will now have
mappings made for them. If you need others, use the commands to make them.
* Added a new program, dpkg-reconfigure. Use it to reconfigure an already
installed package.
* Added Client/confmodule.sh. This is very similar to Client::ConfModule
except it's a shell library.
* Changed cvs.config to use confmodule.sh. It's _much_ easier to read now.
* Copyright updates. VA has sponsored and is at least a partial owner of
this code. It's still GPL'd, of course.
* Fixed a bug in the web frontend -- if a page is empty now because all
questions are too low priotity, it just skips it.
* Fixed a nasty template merge bug.
* Added a doc/spec/ directory and put a copy of the metadata section of
the spec in there, converted to html and greatly expanded to match
reality. This is a draft that I want to get accepted as the real spec.
* Changed to using "string" as the data type for text data, had been using
"text". This is a pretty big change, really and breaks all packages that
have been built so far that use debconf. Have to do it to comply with
the spec.
* dpkg-preconfig (and test.pl) now load up only the COnfModules and
FrontEnds that will really be used. Faster startup time.
* TODO updates.
oops.
Added postinst.
* dpkg-preconfig now has a --apt option that makes it read debs to configure on stdin. This is for use with apt of course. (A hacked apt that can use this exists now.) * Dialog frontend only clears the screen just before displaying a non-gdialog dialog box. * Depend on the version of apt that really works with debconf. * A postinst and postrm modify /etc/apt/apt.conf to make apt use dpkg-preconfig to configure packages. (The file's not actually part of apt, so this is not too evil).
* Moved CREDITS to doc/. * Install internals.txt in .deb. * doc/maintainer.txt is a guide for maintainers who want to convert packages to use debconf.
* Killed the cvs date stuff. Too much bother.
* Fix from AJ for the problem with Line frontend not coming up with unique letters. * Gdialog support, from AJ.
* In preparation for daily cvs builds, set the version number to the date. * Makefile fixes. And more Makefile fixes.
dpkg-parsechangelog | grep '^ '
dpkg-parsechangelog | grep '^ '
changelog change
Killed client. Debianized.
Renamed client to CLient for consitency.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |