Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
%b returns blocks, but we want bytes (%z)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
9000 hours is just over one year and probably nobody is ever going to
hit this.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
- reorder options alphabetically
- remove BUGS section since it doesn't apply any more
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Conflicts:
Makefile
fb.pod
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
busybox sh doesn't have it and will now display an error.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This makes the main script able to run alone again.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The server will decode this and use it instead of the filename sent with
the file itself.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Reported-by: Moritz Wilhelmy <moritz+git@wzff.de>
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This allows us to have more than one helper file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Using the bash helper can be forced by running "make LIBCURL=".
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
These will come in handy once -t supports bundling downloaded files (URL
as an argument instead of a file).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If the upload failed and the user supplied multiple URLs, we will find
those on the next run and try to upload them again.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This moves some code, removes a big if/else by bailing early and adds
comments.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
"-t" expands to $TMPDIR (or /tmp if unset), which means, the user can
override in which directory temporary files are created.
This works with GNU mktemp (although GNU deprecated -t) as well as BSD
mktemp (does not replace X by random characters but rather appends them;
this does not matter much) and busybox mktemp (which requires the number
of X's to be exactly 6)
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This removes the dependency on math.h/libm and is easier to understand.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This reverts commit df54bdd9eeb043265a1446f8242037c983047cb0.
The way this was implemented is pretty limited so it's better if the
user runs gpg manually.
Conflicts:
fb.in
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
If $URL is not a URL the upload failed for some reason, so it should not
be added to the history.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|