Commit Graph

65 Commits

Author SHA1 Message Date
Chocobo1
abfc89922c
Add 7zip tool
Some checks failed
CI / CI (linux/amd64) (push) Has been cancelled
Release - Alpha / Build (linux/amd64) (push) Has been cancelled
Closes #49.
2024-11-13 22:34:47 +08:00
Chocobo1
3b2911fb5b
Bump to 5.0.0-1
Some checks failed
CI / CI (linux/amd64) (push) Has been cancelled
Release - Alpha / Build (linux/amd64) (push) Has been cancelled
2024-09-30 16:28:27 +08:00
Chocobo1
869fe303fc
Revise the section about legal notice 2024-09-30 16:25:52 +08:00
Chocobo1
a7eb530ce5
Use CMake flag for requiring C++20 2024-07-26 15:23:34 +08:00
Chocobo1
3625c9ef8b
Compile libtorrent in C++20 mode
As qbt require C++20 too.
2024-07-24 15:29:40 +08:00
Chocobo1
757708a742
Rename variable
Previous name was better.
2024-07-21 18:51:02 +08:00
Chocobo1
e36b3abb11
Use libtorrent git branch 2024-07-21 18:31:00 +08:00
Chocobo1
2d41945ee0
Drop version key
It is declared obsolete by docker compose.
https://github.com/docker/compose/issues/11628
2024-05-18 12:23:20 +08:00
Chocobo1
bee722307c
Update user ID and group ID only when necessary 2024-05-18 11:48:54 +08:00
Chocobo1
c258917096
Update description about logging in 2024-01-28 01:19:04 +08:00
Chocobo1
5ecb877fad
Shrink executable size 2024-01-11 04:04:32 +08:00
Chocobo1
1d964be6e6
Check directory existence before performing operations on it
This is to support the use case where user has their own download
directory and don't use the hardcoded `/downloads` path.
Fixes #20.
2023-12-23 16:10:14 +08:00
Chocobo1
a9d8a19ce6
Install run-time dependencies earlier
To prevent some package (from alpine repo) is updated in the meantime of building image and
causing version mismatch.
2023-12-21 17:13:27 +08:00
Chocobo1
54b4b230ab
Create an up-to-date image as the base for further actions 2023-11-28 16:28:56 +08:00
Chocobo1
e538c1bd8f
Add backward compatibility for environment variable
The new `QBT_LEGAL_NOTICE` variable will obsolete `QBT_EULA`. Its appearance (and therefore
documentation) is scheduled at the next major qbt release.
2023-11-26 15:56:35 +08:00
Chocobo1
8095086630
Revert "Remove unused build option"
This option is still in-use for v4.6.x branch.
This reverts commit b77be90f9a.
2023-10-23 14:36:30 +08:00
Chocobo1
b77be90f9a
Remove unused build option 2023-10-10 01:46:45 +08:00
Chocobo1
a27e526829
Fix program did not exit cleanly
When running `docker compose down`, docker sends SIGTERM to tini and tini sends it to all child
programs (`entrypoint.sh` and therefore qbt-nox and its child programs). However `entrypoint.sh`
exits quite quickly and qbt was still cleaning up but tini detects that its first child process
(`entrypoint.sh`) is exited so itself exits too and leading to docker shutting down the
container abruptly.
Now qbt-nox is being placed as the first child process of tini.

Thanks to @thrnz for providing a fix.
Fixes #9.
2023-05-24 18:47:31 +08:00
Chocobo1
d5e04b940d
Update libtorrent to 1.2.19 2023-05-22 18:35:45 +08:00
Chocobo1
c08c142c6a
Add quotes to variable 2023-03-26 15:39:19 +08:00
Chocobo1
799fed1dcc
Add default value for WebUI port 2023-03-26 15:39:19 +08:00
Chocobo1
b193ef5c8f
Revise login address 2023-03-26 15:38:55 +08:00
Chocobo1
bd8c87dfea
Use case-insensitive check for EULA
And trim whitespaces along the way.
2023-03-21 13:35:54 +08:00
Chocobo1
bf1561ecec
Always check for EULA env variable
Otherwise if the first run fails, there won't be easy way to fix it.
2023-03-21 13:28:30 +08:00
Chocobo1
e5ba1b6b93
Add support for SQLite 2023-03-08 02:36:35 +08:00
Chocobo1
65f3375dea
Use proper capitalization 2023-02-06 13:09:34 +08:00
Chocobo1
5c5cd89f35
Add support for setting umask (#7)
Closes #6.
2023-02-06 13:01:59 +08:00
Chocobo1
ebbc83b551
Revise explanation for TZ environment variable 2023-02-06 12:48:36 +08:00
Chocobo1
c8eb67aa48
Add support for setting additional groups (#5)
Closes #4.
2023-02-02 17:32:45 +08:00
Chocobo1
f7879f014e
Fix change directory 2023-01-29 14:42:24 +08:00
Chocobo1
03ac3722c3
Document how to run gdb debugger 2023-01-22 15:46:13 +08:00
Chocobo1
afa770fc2c
Sort ldd output 2023-01-22 15:46:13 +08:00
Chocobo1
21b87e5d2c
Record compile-time Software Bill of Materials (sbom) 2023-01-22 15:46:13 +08:00
Chocobo1
d818623fbb
Use git to retrieve latest qbt source code 2023-01-15 13:35:29 +08:00
Chocobo1
832e81f0b4
Ignore error code when patch is obsoleted 2023-01-15 13:34:58 +08:00
Chocobo1
bc49463e35
Add support for passing libtorrent build flags 2023-01-14 04:24:36 +08:00
Chocobo1
a8b19ce88b
Add support for building latest libtorrent version 2023-01-14 04:24:30 +08:00
Chocobo1
f7183f6738
Download tarball format
Its file size is smaller than .zip.
2023-01-14 02:37:30 +08:00
Chocobo1
742ed1d7bf
Increase fortification level
Need to undefine it first to suppress warnings because alpine gcc has it hardcoded.
2023-01-12 15:03:29 +08:00
Chocobo1
7b34e6b18c
Swap commands
This has better behavior for docker cache.
2023-01-09 13:09:11 +08:00
Chocobo1
238cfa6825
Remove redundant command 2023-01-08 02:56:11 +08:00
Chocobo1
65529b75e7
Drop unsupported security harden flag
Seems `-fcf-protection` is only supported on i686 architecture.
2023-01-07 15:03:22 +08:00
Chocobo1
de7e7e9f8f
Use libtorrent 1.2 2023-01-07 14:19:43 +08:00
Chocobo1
8b3b8e0c4a
Suppress unzip noise 2023-01-06 19:35:53 +08:00
Chocobo1
667b42b506
Ship debug symbols
Otherwise debugging in gdb is useless.
2023-01-06 19:35:52 +08:00
Chocobo1
7c5969b42c
Build libtorrent as static library 2023-01-06 19:35:48 +08:00
Chocobo1
4ecb36407b
Build libtorrent-rasterbar ourselves 2023-01-06 19:31:07 +08:00
Chocobo1
c8cdb4d51e
Add missing path separator 2023-01-06 19:31:07 +08:00
Chocobo1
d6712e43d2
Add compiler flags for hardening 2023-01-06 19:31:01 +08:00
Chocobo1
5c48bdc6d7
Simplify build flags 2023-01-04 14:10:44 +08:00