aboutsummaryrefslogtreecommitdiffstats
path: root/src/firecfg
Commit message (Collapse)AuthorAge
* new profile: gdu (#5289)Libravatar glitsj162022-08-09
| | | | | | | | | | | | | | | * add gdu to 'new profiles' section * Create gdu.profile * add gdu to firecfg * harden gdu sandbox * fix protocol * simulate empty protocol in gdu * more user-friendly gdu sandboxing
* makefiles: add generated files as dependenciesLibravatar Kelvin M. Klann2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the previous commit ("makefiles: stop failing when config.mk does not exist", 2022-06-23), make will not immediately fail when trying to build a target without having the proper compile-time flags (which are defined on common.mk). For example, when running the command below: make distclean && make It will throw an error only after (mis-)compiling multiple objects. So add a dependency on config.mk on every target that uses output variables (such as @NAME@ / $(NAME)) on its recipe. And add a dependency on config.sh on targets that call shell scripts that use output variables (such as @NAME@ / $NAME). Also, add a recipe for config.mk / config.sh telling to run ./configure, to make it a bit more obvious just in case. With this commit, make will abort earlier, by detecting that the config.mk / config.sh dependency does not exist. This happens before trying to execute the recipe. This also makes the dependencies more accurate, since if config.mk (which defines some CFLAGS) is changed, the CFLAGS may also have changed, so a target that uses CFLAGS should probably be considered out of date in this case anyway. Relates to #5140.
* build: reduce autoconf input files from 32 to 2Libravatar Kelvin M. Klann2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure summary: autoconf essentially only parses configure.ac and generates the configure script (that is, the "./configure" shell script). The latter is what actually checks what is available on the system and internally sets the value of the output variables. It then, for every filename foo in AC_CONFIG_FILES (and for every output variable name BAR in AC_SUBST), reads foo.in, replaces every occurrence of `@BAR@` with the value of the shell variable `$BAR` and generates the file foo from the result. After this, configure is finished and `make` could be executed to start the build. Now that (as of #5140) all output variables are only defined on config.mk.in and on config.sh.in, there is no need to generate any makefile nor any other mkfile or shell script at configure time. So rename every "Makefile.in" to "Makefile", mkdeb.sh.in to mkdeb.sh, src/common.mk.in to src/common.mk and leave just config.mk and config.sh as the files to be generated at configure time. This allows editing and committing all makefiles directly, without potentially having to run ./configure in between. Commands used to rename the makefiles: $ git ls-files -z -- '*Makefile.in' | xargs -0 -I '{}' sh -c \ "git mv '{}' \"\$(dirname '{}')/Makefile\"" Additionally, from my (rudimentary) testing, this commit reduces the time it takes to run ./configure by about 20~25% compared to commit 72ece92ea ("Transmission fixes: drop private-lib (#5213)", 2022-06-22). Environment: dash 0.5.11.5-1, gcc 12.1.0-2, Artix Linux, ext4 on an HDD. Commands used for benchmarking each commit: $ : >time_configure && ./configure && make distclean && for i in $(seq 1 10); do { time -p ./configure; } 2>>time_configure; done $ grep real time_configure | awk '{ total += $2 } END { print total/NR }'
* makefiles: define root dir and include relative to itLibravatar Kelvin M. Klann2022-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A non-absolute path on an include command is always treated as being relative to the directory in which "make" was started in, rather than being relative to the makefile that contains the command. For example, given the following project structure and file contents: * Makefile: include src/foo.mk * src/foo.mk: include bar.mk * src/bar.mk: Running "make" on the root project directory (that is, where "Makefile" is) yields the following: src/foo.mk:1: bar.mk: No such file or directory As "bar.mk" in "include bar.mk" is relative to the current (process) directory (that is, "./bar.mk") and not to where foo.mk is located in ("./src/bar.mk"). So on every makefile that contains an include command, define the root project directory in the ROOT variable and always include relative to it, to later enable any included mkfiles to include other mkfiles without having to worry about the correct path. Commands used to search and replace: $ git grep -Flz 'include ../common.mk' -- src | xargs -0 -I '{}' sh -c \ "printf '%s\n' \"\`sed 's|include ../common.mk|ROOT = ../..\ninclude \$(ROOT)/src/common.mk|' '{}'\`\" >'{}'" Environment: GNU make 4.3-3.1 on Artix Linux
* fix typo in firejail-welcome.shLibravatar PizzaDude2022-06-10
|
* more on firecfg --guide: fzenityLibravatar netblue302022-04-25
|
* fix firecfg --guideLibravatar netblue302022-04-21
|
* firejail-welcome.sh fixesLibravatar rusty-snake2022-04-21
| | | | | | | - fix shellcheck - break long lines - remove unseless $? check - remove needless \\
* more on firecfg --guideLibravatar netblue302022-04-21
|
* firecfg --guideLibravatar netblue302022-04-19
|
* resurecting welcome.shLibravatar netblue302022-04-19
|
* adding ping in firecfg list (#1912)Libravatar netblue302022-03-24
|
* Merge pull request #4990 from chestnykh/user_profilesLibravatar netblue302022-03-05
|\ | | | | Add ability to disable user profiles at compile time.
| * Add ability to disable user profiles at compile time.Libravatar Dmitry Chestnykh2022-02-28
| |
* | add opera-developer.profile (#5001)Libravatar glitsj162022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add opera-developer to firecfg * add opera-developer * fix typo * add configs for opera-developer * Create opera-developer.profile * fixes for opera-developer * fix for opera-developer
* | add onionshare redirects (#4957)Libravatar glitsj162022-02-18
|/ | | | | | | * Create onionshare.profile * Create onionshare-cli.profile * add onionshare redirects to firecfg.config
* Merge pull request #4829 from CaseOf/seafileLibravatar netblue302022-01-24
|\ | | | | Seafile
| * add seafile-appletLibravatar CaseOf2022-01-06
| |
* | Merge pull request #4873 from reedriley/cointopLibravatar netblue302022-01-24
|\ \ | | | | | | add a profile for cointop
| * | add a profile for cointopLibravatar Reed Riley2022-01-21
| | |
* | | add a profile for 1password (#4874)Libravatar Reed Riley2022-01-21
|/ /
* | raincatLibravatar netblue302022-01-14
| |
* | add wget2 to firecfg.configLibravatar glitsj162022-01-13
| |
* | Merge pull request #4826 from adrianlshaw/masterLibravatar netblue302022-01-08
|\ \ | | | | | | RPCS3 profile
| * | Add rpcs3 profileLibravatar Adrian L. Shaw2022-01-06
| |/
* / 2022 copyright updateLibravatar netblue302022-01-07
|/
* add notableLibravatar glitsj162022-01-05
|
* firecfg fix (#4235)Libravatar netblue302021-12-21
|
* Add new cachy-browser profileLibravatar Vladislav Nepogodin2021-12-06
|
* Add a profile for FlatsealLibravatar Hugo Osvaldo Barrera2021-12-03
|
* Merge pull request #4681 from jmetrius/openstego-profileLibravatar netblue302021-11-13
|\ | | | | Add OpenStego profile
| * Add OpenStego profileLibravatar Jan Sonntag2021-11-12
| |
* | telnet and ftpLibravatar netblue302021-11-12
|/
* Relocate firecfg.config to /etc/firejail/Libravatar Hank Leininger2021-11-05
| | | | | | | | | | | | This should make it easier for users, and distributions, to customize which programs they want firejail to wrap. Also fixed some firecfg.cfg -> firecfg.config references. Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://github.com/netblue30/firejail/issues/408 Bug: https://github.com/netblue30/firejail/issues/2097 Bug: https://github.com/netblue30/firejail/issues/2829 Bug: https://github.com/netblue30/firejail/issues/3665
* Sort src/firecfg/firecfg.configLibravatar rusty-snake2021-10-27
|
* Add profiles for imv, retroarch, and torbrowserLibravatar crocket2021-10-17
| | | | | imv, retroarch, and torbrowser are also added to firecfg.config
* Add codium.profile as a redirect to vscodium.profileLibravatar Kelvin M. Klann2021-10-04
| | | | | | | | | | | | | | | | | | Both base names are valid: $ grep '^NAME' /etc/os-release NAME="Artix Linux" $ pacman -Q vscodium-bin vscodium-bin 1.60.2-2 $ pacman -Qlq vscodium-bin | grep -v -e '/$' -e /resources/ | grep /bin/ /usr/bin/codium /usr/bin/vscodium /usr/share/vscodium-bin/bin/codium Note: The first two paths are symlinks to the third one. Fixes #3871.
* Create goldendict.profileLibravatar lecso72021-09-20
|
* Merge pull request #4486 from pirate486743186/yt-dlp-profileLibravatar netblue302021-08-30
|\ | | | | create yt-dlp.profile
| * create yt-dlp.profileLibravatar pirate4867431862021-08-27
| |
* | creating gallery-dl.profileLibravatar pirate4867431862021-08-27
|/
* removed dependency on strace for --build option; added seccomp by default ↵Libravatar netblue302021-07-29
| | | | for --build run
* add firecfg support for ncdu2Libravatar glitsj162021-07-26
|
* Complete 42a03511d0877690276da83bf548635d7e8ca693Libravatar Fred Barclay2021-07-23
| | | | | | | | Add ms-edge-beta paths to disable-programs.inc Support firecfg Adding to release notes (already added to README.md)
* new profilesLibravatar rusty-snake2021-07-20
|
* Fix clionLibravatar Vladislav Nepogodin2021-07-07
| | | | | Add new clion-eap profile Fix broken clion profile
* creating alpine.profile (#4350)Libravatar pirate4867431862021-06-21
| | | | | | | | | | | | | | | | | | | | | * firecfg.config alpine * Create alpinef.profile * Create alpine.profile * disable-programs.inc alpine * workaround in comment * Update etc/profile-a-l/alpine.profile Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * deactivating whitelists in ${HOME} * comment Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
* mcomix profile creation (#4338)Libravatar pirate4867431862021-06-10
| | | | | | | | | | | * mcomix * Create mcomix.profile * tightening * fixes * comment
* qcomicbookLibravatar pirate4867431862021-06-06
|
* creating googler and ddgr profiles (#4333)Libravatar pirate4867431862021-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Create googler-common.profile * Create googler.profile * Create ddgr.profile * Update firecfg.config * sort fix * space * space * tightening * comment * fix comment * fix private-etc and ${DOWNLOADS} * fix sort * redundant ${DOWNLOADS}