summaryrefslogtreecommitdiff
path: root/autoscripts
AgeCommit message (Collapse)AuthorFilesLines
2004-01-23r1650: * dh_scrollkeeper: Make postinst /dev/null stdout of which test.version_4.1.89joey1-1/+1
2004-01-13r1635: * Added dh_gconf command from Ross Burton. Closes: #180882version_4.1.84joey3-1/+23
* dh_scrollkeeper: Make postinst fragment test for scrollkeeper-update. Closes: #225337 * Copyright update. * Include full text of the GPL in the source package, because goodness knows, I need another copy of that in subversion..
2003-12-29r1632: * Clarify dh_install's autodest behavior with wildcards. Closes: ↵version_4.1.83joey2-2/+4
#224707
2003-12-02r1629: * Removed the no upstream changelog for debian packages test.version_4.1.81joey1-2/+4
Even though it has personally saved me many times, debhelper is not intended to check packages for mistakes, and apparently it makes sense for some "native" packages to have a non-Debian changelog. Closes: #216099 * If a native package has an upstream changelog, call the debian/changelog changelog.Debian. * postinst-menu-method: always chmod menu-method executable even if update-menus is not. Closes: #220576 * dh_installmenu: do not ship menu-methods executable.
2003-10-13r1611: * dh_install: add --fail-missing option. Closes: #120026version_4.1.75joey1-1/+1
* Fix mispelling in prerm-sgmlcatalog. Closes: #215189
2003-09-21r1609: * Only list dh_installman once in example rules.indep. Closes: #211567version_4.1.74joey2-2/+2
* Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131
2003-09-08r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on theversion_4.1.73joey1-1/+1
advice of Adam DiCarlo. Closes: #209131
2003-08-11r1586: * dh_python: patch from Josselin to fix generated depends. Closes: ↵version_4.1.63joey1-1/+1
#204717 * dh_pythn: also stylistic and tab damage fixes
2003-08-07r1576: * Typo, Closes: #203907version_4.1.58joey1-5/+3
* dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286
2003-07-19r597: * dh_scrollkeeper: fix postrm to not run if scrollkeeper is not presentjoey1-1/+1
2003-06-12r589: * Added dh_scrollkeeper, by Ross Burton.joey4-0/+29
* Added dh_userlocal, by Andrew Stribblehill. (With root.root special case added by me.) * Added dh_installlogcheck, by Jon Middleton. Closes: #184021 * Add aph's name to copyright file too.
2003-02-22r574: * wiggy didn't take my hint about making update-modules send ↵joey2-2/+2
warnings to stderr, so its overly verbose stdout is now directed to /dev/null to prevent conflicts with debconf. Closes: #150804 * dh_fixperms: only skip examples directories which in a parent of usr/share/doc, not in a deeper tree. Closes: #152602 * dh_compress: stop even looking at usr/doc
2003-02-12r572: * Added dh_installcatalogs, for sgml (and later xml) catalogs. Byjoey3-0/+13
Adam DiCarlo. Closes: #90025
2002-12-09r568: * Fixed dh_python ordering in example rules files. Closes: #172283joey1-5/+7
* Make python postinst fragment only run python if it is installed, useful for packages that include python modules but do not depend on python.
2002-11-21r565: * Various minor changes based on suggestions by luca.joey2-0/+11
2002-10-11r557: * dh_installinit: added --no-start for rcS type scripts. Closes: ↵joey1-0/+3
#136502
2002-09-16r548: removedjoey6-22/+0
2002-09-16r547: * Use invoke-rc.d always now that it is in policy. Fall back to old ↵joey3-3/+15
behavior if invoke-rc.d is not present, so versioned deps on sysvinit are not needed.
2002-08-04r542: * dh_installinit: Always start daemon on upgraded even ifjoey2-16/+0
--no-restart-on-upgrade is given; since the daemon is not stopped with that parameter starting it again is a no-op, unless the daemon was not running for some reason. This makes transtions to using the flag easier. Closes: #90976 and sorry it took me so long to verify you were right.
2002-07-22r539: * Remove /usr/doc manglement code from postinst and prerm.joey3-16/+0
Do not use this verion of debhelper for woody backports! * Removed dh_installxaw.
2002-06-21r534: * Stupid, evil typo.joey4-4/+4
* Fixed the tests clint didn't show me.
2002-06-21r533: * In script fragments, use more posix tests, no -a or -o, no parens.joey13-13/+14
Closes: #150403
2002-05-26r528: * Consistently use the which command instead of command -v or hardcodedjoey10-12/+12
paths in autoscripts. Neither is in posix, but which is in debianutils, so will always be available. command -v is not available in zsh. Closes: #148172
2002-01-30r507: * dh_installxfonts: separate multiple commands with \n so sed ↵joey1-1/+1
doesn't get upset. Closes: #131322
2002-01-27r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey5-0/+21
to say what debhelper compatability level your package uses. It has the big advantage of being available to debhelper when you run it at the command line, as well as in debian/rules. * A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d. This is in v4 for testing, but I may well roll it back into v3 (and earlier) once woody is released and I don't have to worry about breaking things (and, presumably, once invoke-rc.d enters policy). * Some debhelper commands will now build up a new substvars variable, ${misc:Depends}, based on things they know your package needs to depend on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to that dep list, and dh_installxfonts adds a dep on xutils. This variable should make it easier to keep track of what your package needs to depends on, supplimenting the ${shlibs:Depends} and ${perl:Depends} substvars. Hmm, this appears to be based loosely on an idea by Masato Taruishi <taru@debian.org>, filtered through a long period of mulling it over. Closes: #76352 * Use the addsubstvar function I wrote for the above in dh_perl too.
2002-01-27r505: * Improved dh_installxfonts some more:joey2-2/+2
- Better indenting of generated code. - Better ordering of generated code (minor fix).
2002-01-27r503: * dh_installman: more documentation about the .TH line. Closes: #129205joey2-39/+4
* dh_installxfonts: - Packages that use this should depend on xutils. See man page. - However, if you really want to, you can skip the dep, and the postinst will avoid running program that arn't available. Closes: #131053 - Use update-fonts-dir instead of handling encodings ourselves. Yay! - Pass only the last component of the directory name to update-fonts-*, since that's what they perfer now. - Other changes, chould fully comply with Debian X font policy now.
2001-08-23r487: * dh_movefiles: Typo, Closes: #106532joey4-4/+4
* Use -x to test for existance of init scripts, rather then -e since we'll be running them, Closes: #109692 * dh_clean: remove debian/*.debhelper. No need to name files specifically; any file matching that is a debhelper temp file. Closes: #106514, #85520
2001-06-10r477: * Check that update-modules is present before running it, since ↵joey5-5/+7
modutils is not essential. Closes: #100430
2001-05-11r465: * Modified the postrm fragment for dh_installxfonts to not try to ↵joey1-11/+6
delete any files. The responsibility for doing so devolves onto update-fonts-* (which don't yet, but will). See bug #94752
2001-03-17r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -ejoey2-1/+19
to mkfontdir. Closes: #89418
2001-03-13r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart ↵joey4-4/+4
code. Arrgh. All packages built with the old code (that is, all daemon packages built with debhelper 3.0.9!) are broken. Closes: #89472
2001-03-05r450: * Modified to use dpkg-architecture instead of dpkg ↵joey4-5/+16
--print-architecture. I hate this, and wish it wasn't necessary to make cross compiles for the hurd work. Closes: #88494 * Now depends on debconf-utils for debconf-mergetemplates. Closes: #87321 * Continues to depend on lynx for html changelog conversions. Yes, these and packages with translated debconf templates are rather rare, but it makes more sense for debhelper to consistently depend on all utilities it uses internally rather than force people to keep their dependancies up to date with debhelper internals. If I decide tomorrow that w3m is the better program to use to format html changelogs, I can make the change and packages don't need to update their build dependancies. Closes: #88464, #77743 * Test for init scripts before running them, since they are conffiles and the admin may have removed them for some reason, and policy wants us to deal with that gracefully. * dh_makeshlibs: now uses objdump, should be more accurate. Closes: #88426 * Wildcards have been supported for a while, Closes: #54197 * dh_installdocs and dh_link have been able to make doc-dir symlinks for a while, Closes: #51225
2001-02-09r434: added back (sigh)joey2-0/+12
2001-02-05r417: * dh_installinit -r: stop init script in prerm on package removal,joey1-0/+3
Closes: #84974
2001-01-10r407: * suidmanager is obsolete now, and so is dh_suidmanager. Instead,joey2-12/+0
packages that contain suid binaries should include the binaries suid in the .deb, and dpkg-statoverride can override this. If this is done to a program that previously used suidmanager, though, you need to conflict with suidmanager (<< 0.50). * Made dh_suidmanager check to see if it would have done anything before. If so, it states that it is obsolete, and refer users to the man page, which now explains the situation, and then aborts the build. If it would have done nothing before, it just outputs a warning that it is an obsolete program.
2000-12-21r403: * dh_installwm: Moved update-alternatives --remove call to prerm,joey3-6/+8
Closes: #80209 * ALso guarded all update-alternatives --remove calls.
2000-11-27r392: * DH_COMPAT=3 now enables the following new features which I can't justjoey2-0/+6
turn on by default for fear of breaking backwards compatability: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi <taru@debian.org> (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead.
2000-11-06r382: * dh_suidregister: do not unregister on purge, since it will have ↵joey1-1/+2
already been unregistered then, and a warning will result.
2000-09-17r370: * dh_installmodules: corrected the code added to maintainer scripts ↵joey2-2/+0
so it does not call depmod -a. update-modules (which it always called)_ handles calling depmod if doing so is appropriate. Packages built with proir versions probably have issues on systems with non-modular kernels, and should be rebuilt. Closes: #71841
2000-08-17r365: * dh_installxfonts: corrected a problem during package removal that wasjoey1-1/+1
silently neglecting to remove the fonts.dir/alias files.
2000-07-06r353: * Modified all postinst script fragments to only run when called withjoey13-23/+45
"configure". I looked at the other possibilities, and I don't think any of the supported stuff should be called if the postist is called for error unwinds. Closes: #66673 * Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670
2000-04-17r344: * Patch from Pedro Guerreiro to make install-docs only be called onjoey2-4/+5
configure and remove/upgrade. Closes: #62513
2000-03-02r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey2-6/+4
modified)to make dh_installwm use new window manager registration method, update-alternatives. Closes: #52156, #34684 (latter bug is obsolete) * Fixed $dh{flavor} to be upper-case. * Deprecated dh_installemavcsen --number; use --priority instead. Also, the option parser requires the parameter be a number now. And, dh_installwm now accepts --priority, and window manager packages should start using it. * dh_installwm now behaves like a proper debhelper command, and reads debian/<package>.wm too. This is a small behavior change; filenames specified on the command line no longer apply to all packages it acts on. I can't belive this program existed for 2 years with such a glaring problem; I guess most people don't need ot register 5 wm's in 3 sub-packages. Anyway, it can handle such things now. :-) * Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
1999-10-30r300: * dh_installdebconf: Modified to use new confmodule debconf library.joey1-2/+2
1999-10-28r298: * Fixed some problems with dh_installxfonts font dirs.joey2-2/+2
1999-10-25r295: * Corrected a path name in dh_installxfonts. Closes: #48315joey1-1/+1
1999-10-24r294: * Fixed problem with dh_installemacsen options not working, patch fromjoey2-0/+26
Rafael Laboissiere <rafael@icp.inpg.fr>, Closes: #47738 * Added new dh_installxfonts script by Changwoo Ryu <cwryu@dor17988.kaist.ac.kr>. Closes: #46684 I made some changes, though: - I rewrote lots of this script to be more my style of perl. - I removed all the verbisity from the postinst script fragment, since that is a clear violation of policy. - I made the postinst fail if the mkfontdir, etc commands fail, because this really makes more sense. Consider idempotency. - I moved the test to see if the font dir is really a directory into the dh_ script and out of the snippet. If the maintainer plays tricks on us, mkfontdir will blow up satisfactorally anyway. - So, the snippet is 9 lines long now, down from 20-some. - I realize this isn't following the reccommendations made in Brandon's font policy. I'll fight it out with him. :-) - In postrm fragment, used rmdir -p to remove as many parent directories as I can. - s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g
1999-09-29r284: * Enhanced debconf support -- the database is now cleaned up on packagejoey1-0/+4
purge. * Broke all debconf support off into a dh_installdebconf script. This seems conceptually a little cleaner.
1999-09-12r274: * dh_installemacsen: the script fragments it generates now test for thejoey2-2/+6
existance of emacs-package-install/remove before calling them. Though a strict reading of the emacsen policy indicates that such a test shouldn't be needed, there may be edge cases (cf bug 44924), where it is.