Package Details: sensible-utils 0.0.21-1

Git Clone URL: https://aur.archlinux.org/sensible-utils.git (read-only, click to copy)
Package Base: sensible-utils
Description: Utilities for sensible alternative selection (metapackage)
Upstream URL: http://packages.debian.org/source/sid/sensible-utils
Licenses: GPL
Submitter: pcarrier
Maintainer: fbrennan
Last Packager: fbrennan
Votes: 27
Popularity: 0.000420
First Submitted: 2012-04-05 14:14 (UTC)
Last Updated: 2023-11-07 22:02 (UTC)

Pinned Comments

fbrennan commented on 2023-06-21 03:52 (UTC)

As of pkgrel 4 we no longer need to use my key. Please get Bastien's key from hkps://keyring.debian.org/ (https://keyring.debian.org/) ONLY, as ones on other keyservers are expired.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

fbrennan commented on 2023-06-19 12:52 (UTC)

Both sensible-terminal and sensible-utils-unified were deleted, but sensible-utils-old still exists, once again from @xiota, and is blocking the package update, so I submitted a request against it as well. :-\

fbrennan commented on 2023-06-19 12:26 (UTC)

I've decided that @xiota is doing whatever he can to make this package harder to maintain, so will not be upgrading it to 0.0.20 until their intransigence is solved by an AUR trusted user (or very unlikely, themselves).

Immediate context: https://aur.archlinux.org/packages/sensible-terminal#comment-920185

They decided to take the name sensible-terminal just to make this package impossible to update.

Here's the patch:

From 9be17f02eb5b11a17288f25b98698dcc74a7ad72 Mon Sep 17 00:00:00 2001
From: Fredrick Brennan <copypaste@kittens.ph>
Date: Mon, 19 Jun 2023 07:58:57 -0400
Subject: [PATCH] v0.0.20

---
 .SRCINFO                         |  54 +++++++++++++++++-----------
 PKGBUILD                         |  59 ++++++++++++++++---------------
 sensible-utils_0.0.19.dsc.sig    | Bin 119 -> 0 bytes
 sensible-utils_0.0.19.tar.xz.sig | Bin 119 -> 0 bytes
 sensible-utils_0.0.20_.dsc.asc   |   7 ++++
 5 files changed, 71 insertions(+), 49 deletions(-)
 delete mode 100644 sensible-utils_0.0.19.dsc.sig
 delete mode 100644 sensible-utils_0.0.19.tar.xz.sig
 create mode 100644 sensible-utils_0.0.20_.dsc.asc

diff --git a/.SRCINFO b/.SRCINFO
index 886a4d1..669e7b6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,38 +1,52 @@
 pkgbase = sensible-utils
    pkgdesc = Utilities for sensible alternative selection
-   pkgver = 0.0.19
-   pkgrel = 2
+   pkgver = 0.0.20
+   pkgrel = 1
    url = http://packages.debian.org/source/sid/sensible-utils
    arch = any
    license = GPL
    checkdepends = ed
+   checkdepends = dash
    makedepends = po4a
    depends = bash
    depends = coreutils
-   provides = sensible-pager
-   provides = sensible-editor
    provides = sensible-browser
-   conflicts = sensible-pager
-   conflicts = sensible-editor
+   provides = sensible-editor
+   provides = sensible-pager
+   provides = sensible-terminal
+   provides = sensible-utils
    conflicts = sensible-browser
-   source = http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.19.tar.xz
-   source = http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.19.dsc
-   source = 0001-no-fork-bomb-test.patch
-   source = 0001-no-fork-bomb-test.patch.sig
-   source = sensible-utils_0.0.19.dsc.sig
-   source = sensible-utils_0.0.19.tar.xz.sig
+   conflicts = sensible-editor
+   conflicts = sensible-pager
+   conflicts = sensible-terminal
+   conflicts = sensible-utils
+   source = sensible-utils_0.0.20_.tar.xz::http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.20.tar.xz
+   source = sensible-utils_0.0.20_.dsc::http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.20.dsc
+   source = sensible-utils_0.0.20_.dsc.asc
    validpgpkeys = 98F28F767470129FBE3B054CE2154DD1A1C77B8B
-   sha256sums = 3af5fe874c9e643b3d413d4f1b71009194c9093225e9dd49de86e2e604721d69
-   sha256sums = 758218a18c89964da1b2bcfb1e457949ef4e9ccc18a5b9061bb547b617167e1b
-   sha256sums = 063c12d9dfb193f94ded0de3384a78a463c72d0fb1eb3b8edbafe418efaebc46
-   sha256sums = SKIP
-   sha256sums = SKIP
-   sha256sums = SKIP
+   b2sums = e65419e7f157f64249b429806a4d48c02c5f492fb2dbdae1a8e4966dca964a4b1b9b6fdb555f03fabb6cd219238022821a64b15f11582ffdf115fa15ab6e3e0e
+   b2sums = 8b122921916df3f4c138b99ac5183cae686e01be985db0ad2c77e3faff619779aecc596c6936c9f73f73ff3c73cf5ce30654df9158ce15caccd4ed0e0f50de09
+   b2sums = SKIP

-pkgname = sensible-pager
+pkgname = sensible-browser

 pkgname = sensible-editor

-pkgname = sensible-browser
+pkgname = sensible-pager
+
+pkgname = sensible-terminal
+
+pkgname = sensible-utils
+   pkgdesc = Utilities for sensible alternative selection (metapackage)
+   depends = bash
+   depends = coreutils
+   depends = sensible-browser
+   depends = sensible-editor
+   depends = sensible-pager
+   depends = sensible-terminal
+   depends = sensible-utils
+   depends = sensible-utils-data
+   provides = 
+   conflicts = 

 pkgname = sensible-utils-data
diff --git a/PKGBUILD b/PKGBUILD
index 9fa4481..1554301 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,55 +1,52 @@
 #!/bin/bash
 # Maintainer: Fredrick R. Brennan <copypaste@kittens.ph>
 # Contributor: Brian BIdulock <bidulock@openss7.org>
+
 pkgbase=sensible-utils
-pkgname=(sensible-pager sensible-editor sensible-browser sensible-utils-data)
-pkgver=0.0.19
+_pkgname='sensible-browser sensible-editor sensible-pager sensible-terminal sensible-utils'
+declare -g -a pkgname=($_pkgname)
+pkgname+=(sensible-utils-data)
+pkgver=0.0.20
 _debianextra=''
-pkgrel=2
+pkgrel=1
 pkgdesc="Utilities for sensible alternative selection"
 arch=('any')
 url="http://packages.debian.org/source/sid/sensible-utils"
 license=('GPL')
 depends=('bash' 'coreutils')
-provides=(sensible-pager sensible-editor sensible-browser)
-conflicts=(sensible-pager sensible-editor sensible-browser)
+provides=($_pkgname)
+conflicts=($_pkgname)
 makedepends=('po4a')
-checkdepends=('ed')
-source=("http://ftp.debian.org/debian/pool/main/s/$pkgbase/${pkgbase}_${pkgver}${_debianextra}.tar.xz"
-        "http://ftp.debian.org/debian/pool/main/s/$pkgbase/${pkgbase}_${pkgver}${_debianextra}.dsc"
-        "0001-no-fork-bomb-test.patch"
-        "0001-no-fork-bomb-test.patch.sig"
-        "sensible-utils_0.0.19.dsc.sig"
-        "sensible-utils_0.0.19.tar.xz.sig")
-sha256sums=('3af5fe874c9e643b3d413d4f1b71009194c9093225e9dd49de86e2e604721d69'
-            '758218a18c89964da1b2bcfb1e457949ef4e9ccc18a5b9061bb547b617167e1b'
-            '063c12d9dfb193f94ded0de3384a78a463c72d0fb1eb3b8edbafe418efaebc46'
-            'SKIP'
-            'SKIP'
-            'SKIP')
+checkdepends=('ed' 'dash')
+_dirname=${pkgbase}_${pkgver}_$pkgrel_${_debianextra}
+source=("$_dirname.tar.xz::http://ftp.debian.org/debian/pool/main/s/$pkgbase/${pkgbase}_${pkgver}${_debianextra}.tar.xz"
+        "$_dirname.dsc::http://ftp.debian.org/debian/pool/main/s/$pkgbase/${pkgbase}_${pkgver}${_debianextra}.dsc"
+        sensible-utils_0.0.20_.dsc.asc)
+b2sums=('e65419e7f157f64249b429806a4d48c02c5f492fb2dbdae1a8e4966dca964a4b1b9b6fdb555f03fabb6cd219238022821a64b15f11582ffdf115fa15ab6e3e0e'
+        '8b122921916df3f4c138b99ac5183cae686e01be985db0ad2c77e3faff619779aecc596c6936c9f73f73ff3c73cf5ce30654df9158ce15caccd4ed0e0f50de09'
+        'SKIP')
 validpgpkeys=('98F28F767470129FBE3B054CE2154DD1A1C77B8B')

 prepare() {
-  pushd ${pkgbase}-${pkgver}${_debianextra}
-  OPWD="$PWD"
-  popd
-  patch -p0 "$OPWD/Makefile.am" < 0001-no-fork-bomb-test.patch
+  return 0
 }

 build() {
   cd ${pkgbase}-${pkgver}${_debianextra}
-  export -n EDITOR VISUAL
+  export -n EDITOR VISUAL PAGER TERMINAL_EMULATOR BROWSER
   ./configure --prefix=/usr
   make
 }

-build_sensible-utils() {
-  exit 0
-}
-
 check() {
   cd ${pkgbase}-${pkgver}${_debianextra}
-  bash -c 'make -k check'
+  test -L sh || ln -s /bin/dash sh
+  OLDPATH="$PATH"
+  export PATH=.:"$PATH"
+  sed -i -e 's@#!/bin/sh@#!/usr/bin/env sh@' ./sensible-editor
+  env -i make -k check
+  sed -i -e 's@#!/usr/bin/env sh@#!/bin/sh@' ./sensible-editor
+  export PATH="$OLDPATH"
 }

 _package_sensible() {
@@ -80,6 +77,10 @@ package_sensible-editor() {
   CURRENTLY_PACKAGING=editor pkgdir="$pkgdir" _package_sensible
 }

+package_sensible-terminal() {
+  CURRENTLY_PACKAGING=terminal pkgdir="$pkgdir" _package_sensible
+}
+
 package_sensible-utils-data() {
   CURRENTLY_PACKAGING=gettext pkgdir="$pkgdir" _package_sensible
 }
@@ -88,7 +89,7 @@ package_sensible-utils() {
   pkgdesc="$pkgdesc (metapackage)"
   provides=()
   conflicts=()
-  depends+=(sensible-pager sensible-editor sensible-browser sensible-utils-data)
+  depends+=($_pkgname sensible-utils-data)
   mkdir -p "$pkgdir/usr/share/sensible-utils"
   echo 1 > "$pkgdir/usr/share/sensible-utils/.ARCH"
 }
diff --git a/sensible-utils_0.0.19.dsc.sig b/sensible-utils_0.0.19.dsc.sig
deleted file mode 100644
index ee58d0735ddd06268c249dd4fc1625d9508150af..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 119
zcmeAuWnmEGV2~A4WZAlA`#iyq`|CYFYww5%X3b3c=oi7tlu~5L%fQ7c028@8k&&T|
zU--nww_Ll!v=pxQt7SA@`TZ!{f<@;GNB_(lU-slBG5q%l@H``RyUJ+siHsHhy>~vA
V&G@#t_07S(Hp^DMt8ah94gj)mG|>P6

diff --git a/sensible-utils_0.0.19.tar.xz.sig b/sensible-utils_0.0.19.tar.xz.sig
deleted file mode 100644
index 396ee85b5f617e51f4780d2cd6a9bfe685290e82..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 119
zcmeAuWnmEGV2~A4WZAlA`#iyq`|CYFYww5%X3b3c=oi7tlu~5L$-u=a027hdWn^fm
z>OED!)x_}sok8H1xxXvCY;@~_Z@7NE{QQ!A^9JK?hW|dzt?ON!cQC!4uDxpWsauSt
U#mX&A59|IPN}ee+bMtFf0Bc4u`Tzg`

diff --git a/sensible-utils_0.0.20_.dsc.asc b/sensible-utils_0.0.20_.dsc.asc
new file mode 100644
index 0000000..ace60fe
--- /dev/null
+++ b/sensible-utils_0.0.20_.dsc.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+
+iHUEABYIAB0WIQS1rLeeEfG/f0nzK7hYUwVpYvFOWAUCZJBBAQAKCRBYUwVpYvFO
+WHx4AQCZZTAlj/pG9SSNBnJKWxUKziyC5E41ulEb1QP6xA12IQEAypE9j7eEB1Qz
+Vzszeqrv7u5Qgf5lZQ77ous10Kq6Lgo=
+=G2+v
+-----END PGP SIGNATURE-----
-- 
2.41.0

xiota commented on 2023-06-19 00:58 (UTC) (edited on 2023-06-19 01:13 (UTC) by xiota)

sensible-utils should never have been split. Instead, a new pkgbase should have been created. Consequences of splitting include:

  • breaking packages that depend on it, without bothering to mitigate effects on users.
  • complicating building and resolving dependencies of packages that depend on it
  • increased overall build time because package is now run multiple times
  • more complicated installation of the package because there are now multiple packages that each essentially package a single file
  • broken packaging
    • each subpackage shown as conflicting with the others on their respective AUR pages: sensible-pager, sensible-editor, sensible-browser, sensible-utils-data
      • This is not caused by any aurweb issue, but by poor practices in the PKGBUILD.
    • other issues caused by upstream changes that the maintainer missed. These would not have been issues if the package had not been split.

eclairevoyant commented on 2023-06-19 00:49 (UTC)

You brought up the side issues lmao, if they're not relevant then don't complain about them.

Anyway, reread my last comment, I don't waste time to repeat myself.

xiota commented on 2023-06-19 00:37 (UTC) (edited on 2023-06-19 01:08 (UTC) by xiota)

You and the maintainer skate around the main issue, that the maintainer intentionally broke this and other packages, by picking at minor inaccuracies in side issues, like whether build or package is run multiple times.

Up until now, no one, including the maintainer of this package, has even bothered to attempt to refute that splitting this package and causing breaks was intentional. (The maintainer announced in a comment on 2023-04-08 that the package was being broken. It was left in a broken state for over a month, when the unified package was created on 2023-05-27.)

Before I created the unified package, which packages were broken was unknown because none of the split packages show any dependents. Their AUR pages say "Required by (0)".

eclairevoyant commented on 2023-06-19 00:24 (UTC) (edited on 2023-06-19 00:25 (UTC) by eclairevoyant)

I'm not skirting around anything. There's like 3 packages that depend on it, one of which is orphaned. Just comment on each of them and be done with it.

xiota commented on 2023-06-19 00:04 (UTC) (edited on 2023-06-19 00:04 (UTC) by xiota)

Sure. You're still skating around the main issue, which is that the maintainer intentionally broke this package and others that depend on it for no significant benefit.

eclairevoyant commented on 2023-06-18 23:59 (UTC) (edited on 2023-06-19 00:03 (UTC) by eclairevoyant)

@xiota

increased build time [because build is now run multiple times]

Nonsense, build is only run once. That is how split packages work. If you use an AUR helper then broken AUR helpers may run builds multiple times. Not anyone else's problem.

m̶a̶k̶i̶n̶g̶ ̶t̶h̶e̶ ̶e̶n̶t̶i̶r̶e̶ ̶p̶a̶c̶k̶a̶g̶e̶ ̶u̶n̶i̶n̶s̶t̶a̶l̶l̶a̶b̶l̶e̶ ̶b̶e̶c̶a̶u̶s̶e̶ [broken packaging, indicated by] each subpackage [shown as] conflict[ing] with the others [on their respective AUR pages: sensible-pager, sensible-editor, sensible-browser, sensible-utils-data]

That's an aurweb bug and has nothing to do with the packaging. But this shouldn't be conflicting with anything anyway, it's other packages' job to conflict with this (canonical) one. provides should also be removed.

xiota commented on 2023-05-30 05:48 (UTC)

xiota is railing against nothing

That was only one of multiple complaints about your splitting this package. Most importantly, you knowingly broke other packages without taking any steps to mitigate the effect it would have on users.

Whatever it is, something is definitely broken in your packaging. Anyone can check the respective AUR pages to see that they are all listed as conflicting with each other: sensible-pager, sensible-editor, sensible-browser, sensible-utils-data.