From 984f4ad69f9b7bad5dc54472dd374fd7edc5a5a9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 29 Apr 2017 00:30:38 +0200 Subject: This project has been renamed to `pacredir`. Please... ... get it from https://github.com/eworm-de/pacredir#pacredir or https://git.eworm.de/cgit.cgi/pacredir/about/ --- README.md | 82 +++------------------------------------------------------------ 1 file changed, 3 insertions(+), 79 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6bd7482..524f341 100644 --- a/README.md +++ b/README.md @@ -3,82 +3,6 @@ paccache **paccache - serve pacman cache and redirect via avahi service** -By default every [Arch Linux](https://www.archlinux.org/) installation -downloads its package files from online mirrors, transferring all the -bits via WAN connection. - -But often other Arch systems may be around that already have the files -available on local storage - just a fast LAN connection way. This is -where `paccache` can help. It uses [Avahi](http://avahi.org/) to find -other instances and get the files there if available. - -Requirements ------------- - -To compile and run `paccache` you need: - -* [systemd](https://www.github.com/systemd/systemd) -* [avahi](http://avahi.org/) -* [libmicrohttpd](http://www.gnu.org/software/libmicrohttpd/) -* [curl](http://curl.haxx.se/) -* [iniparser](http://ndevilla.free.fr/iniparser/) -* [darkhttpd](http://dmr.ath.cx/net/darkhttpd/) -* [nss-mdns](http://0pointer.de/lennart/projects/nss-mdns/) -* [markdown](http://daringfireball.net/projects/markdown/) (HTML documentation) - -`Arch Linux` installs development files for the packages by default, so -no additional development packages are required. - -Build and install ------------------ - -Building and installing is very easy. Just run: - -> make - -followed by: - -> make install - -This will place an executable at `/usr/bin/pacredir`, -documentation can be found in `/usr/share/doc/paccache/`. -Additionally systemd service files are installed to -`/usr/lib/systemd/system/` and avahi service files go to -`/etc/avahi/services/`. - -Usage ------ - -Make sure [multicast- -DNS](https://wiki.archlinux.org/index.php/Avahi#Hostname_resolution) -works. Then enable systemd services `pacserve`, `pacdbserve` and -`pacredir`, open TCP ports 7078 and 7079 and add the following line to -your repository definitions in `pacman.conf`: - -> Include = /etc/pacman.d/paccache - -Do not worry if `pacman` reports: - -> error: failed retrieving file 'core.db' from localhost:7077 : The -> requested URL returned error: 404 Not Found - -This is ok, it just tells `pacman` that `pacredir` could not find a file -and downloading it from an official server is required. - -Please note that `pacredir` redirects to the most recent file found on -the local network. To make sure you really do have the latest files run -`pacman -Syu` *twice*. - -Security --------- - -There is no security within this project, information and file content -is transferred unencrypted and unverified. Anybody is free to serve -broken and/or malicious files to you, but this is by design. So make -sure `pacman` is configured to check signatures! It will then detect if -anything goes wrong. - -### Upstream - -URL: [GitHub.com](https://github.com/eworm-de/paccache) -Mirror: [eworm.de](https://git.eworm.de/cgit.cgi/paccache/) +This project has been renamed to `pacredir`. Please get it from +[GitHub.com](https://github.com/eworm-de/pacredir#pacredir) or +[eworm.de](https://git.eworm.de/cgit.cgi/pacredir/about/). -- cgit v1.2.3-54-g00ecf