[arch-commits] Commit in pacredir/repos/community-x86_64 (4 files)

Christian Hesse eworm at archlinux.org
Mon Jun 7 08:24:51 UTC 2021


    Date: Monday, June 7, 2021 @ 08:24:51
  Author: eworm
Revision: 957204

archrelease: copy trunk to community-x86_64

Added:
  pacredir/repos/community-x86_64/PKGBUILD
    (from rev 957203, pacredir/trunk/PKGBUILD)
  pacredir/repos/community-x86_64/pacredir.install
    (from rev 957203, pacredir/trunk/pacredir.install)
Deleted:
  pacredir/repos/community-x86_64/PKGBUILD
  pacredir/repos/community-x86_64/pacredir.install

------------------+
 PKGBUILD         |   62 ++++++++++++++++++++++++++---------------------------
 pacredir.install |   41 ++++++++++++++---------------------
 2 files changed, 48 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-07 08:24:48 UTC (rev 957203)
+++ PKGBUILD	2021-06-07 08:24:51 UTC (rev 957204)
@@ -1,31 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=pacredir
-pkgver=0.4.3
-pkgrel=1
-pkgdesc='redirect pacman requests, assisted by avahi service discovery'
-arch=('x86_64')
-url='https://github.com/eworm-de/pacredir'
-depends=('systemd-libs' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
-makedepends=('systemd' 'markdown')
-conflicts=('pacserve')
-license=('GPL')
-install=pacredir.install
-backup=('etc/pacredir.conf' 'etc/pacman.d/pacredir')
-validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail at eworm.de>
-source=("https://www.eworm.de/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=('56be3b7763c4b007d77befd1cfb5d4c94f15433b883a36b7b7aec31da9d4ab4d'
-            'SKIP')
-
-build() {
-	cd ${pkgname}-${pkgver}/
-
-	make
-}
-
-package() {
-	cd ${pkgname}-${pkgver}/
-
-	make DESTDIR="${pkgdir}" install
-}
-

Copied: pacredir/repos/community-x86_64/PKGBUILD (from rev 957203, pacredir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-07 08:24:51 UTC (rev 957204)
@@ -0,0 +1,31 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=pacredir
+pkgver=0.4.4
+pkgrel=1
+pkgdesc='redirect pacman requests, assisted by avahi service discovery'
+arch=('x86_64')
+url='https://github.com/eworm-de/pacredir'
+depends=('systemd-libs' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
+makedepends=('systemd' 'markdown')
+conflicts=('pacserve')
+license=('GPL')
+install=pacredir.install
+backup=('etc/pacredir.conf' 'etc/pacman.d/pacredir')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail at eworm.de>
+source=("https://www.eworm.de/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('fdc2f7ce727a75ac20a7289afdecee0ba32b6887c5152528679d49a32b272b86'
+            'SKIP')
+
+build() {
+	cd ${pkgname}-${pkgver}/
+
+	make
+}
+
+package() {
+	cd ${pkgname}-${pkgver}/
+
+	make DESTDIR="${pkgdir}" install
+}
+

Deleted: pacredir.install
===================================================================
--- pacredir.install	2021-06-07 08:24:48 UTC (rev 957203)
+++ pacredir.install	2021-06-07 08:24:51 UTC (rev 957204)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-post_install() {
-	echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
-}
-
-pre_upgrade() {
-	# return if old package version greater 0.4...
-	(( $(vercmp $2 '0.4') > 0 )) && return
-
-	# upgrade from pre-0.4 version, pacdbserve.service no longer exists
-	if systemctl is-enabled -q pacdbserve.service; then
-		systemctl disable -q pacdbserve.service
-	fi
-}
-
-post_upgrade() {
-	# return if old package version greater 0.4...
-	(( $(vercmp $2 '0.4') > 0 )) && return
-
-	# upgrade from pre-0.4 version, avahi service names changed
-	echo " > This upgrade from pacredir $2 to pacredir $1 changes avahi service"
-	echo " > names. Make sure to update all your installations for compatibility."
-}

Copied: pacredir/repos/community-x86_64/pacredir.install (from rev 957203, pacredir/trunk/pacredir.install)
===================================================================
--- pacredir.install	                        (rev 0)
+++ pacredir.install	2021-06-07 08:24:51 UTC (rev 957204)
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+post_install() {
+	echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
+}
+
+post_upgrade() {
+	# return if old package version greater 0.4.4-0...
+	(( $(vercmp $2 '0.4.4-0') > 0 )) && return
+
+	# upgrade from pre-0.4 version, avahi service names changed
+	echo ' > With its latest release `pacman` now supports a server error limit,'
+	echo ' > which breaks `pacredir`. Rebuild `pacman` with that feature disabled'
+	echo ' > or install from this repository:'
+	echo ' >   [pacredir]'
+	echo ' >   Server = https://pkgbuild.com/~eworm/$repo/$arch/'
+}



More information about the arch-commits mailing list