Created attachment 252341 [details] Shar file for the port. This is a port of CryptPad, the open source, end-to-end encrypted collaboration suite. Original project code: https://github.com/cryptpad/cryptpad.
Created attachment 254587 [details] Patch to add CryptPad as an available FreeBSD port in the ports collection.
Created attachment 254858 [details] Diff for adding CryptPad as a port to FreeBSD. This patch is being submitted to update the maintainer info. Diff for adding CryptPad as a port to FreeBSD. This patch is being submitted to update the maintainer info.
Created attachment 255883 [details] Updating port to latest release, 2024.9.1 This patch adds the latest release of CryptPad, 2024.9.1, to the FreeBSD ports tree under www/CryptPad.
Created attachment 255919 [details] Updating port to latest release of CryptPad, 2024.12.0 This patch updates the port to the latest release of CryptPad, 2024.12.0.
Created attachment 255920 [details] Re-submitting for Release 2024.9.1 as it was not properly submitted. I am resubmitting for release 2024.9.1 as I submitted a `git diff` rather than a patch.
Created attachment 255921 [details] Patch for updating to latest release 2024.12.0 This is a patch to be applied on top of the previous patch to update the port to the latest release 2024.12.0.
Created attachment 260189 [details] This diff updates CryptPad to the latest release, 2025.3.0 This patch updates the port to CryptPad 2025.3.0 (latest release).
First off, thanks for making this port. :) Hint: You should probably change the user reported as submitting the patch to the user set as MAINTAINER. eg; Charlie Root <root@fbsd-dev.uwu> --> Tyler <tyler.clark@foxide.xyz> The easiest way to accomplish this is from the root of your git tree, perform: $ git config user.email "tyler.clark@foxide.xyz" $ git config user.name "Tyler" Do this prior to hacking in the tree. This will set the correct From: line in the patch . Thanks again. Looking forward to this.
NOTE: You'll also need to add CryptPad to the www category. This is done in www/Makefile -- note that this list is sorted alphabetically. So keep it that way. :)
Created attachment 260275 [details] Updating ports files to correct issues pointed out in previous comment. I appreciate you informing me on those issues. I have corrected them as well as improved some issues I didn't catch before submitting the previous patch. It should hopefully be correct now. Please let me know if further issues are found.
(In reply to Tyler from comment #10) OK the patch looks functional. But it's got some formatting issues -- see; style(9) for a better understanding. If you're going to be a maintainer, you're going to need to install some ports maintenance tools. At a minimum: ports-mgmt/portlint ports-mgmt/portfmt which also includes portclippy After installing them. From your www/CryptPad folder run: portlint -AC portfmt -D Makefile portclippy Makefile In that order. Correcting any mistakes they each indicate before moving to the next command. This will ensure your ports submission is properly formatted and will work as intended. If any of these tests fail. The port will be rejected.
NOTE: You'll probably want to perform a make clean distclean prior running those commands. As portlint(1) will bombard you with informative WARNS. That you don't necessarily need to care about at this point. :)
Created attachment 260300 [details] Adding the port, and fixing the fortmatting errors I have corrected the errors that those commands gave. Thank you for the advise, I will remember those commands in the future.