mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5154] [MERGED] mkdeb.sh.in: pass remaining arguments to ./configure #5382
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#5382
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/5154
Author: @kmk3
Created: 5/20/2022
Status: ✅ Merged
Merged: 5/30/2022
Merged by: @netblue30
Base:
master← Head:build-clean-up-dist📝 Commits (3)
5247a6cmkdeb.sh.in: remove unused PACKAGE_TARNAME/TOP varsb4d0b24fj-mkdeb.py: run distclean before ./configure9a0fbbdmkdeb.sh.in: pass remaining arguments to ./configure📊 Changes
4 files changed (+20 additions, -36 deletions)
View changed files
📝
.gitlab-ci.yml(+1 -1)📝
Makefile.in(+1 -1)📝
contrib/fj-mkdeb.py(+16 -22)📝
mkdeb.sh.in(+2 -12)📄 Description
Currently, mkdeb.sh (which is used to make a .deb package) runs
./configure with hardcoded options (some of which are automatically
detected based on configure-time variables). To work around the
hardcoding, contrib/fj-mkdeb.py is used to add additional options by
rewriting the actual call to ./configure on mkdeb.sh. For example, the
following invocation adds --disable-firetunnel to mkdeb.sh:
To avoid depending on another script and to avoid re-generating
mkdeb.sh, just let the latter pass the remaining arguments (the first
one is an optional package filename suffix) to ./configure directly.
Example:
Additionally, change contrib/fj-mkdeb.py to do roughly the same as the
above example, by simply forwarding the arguments that it receives to
./mkdeb.sh (which then forwards them to ./configure). Also, remove the
--only-fix-mkdeb option, since the script does not change mkdeb.sh
anymore. With these changes, the script's usage (other than when using
--only-fix-mkdeb) should remain the same.
Note: To clean the generated files and then make a .deb package using
the default configuration, the invocation is still the same:
Note2: Running ./configure in the above examples is only needed for
generating Makefile/mkdeb.sh from Makefile.in/mkdeb.sh.in after running
distclean, so that running
make/./mkdeb.shafterwards works.Should fully fix #772.
Relates to #1205 #3414 #5142 #5148.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.