summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-05prepare version 0.4.00.4.0Gravatar Christian Hesse1-1/+1
2018-07-05Merge branch 'bind-mount'Gravatar Christian Hesse14-174/+72
2018-07-05drop 'struct services'Gravatar Christian Hesse2-44/+34
Now that we have just one service this can be merged with 'struct hosts'.
2018-07-04use private bind mounts for pacserve, remove pacdbservesystemd-v233Gravatar Christian Hesse14-138/+46
We want just one service to serve database files and package archives. Private bind mounts make both available to pacserve. This alse removes some complexity in pacredir.
2018-06-11update dependencies' upstream urlsGravatar Christian Hesse1-6/+6
2018-06-08remove trailing spacesGravatar Christian Hesse1-2/+2
2018-06-08make gitlab.com a mirrorGravatar Christian Hesse1-2/+6
https://blog.github.com/2018-06-04-github-microsoft/
2018-06-06release: write tar signature to git notesGravatar Christian Hesse1-0/+1
2018-01-02add documentation link in systemd unit fileGravatar Christian Hesse1-0/+1
2018-01-02update copyright for 2018Gravatar Christian Hesse3-3/+3
2017-12-13prepare version 0.3.30.3.3Gravatar Christian Hesse1-1/+1
2017-12-13make the documentation match the real outputGravatar Christian Hesse1-1/+1
2017-12-13enable TCP fastopen optionGravatar Christian Hesse1-1/+1
2017-12-13use ipv4 loopback address explicitlyGravatar Christian Hesse1-1/+1
Depending on the system configuration 'loopback' can resolve to an IPv4 or IPv6 loopback address. As we bind to 127.0.0.1 use the same address here.
2017-11-28prepare version 0.3.20.3.2Gravatar Christian Hesse1-1/+1
2017-11-28do not return EXIT_FAILURE but goto failGravatar Christian Hesse1-1/+1
2017-11-28fix memory corruption with libmicrohttpdGravatar Christian Hesse1-4/+3
We had a race where page was freed before the queue finished. Tell libmicrohttpd it has to free itself.
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 namesGravatar Christian Hesse5-10/+17
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.
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...Gravatar Christian Hesse3-33/+96
... 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?
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 pidGravatar Christian Hesse1-1/+1
This is required only when the pid is different from what systemd executed itself.
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 notificationGravatar Christian Hesse4-0/+8
Notify systemd service manager when our initialization sequence completed.
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 conditionGravatar Christian Hesse1-2/+6
no functional change...
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 messageGravatar Christian Hesse1-1/+1
There is no HTTP status code 0, so this is what we set earlier.
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 pacdbserveGravatar Christian Hesse3-2/+5
This adds the service names to log, not just 'darkhttpd'.
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()Gravatar Christian Hesse1-2/+2
MHD_create_response_from_data() is deprecated, so use MHD_create_response_from_buffer() instead.
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