mirror of
https://git.freebsd.org/ports.git
synced 2025-05-23 04:03:14 -04:00
A small and efficient tool that lets you mirror a part of or the whole Debian GNU/Linux distribution or any other apt sources. Main features: * It uses a config similar to APT's F<sources.list> * It's fully pool compliant * It supports multithreaded downloading * It supports multiple architectures at the same time * It can automatically remove unneeded files * It works well on an overloaded Internet connection * It never produces an inconsistent mirror including while mirroring * It works on all POSIX compliant systems with Perl and wget
17 lines
787 B
Text
17 lines
787 B
Text
--- Makefile.orig 2022-11-29 17:03:44 UTC
|
|
+++ Makefile
|
|
@@ -8,10 +8,12 @@ all:
|
|
dist: apt-mirror-$(VERSION).tar.xz
|
|
|
|
install:
|
|
- install -m 755 -D apt-mirror $(DESTDIR)$(PREFIX)/bin/apt-mirror
|
|
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
|
|
+ install -m 755 apt-mirror $(DESTDIR)$(PREFIX)/bin/apt-mirror
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1/
|
|
pod2man apt-mirror > $(DESTDIR)$(PREFIX)/share/man/man1/apt-mirror.1
|
|
- if test ! -f $(DESTDIR)/etc/apt/mirror.list; then install -m 644 -D mirror.list $(DESTDIR)/etc/apt/mirror.list; fi
|
|
+ mkdir -p $(DESTDIR)/etc/apt
|
|
+ if test ! -f $(DESTDIR)/etc/apt/mirror.list; then install -m 644 mirror.list $(DESTDIR)/etc/apt/mirror.list; fi
|
|
mkdir -p $(DESTDIR)$(BASE_PATH)/mirror
|
|
mkdir -p $(DESTDIR)$(BASE_PATH)/skel
|
|
mkdir -p $(DESTDIR)$(BASE_PATH)/var
|