termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.95k stars 2.98k forks source link

[Package]: zpaqfranz #19079

Open Uranite opened 7 months ago

Uranite commented 7 months ago

Why is it worth to add this package?

zpaqfranz is an updated fork of zpaq, that has much more features (check out the sidebar for more) compared to zpaq. zpaqfranz takes deduplicated snapshots that is very useful for repeated backups (e.g backups that is ran daily) and very storage efficient compared to other alternative like 7z. I'd like to use it as a storage efficient solution to backup my files.

Home page URL

No response

Source code URL

https://github.com/fcorbelli/zpaqfranz

Packaging policy acknowledgement

Additional information

~ $ git clone https://github.com/fcorbelli/zpaqfranz Cloning into 'zpaqfranz'... remote: Enumerating objects: 1580, done. remote: Counting objects: 100% (203/203), done. remote: Compressing objects: 100% (94/94), done. remote: Total 1580 (delta 128), reused 179 (delta 109), pack-reused 1377 Receiving objects: 100% (1580/1580), 44.13 MiB | 3.45 MiB/s, done. Resolving deltas: 100% (878/878), done. ~ $ cd zpaqfranz

After that, follow these steps: ~/zpaqfranz $ nano Makefile You need to change the BINDIR to BINDIR= $(PREFIX)/bin

~/zpaqfranz $ make install clean cc -O3 -Dunix zpaqfranz.cpp -o zpaqfranz -pthread -lstdc++ -lm install -m 0555 zpaqfranz /data/data/com.termux/files/usr/bin rm -f -f zpaqfranz

zpaqfranz should compile successfully and you can now run zpaqfranz

TomJo2000 commented 7 months ago

The original zpaq appears to be abandoned, So since zpaqfranz is already packaged in place of zpaq, by a good amount of distros, I think it makes sense for us to replace the zpaq package in favor of zpaqfranz.

See the issue below for an analogous situation.