upgpkg: aurutils 3.0.0-2

Merge subtree 'aurutils'
This commit is contained in:
Cedric Girard 2020-11-03 11:38:16 +01:00
commit 5fe5101cb1
Signed by: X-dark
GPG Key ID: E7D0E125DB9519E4
4 changed files with 327 additions and 27 deletions

View File

@ -1,25 +1,26 @@
pkgbase = aurutils
pkgdesc = helper tools for the arch user repository
pkgver = 2.3.1
pkgrel = 1
pkgver = 3.0.0
pkgrel = 2
url = https://github.com/AladW/aurutils
install = aurutils.install
changelog = aurutils.changelog
arch = any
license = custom:ISC
makedepends = signify
depends = git
depends = jq
depends = expac
depends = diffstat
depends = pacutils
depends = parallel
depends = wget
depends = curl
optdepends = bash-completion: bash completion
optdepends = zsh: zsh completion
optdepends = devtools: aur-chroot
optdepends = vifm: build file interaction
optdepends = xdelta3: generate delta files
source = aurutils-2.3.1.tar.gz::https://github.com/AladW/aurutils/archive/2.3.1.tar.gz
validpgpkeys = DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A
sha256sums = 2e8c7656c620c1c8ded07e20cc9e9cb37d7a4bb234c9f5bd166a2e3887d3db65
optdepends = vifm: default pager
source = https://github.com/AladW/aurutils/releases/download/3.0.0/aurutils-3.0.0.tar.gz
source = https://github.com/AladW/aurutils/releases/download/3.0.0/aurutils-3.0.0.tar.gz.signify
source = aurutils.pub
sha256sums = b28da1527b2c6dddbe3aa00f79a0264b54fb671796f1fd9d03cb2f46e9cae8f9
sha256sums = SKIP
sha256sums = f11d869b344b01acb229db00fcd40f72a6ee1d3b080b0bc2870001ed94f99dc9
pkgname = aurutils

View File

@ -1,29 +1,36 @@
# Maintainer: Alad Wenter <alad@archlinux.org>
# Co-Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
# Maintainer: Alad Wenter <https://github.com/AladW>
pkgname=aurutils
pkgver=2.3.1
pkgrel=1
pkgver=3.0.0
pkgrel=2
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
#"$pkgname-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc")
install=$pkgname.install
depends=('git' 'jq' 'expac' 'diffstat' 'pacutils' 'parallel' 'wget')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
"$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.signify"
'aurutils.pub')
changelog=aurutils.changelog
sha256sums=('b28da1527b2c6dddbe3aa00f79a0264b54fb671796f1fd9d03cb2f46e9cae8f9'
'SKIP'
'f11d869b344b01acb229db00fcd40f72a6ee1d3b080b0bc2870001ed94f99dc9')
depends=('git' 'jq' 'pacutils' 'curl')
makedepends=('signify')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: build file interaction'
'xdelta3: generate delta files')
sha256sums=('2e8c7656c620c1c8ded07e20cc9e9cb37d7a4bb234c9f5bd166a2e3887d3db65')
validpgpkeys=('DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A') # Alad Wenter <alad@archlinux.org>
'vifm: default pager')
prepare() {
signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \
-x "$pkgname-$pkgver".tar.gz.signify
}
build() {
cd "$pkgname-$pkgver"
make
cd aurutils
make DESTDIR="$pkgdir"
}
package() {
cd "$pkgname-$pkgver"
cd aurutils
make DESTDIR="$pkgdir" install
}

290
aurutils/aurutils.changelog Normal file
View File

@ -0,0 +1,290 @@
## 3.0.0 - 2020-10-26
* `aur`
+ add `AUR_EXEC_PATH` environment variable
+ add example `aur-gc`, `aur-remove` scripts to `aur.1`
* `aur-build`
+ add `AUR_DEBUG`, `NO_COLOR`, `MAKEPKG` environment variables
+ add mollyguard for running as the `root` user
+ add `build:` prefix to `--results` output
- `build:file:///path/to/package.tar.xz`
+ add `--new`, `--prevent-downgrade` (`repo-add` options)
+ add `Running` message for all `makepkg` invocations
+ replace `--build-command` with `--margs` and `$MAKEPKG`
+ remove default `makepkg` arguments (#635)
- specify common `makepkg` options as `aur-build` arguments (`--syncdeps`, `--rmdeps`, `--ignorearch`, `--log`, `--noconfirm`)
- pass `--syncdeps`, `--rmdeps` to `--pkgver` makepkg command (#716)
- make `-r` an alias for `--rmdeps` (was: alias for `--root`)
- make `-S` an alias for `--sign` (was: `-s`)
+ use `--margs` to set makepkg options instead of EOF seperator (`--`)
+ `--makepkg-conf` now sets the makepkg configuration for host builds (avoid quoting issues with setting `--config` in `--margs`)
+ use `makepkg --noextract` if `--pkgver` is specified (#708)
+ use `print_all_package_names` (`/usr/share/makepkg/util/pkgbuild.sh`) instead of `makepkg --packagelist` (#755)
+ pass pacman.conf (`--config`) to `aur-repo` (#654)
+ only remove intermediary package directory if empty (#602)
+ remove `--delta`
+ use `PKGDEST` instead of `makepkg.conf` to set package destination
* `aur-chroot`
+ add `AUR_DEBUG` environment variable
+ add `--packagelist`
- use `print_all_package_names` (`/usr/share/makepkg/util/pkgbuild.sh`)
+ replace `--no-prepare` and `--no-build` (disable steps) with `--update` and `--build` (enable steps) respectively
+ remove `--database`
+ use static pacman configuration (defaults to `/usr/share/devtools/pacman-extra.conf`)
- `--suffix` to override `extra` in the default path
- if `--suffix` begins in `multilib`, install `multilib-devel` (instead of `base-devel`)
* `aur-fetch`
+ add `AUR_DEBUG`, `NO_COLOR` environment variables
+ add `--results` (colon-delimited output)
+ add `--sync`
- only run `git fetch` by default;
- run `git reset` if `--sync=reset` is specified;
- run `git rebase` if `--sync=rebase` is specified;
- run either `git reset` or `git rebase` if `--sync=auto` is specified
+ exit `1` if `git clone` or `git fetch` failed
+ remove support for `tar` archives
+ remove diff output (`--log-dir`, `--verbose`, `--format`)
- diffs can be generated from the extended --results output (done in `aur-sync`)
+ remove setting `orderfile` (done in `aur-sync`)
+ use `git -C` for `git` calls
* `aur-jobs` (removed)
- remove script
* `aur-pkglist`
+ add `AUR_DEBUG` environment variable
+ use `curl` for transfers instead of `wget`
* `aur-rpc` (`aur-query`)
+ add `AUR_DEBUG`, `AUR_QUERY_RPC`, `AUR_QUERY_RPC_SPLITNO`, `AUR_QUERY_PARALLEL`, `AUR_QUERY_PARALLEL_MAX` environment variables
+ rename to `aur-query`
+ set AUR RPC address with `AUR_QUERY_RPC` instead of a combination of `--rpc-url`, `--rpc-ver` and `AUR_LOCATION`
+ set number of packages for splitting URIs with `AUR_QUERY_RPC_SPLITINFO`
+ set `AUR_QUERY_RPC_SPLITNO` to set of number of packages for splitting URIs
+ use `curl` for transfers instead of `wget`
- enable parallel transfers (`curl --parallel`) with `AUR_QUERY_PARALLEL=1`
- set maximum amount of parallel transfers (`curl --parallel-max`) with `AUR_QUERY_PARALLEL_MAX`
+ exit `1` if a transfer failed
* `aur-repo-filter`
+ add `AUR_DEBUG` environment variable
+ add `--sysroot` (`pacsift --sysroot`, `pacinfo --sysroot`)
+ use `pacinfo` for package information instead of `expac`
* `aur-repo`
+ add `AUR_DEBUG` environment variable
+ add `--config`
+ add `--ini`
+ add `--quiet`/`-q` (`aur-vercmp -q`)
+ add `--table`
+ add pacman configuration to `--status-format` (colon-delimited)
+ print fully resolved path to local repository
+ require `--path` to print the local repository path
+ remove `expac` dependency
* `aur-search`
+ add `AUR_DEBUG`, `NO_COLOR` environment variables
+ unset `LC_ALL` when printing `Popularity`
* `aur-srcver`
+ add `AUR_DEBUG` environment variable
+ add `--jobs`
+ do not use `makepkg --log`
+ remove `parallel` dependency
* `aur-sync`
+ add `AUR_DEBUG`, `NO_COLOR`, `AUR_CONFIRM_PAGER` environment variables
- use confirmation prompt after package review if `AUR_CONFIRM_PAGER` is set
+ add `--rebuild-all`
+ add mollyguard for running as the `root` user
+ add default ignore file in `$XDG_CONFIG_HOME/aurutils/sync/ignore`
+ do not fallback to `PAGER` or `less` (`AUR_PAGER` must be set or `vifm` installed)
+ enable `--provides` by default
- disable with `--no-provides`
- specify repositories with `--provides-from` (comma-delimited)
+ remove additional `aur-build` arguments after EOF separator (`--`) (#678)
+ remove `parallel` dependency
+ remove `AURDEST_SNAPSHOT` environment variable
+ remove `--git`, `--tar`
+ rename `--print` to `--no-build`/`-o`
+ rename `--no-ver-shallow` to `--no-ver-argv`
+ store commits viewed by the user (#379, #711)
+ use `aur-fetch --sync=auto`
* `aur-vercmp`
+ add `AUR_DEBUG`, `NO_COLOR` environment variables
* `Makefile`
+ allow overriding `AUR_LIB_DIR` at build time
## 2.3.7
## 2.3.6
## 2.3.5
## 2.3.4
## 2.3.3
## 2.3.2
## 2.3.1 - 2019-02-21
* `aur-build`
+ add `--results`
* `aur-sync`
+ documentation updates (#350, #507)
+ ask for confirmation if `PAGER` is set (#530)
* `aur-repo-filter`
+ documentation updates (#438)
## 2.3.0 - 2019-02-18
* `aur-build`
+ add `--holdver` to makepkg with `--pkgver`
+ exit 2 if `db_path` is not found
* `aur-repo-filter`
+ support versioned packages (#404)
+ remove `--repo` alias to `--database`
* `aur-srcver`
+ remove `--noprepare` from default makepkg options
+ add `--noprepare` option (#523)
* `aur-sync`
+ wrap repo-add `-R` (#521)
+ add `--no-graph` (workaround for #516)
* `aur-vercmp`
+ add `-q`/`--quiet`
+ rename `--equal` to `--current`
* `completions`
+ group options by type (#520)
+ complete `aur-depends` options (#526)
## 2.2.1 - 2019-01-25
* `aur-build`
+ add `--holdver` to `makepkg` options if `--pkgver` is enabled
* `aur-repo`
+ do not include `repo:` in error messages
+ `--all` implies `--upgrades`
* `aur-sync`
+ `cd` before invoking `$PAGER` (#518)
* `aur-repo-filter`
+ if `stdin` is connected to a terminal, mention this on `stderr`
* `aur-rpc`
+ if `stdin` is connected to a terminal, mention this on `stderr`
* `aur-vercmp`
+ if `stdin` is connected to a terminal, mention this on `stderr`
## 2.2.0 - 2019-01-22
* `aur`
+ update `CacheDir` instructions in `aur(1)`
* `aur-build`
+ rename `--run-pkgver` to `--pkgver`, remove `LANG=C` from `makepkg -od`
+ remove `~` package backup on `--force` (#444)
+ propagate `--pacman-conf` to `pacman-conf` (local builds)
+ unset `PKGDEST` prior to running `makepkg` (#513)
+ remove `--rmdeps` from default options (#508)
* `aur-fetch`
+ expose AUR URL through `AUR_LOCATION` environment variable
* `aur-pkglist`
+ do not require `-P` for regex match
+ Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-rpc`
+ add `--rpc-ver`, `--rpc-url`
+ Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-search`
+ exit 1 on no results
+ exit 2 on AUR error (e.g. "too many results")
+ Expose AUR URL through `AUR_LOCATION` environment variable
* `aur-sync`
+ add `--pkgver` (`aur-build --pkgver`)
+ remove `--rmdeps` from default options (#508)
* `completion`
+ allow `zsh run-help` to display the correct man page (#506)
## 2.1.0 - 2019-01-16
* `aur-build`
+ `--build-command` now works correctly
+ add `--run-pkgver` to run `makepkg -od` before `makepkg --pkglist` (relevant to VCS packages)
* `aur-depends`
+ now takes input as arguments, instead from `stdin`
+ add `--table`, `--pkgbase`, `--pkgname` and `--pkgname-all` (defaults to `--pkgname`)
* `aur-search`
+ add `--raw` to display JSON output
* `aur-sync`
+ add `--ignore-file` (same as `aursync --ignore`)
+ check the (`.SRCINFO`) dependency graph before file inspection
* `aur-fetch-git` and `aur-fetch-snapshot` were removed and merged to `aur-fetch`
## 2.0.1 - 2019-01-11
* `aur-build`
+ do not export PKGDEST for non-chroot builds (#498)
+ add --build-command (#498)
+ man page updates (#217)
* `aur-sync`
+ add --keep-order for parallel aur-fetch
## 2.0.0 - 2019-01-10
* `aur` *(new)*
+ wrapper for the new `git(1)` based design
* `aur-build`
+ remove `repose` support, see https://bbs.archlinux.org/viewtopic.php?pid=1707649#p1707649
+ abort if updating a signed database without `-s` (#246)
+ add `AUR_REPO`, `AUR_DBROOT` environment variables (#302)
+ add `--makepkg-conf`, `--pacman-conf` (#242)
+ use `pacman-conf` instead of `pacconf`
* `aur-chroot` *(new)*
+ new tool containing the functionality of `aur-build -c`
+ support container builds without using a local repository
+ support multiple repositories
+ preserve `GNUPGHOME` (#427)
+ use `pacman-conf` instead of `pacconf`
* `aur-fetch`
+ use `HEAD@{upstream}` instead of `HEAD` for `git reset` (#349)
+ use `wget` instead of `aria2c` or `curl`
+ support diffs for `tar` snapshots (requires: `diffstat`)
* `aur-graph`
+ rewrite in awk (#361)
+ add support for virtual and versioned dependencies (#10)
* `aur-repo` *(new)*
+ manage local repositories
* `aur-rpc` *(new)*
+ send `GET` requests to `aurweb`
+ use `wget` instead of `aria2c` or `curl`
* `aur-search`
+ add `License`, `Keyword`, `Depends`, `MakeDepends` and `CheckDepends` fields
+ add `depends`, `makedepends` search (#432)
+ add popularity to `brief` output (#420)
+ colorize if `stdout` is a terminal (#473)
+ use intersection of results for multiple terms (#328)
+ use `aur-rpc` to query `aurweb`
* `aur-sync`
+ add `AUR_PAGER` environment variable (file review, #51)
+ add `--bind-rw` (#428)
+ add `--ignore-arch` (`makepkg -A`, #309)
+ add `--nover-shallow` (only check versions for depends, #374)
+ add `--provides` (virtual dependencies, #452)
+ add `--rebuild`, `--rebuildtree` aliases (#424)
+ rename `--repo` to `--database` (#353)
+ the `--ignore` option now takes a comma-separated list of packages
+ fetch sources in parallel
+ set the default value for `AURDEST` to `$XDG_CACHE_HOME/aurutils/sync`
* `aur-srcver` *(new)*
+ print latest revision of VCS packages
* `aur-vercmp-devel` *(new)*
+ compare latest revision of VCS packages to a local repository
* `officer` *(removed)*
+ removed in favor of `pacman --config`
* `completion`
+ add `bash` completion (requires: `bash-completion`)
+ add `zsh` completion in a later release (#458)
* Fixes for known issues in `1.5.3`.

2
aurutils/aurutils.pub Normal file
View File

@ -0,0 +1,2 @@
untrusted comment: signify public key
RWQcfDbvctqX5i5yNDNqu607LC7mKArHMsq7ziT8ynx9bQwj5m5ZpMJY