summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* util-linux minor typo fixesGilles Espinasse2013-05-211-1/+1
| | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* build-sys: always check for setns() and unshare() libs functionsKarel Zak2013-05-211-6/+2Star
| | | | | | | | | | | | | | | | | | | | $ ./configure --disable-unshare $ make nsenter CC sys-utils/nsenter.o In file included from sys-utils/nsenter.c:36:0: ./include/namespace.h:31:19: error: static declaration of ‘unshare’ follows non-static declaration In file included from /usr/include/sched.h:42:0, from sys-utils/nsenter.c:23: /usr/include/bits/sched.h:86:12: note: previous declaration of ‘unshare’ was here make: *** [sys-utils/nsenter.o] Error 1 We have to always check for the libc function independently on --disable-{unshare,nsenter} to avoid collision between local and libc declarations. Reported-by: "Gabor Z. Papp" <gzp@papp.hu> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use -Wno-clobbered for some BSD crapKarel Zak2013-05-071-0/+3
| | | | | | | | * extend UL_WARN_ADD() for accept non-default CFLAGS variable * add BSD_WARN_CFLAGS with -Wno-clobbered * use all this for pg(1) and more(1) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-settermKarel Zak2013-04-261-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.23)Karel Zak2013-04-251-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use 'check' for all utils with dependenciesKarel Zak2013-04-251-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix non-linux buildSamuel Thibault2013-04-251-1/+1
| | | | | | Make enabling fdformat depend on being a linux build. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* build-sys: use pkg-config results for libuserKarel Zak2013-04-181-7/+7
| | | | | | | | | Our code depends on libuser >= 0.58, it's better to completely rely on pkg-config results rather than also call UL_CHECK_LIB (that overwrites previous pkg-config have_user= result independently on libuser version). Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix UL_REQUIRES_HAVEKarel Zak2013-04-181-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisks: fix compiler warningKarel Zak2013-04-171-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix nsenter requirementsKarel Zak2013-04-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.23-rc2)Karel Zak2013-04-101-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-fdformatKarel Zak2013-04-101-1/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-hwclockKarel Zak2013-04-101-3/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-bfsKarel Zak2013-04-101-0/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-cytuneKarel Zak2013-04-101-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-bash-completionKarel Zak2013-04-051-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: add bash completetion configure optionSami Kerola2013-03-301-0/+13
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: release++ (v2.23-rc1)Karel Zak2013-03-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: keep libuser optionalKarel Zak2013-03-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: set dependence fdisk -> libfdisk -> libuuidKarel Zak2013-03-211-0/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: lslocks depends on libmountKarel Zak2013-03-211-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: don't use libs from pkg-config from libuserKarel Zak2013-03-211-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: check for security_get_initial_context()Karel Zak2013-03-201-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* chkdupexe: remove, deprecated for yearsKarel Zak2013-03-141-14/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* arch: remove the command, deprecated since 2.13, use coreutils versionKarel Zak2013-03-141-10/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'patch-1' of https://github.com/dtrebbien/util-linuxKarel Zak2013-02-201-0/+1
|\ | | | | | | | | * 'patch-1' of https://github.com/dtrebbien/util-linux: Implement mempcpy() in terms of memcpy() if mempcpy() is unavailable
| * Implement mempcpy() in terms of memcpy() if mempcpy() is unavailableDaniel Trebbien2013-01-311-0/+1
| |
* | build-sys: add package url to AC_INITSami Kerola2013-02-141-1/+2
| | | | | | | | | | | | See last line from './configure --help'. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | build-sys: use AC_USE_SYSTEM_EXTENSIONSSami Kerola2013-02-141-1/+3
| | | | | | | | | | | | | | The AC_GNU_SOURCE is obsolete. Addresses: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html#index-AC_005fGNU_005fSOURCE-2058 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | build-sys: use AC_COMPILE_IFELSESami Kerola2013-02-141-7/+13
| | | | | | | | | | | | | | The AC_TRY_COMPILE is obsolete. Addresses: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html#index-AC_005fTRY_005fCOMPILE-2203 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | chsh-chfn: fix bugs, improve compilationKarel Zak2013-02-131-25/+23Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename --disable-require-password to --disable-chsh-chfn-password * is_local() is really unnecessary when linked with libuser * fix set_value_libuser() returns codes * fix chfn.c, there is no 'pw', but oldf.pw * don't link with PAM when--disable-chsh-chfn-password Signed-off-by: Karel Zak <kzak@redhat.com>
* | build-sys: Add flag for enabling/disabling libuser support.Cody Maloney2013-02-131-0/+17
| | | | | | | | Signed-off-by: Cody Maloney <cmaloney@theoreticalchaos.com>
* | build-sys: test for secure_getenv() too.Cristian Rodríguez2013-02-061-0/+1
| | | | | | | | | | | | | | In current glibc versions, internal __secure_getenv no longer exists and was replaced by secure_getenv() Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
* | setpriv: run a program with different Linux privilege settingsAndy Lutomirski2013-02-051-0/+14
|/ | | | | | | | | | | | This new command can set no_new_privs, uid, gid, groups, securebits, inheritable caps, the cap bounding set, securebits, and selinux and apparmor labels. [kerolasa@iki.fi: a lot of small adjustment making the command to be good fit to util-linux project] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Andy Lutomirski <luto@amacapital.net>
* build-sys: add --disable-{more,ul,pg}Karel Zak2013-01-241-1/+28
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* nsenter: new command (light wrapper around setns)Eric W. Biederman2013-01-171-0/+11
| | | | | | | | | | | Inspired by unshare, nsenter is a simple wrapper around setns that allows running a new process in the context of an existing process. Full paths may be specified to the namespace arguments so that namespace file descriptors may be used wherever they reside in the filesystem. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
* build-sys: cleanup --enable-most-builds listSami Kerola2013-01-101-3/+5
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: invert flag for sulogin emergency mountDave Reisner2013-01-091-3/+3
| | | | | | This should be disabled by default. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* include/bitopts: Use the operating system byteswapping functionsKarel Zak2013-01-081-0/+3
| | | | | | | The swap macros are already in libc. Co-Author: Cristian Rodríguez <crrodriguez@opensuse.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* tunelp: deprecation: remove command from default buildSami Kerola2012-12-191-0/+10
| | | | | | It is difficult to think think tunelp command being in use a lot. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* sulogin: mount temporary /dev and /proc if not foundWerner Fink2012-12-181-0/+13
| | | | | | | | | This is very usefull if initrd can not loaded that is no /dev and no /proc is found. Also if the /etc/shadow and /etc/passwd is copied into the initrd the sulogin can be used in initrd even before /dev and/or /proc are mounted. Signed-off-by: Werner Fink <werner@suse.de>
* build-sys: fix typoKarel Zak2012-11-301-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use pkg-config for selinuxKarel Zak2012-11-301-12/+8Star
| | | | | | | | - we need libselinux 2.x (where is security_get_initial_context()) - the latest selinux versions are linked with -lpcre Reported-by: Gregory Nietsky <gregory@distrotech.co.za> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup cpu_set_t usageKarel Zak2012-11-021-0/+1
| | | | | | | - make taskset depend on cpu_set_t - make cpuset.c optional for libcommon and lib/path.c Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove gethostbyname() checkSami Kerola2012-10-221-4/+0Star
| | | | | | | Removed as unnecessary, there are no references to gethostbyname() in code. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* ddate: remove from util-linuxSami Kerola2012-10-151-11/+0Star
| | | | | | | | | | | 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: simplify usrlib_execdir initializationKarel Zak2012-09-121-27/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix --localstatedir heuristicsKarel Zak2012-09-121-9/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge https://github.com/hramrach/util-linuxKarel Zak2012-09-101-1/+24
|\