summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add libsmartcols to ko-release-gen scriptKarel Zak2014-06-181-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update build testsKarel Zak2014-06-181-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add non-libsmartcols.confKarel Zak2014-06-181-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add disable-all.conf to config-genKarel Zak2014-05-272-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: make config-gen to require build target argumentSami Kerola2014-03-071-0/+9
| | | | | | | When argument is not supplied help user by telling what arguments can be used. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: remove deprecated-mount/Karel Zak2014-03-051-3/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add usage information to checkconfig.shSami Kerola2014-02-171-0/+11
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add --with-smack to config-gen.dKarel Zak2013-11-121-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: generate autotools files if missingSami Kerola2013-09-101-0/+4
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: make checkmans.sh to find missing manualsSami Kerola2013-04-091-4/+40
| | | | | | | | Finding missing manuals is loosely based on ideas in man-page-day-1.sh, wrote by Peter Schiffer. CC: Peter Schiffer <pschiffe@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: add checks to manual page test scriptSami Kerola2013-04-091-24/+74
| | | | | | | | | | | | | | | This change includes - better way to detect manual page inclusion - man -k header test, which uses lexgrog - repeated word detection - static declaration to known repeated words Most of the changes are based on man-page-day-1.sh, that is in use at RedHat Quality Assurance, and wrote by Peter Schiffer. CC: Peter Schiffer <pschiffe@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add config-gen.d stuff for chsh-chfnKarel Zak2013-02-133-0/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add devel-non-docs compile profileKarel Zak2012-11-301-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* ddate: remove from util-linuxSami Kerola2012-10-151-1/+1
| | | | | | | | | | | See RedHat bug for reasons why the ddate is cleaned up. The reference is where to get the command in future. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=823156 References: https://github.com/bo0ts/ddate Acked-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove static from config-gen.d/{devel,all}.confKarel Zak2012-09-112-2/+0Star
| | | | | | | It's impossible to compile static when gcc/ld is forced to use GNU_RELRO and BIND_NOW for suid binaries (e.g. mount). Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: cleanup config-gen.dKarel Zak2012-06-265-11/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert mount/ to module, rename to mount-deprecated/Karel Zak2012-06-261-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add small and stupid script to check HAVE_DECL_Karel Zak2012-06-131-0/+21
| | | | | | use 'make checkdecl' to run the script Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkmans.shSami Kerola2012-06-021-0/+75
| | | | | | A script to find whether all manuals has proper groff syntax. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: ko-release: make scripts bourne sh compliant [checkbashisms]Sami Kerola2012-03-302-5/+5
| | | | | | | | | | | | | | | | | | | | $ checkbashisms ko-release-gen possible bashism in ko-release-gen line 31 ('function' is useless): function die { possible bashism in ko-release-gen line 36 ('function' is useless): function add_file { possible bashism in ko-release-gen line 68 ('function' is useless): function add_html_dir { possible bashism in ko-release-gen line 72 (brace expansion): for fl in $(ls $src/*.{html,css,png}); do $ checkbashisms ko-release-push possible bashism in ko-release-push line 29 ('function' is useless): function die { possible bashism in ko-release-push line 34 ('function' is useless): function push_file { Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: config-gen: make scripts bourne sh compliant [checkbashisms]Sami Kerola2012-03-302-3/+4
| | | | | | | | | | | $ checkbashisms config-gen script config-gen does not appear to be a /bin/sh script possible bashism in config-gen line 27 (export foo=bar should be foo=bar; export foo): export CFLAGS="$CFLAGS" $ checkbashisms config-gen-functions.sh possible bashism in config-gen-functions.sh line 14 ('function' is useless): Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: checkconfig.sh: make scripts bourne sh compliant [checkbashisms]Sami Kerola2012-03-301-3/+3
| | | | | | | | | | script checkconfig.sh does not appear to be a /bin/sh script possible bashism in checkconfig.sh line 14 ('function' is useless): function die() { possible bashism in checkconfig.sh line 27 ('((' should be '$(('): while (( "$#" )); do Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: improve ko-release-* scriptsKarel Zak2012-03-302-3/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* checkxalloc: nudge regex, fix newfound instancesDave Reisner2012-03-201-1/+1
| | | | | | | | | | | | | | | | Using the -w flag with grep actually fought against us here, and hid some instances where xalloc functions weren't used. Discard it in favor of an explicit word boundary as a prefix to the function name, and extend our requirements on the trailing side of the pattern. This also fixes the few new instances that were overlooked because of the regex's deficiency. [kzak@redhat.com: - fix also newfound in findmnt - remove unnecessary checks after xallocs] Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add asprintf to checkxalloc scriptSami Kerola2012-03-181-1/+1
| | | | | Reported-By: Dave Reisner <d@falconindy.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tools: use gpg-aggent in ko-release-genKarel Zak2012-02-071-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: improve ko-release-* scriptsKarel Zak2012-01-192-4/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add ko-release-push scriptKarel Zak2012-01-191-0/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add ko-release-gen scriptKarel Zak2012-01-191-0/+76
| | | | | | | | The script creates directory kernel.org/v<version>/, copy .xz tarball, changelog, release notes and docs to the directory and sign all files by gpg. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add sleepexit from login.c to smatch non-return functionsKarel Zak2012-01-171-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --enable-new-mountKarel Zak2012-01-111-0/+8
| | | | | | | | | | | | | | | | | Now we have three versions of the mount(8) utility * old mount(8) --enable-mount [default] * old mount(8) linked with libmount This is this is necessary for systems without mtab file. --enable-libmount-mount - new mount(8) This is completely new pure-libmount based mount(8). --enable-new-mount Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add checkxalloc to toplevel MakefileKarel Zak2012-01-041-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add new code checking scriptDave Reisner2012-01-041-0/+13
| | | | | | | | | Finds usage of strdup, malloc, calloc, and realloc when xalloc.h is included. http://marc.info/?l=util-linux-ng&m=132438338929925&w=2 Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* build-sys: add log_err to smatch non-return functionsKarel Zak2011-12-021-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add tools/config-gen and basic compilation scenariosKarel Zak2011-11-0415-0/+112
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add err and errx to smatch no_return_funcsKarel Zak2011-09-131-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add smatch dataKarel Zak2011-09-131-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix git-version-gen for -rc tagsKarel Zak2011-07-291-3/+12
| | | | | | | The current version have a problem to support "v2.20-rc1" format of the tags. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use git-version-gen to distinct git and release versionsSami Kerola2011-04-051-0/+172
| | | | | | | | | | | The script is copied as is from gnulib. [kzak@redhat.com: - generate .tarball-version and .version files in top level Makefile.am - delete autom4te.cache in autogen.sh] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: rename ENABLE_CMDTAGQ macroKarel Zak2008-11-261-1/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkconfig to top-level MakefileKarel Zak2008-11-261-14/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: rename codecheck-config to checkconfig.shKarel Zak2008-11-261-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkincludes.pl (from linux kernel)Karel Zak2008-11-261-0/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphansKarel Zak2007-06-151-0/+38
Signed-off-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>