mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5310] [MERGED] build: add and use TARNAME instead of NAME for paths #5440
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5440
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5310
Author: @kmk3
Created: 8/12/2022
Status: ✅ Merged
Merged: 8/14/2022
Merged by: @netblue30
Base:
master← Head:build-use-tarname📝 Commits (5)
0d20026config.mk.in: move CC variable near CFLAGS3bb8064config.mk.in: move basic variables to the top9a45c34build: rename DOCDIR to docdir891fd02build: add new TARNAME variable7bbcf7ebuild: use TARNAME instead of NAME for paths📊 Changes
4 files changed (+22 additions, -19 deletions)
View changed files
📝
Makefile(+12 -12)📝
config.mk.in(+7 -5)📝
config.sh.in(+1 -0)📝
mkdeb.sh(+2 -2)📄 Description
PACKAGE_TARNAME is the same as PACKAGE_NAME but normalized, so it should
be safer to use in paths. For example, on a downstream project, if
spaces or shell metacharacters are added to the package name, a path
that uses PACKAGE_TARNAME should keep working.
From the manual of GNU Autoconf (version 2.69):
Note also that by default (on autoconf v2.69),
DOCDIR=@docdir@inconfig.mk.in expands to the following in config.mk:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.