summaryrefslogtreecommitdiff
path: root/shlibs/uuid
AgeCommit message (Collapse)AuthorFilesLines
2011-01-20build-sys: link with socketlibs when necessaryFabian Groffen1-1/+3
To link an object which references socket functions, you need to link with -lsocket -lnsl on Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2010-11-30rename util-linux-ng back to util-linuxKarel Zak9-27/+27
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-07-29build-sys: man aliases don't depend on original man pageDiego Elio 'Flameeyes' Pettenò1-1/+1
Avoid rebuilding the man aliases over and over given that they do not copy the content but only alias it. Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
2010-07-29build-sys: use the silent-rules prefix when generating man pages.Diego Elio 'Flameeyes' Pettenò1-1/+1
This is backward-compatible with automake 1.10 as the AM_V_GEN macro is going to be null anyway. Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
2010-07-12docs: add COPYING.lib* filesKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-14uuidd: spell the plural of "UUID" consistently as "UUIDs"Benno Schulenberg3-4/+4
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2010-02-12build-sys: add missing tests for libuuid and libblkidKarel Zak1-1/+1
$ make checkconfig misc-utils/blkid.c : HAVE_TERMIO_H misc-utils/blkid.c : HAVE_TERMIOS_H shlibs/blkid/src/getsize.c : HAVE_FSTAT64 shlibs/blkid/src/llseek.c : HAVE_LLSEEK_PROTOTYPE shlibs/blkid/src/llseek.c : HAVE_LSEEK64_PROTOTYPE shlibs/uuid/src/gen_uuid.c : HAVE_SA_LEN*/ shlibs/uuid/src/gen_uuid.c : HAVE_SYS_SOCKET_H shlibs/uuid/src/gen_uuid.c : HAVE_SYS_SYSCALL_H Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-04build-sys: rewrite TLS detectionKarel Zak1-3/+3
* use more robust tls.m4 from gcc project The old version (from util-linux-ng) used AC_TRY_COMPILE. That's wrong. We need to use AC_RUN_IFELSE to check that the result is link-able and executable. The new version also test it TLS really works in multi-thread applications. * we need to detect TLS usability for cross-compiling * this new version supports __thread keyword only, it seems that we needn't to care about anything other Signed-off-by: Karel Zak <kzak@redhat.com>
2009-09-07libuuid: remove .UE macro from libuuid man pages.Milan Broz9-9/+0
On some system it produces insertion of "()". There is missing .UR anyway. [kzak@redhat.com: - this is u-l-ng bug, we don't use UR+UE macros like the original man pages in e2fsprogs] Signed-off-by: Milan Broz <mbroz@redhat.com>
2009-07-17build-sys: don't distribute generated *.pc filesKarel Zak1-1/+1
Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de> Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-16libuuid: generate uuid_generate_{random,time}.3 man page linksKarel Zak2-0/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-13build-sys: fix libuuid and libblkid version-infoKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-06libuuid: fix parallel buildingKarel Zak1-11/+2
and remove some obsolete stuff from blkid/uuid Makefiles. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-04build-sys: rename to _execdirKarel Zak3-9/+9
The variable name "usrlibexecdir" is very confusing (because we have /usr/libexec). The "exec" prefix is required for user-defined directories, see http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install This patch renames all usr*execdir variables to usr*_execdir. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-04build-sys: improve symlinks creation in shlibs/Karel Zak1-1/+3
It's more safe to create symlinks in the target directory and use $(LN_S) rather than directly call "ln -sf". Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de> Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-04build-sys: fix exec/data install hooksKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-04build-sys: reverse shlibs installationKay Sievers1-11/+7
[kzak@redhat.com: Unfortunately, libtool does not provide a way how to install real libraries to /lib and devel libs (symlinks) to /usr/lib. We have to use install hooks to move these files. Currently we install to /lib and move devel files to /usr/lib. This concept is wrong, because the libdir= in .la libtool files must to match with the place where we install the devel .so libs. It means we have to install everything to /usr/lib and then move (by install hook) the real .so libs to /lib. This change is necessary to fix "make install", otherwise the install process will not work in clean change root. ] Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-01Merge branch 'tytso' of ↵Karel Zak2-6/+19
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/util-linux-ng into test
2009-06-30libuuid: Don't run uuidd if it would fail due to permission problemsTheodore Ts'o2-2/+8
Some distributions don't like installing uuidd setuid or setgid. So if the setuid or setigid bit is not set with uuidd, and the current process does not have write access to the UUIDD work directory, don't try running uuidd, since it won't work properly. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-30libuuid, uuidd: Avoid infinite loop while reading from the socket fdTheodore Ts'o1-3/+7
If for some reason the uuidd daemon or the process calling uuidd exited unexpectely, the read_all() function would end up looping forever, either in uuidd or in libuuid. Fix this terminating the loop if no data can be read after five tries to read from the file descriptor. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-30libuuid: Make sure fd's 0, 1, and 2 are valid before exec'ing uuiddTheodore Ts'o1-1/+4
When closing all of the file descriptors before starting uuidd, make sure file descriptors 0, 1, and 2 are reserved by opening /dev/null. This prevents strange bugs caused by assumptions regarding file descriptors <= 2 as being special. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-30libuuid: fix $libdir in uuid.pcKarel Zak1-1/+1
The -L<dir> gcc option is for directories to be searched for .so/.a files. It means the directory with development stuff. We have devel libs in /usr/lib[64]. The side effect is that pkg-config does not return -L with standard system directories (so make(1) output is more readable and shorter). Signed-off-by: Karel Zak <kzak@redhat.com>
2009-06-30libuuid: add install-hook for libuuid.[a,so] devel filesKarel Zak1-0/+18
Unfortunately, libtool installs all files to $libdir (/lib), but we need devel files in $usrlibexecdir (/usr/lib). Signed-off-by: Karel Zak <kzak@redhat.com>
2009-06-30Revert "libuuid: move clock state file from /var/lib to /var/run"Karel Zak1-3/+2
This reverts commit ab2e7dd17f556d501d27c6b0ae2c0989d5d9dae4. The state file clock.txt should be kept in /var/lib, it should remain valid after a reboot.
2009-06-29libuuid: move clock state file from /var/lib to /var/runKarel Zak1-2/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-06-29uuidd: move uuidd files from /var/lib/libuuid to /var/run/uuiddKarel Zak1-2/+2
Reported-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2009-06-28build-sys: fix libuuid Makefile.amKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22build-sys: add --disable-uuiddKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22uuidd: new command (UUID daemon from e2fsprogs)Karel Zak2-1/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22libuuid: add .gitignoreKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22build-sys: add --disable-tlsKarel Zak1-10/+20
* add AX_TLS autoconf macro * add --disabletls option * cleanup gen_uuid.c code to remove gcc warnings when compiled without TLS macro. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22libuuid: add info about u-l-ng to man pagesKarel Zak9-28/+36
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22libuuid: add --disable-libuuid and LIBUUID_VERSIONKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-22libuuid: import UUID library from e2fsprogsKarel Zak30-0/+2544
Signed-off-by: Karel Zak <kzak@redhat.com>