aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2017-11-28fix memory corruption with libmicrohttpd•••We had a race where page was freed before the queue finished. Tell libmicrohttpd it has to free itself. Gravatar Christian Hesse1-4/+3
2017-11-28allow HEAD requestsGravatar Christian Hesse1-1/+1
2017-11-22use printf to generate version.hGravatar Christian Hesse1-3/+1
2017-10-30set basename for proper html output in responseGravatar Christian Hesse1-1/+1
2017-10-20prepare version 0.3.10.3.1Gravatar Christian Hesse1-1/+1
2017-10-20allow to specify uid and gid in config.hGravatar Christian Hesse2-1/+5
2017-10-19use annotated (and signed) tags onlyGravatar Christian Hesse1-1/+1
2017-10-19try to drop root privilegesGravatar Christian Hesse1-0/+8
2017-10-19implement simple counters for systemctl statusGravatar Christian Hesse1-0/+12
2017-10-10allocate a dynamic usersystemd-v232Gravatar Christian Hesse3-6/+3
2017-05-13prepare version 0.3.00.3.0Gravatar Christian Hesse1-1/+1
2017-05-13use a smarter way to determine architectureGravatar Christian Hesse4-61/+7
2017-05-13prepare for reproducible buildsGravatar Christian Hesse2-2/+5
2017-05-13update version stringsGravatar Christian Hesse1-3/+4
2017-05-13add distribution ID to avahi service names•••Now that we have pacredir in official repositories... ArchLinux ARM will have the package as well, having package names (at least for 'any') clash. So add distribution ID to avahi service names. This is incompatible with pacredir < 0.2.3, so make sure to update all your installations. Gravatar Christian Hesse5-10/+17
2017-05-13add comment about IPv6 addresses in manual hostsGravatar Christian Hesse1-1/+2
2017-05-13more details about protocols in configGravatar Christian Hesse1-1/+2
2017-05-02prepare version 0.2.20.2.2Gravatar Christian Hesse1-1/+1
2017-05-02Merge branch 'ipv6'Gravatar Christian Hesse3-29/+65
2017-05-02add configuration option for protocol (IPv4 vs. IPv6)Gravatar Christian Hesse2-2/+25
2017-05-02(re-)add support for IPv6Gravatar Christian Hesse2-29/+42
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