git subrepo clone https://aur.archlinux.org/aurutils
subrepo: subdir: "aurutils" merged: "a03e794" upstream: origin: "https://aur.archlinux.org/aurutils" branch: "master" commit: "a03e794" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
This commit is contained in:
parent
e1d77060f6
commit
fa6e7fafac
26
aurutils/.SRCINFO
Normal file
26
aurutils/.SRCINFO
Normal file
@ -0,0 +1,26 @@
|
||||
pkgbase = aurutils
|
||||
pkgdesc = helper tools for the arch user repository
|
||||
pkgver = 3.1.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/AladW/aurutils
|
||||
changelog = aurutils.changelog
|
||||
arch = any
|
||||
license = custom:ISC
|
||||
makedepends = signify
|
||||
depends = git
|
||||
depends = jq
|
||||
depends = pacutils
|
||||
depends = curl
|
||||
optdepends = bash-completion: bash completion
|
||||
optdepends = zsh: zsh completion
|
||||
optdepends = devtools: aur-chroot
|
||||
optdepends = vifm: default pager
|
||||
source = https://github.com/AladW/aurutils/releases/download/3.1.2/aurutils-3.1.2.tar.gz
|
||||
source = https://github.com/AladW/aurutils/releases/download/3.1.2/aurutils-3.1.2.tar.gz.signify
|
||||
source = aurutils.pub
|
||||
sha256sums = 86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb
|
||||
sha256sums = SKIP
|
||||
sha256sums = a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39
|
||||
|
||||
pkgname = aurutils
|
||||
|
12
aurutils/.gitrepo
Normal file
12
aurutils/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
||||
; DO NOT EDIT (unless you know what you are doing)
|
||||
;
|
||||
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||
;
|
||||
[subrepo]
|
||||
remote = https://aur.archlinux.org/aurutils
|
||||
branch = master
|
||||
commit = a03e794cd0dcbfad1cd4e4e8fbf6220d6a3bbcfd
|
||||
parent = e1d77060f67666529d5793fa7e52baaf13b4411c
|
||||
method = merge
|
||||
cmdver = 0.4.1
|
36
aurutils/PKGBUILD
Normal file
36
aurutils/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Alad Wenter <https://github.com/AladW>
|
||||
pkgname=aurutils
|
||||
pkgver=3.1.2
|
||||
pkgrel=1
|
||||
pkgdesc='helper tools for the arch user repository'
|
||||
url='https://github.com/AladW/aurutils'
|
||||
arch=('any')
|
||||
license=('custom:ISC')
|
||||
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
"$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.signify"
|
||||
'aurutils.pub')
|
||||
changelog=aurutils.changelog
|
||||
sha256sums=('86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb'
|
||||
'SKIP'
|
||||
'a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39')
|
||||
depends=('git' 'jq' 'pacutils' 'curl')
|
||||
makedepends=('signify')
|
||||
optdepends=('bash-completion: bash completion'
|
||||
'zsh: zsh completion'
|
||||
'devtools: aur-chroot'
|
||||
'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
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
290
aurutils/aurutils.changelog
Normal file
290
aurutils/aurutils.changelog
Normal 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`.
|
||||
|
38
aurutils/aurutils.install
Normal file
38
aurutils/aurutils.install
Normal file
@ -0,0 +1,38 @@
|
||||
post_upgrade() {
|
||||
if (( $(vercmp '2.0.0-1' "$2") == 1 )); then
|
||||
cat >&2 <<-EOF
|
||||
As of 2.0.0, aurutils no longer supports repose. If you have repose installed,
|
||||
please rebuild your local repository using repo-add. See:
|
||||
|
||||
https://bbs.archlinux.org/viewtopic.php?pid=1707649#p1707649
|
||||
|
||||
for detailed instructions. For the 2.0.0 changelog, see:
|
||||
|
||||
https://github.com/AladW/aurutils/releases/tag/2.0.0
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
if (( $(vercmp '3.0.0-1' "$2") == 1 )); then
|
||||
cat >&2 <<-EOF
|
||||
As of 3.0.0, aurutils requires a separate pacman configuration for chroot
|
||||
builds. The file path defaults to /usr/share/devtools/pacman/aur.conf.
|
||||
|
||||
For this and other changes, see the aurutils 3.0 blog:
|
||||
|
||||
https://pkgbuild.com/~alad/aurutils_3.html
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
if (( $(vercmp '3.1.0-1' "$2") == 1 )); then
|
||||
cat >&2 <<-EOF
|
||||
As of 3.1.0, the default path of the pacman configuration for chroot builds
|
||||
moved from /usr/share/devtools/pacman-aur.conf to
|
||||
|
||||
/etc/aurutils/pacman-<repository name>.conf
|
||||
|
||||
More information about this file was added to the aur-build man page.
|
||||
EOF
|
||||
fi
|
||||
}
|
2
aurutils/aurutils.pub
Normal file
2
aurutils/aurutils.pub
Normal file
@ -0,0 +1,2 @@
|
||||
untrusted comment: signify public key (aurutils 3.1)
|
||||
RWSiKm8qeKjPfppkN7lm/N4qENa3Racl7DRMfWK4JQS7bl2i/NuI3ZZG
|
Loading…
Reference in New Issue
Block a user