summaryrefslogtreecommitdiff
path: root/autoscripts
Commit message (Collapse)AuthorAge
...
* r1650: * dh_scrollkeeper: Make postinst /dev/null stdout of which test.joey2004-01-23
|
* r1635: * Added dh_gconf command from Ross Burton. Closes: #180882joey2004-01-13
| | | | | | | | * 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..
* r1632: * Clarify dh_install's autodest behavior with wildcards. Closes: ↵joey2003-12-29
| | | | #224707
* r1629: * Removed the no upstream changelog for debian packages test.joey2003-12-02
| | | | | | | | | | | | 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.
* r1611: * dh_install: add --fail-missing option. Closes: #120026joey2003-10-13
| | | | * Fix mispelling in prerm-sgmlcatalog. Closes: #215189
* r1609: * Only list dh_installman once in example rules.indep. Closes: #211567joey2003-09-21
| | | | * Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131
* r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on thejoey2003-09-08
| | | | advice of Adam DiCarlo. Closes: #209131
* r1586: * dh_python: patch from Josselin to fix generated depends. Closes: ↵joey2003-08-11
| | | | | | #204717 * dh_pythn: also stylistic and tab damage fixes
* r1576: * Typo, Closes: #203907joey2003-08-07
| | | | | * dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286
* r597: * dh_scrollkeeper: fix postrm to not run if scrollkeeper is not presentjoey2003-07-19
|
* r589: * Added dh_scrollkeeper, by Ross Burton.joey2003-06-12
| | | | | | | * 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.
* r574: * wiggy didn't take my hint about making update-modules send ↵joey2003-02-22
| | | | | | | | | | 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
* r572: * Added dh_installcatalogs, for sgml (and later xml) catalogs. Byjoey2003-02-12
| | | | Adam DiCarlo. Closes: #90025
* r568: * Fixed dh_python ordering in example rules files. Closes: #172283joey2002-12-09
| | | | | * Make python postinst fragment only run python if it is installed, useful for packages that include python modules but do not depend on python.
* r565: * Various minor changes based on suggestions by luca.joey2002-11-21
|
* r557: * dh_installinit: added --no-start for rcS type scripts. Closes: ↵joey2002-10-11
| | | | #136502
* r548: removedjoey2002-09-16
|
* r547: * Use invoke-rc.d always now that it is in policy. Fall back to old ↵joey2002-09-16
| | | | | | | behavior if invoke-rc.d is not present, so versioned deps on sysvinit are not needed.
* r542: * dh_installinit: Always start daemon on upgraded even ifjoey2002-08-04
| | | | | | | | --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.
* r539: * Remove /usr/doc manglement code from postinst and prerm.joey2002-07-22
| | | | | Do not use this verion of debhelper for woody backports! * Removed dh_installxaw.
* r534: * Stupid, evil typo.joey2002-06-21
| | | | * Fixed the tests clint didn't show me.
* r533: * In script fragments, use more posix tests, no -a or -o, no parens.joey2002-06-21
| | | | Closes: #150403
* r528: * Consistently use the which command instead of command -v or hardcodedjoey2002-05-26
| | | | | | 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
* r507: * dh_installxfonts: separate multiple commands with \n so sed ↵joey2002-01-30
| | | | | | doesn't get upset. Closes: #131322
* r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey2002-01-27
| | | | | | | | | | | | | | | | | | | | | | 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.
* r505: * Improved dh_installxfonts some more:joey2002-01-27
| | | | | - Better indenting of generated code. - Better ordering of generated code (minor fix).
* r503: * dh_installman: more documentation about the .TH line. Closes: #129205joey2002-01-27
| | | | | | | | | | | * 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.
* r487: * dh_movefiles: Typo, Closes: #106532joey2001-08-23
| | | | | | | | * 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
* r477: * Check that update-modules is present before running it, since ↵joey2001-06-10
| | | | | | modutils is not essential. Closes: #100430
* r465: * Modified the postrm fragment for dh_installxfonts to not try to ↵joey2001-05-11
| | | | | | | delete any files. The responsibility for doing so devolves onto update-fonts-* (which don't yet, but will). See bug #94752
* r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -ejoey2001-03-17
| | | | to mkfontdir. Closes: #89418
* r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart ↵joey2001-03-13
| | | | | | | code. Arrgh. All packages built with the old code (that is, all daemon packages built with debhelper 3.0.9!) are broken. Closes: #89472
* r450: * Modified to use dpkg-architecture instead of dpkg ↵joey2001-03-05
| | | | | | | | | | | | | | | | | | | | | | | | --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
* r434: added back (sigh)joey2001-02-09
|
* r417: * dh_installinit -r: stop init script in prerm on package removal,joey2001-02-05
| | | | Closes: #84974
* r407: * suidmanager is obsolete now, and so is dh_suidmanager. Instead,joey2001-01-10
| | | | | | | | | | | | 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.
* r403: * dh_installwm: Moved update-alternatives --remove call to prerm,joey2000-12-21
| | | | | Closes: #80209 * ALso guarded all update-alternatives --remove calls.
* r392: * DH_COMPAT=3 now enables the following new features which I can't justjoey2000-11-27
| | | | | | | | | | | | | | | | | | | | | | 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.
* r382: * dh_suidregister: do not unregister on purge, since it will have ↵joey2000-11-06
| | | | | | already been unregistered then, and a warning will result.
* r370: * dh_installmodules: corrected the code added to maintainer scripts ↵joey2000-09-17
| | | | | | | | | 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
* r365: * dh_installxfonts: corrected a problem during package removal that wasjoey2000-08-17
| | | | silently neglecting to remove the fonts.dir/alias files.
* r353: * Modified all postinst script fragments to only run when called withjoey2000-07-06
| | | | | | | | "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
* r344: * Patch from Pedro Guerreiro to make install-docs only be called onjoey2000-04-17
| | | | configure and remove/upgrade. Closes: #62513
* r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey2000-03-02
| | | | | | | | | | | | | | | | | 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.
* r300: * dh_installdebconf: Modified to use new confmodule debconf library.joey1999-10-30
|
* r298: * Fixed some problems with dh_installxfonts font dirs.joey1999-10-28
|
* r295: * Corrected a path name in dh_installxfonts. Closes: #48315joey1999-10-25
|
* r294: * Fixed problem with dh_installemacsen options not working, patch fromjoey1999-10-24
| | | | | | | | | | | | | | | | | | | | | 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
* r284: * Enhanced debconf support -- the database is now cleaned up on packagejoey1999-09-29
| | | | | | purge. * Broke all debconf support off into a dh_installdebconf script. This seems conceptually a little cleaner.
* r274: * dh_installemacsen: the script fragments it generates now test for thejoey1999-09-12
| | | | | | | 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.