summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2017-04-29prepare version 0.2.10.2.1Gravatar Christian Hesse1-1/+1
2017-04-29extra verbosity from configGravatar Christian Hesse2-0/+9
2017-04-29Do not rely on mDNS...•••... but do resolve the addresses within pacredir. The biggest advantage is that we do no longer require nss-mdns, which tends to fool us in different ways. As requests are done by address rather than host name you can no longer use virtual hosts for pacserve and pacdbserve. But did anybody try that? Gravatar Christian Hesse3-33/+96
2017-04-29prepare version 0.2.00.2.0Gravatar Christian Hesse1-1/+1
2017-04-29update links to point to the readmeGravatar Christian Hesse2-3/+3
2017-04-28Merge branch 'pacredir'Gravatar Christian Hesse10-37/+33
2017-04-28update references to 'pacredir'Gravatar Christian Hesse4-15/+15
2017-04-28rename files to 'pacredir'Gravatar Christian Hesse6-13/+15
2017-04-28drop unit file paccache.serviceGravatar Christian Hesse3-9/+3
2017-03-08use https for my mirrorGravatar Christian Hesse1-1/+1
2017-01-14update copyright for 2017Gravatar Christian Hesse5-5/+5
2017-01-06notify systemd on stopGravatar Christian Hesse1-0/+5
2017-01-05no need to tell systemd the pid•••This is required only when the pid is different from what systemd executed itself. Gravatar Christian Hesse1-1/+1
2016-12-01prepare version 0.1.250.1.25Gravatar Christian Hesse1-1/+1
2016-12-01add systemd dependency in READMEGravatar Christian Hesse1-0/+1
2016-12-01Use systemd service manager notification•••Notify systemd service manager when our initialization sequence completed. Gravatar Christian Hesse4-0/+8
2016-10-12prepare release 0.1.240.1.24Gravatar Christian Hesse1-1/+1
2016-10-12calculate date/time string only when neededGravatar Christian Hesse1-5/+6
2016-10-12make more output depend on verbose (do not print by default)Gravatar Christian Hesse1-19/+37
2016-10-12always pass real port to add_host(), print to verbose outputGravatar Christian Hesse1-5/+8
2016-10-12print only if verboseGravatar Christian Hesse1-7/+10
2016-10-11prepare version 0.1.230.1.23Gravatar Christian Hesse1-1/+1
2016-10-11differentiate between offline and badGravatar Christian Hesse1-1/+6
2016-10-11Be more verbose about badtime, simplify conditionGravatar Christian Hesse1-8/+12
2016-10-11add line breakGravatar Christian Hesse1-1/+2
2016-10-11throttle requestsGravatar Christian Hesse1-0/+4
2016-10-11add comment about ctime stuffGravatar Christian Hesse1-3/+6
2016-10-11print message to stdout, not stderrGravatar Christian Hesse1-1/+1
2016-10-11format condition•••no functional change... Gravatar Christian Hesse1-2/+6
2016-10-11initialize struct timeval just onceGravatar Christian Hesse1-2/+3
2016-10-10prepare version 0.1.220.1.22Gravatar Christian Hesse1-1/+1
2016-10-10remove extra line breakGravatar Christian Hesse1-1/+0
2016-10-10show the more generic information if errbuf is emptyGravatar Christian Hesse1-2/+3
2016-10-10verbose output: returned -> receivedGravatar Christian Hesse1-1/+1
2016-10-10set to error buffer emptyGravatar Christian Hesse1-0/+1
2016-10-10add printing curl error messagesGravatar Christian Hesse1-1/+5
2016-10-10verbose output: do not print useless message•••There is no HTTP status code 0, so this is what we set earlier. Gravatar Christian Hesse1-1/+1
2016-10-10verbose output: error -> http status codeGravatar Christian Hesse1-1/+1
2016-10-06prepare version 0.1.210.1.21Gravatar Christian Hesse1-1/+1
2016-10-06order pacredir service after network{,-online}.targetGravatar Christian Hesse1-1/+1
2016-10-06fix race condition with SIGHUPGravatar Christian Hesse1-2/+7
2016-08-16remove trailing whitespaceGravatar Christian Hesse1-1/+1
2016-05-27prepare version 0.1.200.1.20Gravatar Christian Hesse1-1/+1
2016-05-27rename hook -> hooksGravatar Christian Hesse2-1/+1
2016-05-03fix compiler and linker flags and produce binaries with full RELROGravatar Christian Hesse1-11/+17
2016-01-31prepare version 0.1.190.1.19Gravatar Christian Hesse1-1/+1
2016-01-31use symlinks for pacserve and pacdbserve•••This adds the service names to log, not just 'darkhttpd'. Gravatar Christian Hesse3-2/+5
2016-01-30prepare version 0.1.180.1.18Gravatar Christian Hesse1-1/+1
2016-01-30Merge branch 'pacman-5-0'Gravatar Christian Hesse1-2/+3
2016-01-30add more specific comment about db filesGravatar Christian Hesse1-1/+1
2016-01-30correctly handle *.files and redirect to pacdbserveGravatar Christian Hesse1-1/+2
2016-01-27prepare version 0.1.170.1.17Gravatar Christian Hesse1-1/+1
2016-01-27Merge branch 'darkhttpd-1-12'Gravatar Christian Hesse3-4/+4
2016-01-27darkhttpd supports IPv6 now, no longer limit to IPv4Gravatar Christian Hesse3-4/+4
2016-01-27disable directory listingGravatar Christian Hesse2-2/+2
2016-01-04update copyright for 2016Gravatar Christian Hesse5-5/+5
2015-12-12prepare version 0.1.160.1.16Gravatar Christian Hesse1-1/+1
2015-12-12use MHD_create_response_from_buffer()•••MHD_create_response_from_data() is deprecated, so use MHD_create_response_from_buffer() instead. Gravatar Christian Hesse1-2/+2
2015-12-12allow to limit the number of query threadsGravatar Christian Hesse2-1/+20
2015-07-13prepare version 0.1.150.1.15Gravatar Christian Hesse1-1/+1
2015-07-03add --version optionGravatar Christian Hesse2-4/+19
2015-06-27add some extra security to systemd unitsGravatar Christian Hesse3-0/+12
2015-06-26prepare version 0.1.140.1.14Gravatar Christian Hesse1-1/+1
2015-06-24fix string handling•••iniparser_getstring() returns const char*, but strtok() modifies its first argument. So strdup() and free(). Gravatar Christian Hesse1-3/+10
2015-03-19prepare version 0.1.13•••No changes in a long time... So let's get last commits into a release. 0.1.13Gravatar Christian Hesse1-1/+1
2015-01-04update copyright for 2015Gravatar Christian Hesse5-5/+5
2014-10-21use ISO C11 standard and move includes to header fileGravatar Christian Hesse3-31/+34
2014-10-06pacman should not ask for db signature filesGravatar Christian Hesse1-3/+2
2014-10-06prepare version 0.1.120.1.12Gravatar Christian Hesse1-1/+1
2014-10-06fix guess the fastest server for db files•••New db files were not fetched from upstream servers if one server had a file with same timestamp. Gravatar Christian Hesse1-2/+5
2014-10-05prepare release 0.1.110.1.11Gravatar Christian Hesse1-1/+1
2014-10-05add paccache.service to enable all required servicesGravatar Christian Hesse2-0/+8
2014-10-05try to guess the fastest server for db files as wellGravatar Christian Hesse1-1/+2
2014-09-14add networkmanager dispatcher scriptGravatar Christian Hesse2-0/+8
2014-09-04reformat long functions0.1.10Gravatar Christian Hesse2-10/+40
2014-09-04prepare release 0.1.10Gravatar Christian Hesse1-1/+1
2014-09-04Revert "addow socket activation for pacserve and pacdbserve"•••The Arch Linux darkhttpd package [0] has a unit file for socket activation. Looks like this is wrong, darkhttpd does not support socket activation. [0] https://www.archlinux.org/packages/?name=darkhttpd Gravatar Christian Hesse3-20/+0
2014-09-02prepare version 0.1.90.1.9Gravatar Christian Hesse1-1/+1
2014-09-02dhcpcd-hook: send signal only to exact matchesGravatar Christian Hesse1-1/+1
2014-09-01dhcpcd-hook: change permissionsGravatar Christian Hesse2-1/+1
2014-09-01dhcpcd-hook: just kill if process is runningGravatar Christian Hesse1-2/+4
2014-09-01prepare version 0.1.80.1.8Gravatar Christian Hesse1-1/+1
2014-09-01add upstream URLs to READMEGravatar Christian Hesse1-0/+4
2014-09-01addow socket activation for pacserve and pacdbserveGravatar Christian Hesse3-0/+20
2014-08-29prepare version 0.1.70.1.7Gravatar Christian Hesse1-1/+1
2014-08-29do not use DEBUG macro but command line argument to be verboseGravatar Christian Hesse1-29/+45
2014-07-28prepare release 0.1.60.1.6Gravatar Christian Hesse1-1/+1
2014-07-28have port in struct services, allow to specify host:port in pacredir.confGravatar Christian Hesse2-17/+30
2014-06-16prepare version 0.1.50.1.5Gravatar Christian Hesse1-1/+1
2014-06-16clean whitespaceGravatar Christian Hesse1-1/+1
2014-06-16add debug output for file not foundGravatar Christian Hesse1-0/+4
2014-06-16be a bit less verboseGravatar Christian Hesse1-0/+2
2014-06-16print modification datprint modification dateGravatar Christian Hesse1-1/+5
2014-04-22prepare release 0.1.40.1.4Gravatar Christian Hesse1-1/+1
2014-04-22use write_log() instead of printf()Gravatar Christian Hesse1-1/+1
2014-04-22fix filename in html pagesGravatar Christian Hesse1-2/+2
2014-04-22redirect to project website if no file is givenGravatar Christian Hesse2-0/+12
2014-04-22darkhttpd only serves IPv4, so limit curl to thatGravatar Christian Hesse1-1/+3
2014-04-04prepare version 0.1.30.1.3Gravatar Christian Hesse1-1/+1
2014-03-26add a word about securityGravatar Christian Hesse1-0/+9