aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2014-01-20make output a bit more verboseGravatar Christian Hesse1-1/+6
2014-01-13prepare release 0.1.20.1.2Gravatar Christian Hesse1-1/+1
2014-01-13try to guess the fastest server for packagesGravatar Christian Hesse2-2/+16
2014-01-03move arch specific macros to separate header fileGravatar Christian Hesse5-20/+34
2014-01-02add make releaseGravatar Christian Hesse2-0/+6
2014-01-02write version to header fileGravatar Christian Hesse3-8/+11
2014-01-02update copyright yearGravatar Christian Hesse4-4/+4
2013-11-28use LDFLAGSGravatar Christian Hesse1-1/+1
2013-11-28use PREFIX in MakefileGravatar Christian Hesse1-9/+10
2013-11-28clean up trailing white spacesGravatar Christian Hesse1-10/+10
2013-11-18prepare release 0.1.10.1.1Gravatar Christian Hesse1-1/+1
2013-11-18do not act on dhcp INFORMGravatar Christian Hesse1-2/+2
2013-11-17make hook save for all shellsGravatar Christian Hesse1-3/+5
2013-11-15rename services.bad to something more descriptiveGravatar Christian Hesse2-11/+11
2013-11-15reset badcount on SIGHUPGravatar Christian Hesse1-0/+2
2013-11-14add 'make distclean' to remove config.hGravatar Christian Hesse1-0/+3
2013-11-14count bad requests and increase ignore time after requestGravatar Christian Hesse3-12/+22
2013-11-14pacredir.h is a dependency for pacredirGravatar Christian Hesse1-1/+1
2013-11-14do a request as soon as host is up to check bad statusGravatar Christian Hesse2-4/+31
2013-11-14introduce pacredir.hGravatar Christian Hesse2-42/+85
2013-11-12print number of failed serversGravatar Christian Hesse1-1/+1
2013-11-12prepare release 0.1.00.1.0Gravatar Christian Hesse1-1/+1
2013-11-11initcpio: only add if not set alreadyGravatar Christian Hesse1-3/+5
2013-11-11add a note about running pacman twiceGravatar Christian Hesse1-0/+5
2013-11-07make pacredir multi-threaded, do all curl requests at onceGravatar Christian Hesse2-85/+131
2013-11-07add architecture to user agent stringGravatar Christian Hesse1-1/+1
2013-11-06clean up included headersGravatar Christian Hesse1-5/+3
2013-11-06give long to curl_easy_setopt()Gravatar Christian Hesse1-3/+3
2013-11-05make initcpio hook aware of architecturesGravatar Christian Hesse1-4/+18
2013-11-05prepare release 0.0.60.0.6Gravatar Christian Hesse1-1/+1
2013-11-05do not handle client to browse_callbackGravatar Christian Hesse1-2/+2
2013-11-05fix memory corruptionGravatar Christian Hesse1-1/+1
2013-11-05handle SIGINT and print variable textGravatar Christian Hesse1-4/+5
2013-11-05make pacredir work without config fileGravatar Christian Hesse1-43/+43
2013-11-05typo in commentGravatar Christian Hesse1-1/+1
2013-11-05handle db file signatures correctlyGravatar Christian Hesse1-2/+3
2013-11-05coding style cleanupGravatar Christian Hesse1-7/+4
2013-11-04add initcpio hookGravatar Christian Hesse3-0/+22
2013-11-04prepare release 0.0.50.0.5Gravatar Christian Hesse1-1/+1
2013-11-04actually avahi-daemon IS required...Gravatar Christian Hesse1-0/+1
2013-11-04do not make avahi-daemon a hard depend•••Now that you can add static hosts via config file it may make sense to run pacredir without avahi-daemon. Just make it start After=. Gravatar Christian Hesse1-1/+1
2013-11-04add hint about dependency to iniparserGravatar Christian Hesse1-0/+1
2013-11-04add configuration file for pacredir•••This allows to ignore hosts on specified interfaces and add static hosts. Gravatar Christian Hesse4-3/+121
2013-11-04introduce add_host() and remove_host()Gravatar Christian Hesse1-41/+57
2013-10-31add dhcpcd hook that informs pacredir about reestablished connectionGravatar Christian Hesse2-0/+12
2013-10-30compile date and time into the binaryGravatar Christian Hesse1-1/+1
2013-10-30use unsigned int for recentGravatar Christian Hesse1-2/+2
2013-10-30use long for http_code and last_modifiedGravatar Christian Hesse1-3/+3
2013-10-30use a little helper to determine architecture•••Architecture reported by `uname -a` and used by pacman are not neccessarily the same, so use a little helper. Gravatar Christian Hesse4-5/+29
2013-10-30regenerate service file only when neededGravatar Christian Hesse1-3/+3
2013-10-30detect ARM architectures•••Did I get it right? mirror.archlinuxarm.org has repositories for * "armv7h" (version 7 with hard floating point unit) * "armv6h" (version 6 with hard floating point unit) * "arm" (version 6 without hard floating point unit) Gravatar Christian Hesse1-0/+8
2013-10-30use unprivileged user to run servicesGravatar Christian Hesse3-0/+6
2013-10-30prepare for release 0.0.40.0.4Gravatar Christian Hesse1-1/+1
2013-10-30reset bad status for hosts on SIGHUPGravatar Christian Hesse1-3/+3
2013-10-30use function to print outputGravatar Christian Hesse1-22/+33
2013-10-30justify output streamsGravatar Christian Hesse1-3/+3
2013-10-30make pacredir listen on localhost onlyGravatar Christian Hesse1-1/+9
2013-10-29rename the project to paccacheGravatar Christian Hesse4-15/+15
2013-10-29decide about local service via flagsGravatar Christian Hesse1-8/+1
2013-10-28prepare for release 0.0.30.0.3Gravatar Christian Hesse1-1/+1