summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-11-24prepare version 0.4.70.4.7Gravatar Christian Hesse1-1/+1
2023-11-24drop the 'Cache-Control: no-cache' header in http response...•••... as pacman upstream will never use it. Gravatar Christian Hesse1-1/+0
2023-11-24drop setting to ignore db files...•••Using just `CacheServer` (with commented `Server`) in pacman configuration has the same effect. Gravatar Christian Hesse2-17/+2
2023-11-24add a CacheServer entry in pacman configuration snippet...•••... comment the regular server entry and update the documentation in README file. The server error limit was introduced in pacman 6.0.0, which caused some trouble with pacredir: Returning 404 (not found) is common case and no fatal error. This should be fixed with pacman 7.0.0, that will understand CacheServer in configuration. Hopefully. Add the required bits in include file for pacman. pacman-v6.1.0Gravatar Christian Hesse4-473/+24
2023-11-23update status on Gitlab merge request !74 & !98Gravatar Christian Hesse1-0/+4
2023-11-23update status on Gitlab merge request !76Gravatar Christian Hesse1-3/+5
2023-11-06link Gitlab merge requestsGravatar Christian Hesse1-0/+6
2023-09-30update wording: server -> peerGravatar Christian Hesse3-12/+12
2023-01-03update copyright for 2023Gravatar Christian Hesse5-5/+5
2023-01-03update patch...•••... as resent to pacman-dev. Let's hope the mention of 'negative chaching' for reverse proxies and load balancers changes something. Gravatar Christian Hesse1-6/+17
2023-01-03upstream denied new revision of patch as well•••ðŸ˜³ðŸ˜¢ https://lists.archlinux.org/archives/list/pacman-dev@lists.archlinux.org/message/5QNSFAHFBFJZXSTR2455FAWHYEHSHTUQ/ Gravatar Christian Hesse1-1/+1
2022-09-26prepare version 0.4.60.4.6Gravatar Christian Hesse1-1/+1
2022-09-15use http header 'Cache-Control: no-cache' for soft failure•••This is standard header... Gravatar Christian Hesse4-50/+66
2022-05-10more solutions for caveat with pacman's server error limitGravatar Christian Hesse3-3/+412
2022-04-04prepare version 0.4.50.4.5Gravatar Christian Hesse1-1/+1
2022-04-04create a system user for pacredir•••Missing configuration in /etc/nsswitch.conf was problematic before... Looks looks handling of dynamic users became even worse with dbus 1.14.0 - so let's create a regular system user. Addresses #1 Gravatar Christian Hesse3-1/+3
2022-03-30make the file name match the project nameGravatar Christian Hesse1-1/+1
2022-03-29pacserve: use empty file for index•••This makes monitoring happy... 😊 Gravatar Christian Hesse2-1/+3
2022-03-29send extra http header on expected failure•••Indicate that this failure is expected and pacman should not log an error and not increase the server error count. Looks like pacman will not support this... 😢 Let's add it anyway, may be handy. Gravatar Christian Hesse1-0/+1
2022-01-03update copyright for 2022Gravatar Christian Hesse5-5/+5
2021-06-07prepare version 0.4.40.4.4Gravatar Christian Hesse1-1/+1
2021-06-07add info about caveat with pacman's server error limit•••... also reported in #10. Gravatar Christian Hesse1-0/+28
2021-06-07simplify address handlingGravatar Christian Hesse1-1/+1
2021-06-07do not redirect if database file is too old•••The Arch repositories see regular updates... Consider a database file older than 24 hours out-of-date and do not redirect. Gravatar Christian Hesse2-5/+6
2021-06-07get the db timestamp from http requestGravatar Christian Hesse3-18/+11
2021-05-28make the flow colorfulGravatar Christian Hesse2-228/+224
2021-05-26document request flowGravatar Christian Hesse5-0/+1219
2021-05-26Makefile: convert all markdown files to htmlGravatar Christian Hesse2-9/+12
2021-01-01prepare version 0.4.30.4.3Gravatar Christian Hesse1-1/+1
2021-01-01update copyright for 2021Gravatar Christian Hesse5-5/+5
2020-12-29reload via systemd serviceGravatar Christian Hesse2-4/+4
2020-12-29support reload from systemd serviceGravatar Christian Hesse1-0/+1
2020-11-25clearly state the licenseGravatar Christian Hesse7-6/+741
2020-07-07fix build with libmicrohttpd 0.9.71Gravatar Christian Hesse2-2/+9
2020-02-08update copyright for 2020Gravatar Christian Hesse3-3/+3
2019-08-06move NetworkManager dispatcher to /usrGravatar Christian Hesse1-1/+1
2019-07-01prepare version 0.4.20.4.2Gravatar Christian Hesse1-1/+1
2019-07-01Merge branch 'ignore-db-files'Gravatar Christian Hesse2-3/+20
2019-07-01use proper log message when ignoring database filesGravatar Christian Hesse1-3/+6
2019-07-01allow to ignore database filesGravatar Christian Hesse2-1/+15
2019-07-01Makefile: change order of compiler parametersGravatar Christian Hesse1-1/+1
2019-01-01prepare version 0.4.10.4.1Gravatar Christian Hesse1-1/+1
2019-01-01update copyright for 2019Gravatar Christian Hesse3-3/+3
2019-01-01fix parsing of /etc/os-releaseGravatar Christian Hesse1-1/+1
2018-08-14release: add comment with file name to signaturesGravatar Christian Hesse1-2/+2
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'•••Now that we have just one service this can be merged with 'struct hosts'. Gravatar Christian Hesse2-44/+34
2018-07-04use private bind mounts for pacserve, remove pacdbserve•••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. systemd-v233Gravatar Christian Hesse14-138/+46
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 mirror•••https://blog.github.com/2018-06-04-github-microsoft/ Gravatar Christian Hesse1-2/+6
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 explicitly•••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. Gravatar Christian Hesse1-1/+1
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 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