diff options
author | Christian Hesse <mail@eworm.de> | 2017-04-29 00:30:38 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-04-29 00:34:01 +0200 |
commit | 984f4ad69f9b7bad5dc54472dd374fd7edc5a5a9 (patch) | |
tree | ae652fc00e7217c7b77beb722893c4ad60f7e747 /config.def.h | |
parent | 24ab5936629e735ff551f060a894fd93ad91470e (diff) | |
download | paccache-984f4ad69f9b7bad5dc54472dd374fd7edc5a5a9.tar.gz paccache-984f4ad69f9b7bad5dc54472dd374fd7edc5a5a9.tar.zst |
... get it from
https://github.com/eworm-de/pacredir#pacredir or
https://git.eworm.de/cgit.cgi/pacredir/about/
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/config.def.h b/config.def.h deleted file mode 100644 index 8dfa874..0000000 --- a/config.def.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * (C) 2013-2017 by Christian Hesse <mail@eworm.de> - * - * This software may be used and distributed according to the terms - * of the GNU General Public License, incorporated herein by reference. - */ - -#ifndef _CONFIG_H -#define _CONFIG_H - -/* website url */ -#define WEBSITE "https://github.com/eworm-de/paccache/" - -/* This is used for default documents. Usually you will not see this anyway. */ -#define PAGE307 "<html><head><title>307 temporary redirect</title>" \ - "</head><body>307 temporary redirect: " \ - "<a href=\"%s\">%s</a></body></html>" -#define PAGE404 "<html><head><title>404 Not Found</title>" \ - "</head><body>404 Not Found: %s</body></html>" - -/* the ports pacredir, pacserve and pacdbserve listen to */ -#define PORT_PACREDIR 7077 -#define PORT_PACSERVE 7078 -#define PORT_PACDBSERVE 7079 - -/* avahi service names */ -#define PACSERVE "_pacserve._tcp" -#define PACDBSERVE "_pacdbserve_" ARCH "._tcp" - -/* path to the config file */ -#define CONFIGFILE "/etc/pacredir.conf" -/* these characters are used as delimiter in config file */ -#define DELIMITER " ,;" - -/* this is where pacman stores its local copy of db files */ -#define SYNCPATH "/var/lib/pacman/sync" - -/* This defines the initial time in seconds after which a host is queried - * again after a bad request. Time is doubled after every subsequent - * request. */ -#define BADTIME 30 - -#endif /* _CONFIG_H */ - -// vim: set syntax=c: |