summaryrefslogtreecommitdiff
path: root/dh_fixperms
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23dh_{fixperms,usrlocal}: Assume less familarity with R³Niels Thykier1-8/+13
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-10-21Add minimal R³ support for debhelperNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-09-17dh_fixperms: Reset nodejs {cli,bin}.js to 0755Niels Thykier1-0/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-09-17dh_fixperms: Skip a package if its tmpdir does not existNiels Thykier1-0/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-09-12dh_fixperms: Reset .scss and .sass to 0644Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-12reset_perm_and_owner: Use perl functions instead of fork+execNiels Thykier1-2/+2
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-13dh_fixperms: Run in parallelNiels Thykier1-44/+46
2017-05-07Regression in dh_fixperms causing packages to be non-reproducibleChris Lamb1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-17dh_fixperms: Add @mode_0755_patterns (for derivatives)Niels Thykier1-4/+5
Debian has nothing general patterns that must be chmod'ed to 0755, but DilOS needs "*.so" and "*.so.*" to be 0755 (instead of 0644). As it only takes 2-3 lines of code to mode the patterns out of the logic, then lets have an empty list, so DilOS's changes can be smaller and limited to some data lists. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-17dh_fixperms: Extract a list of chmod -R a+x dirsNiels Thykier1-6/+4
Should also assist DilOS and other derivatives by moving the list out of the code logic. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-17dh_fixperms: Refactor the handling of find+xargs callsNiels Thykier1-50/+44
As a side-effect, dh_fixperms should do fewer fork+exec's for two reasons. One, we skip the find call if the target directory does not exist and two, the patch reorders some directory handling with similar permission requirements together. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-17dh_fixperms: Unconditionally reset perms of "0644" filesNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-17dh_fixperms: Refactor $mode_0644_find_pattern initializationNiels Thykier1-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Dh_Lib: Add a reset_perm_and_owner functionNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Remove references to usr/{man,info,X11*/man}Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-02Drop support for compat level 3Niels Thykier1-8/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-09-10dh_fixperms: Correct find callNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-08-31dh_fixperms: Reset perms of some images, css and js filesNiels Thykier1-11/+19
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-01-08Add leading 0 to "mode" parametersMartin Koeppe1-10/+10
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01dh_fixperms: Correct permissions of reportbug files/scriptsFabian Greffrath1-0/+11
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>
2014-08-09Use vendorlib and vendorarch from Config instead of hardcoding their valuesNiko Tyni1-1/+5
$Config{vendorarch} is changing with the perl 5.20 packages, see #748380.
2012-05-19debhelper: Fix minor source comment typos.Simon Ruderich1-1/+1
2011-09-12dh_fixperms: Operate on .ali files throughout /usr/lib, including multiarch ↵Joey Hess1-5/+3
dirs. Closes: #641279 This is extra work, but querying dpkg-architecture for the multiarch lib dir could easily take just as long.
2010-11-02Apply manual pages conventionsDavid Prévot1-7/+7
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-07-18Bug#589574: [PATCH] dh_fixperms: Ensure files in /etc/sudoers.d/ are mode ↵Carsten Hey1-0/+7
440. Closes: #589574 Signed-off-by: Carsten Hey <carsten@debian.org>
2010-05-27dh_fixperms: Tighten globs used to find library .so files, avoiding ↵Joey Hess1-1/+1
incorrectly matching things like "foo.sources". Closes: #583328
2009-05-28clarifyJoey Hess1-3/+3
2009-05-02Fix permissions of *.cmxs filesStephane Glondu1-0/+5
2009-04-21dh_fixperms: Ensure lintian overrides are mode 644. (Patch from #459548)Joey Hess1-0/+7
2007-11-21* Remove execute bit from desktop files in /usr/share/applications.Joey Hess1-5/+9
Closes: #452337
2007-11-08* Man page fix re v4. Closes: #450608Joey Hess1-2/+2
2007-01-21r1968: * dh_fixperms: Make all files in /usr/include 644, not only .h files.joeyh1-2/+1
Closes: #404785 * Man page improvements. Closes: #406707
2006-12-26r1965: * dh_fixperms: Change a chmod +x to chmod a+x, to avoid the umaskjoeyh1-1/+1
influencing it.
2006-11-07r1956: * Correct some incorrect instances of "v4 only" in docs. Closes: #381536joeyh1-1/+1
* dh_installinfo: Put the section madness to bed by not passing any section information to install-info. Current install-info parses INFO-DIR-SECTION on its own if that's not specified. Closes: #337215
2005-07-19r1772: releasing version 4.9.44.9.4joey1-1/+1
2004-07-08r1695: * dh_gconf: gconf schemas moved to /usr/share/gconf/schemas. Relocatejoey1-0/+6
schemas from /etc/gconf/schemas. (Josselin Mouette) * dh_gconf: kill gconfd-2 so that the newly installed schemas are available straight away. (Josselin Mouette) * dh_gconf: fix bashism in restart of gconfd-2 * dh_gconf: fix innaccuracy in man page; gconfd-2 is HUPPed, not killed. * dh_scrollkeeper: stop adding scrollkeeper to misc:Depends, since the postinst will not run it if it's not installed, and a single run after it's installed is sufficient to find all documents. Closes: #256745 * dh_fixperms: make .ali files mode 444 to prevent recompilation by GNAT. For speed, only scan for .ali files in usr/lib/ada. Closes: #245211 * dh_python: check to make sure compileall.py is available before running it in the postinst. Closes: #253112 * dh_installmodules: install debian/package.modprobe into etc/modprobe.d/ for module-init-tools. These files can sometimes need to differ from the etc/modutils/ files. Closes: #204336, #234495 * dh_installmanpages is now deprecated. * Add a test case for bug #244157, and fixed the inverted ok() parameters in the others, and added a few new tests. * dh_link: applied GOTO Masanori's patch to fix conversion of existing relative symlinks between top level directories. Closes: #244157
2004-06-06r1689: * dh_installmodules: Look for .ko files too. Closes: #2486244.2.11joey1-0/+5
* dh_fixperms: fix permissions of .h files. Closes: #252492
2004-04-12r1679: * Spanish translation of dh_installppp from Ruben Porras. Closes: ↵4.2.8joey1-6/+7
#240844 * dh_fixperms: Make executable files in /usr/games. Closes: #243404
2003-08-18r1590: * Converted several chown 0.0 to chown 0:0 for POSIX 200112.version_4.1.65joey1-1/+1
* dh_python: patch from Josselin to support packages only shipping binary (.so) modules, and removal of any already byte-compiled .py[co] found.
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2003-02-22r574: * wiggy didn't take my hint about making update-modules send ↵joey1-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
2002-10-05r554: * dh_fixperms: Make sure .pm files are 0644. Closes: #163418joey1-5/+11
2002-04-12r518: * dh_movefiles has long been a sore point in debhelper. Inheritedjoey1-5/+17
from debstd, its interface and implementation suck, and I have maintained it while never really deigning to use it. Now there is a remplacment: dh_install, which ... - copies files, doesn't move them. Closes: #75360, #82649 - doesn't have that whole annoying debian/package.files vs. debian/files mess, as it uses debian/install. - supports copying empty subdirs. Closes: #133037 - doesn't use tar, thus no error reproting problems. Closes: #112538 - files are listed relative to the pwd, debian/tmp need not be used at all, so no globbing issues. Closes: #100404 - supports -X. Closes: #116902 - the whole concept of moving files out of a directory is gone, so this bug doesn't really apply. Closes: #120026 - This is exactly what Bill Allombert asked for in #117383, even though I designed it seemingly independantly. Thank you Bill! Closes: #117383 * Made debhelper's debian/rules a lot simpler by means of the above. * Updated example rules file to use dh_install. Also some reordering and other minor changes. * dh_movefiles is lightly deprecated, and when you run into its bugs and bad design, you are incouraged to just use dh_install instead. * dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039 * dh_fixperms: in v4 only, make all files in etc/init.d executable (of course there's -X ..) * dh_link: in v4 only, finds existing, non-policy-conformant symlinks and corrects them. This has the side effect of making dh_link idempotent. * Added a -h/--help option. This seems very obvious, but it never occured to me before.. * use v4 for building debhelper itself * v4 mode is done, you may now use it without fear of it changing. (This idea of this upload is to get v4 into woody so people won't run into many issues backporting from sarge to woody later on. Packages targeted for woody should continue to use whatever compatability level they are using.)
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1
2001-06-18r480: * Revert change of 3.0.30. This broke too much stuff. Maybe I'lljoey1-1/+1
change it in debhelper v4..
2001-02-09r427: converting to pod is getting old..joey1-1/+1