summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/sisyphus/files/mirrors.conf10
-rw-r--r--app-portage/sisyphus/sisyphus-1.1801-r2.ebuild (renamed from app-portage/sisyphus/sisyphus-1.1801-r1.ebuild)7
2 files changed, 16 insertions, 1 deletions
diff --git a/app-portage/sisyphus/files/mirrors.conf b/app-portage/sisyphus/files/mirrors.conf
new file mode 100644
index 00000000..dbb55599
--- /dev/null
+++ b/app-portage/sisyphus/files/mirrors.conf
@@ -0,0 +1,10 @@
+#######################################################
+# Support for multiple mirrors is somewhat incomplete #
+# Uncomment only one mirror from the list bellow #
+#######################################################
+
+# Princeton University (USA) mirror
+# PORTAGE_BINHOST="http://mirror.math.princeton.edu/pub/redcorelinux/packages/"
+
+# Alpix.eu (DE) mirror
+PORTAGE_BINHOST="https://mirror.alpix.eu/redcorelinux/packages/"
diff --git a/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild b/app-portage/sisyphus/sisyphus-1.1801-r2.ebuild
index 2b0d726b..f479ea57 100644
--- a/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild
+++ b/app-portage/sisyphus/sisyphus-1.1801-r2.ebuild
@@ -36,7 +36,12 @@ src_install() {
python_foreach_impl inject_libsisyphus
dosym /usr/share/${PN}/${PN}-cli.py /usr/bin/${PN}
- dodir /var/lib/${PN}/{csv,db}
+ dodir var/lib/${PN}/{csv,db}
+
+ dodir etc/${PN}
+ insinto etc/${PN}
+ doins ${FILESDIR}/mirrors.conf
+
if ! use gui; then
rm -rf ${ED}usr/bin/${PN}-gui
rm -rf ${ED}usr/bin/${PN}-gui-pkexec