summaryrefslogtreecommitdiff
path: root/dh_installchangelogs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-21Add minimal R³ support for debhelperNiels Thykier1-2/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-12reset_perm_and_owner: Use perl functions instead of fork+execNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-07Dh_Lib: Embed tool versions into auto-generated snippetsNiels Thykier1-0/+2
Use $main::VERSION to determine the version of the tool and embed that into auto-generated snippets (e.g. via autoscript). This enables lintian to extract the tool + version and display it on: https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-03Set Emacs file variables directory-wideSven Joachim1-6/+0
Set the local variables for Emacs in the central placed intended for it, rather than in (currently) 95 individual files. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-24dh_installchangelogs: Don't use a directory as a changelogNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-13dh_installchangelogs: Run in parallelNiels Thykier1-55/+57
2017-06-04include present/wanted architecture in error messageMichael Stapelberg1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Dh_Lib: Add a reset_perm_and_owner functionNiels Thykier1-2/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Refactor install_dir usage to avoid the "if -d " testsNiels Thykier1-3/+1
They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-14Fix typosJakub Wilk1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-03-01dh_installchangelogs: Also look for changelogs with .rst suffixAxel Beckert1-1/+1
2015-03-01dh_installchangelogs: Consistent suffix search orderAxel Beckert1-8/+10
Now iterates over common suffixes and common base names separately. Makes the code easier readable and easier to extent. Looks for "history.md" now, too. (Was a so far ignored suffix/base name combination.)
2015-03-01dh_installchangelogs: Add CHANGES.md to the list of common changelog filenamesJason Pleau1-1/+1
Several projects that are hosted on Github use markdown files (.md) as their README and changelogs. CHANGES.md is used by a few projects, and it would be nice to have this file automatically picked up as an upstream changelog. Closes: #779471
2015-01-08Migrate some calls to use the new install_X subsMartin Koeppe1-9/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-10-20dh_installchangelogs: Avoid installing binNMU changelog file in --no-act ↵Joey Hess1-3/+5
mode. Closes: #726930
2013-09-21dh_installchangelogs: Add changelog.md to the list of common changelog ↵Joey Hess1-1/+1
filenames.
2013-06-05dh_installchangelogs: Fix bug preventing automatic installation of upstream ↵Joey Hess1-0/+1
changelog. Closes: #711131
2013-05-25dh_installchangelogs: No longer automatically converts html changelogs. A ↵Joey Hess1-15/+29
plain text version can be provided as a second parameter, or it will generate a file with a pointer to the html changelog if not. html2text's reign of terror has ended. Closes: #562874
2013-05-18ensure files come out owned by rootJoey Hess1-0/+3
dh_fixperms may not always be run after dh_installchangelogs
2013-05-18only run slower changelog splitting code in binNMU modeJoey Hess1-27/+35
2013-05-18dh_installchangelogs: Write the changelog entry used for a binNMU, as ↵Joey Hess1-2/+44
flagged by binary-only=yes to a separate file, in order to work around infelicities in dpkg's multiarch support. Closes: #708218 (Thanks, Ansgar Burchardt)
2010-11-02Apply manual pages conventionsDavid Prévot1-19/+19
As advised in man(1), always use: B<bold text> type exactly as shown. I<italic text> replace with appropriate argument. s/debian/Debian/ if needed. s/ / / also. s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
2010-05-28dh_installchangelogs: Also look for changelog files in doc(s) ↵Joey Hess1-10/+12
subdirectories. Closes: #521258
2010-05-28dh_installchangelogs: Support packages placing their changelog in a file ↵Joey Hess1-1/+1
with a name like HISTORY. Closes: #582749
2009-09-08Bug#545676: dh_installdocs: option to link documentation directoriesColin Watson1-5/+15
As discussed by e-mail, dh_installdocs could do with an option to make the documentation directory a symlink, to clean up dh-using packages that otherwise need to use override targets to arrange for dh_link to run before dh_installdocs. This turns out to be slightly involved due to the need to handle the case where you want to do this *and* also install some extra documentation in the symlink target, while also making a dangling symlink and avoiding file conflicts in the simple case, so I had to change dh_installchangelogs as well. I think this is right now; tested on debconf ('dh_installdocs -Ndebconf-doc --link-doc=debconf; dh_installdocs -pdebconf-doc') and groff ('dh_installdocs --link-doc=groff-base').
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-12/+24
2009-03-06dh_installchangelogs: Support -X to exclude automatic installation of ↵Joey Hess1-2/+9
specific upstream changelogs. Closes: #490937
2008-09-10dh_installchangelogs: Fall back to looking for changelog files ending with ↵Joey Hess1-1/+1
".txt". Closes: #498460
2008-07-15dh_installchangelogs: When searching for changelog in v7 mode, skip empty ↵Joey Hess1-1/+1
files. Closes: #490937
2008-06-16Typo fix. Closes: #486464Joey Hess1-1/+1
2008-04-24dh_install: Find all possible cases of "changelog" and "changes", rather7.0.2Joey Hess1-3/+5
than just looking for some predefined common cases.
2008-04-24I lied, one more v7 change slipped in..7.0.1Joey Hess1-10/+23
* dh_installchangelogs: In v7 mode, if no upstream changelog is specified, and the package is not native, guess at a few common changelog filenames.
2006-10-15r1951: * dh_installchangelogs man page typo. Closes: #393155joeyh1-1/+1
2004-02-09r1655: * Added udeb support, as pioneered by di-packages-build. Understandsversion_4.2.0joey1-0/+2
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for details. * Dh_Lib: add and export is_udeb and udeb_filename * dh_builddeb: name udebs with proper extension * dh_gencontrol: pass -n and filename to dpkg-gencontrol * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, dh_installexamples, dh_installman, dh_installmanpages: skip udebs * dh_shlibdeps: skip udebs. This may be temporary. * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, or prerms for udebs. Do not substiture #DEBHELPER# tokens in postinst scripts for udebs. * dh_installdebconf: skip config script for udebs, still do templates
2003-12-02r1629: * Removed the no upstream changelog for debian packages test.version_4.1.81joey1-17/+7
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-07-04r594: * dh_installchangelogs: Install debian/NEWS as NEWS.Debian, even ↵joey1-6/+4
for native packages. This doesn't follow the lead of the changelog for native packages for the reasons discussed in bug #192089
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2002-07-19r538: * Make dh_installchangelogs install debian/NEWS files as well, asjoey1-0/+16
NEWS.Debian. Make dh_compress always compress them. The idea is to make these files be in a machine parsable form, like the debian changelog, but only put newsworthy info into them. Automated tools can then display new news on upgrade. It is hoped that if this catches on it will reduce the abuse of debconf notes. See discussion on debian-devel for details.
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1
2001-05-08r464: * Now uses html2text rather than lynx for converting html changelogs.joey1-2/+2
The program generates better results, and won't annoy the people who were oddly annoyed at having to install lynx. Instead, it will annoy a whole other set of people, I'm sure. Closes: #93747
2001-02-09r427: converting to pod is getting old..joey1-7/+68
2001-02-09r420: big monsta changesjoey1-16/+15
2000-10-23r378: * dh_movefiles: fixed a regexp quoting problem with --sourcedir.joey1-0/+5
Closes: #75434 * Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those in: . debhelper (2.1.14-0.1) unstable; urgency=low . * Non-maintainer upload (thanks Joey). * dh_installchangelogs, dh_installdocs: allow dangling symlinks for $TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages). Closes: #53381 . -- Brendan O'Dea <bod@debian.org> Fri, 20 Oct 2000 18:11:59 +1100 . I also added some documentation to debhelper.1 about this, and removed the TODO entry about it.
2000-07-21r360: * Never refer to root, always uid/gid "0". Closes: #67508joey1-3/+3
2000-03-02r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey1-3/+2
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-11-23r308: * dh_suidregister: Die with understandable error message if asked tojoey1-3/+5
act on files that don't exist. * dh_installchangelogs: to comply with policy, if it's told to act on a html changelog, it installs it as changelog.html.gz and dumps a plain text version to changelog.gz. The dumping is done with lynx. (Closes: #51099) * Dh_Getopt.pm: Modified it so any options specified after -- are added to U_PARAMS. This means that instead of passing '-u"something nasty"' to dh_gencontrol and the like, you can pass '-- something nasty' without fiddling to get the quoting right, etc.
1999-09-06r266: * FHS complience. Patch from Johnie Ingram <johnie@netgod.net>.joey1-19/+50
For the most part, this was a straight-forward substitution, dh_installmanpages needed a non-obvious change though. * Closes: #42489, #42587, #41732. * dh_installdocs: Adds code to postinst and prerm as specified in http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html, to make /usr/doc/<package> a compatability symlink to /usr/share/doc/<package>. Note that currently if something exists in /usr/doc/<package> when the postinst is run, it will silently not make the symlink. I'm considering more intellingent handing of this case. * Note that if you build a package with this version of debhelper, it will use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to modify other files in your package that reference the old locations.
1999-08-17r1: Initial revisionjoey1-0/+32