1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
W E B D A R
REQUIREMENTS
you will need:
- C++ compiler (supporting at least C++14) [tested with gcc/g++ and clang]
- make
- common system libraries and included files
- standard C and standard C++ libraries
- opensssl [1] version >= 3.0.15
- libthreadar [2] vesion >= 1.6.0 (*)
- libdar [3] vers 7.0.0 (dar release 2.8.0) or more recent
- Niels Lohmann Json library [4]
- A web browser (**)
Webdar is known to compile under Linux (x86 and ARM) and FreeBSD
[1] https://www.openssl.org/
[2] https://libthreadar.sourceforge.net/
[3] http://dar.linux.free.fr/
[4] https://github.com/nlohmann/json
(*) Webdar works with libthreadar >= 1.5.2 but with some
standard libraries like musl, it needs 1.6.0 or more recent
to setup stack thread size to larger value than the default
this library uses.
(**)
Supported browsers:
- Firefox has been tested on Linux, Windows and Android
- Google Chrome is known to work on MS Windows
- MS Edge is known to work on MS Windows
Unsupported browsers:
- lynx is known *not* to work and is unsupported
- w3m is know *not* to work and is unsupported
Other browsers supporting HTTP 1.1 should work
INSTALLATION
extract source package and run
./configure
to install webdar type (as root):
make install
Note: if upx is available and detected in the system at the time ./configure
is run, replace 'make install' by 'make install-strip' for the installed binary
to be the smallest possible (upx compressed without the symbol table)
It will be installed under /usr/local
you can specify another place using the the PREFIX
variable:
./configure --prefix=/usr
Last if you want to build a package for a distro, you can use
the DESTDIR variable in addition, and no more require root
priviledge:
make DESTDIR=/tmp install
If you want to uninstall webdar you can use the
'uninstall' target, DESTDIR and/or --prefix should
be the same as the one used at installation step:
make uninstall
or for example:
make DESTDIR=/tmp uninstall
What's next? Read the man page:
man webdar
or simpler, just run webdar and follow the displayed instructions
|