Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161695512
D57953.id181108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D57953.id181108.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/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/spdxtool/Makefile b/usr.bin/spdxtool/Makefile
new file mode 100644
--- /dev/null
+++ b/usr.bin/spdxtool/Makefile
@@ -0,0 +1,30 @@
+PACKAGE= pkgconf
+
+# 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/spdxtool
+.PATH: ${PKGCONFDIR}/cli
+.PATH: ${PKGCONFDIR}/man
+
+.include <bsd.prog.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 7, 12:49 AM (10 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34760268
Default Alt Text
D57953.id181108.diff (3 KB)
Attached To
Mode
D57953: pkgconf: match the update to version 2.9.93
Attached
Detach File
Event Timeline
Log In to Comment