Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161688894
D57953.id181134.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
7 KB
Referenced Files
None
Subscribers
None
D57953.id181134.diff
View Options
diff --git a/lib/libpkgconf/Makefile b/lib/libpkgconf/Makefile
--- a/lib/libpkgconf/Makefile
+++ b/lib/libpkgconf/Makefile
@@ -7,10 +7,35 @@
MANNODEV= pc.5
MANNODEV+= pkgconf-personality.5
-SRCS= audit.c buffer.c cache.c client.c pkg.c bsdstubs.c fragment.c
-SRCS+= argvsplit.c fileio.c tuple.c dependency.c queue.c
-SRCS+= path.c personality.c parser.c
-INCS= bsdstubs.h iter.h libpkgconf-api.h libpkgconf.h stdinc.h
+# from contrib/pkgconf/meson.build:171
+SRCS= argvsplit.c
+SRCS+= audit.c
+SRCS+= buffer.c
+SRCS+= bufferset.c
+SRCS+= bytecode.c
+SRCS+= bsdstubs.c
+SRCS+= cache.c
+SRCS+= client.c
+SRCS+= dependency.c
+SRCS+= fileio.c
+SRCS+= fragment.c
+SRCS+= license.c
+SRCS+= output.c
+SRCS+= parser.c
+SRCS+= path.c
+SRCS+= personality.c
+SRCS+= pkg.c
+SRCS+= queue.c
+SRCS+= tuple.c
+SRCS+= variable.c
+SRCS+= version.c
+
+# from contrib/pkgconf/libpkgconf/meson.build:6
+INCS= libpkgconf.h
+INCS+= stdinc.h
+INCS+= iter.h
+INCS+= bsdstubs.h
+INCS+= libpkgconf-api.h
WARNS?= 3
diff --git a/lib/libpkgconf/libpkgconf/config.h b/lib/libpkgconf/libpkgconf/config.h
--- a/lib/libpkgconf/libpkgconf/config.h
+++ b/lib/libpkgconf/libpkgconf/config.h
@@ -1,34 +1,62 @@
+/* libpkgconf/config.h. Generated from config.h.in by configure. */
/* libpkgconf/config.h.in. Generated from configure.ac by autoheader. */
-/* Define to 1 if you have the `strlcat' function. */
-#define HAVE_STRLCAT 1
+/* Define to 1 if you have the declaration of 'nl_langinfo_l', and to 0 if you
+ don't. */
+#define HAVE_DECL_NL_LANGINFO_L 1
-/* Define to 1 if you have the `strlcpy' function. */
-#define HAVE_STRLCPY 1
+/* Define to 1 if you have the declaration of 'pledge', and to 0 if you don't.
+ */
+#define HAVE_DECL_PLEDGE 0
-/* Define to 1 if you have the `strndup' function. */
-#define HAVE_STRNDUP 1
+/* Define to 1 if you have the declaration of 'readlinkat', and to 0 if you
+ don't. */
+#define HAVE_DECL_READLINKAT 1
-/* Define to 1 if you have the `reallocarray' function. */
-#define HAVE_REALLOCARRAY 1
+/* Define to 1 if you have the declaration of 'reallocarray', and to 0 if you
+ don't. */
+#define HAVE_DECL_REALLOCARRAY 0
-/* Define to 1 if you have the `strlcat' function. */
-#define HAVE_DECL_STRLCAT 1
+/* Define to 1 if you have the declaration of 'strndup', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRNDUP 1
-/* Define to 1 if you have the `strlcpy' function. */
-#define HAVE_DECL_STRLCPY 1
+/* Define to 1 if you have the declaration of 'unveil', and to 0 if you don't.
+ */
+#define HAVE_DECL_UNVEIL 0
-/* Define to 1 if you have the `strndup' function. */
-#define HAVE_DECL_STRNDUP 1
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdio.h> header file. */
+#define HAVE_STDIO_H 1
-/* Define to 1 if you have the `reallocarray' function. */
-#define HAVE_DECL_REALLOCARRAY 1
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
-/* Define to 1 if you have the `pledge' function. */
-/* #undef HAVE_DECL_PLEDGE */
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
-/* Define to 1 if you have the `unveil' function. */
-/* #undef HAVE_DECL_UNVEIL */
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "pkgconf"
@@ -40,7 +68,7 @@
#define PACKAGE_NAME "pkgconf"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "pkgconf 2.5.1"
+#define PACKAGE_STRING "pkgconf 2.9.93"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pkgconf"
@@ -49,29 +77,24 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.5.1"
+#define PACKAGE_VERSION "2.9.93"
-/* Define to 1 if you have the ANSI C header files. */
+/* Define to 1 if all of the C89 standard headers exist (not just the ones
+ required in a freestanding environment). This macro is provided for
+ backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "2.5.1"
-
-/* Enable large inode numbers on Mac OS X 10.5. */
-#ifndef _DARWIN_USE_64_BIT_INODE
-# define _DARWIN_USE_64_BIT_INODE 1
-#endif
+#define VERSION "2.9.93"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
-/* Define for large files, on AIX-style hosts. */
+/* Define to 1 on platforms where this makes off_t a 64-bit type. */
/* #undef _LARGE_FILES */
/* Number of bits in time_t, on hosts where this is settable. */
/* #undef _TIME_BITS */
-/* Enable Solaris extensions. */
-#ifndef __EXTENSIONS__
-# define __EXTENSIONS__ 1
-#endif
+/* Define to 1 on platforms where this makes time_t a 64-bit type. */
+/* #undef __MINGW_USE_VC2005_COMPAT */
diff --git a/packages/pkgconf/pkgconf.ucl b/packages/pkgconf/pkgconf.ucl
--- a/packages/pkgconf/pkgconf.ucl
+++ b/packages/pkgconf/pkgconf.ucl
@@ -25,8 +25,8 @@
pkg-config from freedesktop.org, but does not provide bug-compatibility with
the original pkg-config.
-Also provided is bomtool(1), a program which generates a textual SPDX 2.0
-software bill of materials (SBOM) for a given set of pkg-config modules. The
-output of this tool can then be translated into other SBOM formats as
-necessary.
+Also provided are bomtool(1) and spdxtool(1), programs which generate a software
+bill of materials (SBOM) for a given set of pkg-config modules, in the SPDX
+version 2.2 and 3.0.1 file formats, respectively. The output of these tools can
+then be translated into other SBOM formats as necessary.
EOD
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -236,6 +236,7 @@
SUBDIR.${MK_OPENSSH}+= ssh-copy-id
SUBDIR.${MK_PKGCONF}+= bomtool
SUBDIR.${MK_PKGCONF}+= pkgconf
+SUBDIR.${MK_PKGCONF}+= spdxtool
SUBDIR.${MK_QUOTAS}+= quota
SUBDIR.${MK_SENDMAIL}+= vacation
SUBDIR.${MK_SOUND}+= beep
diff --git a/usr.bin/bomtool/Makefile b/usr.bin/bomtool/Makefile
--- a/usr.bin/bomtool/Makefile
+++ b/usr.bin/bomtool/Makefile
@@ -1,5 +1,6 @@
PACKAGE= pkgconf
+# from contrib/pkgconf/meson.build:257
PROG= bomtool
SRCS= main.c
SRCS+= getopt_long.c
diff --git a/usr.bin/pkgconf/Makefile b/usr.bin/pkgconf/Makefile
--- a/usr.bin/pkgconf/Makefile
+++ b/usr.bin/pkgconf/Makefile
@@ -1,7 +1,9 @@
PACKAGE= pkgconf
+# from contrib/pkgconf/meson.build:246
PROG= pkgconf
SRCS= main.c
+SRCS+= core.c
SRCS+= getopt_long.c
SRCS+= renderer-msvc.c
diff --git a/usr.bin/bomtool/Makefile b/usr.bin/spdxtool/Makefile
copy from usr.bin/bomtool/Makefile
copy to usr.bin/spdxtool/Makefile
--- a/usr.bin/bomtool/Makefile
+++ b/usr.bin/spdxtool/Makefile
@@ -1,18 +1,29 @@
PACKAGE= pkgconf
-PROG= bomtool
+# from contrib/pkgconf/meson.build:266
+PROG= spdxtool
SRCS= main.c
+SRCS+= core.c
+SRCS+= software.c
+SRCS+= serialize.c
+SRCS+= simplelicensing.c
+SRCS+= util.c
+SRCS+= generate.c
SRCS+= getopt_long.c
LIBADD= pkgconf
+.if defined(TOOLS_PREFIX)
+NO_SHARED= yes
+.endif
+
PKGCONFDIR= ${SRCTOP}/contrib/pkgconf
WARNS?= 3
CFLAGS+= -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR} -I${PKGCONFDIR}/cli
-.PATH: ${PKGCONFDIR}/cli/bomtool
+.PATH: ${PKGCONFDIR}/cli/spdxtool
.PATH: ${PKGCONFDIR}/cli
.PATH: ${PKGCONFDIR}/man
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 11:26 PM (9 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34773104
Default Alt Text
D57953.id181134.diff (7 KB)
Attached To
Mode
D57953: pkgconf: match the update to version 2.9.93
Attached
Detach File
Event Timeline
Log In to Comment