Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/lndir/dist initial import of lndir-1.0.4
details: https://anonhg.NetBSD.org/xsrc/rev/18c82ee35aee
branches: xorg
changeset: 7330:18c82ee35aee
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jan 08 09:18:26 2023 +0000
description:
initial import of lndir-1.0.4
diffstat:
external/mit/lndir/dist/ChangeLog | 187 +
external/mit/lndir/dist/INSTALL | 119 +-
external/mit/lndir/dist/Makefile.am | 2 +-
external/mit/lndir/dist/Makefile.in | 410 +-
external/mit/lndir/dist/README.md | 18 +
external/mit/lndir/dist/aclocal.m4 | 1367 ++-
external/mit/lndir/dist/compile | 348 +
external/mit/lndir/dist/config.guess | 1807 ++-
external/mit/lndir/dist/config.h.in | 104 +-
external/mit/lndir/dist/config.sub | 2869 +++---
external/mit/lndir/dist/configure | 13260 +++++++++++++++++---------------
external/mit/lndir/dist/configure.ac | 19 +-
external/mit/lndir/dist/depcomp | 533 +-
external/mit/lndir/dist/install-sh | 435 +-
external/mit/lndir/dist/lndir.c | 93 +-
external/mit/lndir/dist/missing | 449 +-
16 files changed, 12341 insertions(+), 9679 deletions(-)
diffs (truncated from 28414 to 300 lines):
diff -r 4220a8a97d1f -r 18c82ee35aee external/mit/lndir/dist/ChangeLog
--- a/external/mit/lndir/dist/ChangeLog Sun Jan 08 09:08:50 2023 +0000
+++ b/external/mit/lndir/dist/ChangeLog Sun Jan 08 09:18:26 2023 +0000
@@ -1,3 +1,190 @@
+commit ca7786249d4f0cb1b0ef2c3694dfb89d6c9962a9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Dec 4 16:01:42 2022 -0800
+
+ lndir 1.0.4
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c7f46ebed5d731361ce96ce0745a7b59a53f32ff
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 16:53:57 2022 -0700
+
+ Use strlcat and strlcpy if available
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f8c6c99000e4677ac2d0aab79b8e0ed561f170bc
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 12:28:41 2022 -0700
+
+ Use memmove instead of strcpy for overlapping strings
+
+ strcpy is not guaranteed to work with overlapping arguments.
+ Fortunately this code is only called on paths with multiple
+ consecutive '/' characters.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 719f5b869d21794aeaab6101ed62242626e95f52
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 11:32:41 2022 -0700
+
+ Reduce number of strcmp calls to check directory names for revision control
+
+ Group directory names to match depending on whether they start
+ with a "." or not, when not using -withrevinfo.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d95bc26cd3686d345136b34462cc77b591b459ba
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 11:13:56 2022 -0700
+
+ Fix -Wsign-conversion warning from clang
+
+ lndir.c:174:18: warning: implicit conversion changes signedness: 'nlink_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
+ n_dirs = fs->st_nlink;
+ ~ ~~~~^~~~~~~~
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e0ca083dada62cff23b58e9c55b48c854a436ff8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 11:10:52 2022 -0700
+
+ Fix -Wshorten-64-to-32 warnings from clang
+
+ lndir.c:252:11: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
+ symlen = readlink (dp->d_name, symbuf, sizeof(symbuf) - 1);
+ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ lndir.c:261:19: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
+ basesymlen = readlink(buf, basesym, sizeof(basesym) - 1);
+ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bc75934a8912b237a7f4658d7cf28ddd9a766d41
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 11:07:29 2022 -0700
+
+ Mark global variables as static
+
+ Clears -Wmissing-variable-declarations warnings from clang
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2cddd8041cf5b6369d2216d0ffbdfa2821869215
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Oct 19 11:01:50 2022 -0700
+
+ constify a couple more function arguments
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6f4cd1fc5bbfc64f3998d245b163d8300fae746b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Thu Jul 28 17:30:21 2022 -0700
+
+ gitlab CI: stop requiring Signed-off-by in commits
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d57c95444ef1fee86003e942bdd4b0d9a0e6849c
+Author: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+Date: Mon Mar 9 12:00:52 2015 +0000
+
+ autogen.sh: use quoted string variables
+
+ Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+ fall-outs, when they contain space.
+
+ Signed-off-by: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+ Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 46864fc31ec956c43a1f867e598aba971ed035c4
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Tue Jan 24 10:32:07 2017 +1000
+
+ autogen.sh: use exec instead of waiting for configure to finish
+
+ Syncs the invocation of configure with the one from the server.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+ Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a8a14a9dae71ba66148cc405fab3c1439a5dbc1a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jun 18 09:44:26 2022 -0700
+
+ Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters
+
+ configure.ac:47: warning: AC_OUTPUT should be used without arguments.
+ configure.ac:47: You should run autoupdate.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 223844cf48ed5d889ba224a94503a7e412cdfbb4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 15 15:30:03 2022 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 531d393f8a541565dcdf06269f139a5a1d705861
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Jan 15 15:26:00 2022 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3fa00f11025e84365ac7f02ebd632a83911a4de2
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Fri Dec 7 20:29:29 2018 -0800
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9030aab24e50943703bf6162b9a00151ca9598fa
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Mon Nov 19 23:36:31 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8b1b35bffe2cc6f6f2e2a8255fc8b0a977054516
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date: Thu Jan 26 14:00:22 2017 +1000
+
+ autogen: add default patch prefix
+
+ Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit a3665433034b12c18b8040ffb0fe422139caeb89
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Jun 4 18:15:27 2014 -0700
+
+ autogen.sh: Honor NOCONFIGURE=1
+
+ See http://people.gnome.org/~walters/docs/build-api.txt
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 01e615030ce4e6c9a8eb3316bb072eb1f7d18a10
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Jun 4 18:15:27 2014 -0700
+
+ configure: Drop AM_MAINTAINER_MODE
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
commit 70ac3aeac918c916fffb6b2ee09514f50beb0ce9
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Wed Mar 7 21:50:44 2012 -0800
diff -r 4220a8a97d1f -r 18c82ee35aee external/mit/lndir/dist/INSTALL
--- a/external/mit/lndir/dist/INSTALL Sun Jan 08 09:08:50 2023 +0000
+++ b/external/mit/lndir/dist/INSTALL Sun Jan 08 09:18:26 2023 +0000
@@ -1,11 +1,13 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
- This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
Basic Installation
==================
@@ -13,7 +15,11 @@
Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
-instructions specific to this package.
+instructions specific to this package. Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
@@ -42,7 +48,7 @@
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
-The simplest way to compile this package is:
+ The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
@@ -53,12 +59,22 @@
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
- the package.
+ the package, generally using the just-built uninstalled binaries.
4. Type `make install' to install the programs and any data files and
- documentation.
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the `make install' phase executed with root
+ privileges.
- 5. You can remove the program binaries and object files from the
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior `make install' required
+ root privileges, verifies that the installation completed
+ correctly.
+
+ 6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
@@ -67,8 +83,15 @@
all sorts of other programs in order to regenerate files that came
with the distribution.
- 6. Often, you can also type `make uninstall' to remove the installed
- files again.
+ 7. Often, you can also type `make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide `make
+ distcheck', which can by used by developers to test that all other
+ targets like `make install' and `make uninstall' work correctly.
+ This target is generally not run by end users.
Compilers and Options
=====================
@@ -93,7 +116,8 @@
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+source code in the directory that `configure' is in and in `..'. This
+is known as a "VPATH" build.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
@@ -120,7 +144,8 @@
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
You can specify separate installation prefixes for
Home |
Main Index |
Thread Index |
Old Index