Commit graph

343 commits

Author SHA1 Message Date
08d97a33c4 Clone without --depth 1
The background for this change was discussed on the HardenedBSD
irc channel. It is known to cause issues with pull later on,
due to hardware constraints on git.hardenedbsd.org.
2023-01-25 16:16:08 -03:00
d72030f6bc Assign rwx to /usr/ports directories owned by _portzap group 2023-01-24 05:32:09 -03:00
bba078f652 s/source_url/ports_url/g 2023-01-24 00:12:08 -03:00
f61f82d674 FIx a small typo in README.md 2023-01-23 19:18:37 -03:00
0359cdadf5 v0.3.1 2023-01-23 11:50:31 -03:00
fc53b4f992 Do not install the ports collection twice
Fix #5
2023-01-23 11:49:17 -03:00
a4e5b2f9be Add clarity to variable names in "install-directory" 2023-01-23 11:12:57 -03:00
98621f5fc5 v0.3.0 2023-01-22 19:48:51 -03:00
0508508b2e Fix alignment of find command 2023-01-22 19:37:37 -03:00
ace1ebb463 Exclude dirs: ".git", ".hooks"
Exclude files: ".gitignore", ".arcconfig"

This change is a follow up to the previous commit that didn't work
as intended.
2023-01-22 19:34:07 -03:00
2775e5f923 Exclude .git, .hooks from 'portzap install' 2023-01-22 11:09:03 -03:00
e8c78f4f0e Add whitespace in conditional (fix has_portzap_access) 2023-01-22 10:57:59 -03:00
9f52040f86 Install directories in alphabetic order 2023-01-22 06:12:24 -03:00
4a22c51a03 bin/install-file: pass multiple files to 'install' cmd 2023-01-22 06:10:37 -03:00
d8b0614da0 v0.2.0 2023-01-20 23:47:44 -03:00
f76410856c Rename variables in bin/portzap 2023-01-20 23:39:47 -03:00
987208af22 Remove unused variables from bin/portzap 2023-01-20 23:32:03 -03:00
c905c61fff libexec/portzap/install-directory is now recursive 2023-01-20 22:53:31 -03:00
98e88abfa8 Add libexec/portzap/install-file 2023-01-20 22:53:20 -03:00
0f08f82e6a Add libexec/portzap/install-directory 2023-01-20 11:06:19 -03:00
20f379d11e Move bin/portzap-install-port to libexec/portzap/install-port 2023-01-20 00:25:58 -03:00
f40cfb9e67 Call -m switch with consistent syntax 2023-01-19 11:30:11 -03:00
db80298d8f Rename "unpack" command to "install" 2023-01-19 10:23:27 -03:00
f08ad32c90 Add portzap-install-port
Add a new script that is responsible for installing a new port
to /usr/ports with the correct permissions.
2023-01-19 10:13:20 -03:00
dd70ed38a7 Prefer "id -u" over "id -u $(whoami)" 2023-01-16 18:04:07 -03:00
db571c70a7 exit_on_missing_deps now accepts the dep(s) as an argument 2023-01-16 12:21:43 -03:00
2a8b2edea8 Update comment 2023-01-15 22:40:26 -03:00
5c660fa2f2 Update comment 2023-01-15 22:40:00 -03:00
03aad0d593 Add semicolons 2023-01-15 22:39:31 -03:00
cc93729996 readme: update 2023-01-15 22:36:35 -03:00
86943a1ff7 readme: update 2023-01-15 22:35:12 -03:00
7708211b7f Add improvements related to changes in recent commits 2023-01-15 22:34:09 -03:00
f5997e36bd readme: update 2023-01-15 22:34:09 -03:00
f73d409d20 Remove the leftovers of 'portzap rmtree' 2023-01-15 22:34:09 -03:00
54124d2d9f Rewrite commands to use '/home/_portzap' 2023-01-15 22:34:09 -03:00
56a73ed635 Add 'portzap init' 2023-01-15 22:34:09 -03:00
a5e6eb4f0f v0.1.0 2023-01-14 19:56:04 -03:00
b188685055 readme: fix 2023-01-14 19:52:50 -03:00
5ab1b157f4 readme: fix 2023-01-14 19:52:19 -03:00
79c59c3634 Add "portzap rmtree" 2023-01-14 19:51:12 -03:00
2307b3ee2b Update help function 2023-01-14 19:26:45 -03:00
412c27542e readme: update 2023-01-14 14:45:46 -03:00
535c05e713 First commit 2023-01-14 14:30:29 -03:00