diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-17 21:27:46 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-17 21:27:52 +0200 |
commit | cea6b3eff3063383040e122776152ed960b90950 (patch) | |
tree | 409561937cc65c352d22804fb446479eb274b3d2 | |
parent | 74df490ef57757bf253a44932247e8f95239b141 (diff) | |
download | archlinuxewe-cea6b3eff3063383040e122776152ed960b90950.tar.xz |
remove reflectors: unneeded
-rw-r--r-- | reflector-nomirrorlist/PKGBUILD | 20 | ||||
-rw-r--r-- | reflector-nomirrorlist/reflector-nomirrorlist.install | 17 | ||||
-rw-r--r-- | reflector32-nomirrorlist/PKGBUILD | 20 | ||||
-rw-r--r-- | reflector32-nomirrorlist/reflector32-nomirrorlist.install | 17 | ||||
-rw-r--r-- | reflector32/PKGBUILD | 51 |
5 files changed, 0 insertions, 125 deletions
diff --git a/reflector-nomirrorlist/PKGBUILD b/reflector-nomirrorlist/PKGBUILD deleted file mode 100644 index 0fc4a3648..000000000 --- a/reflector-nomirrorlist/PKGBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Hans-Nikolai Viessmann <hans AT viess DOT mn> -pkgname=reflector-nomirrorlist -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Use reflector-generated mirrorlist by default" -arch=('any') -url="https://aur.archlinux.org/packages/reflector-nomirrorlist/" -license=('unknown') -depends=('pacman' 'reflector') -provides=('pacman-mirrorlist') -conflicts=('pacman-mirrorlist') -install="${pkgname}.install" -backup=('etc/pacman.d/mirrorlist') -source=() - -package() { - # we do nothing, everything is in .install - : -} diff --git a/reflector-nomirrorlist/reflector-nomirrorlist.install b/reflector-nomirrorlist/reflector-nomirrorlist.install deleted file mode 100644 index a30a2e0b8..000000000 --- a/reflector-nomirrorlist/reflector-nomirrorlist.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - echo "==> generating mirrorlist using config file" - /usr/bin/reflector @/etc/xdg/reflector/reflector.conf - - # check to make sure reflector timer is activated - if [[ ! -L "/etc/systemd/system/timers.target.wants/reflector.timer" ]]; then - echo "==$ it is suggested that you activate the reflector systemd timer" - echo "==$ to periodically update the mirrorlist! Do the following:" - echo "" - echo " sudo systemctl enable --now reflector.timer" - echo "" - fi -} - -post_update() { - post_install -} diff --git a/reflector32-nomirrorlist/PKGBUILD b/reflector32-nomirrorlist/PKGBUILD deleted file mode 100644 index c41d7cc49..000000000 --- a/reflector32-nomirrorlist/PKGBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Hans-Nikolai Viessmann <hans AT viess DOT mn> -pkgname=reflector32-nomirrorlist -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Use reflector-generated mirrorlist32 by default" -arch=('any') -url="https://aur.archlinux.org/packages/reflector-nomirrorlist/" -license=('unknown') -depends=('pacman' 'reflector32') -provides=('pacman-mirrorlist32') -conflicts=('pacman-mirrorlist32') -install="${pkgname}.install" -backup=('etc/pacman.d/mirrorlist32') -source=() - -package() { - # we do nothing, everything is in .install - : -} diff --git a/reflector32-nomirrorlist/reflector32-nomirrorlist.install b/reflector32-nomirrorlist/reflector32-nomirrorlist.install deleted file mode 100644 index ac3171cf1..000000000 --- a/reflector32-nomirrorlist/reflector32-nomirrorlist.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - echo "==> generating mirrorlist32 using config file" - /usr/bin/reflector32 @/etc/xdg/reflector/reflector32.conf - - # check to make sure reflector timer is activated - if [[ ! -L "/etc/systemd/system/timers.target.wants/reflector32.timer" ]]; then - echo "==$ it is suggested that you activate the reflector32 systemd timer" - echo "==$ to periodically update the mirrorlist32! Do the following:" - echo "" - echo " sudo systemctl enable --now reflector32.timer" - echo "" - fi -} - -post_update() { - post_install -} diff --git a/reflector32/PKGBUILD b/reflector32/PKGBUILD deleted file mode 100644 index 400648d64..000000000 --- a/reflector32/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Xyne <ac xunilhcra enyx, backwards> -# repo: releng -pkgname=reflector32 -pkgver=2021.11 -pkgrel=1 -pkgdesc='A Python 3 module and script to retrieve and filter the latest Pacman mirror list for Archlinux32.' -arch=(any) -license=(GPL) -url="https://xyne.archlinux.ca/projects/reflector" -depends=(python3) -optdepends=('rsync: rate rsync mirrors') -backup=(etc/xdg/reflector/reflector32.conf) -source=( - "https://sources.archlinux32.org/sources/reflector32-${pkgver}.tar.gz"{,.sig} -) -sha512sums=('9186c66152d20e6c52b7a2f2cd8fb9e5c122f23ec70afc358bfa01dd196a94cb4ae96a7fc8974524ef632e6d591d7889e1128e1c7e0f300562b1372ca61716ed' - 'SKIP') -validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A' '38ACA6A026D25CDD227D24832F6399DCD2212195' '16194A82231E9EF823562181C8E8F5A0AF9BA7E7') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - sed -i ' - s/\b[Rr]eflector\b/\032/g - ' \ - setup.py \ - reflector \ - Reflector.py - sed -i ' - s/\b[Rr]eflector\b/\032/g - s/\bmirrorlist\b/\032/g - s@/etc/xdg/reflector32/reflector32@/etc/xdg/reflector/reflector32@ - ' \ - reflector.service \ - reflector.conf - mv reflector{,32} - mv Reflector{,32}.py -} - -package () -{ - cd "$srcdir/$pkgname-$pkgver" - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 "man/${pkgname%32}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz" - install -Dm644 'reflector.service' "$pkgdir/usr/lib/systemd/system/reflector32.service" - install -Dm644 'reflector.timer' "$pkgdir/usr/lib/systemd/system/reflector32.timer" - install -Dm644 'reflector.conf' "$pkgdir/etc/xdg/reflector/reflector32.conf" -} - - -# vim: set ts=2 sw=2 et: |