bfdc145d92
Handle 'git checkout' error gracefully
2024-04-19 10:00:50 -03:00
c447d7eb9d
Handle 'git checkout' error gracefully
2024-04-19 09:49:21 -03:00
5619e94670
Quote '_portzap'
2024-04-19 08:00:37 -03:00
2c85e47fdb
Add ${mode}, ${owner} to portzap-pull
2024-04-19 07:58:20 -03:00
1572ea4c1d
Rephrase another error message
2024-04-19 07:43:38 -03:00
589702e7e3
Handle file mode change when switching branch
2024-04-19 07:29:29 -03:00
a4a6253062
Rephrase error message
2024-04-19 06:30:06 -03:00
3e0f09c060
Fix 'make deinstall'
2024-04-19 06:24:05 -03:00
3168b47a45
Reduce doas.conf rules
...
This commit reduces the number of doas.conf rules to 4.
libexec/ scripts now query access permissions rather than
bin/portzap doing it.
2024-04-19 06:22:03 -03:00
b688aa3f78
Add root constraint to libexec/portzap/portzap-install
2024-04-19 05:55:13 -03:00
2ab35924c8
Replace 'portzap setup' with 'setup-portzap'
2024-04-19 05:49:49 -03:00
61f3e3ae08
Fix quotes in bin/portzap
2024-04-19 05:30:51 -03:00
ae5893a685
Replace hard-coded references to /usr/local
2024-04-19 05:23:28 -03:00
94500c260c
Resolve VERSION without '..'
2024-04-19 04:56:39 -03:00
dd0e6c84d7
Replace '$rootdir' with '$localbase'
2024-04-19 04:54:25 -03:00
049f1a5255
Fix shellcheck errors
2024-04-19 04:54:25 -03:00
4aaa685b3d
Switch branch in 'portzap pull'
...
This commit covers a few changes:
* The 'portzap pull' command now switches to '$PORTZAP_BRANCH'
if 'git branch --show-current' returns a different branch.
* The 'portzap pull' command fixes permissions and ownership on
'/home/_portzap/ports/.git' before running any git commands. The
owner and permissions can change by interacting with the
git repository directly, as a user other than '_portzap'.
* doas.conf has been changed to be slightly more strict
2024-04-19 04:15:12 -03:00
3bd40e36c2
README: update
2024-04-18 21:31:54 -03:00
b16722c219
v0.9.4
2024-04-18 20:21:12 -03:00
3c8697f186
Add -v switch
...
And move VERSION to share/portzap/VERSION
2024-04-18 20:21:01 -03:00
6c594ee36e
Fix portzap.8
2024-04-18 17:08:30 -03:00
814806a187
Update docs
2024-04-18 17:06:58 -03:00
899924e0a3
v0.9.3
2024-04-18 16:01:51 -03:00
ea31863354
Walk tree when a new directory is installed
...
Each directory is created separately, from the first directory
that doesn't exist to the last.
2024-04-18 15:57:50 -03:00
e6a79a5111
Set 'install -m xyz' on update
2024-04-18 13:45:01 -03:00
caae2d484b
v0.9.2
2024-04-17 21:35:03 -03:00
6208cf8cbb
Fix typo
2024-04-17 21:07:11 -03:00
fb22ec23a7
Fix more shellcheck
2024-04-17 21:05:17 -03:00
12012f8112
Fix shellcheck
2024-04-17 21:02:58 -03:00
c5afecc284
v0.9.1
2024-04-17 20:57:31 -03:00
8f867952d9
Reorder erase above install
2024-04-17 20:38:34 -03:00
135c64e643
Update docs
2024-04-17 20:30:14 -03:00
50d648f06a
Add "portzap erase"
...
I haven't decided whether or not only root can do this (leaning towards
not), and we might want to be more flexible and let the user choose to
delete one of the two directories. For now it works.
2024-04-17 20:21:34 -03:00
b22f32c12c
v0.9.0
2024-04-17 18:25:33 -03:00
35ff31cb4b
wrap set -x|+x around umask
2024-04-17 18:13:03 -03:00
a6c98489a7
Add $PORTZAP_BRANCH
2024-04-17 18:03:15 -03:00
93af7e94ec
Update portzap-{clone,pull}
2024-04-17 14:32:26 -03:00
3b1f3ca1d6
Docs: update
2024-04-17 14:30:27 -03:00
66da9e93c9
Update umask in portzap-pull
2024-04-17 13:48:59 -03:00
f08fec0a86
Set umask. Expand permissions for _portzap group members
2024-04-17 13:22:00 -03:00
f1ed86acfd
v0.8.2
2024-04-17 07:21:21 -03:00
d99af1d516
Fix the population of doas.conf
...
We weren't populating doas.conf when it had vaguely similar
content already present.
2024-04-17 07:17:03 -03:00
d868030a1c
v0.8.1
2024-04-15 16:52:21 -03:00
8fd81ac5ae
Fix shellcheck errors
2024-04-15 16:50:27 -03:00
786c0d86ff
Replace hard-coded references to /usr/local/
2024-04-15 16:48:06 -03:00
a284e48a4d
v0.8.0
2024-04-15 16:10:27 -03:00
75eb9e804c
Combine find with -delete for empty directories
2024-04-15 15:22:49 -03:00
a6c7ab818a
Improve exclusion logic in find
command
2024-04-15 14:30:00 -03:00
7f9503e715
Fix SC2068 (shellcheck)
2024-04-15 13:12:20 -03:00
a0aeba5f4d
Fix SC2086 (shellcheck)
2024-04-15 13:10:19 -03:00