Commit Graph

471 Commits

Author SHA1 Message Date
Jerome Charaoui
d57ffacd05 Add uninstall Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui
29acb2d804 Rename OBJ to COBJS 2019-04-24 04:21:10 +01:00
Jerome Charaoui
724fac83de Add standard all and distclean targets 2019-04-24 04:21:10 +01:00
Jerome Charaoui
dd4e9d5517 Put compiler flags before dash options
Again, that's more in line with the standard
2019-04-24 04:21:10 +01:00
Jerome Charaoui
14ca3bca20 Install manpage in install Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui
b0fc0170f3 Use lowercase prefix in Makefile
It's more in line with the standard
2019-04-24 04:21:09 +01:00
Jerome Charaoui
0d2ffb309e Simplify install Makefile target 2019-04-24 04:21:09 +01:00
Jerome Charaoui
854001d1ec Defining CC is unneccessary
It normally refers to /usr/bin/cc which is a symlink to the preferred
compiler. Removing it from the Makefile allows one to explicitly define
a different compiler at build-time.
2019-04-24 04:21:09 +01:00
Jerome Charaoui
d65352e3fb Add a manpage 2019-04-24 04:21:09 +01:00
Jerome Charaoui
2ccd66021d Fix output of --version/-V 2019-04-24 04:21:09 +01:00
Fufu Fang
fcf5092a80 Update README.md 2019-04-24 04:21:09 +01:00
Jerome Charaoui
b2a84570a9 Move linker flags from CFLAGS into LDFLAGS 2019-04-24 04:21:09 +01:00
Jerome Charaoui
8ea46f896b Default install target to use /usr/local prefix
While also allowing to customise PREFIX and DESTDIR
2019-04-24 04:21:09 +01:00
Jerome Charaoui
19e825aa72 Allow adjusting compilation flags in Makefile 2019-04-24 04:21:09 +01:00
Jerome Charaoui
0bcaff7760 Add OpenSSL exception to LICENCE 2019-04-24 04:21:09 +01:00
Jerome Charaoui
08c30b84e6 Fix a small typo 2019-04-24 04:21:09 +01:00
Fufu Fang
92852accda Update README.md 2019-04-24 04:21:09 +01:00
Jerome Charaoui
ed6e554447 Fix basic authentication problem, fixes #13
This assigns username and password command-line values to the correct internal variables.
2019-04-24 04:21:09 +01:00
Fufu Fang
6e71abe8cc Update README.md 2019-04-24 04:20:53 +01:00
Fufu Fang
f8c9389026 Fixed bug related to the config file parser
Basically, getopt_long does not expect you to call another string array - it
has some internal state tracking mechanism which I have no idea how to reset.
2019-04-24 04:20:53 +01:00
Fufu Fang
dcc9e3d156 fixed indentation 2019-04-24 04:20:53 +01:00
Fufu Fang
3dc3459b25 now process short options 2019-04-24 04:20:53 +01:00
Fufu Fang
bc24d42c76 added configuration file support 2019-04-24 04:20:53 +01:00
Fufu Fang
92750ebcaa isolated out the actual parameter parsing code, in preparation for configuration file 2019-04-24 04:20:53 +01:00
Fufu Fang
f417f6d9d2 updated README 2019-04-24 04:20:53 +01:00
Fufu Fang
bde7eb7e3b add proxy support 2019-04-24 04:20:53 +01:00
Fufu Fang
8c4e2b0c81 added username and password support 2019-04-24 04:20:53 +01:00
Fufu Fang
1616b01c4c now properly prints out help 2019-04-24 04:20:52 +01:00
Fufu Fang
2480d9abb1 added getopt_long 2019-04-24 04:20:52 +01:00
Fufu Fang
c897bb0589 fixed .kateproject 2019-04-24 04:20:52 +01:00
Fufu Fang
7383308e0f tidying 2019-04-24 04:20:52 +01:00
Fufu Fang
ea14adca98 removed excess include directive 2019-04-24 04:20:52 +01:00
Fufu Fang
684831a961 split link related function to link.h 2019-04-24 04:20:52 +01:00
Fufu Fang
46c98be116 moved fuse function to a separate file 2019-04-24 04:20:52 +01:00
Fufu Fang
34c8b58433 Set curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 15); 2019-04-24 04:20:52 +01:00
Fufu Fang
9e0af0e279 more info messages, now Link_get_stat() has a timeout 2019-04-24 04:20:52 +01:00
Fufu Fang
b5042a85d0 performance turning 2019-04-24 04:20:52 +01:00
Fufu Fang
0f9b28fd80 fixed yet another memory leak 2019-04-24 04:20:52 +01:00
Fufu Fang
c48a3b2c9e spellings 2019-04-24 04:20:52 +01:00
Fufu Fang
6fd7baf604 decrease cpu usage by sleeping 2019-04-24 04:20:52 +01:00
Fufu Fang
141b951ca8 renamed some functions 2019-04-24 04:20:52 +01:00
Fufu Fang
67d37a4334 passed source code through astyle 2019-04-24 04:20:52 +01:00
Fufu Fang
f8704bf4f9 rearranged function in network.c in alphabetical order 2019-04-24 04:20:52 +01:00
Fufu Fang
94e0f51ec6 fixed du file size 2019-04-24 04:20:52 +01:00
Fufu Fang
ff8a08a3f1 now files and directories have the correct owner 2019-04-24 04:20:52 +01:00
Fufu Fang
3c27529f48 changed linktable printing function to a static function 2019-04-24 04:20:52 +01:00
Fufu Fang
6bff4f9d7f updated Makefile 2019-04-24 04:20:52 +01:00
Fufu Fang
fac92a8994 removed unnecessary conditional compilation directives 2019-04-24 04:20:52 +01:00
Fufu Fang
d35ee04a6d tidy up some more stuff - changed some of the status messages 2019-04-24 04:20:52 +01:00
Fufu Fang
1437a3f65c tidy up some random bits and pieces 2019-04-24 04:20:52 +01:00