2016-04-22 06:12:52 +02:00
|
|
|
## go-aptproxy
|
|
|
|
|
2016-05-02 08:10:27 +02:00
|
|
|
[](https://godoc.org/github.com/nathan-osman/go-aptproxy)
|
|
|
|
[](http://opensource.org/licenses/MIT)
|
|
|
|
|
2016-04-22 06:12:52 +02:00
|
|
|
This handly little proxy server includes the following features:
|
|
|
|
|
|
|
|
- avoids duplication of packages fetched from different mirrors
|
2016-05-02 04:42:29 +02:00
|
|
|
- provides a built-in mDNS server to advertise on the local network
|
|
|
|
- fully compatible with the `squid-deb-proxy-client` package
|
2016-04-22 06:12:52 +02:00
|
|
|
|
2016-05-02 04:42:29 +02:00
|
|
|
### Usage
|
|
|
|
|
|
|
|
The program is run as follows:
|
|
|
|
|
|
|
|
go-aptproxy [-directory DIR] [-host HOST] [-port PORT]
|
|
|
|
|
|
|
|
By default, go-aptproxy listens on `0.0.0.0:8000` and uses `/var/cache/go-aptproxy` for storing the cached files.
|