From b483a7911eccd044f676f45447f4476200e57c68 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Thu, 22 Jul 2021 03:46:19 +0000 Subject: [PATCH] build: add scripts --- .repo/README.md | 12 + .repo/build | 45 ++ .repo/keys.ini.example | 2 + .repo/makepkg-grawlinson.conf | 158 +++++++ .repo/new_version.json | 146 +++++++ .repo/nvchecker.toml | 799 ++++++++++++++++++++++++++++++++++ .repo/old_version.json | 146 +++++++ .repo/pacman-grawlinson.conf | 105 +++++ .repo/remove | 17 + 9 files changed, 1430 insertions(+) create mode 100644 .repo/README.md create mode 100755 .repo/build create mode 100644 .repo/keys.ini.example create mode 100644 .repo/makepkg-grawlinson.conf create mode 100644 .repo/new_version.json create mode 100644 .repo/nvchecker.toml create mode 100644 .repo/old_version.json create mode 100644 .repo/pacman-grawlinson.conf create mode 100755 .repo/remove diff --git a/.repo/README.md b/.repo/README.md new file mode 100644 index 0000000..1b01a14 --- /dev/null +++ b/.repo/README.md @@ -0,0 +1,12 @@ +# README + +```sh +# create GPG keys +# copy {pacman,makepkg}-grawlinson.conf to /etc/aurutils + +# create systemd-nspawn chroot for aurbuild +aur chroot --create -M /etc/aurutils/makepkg-grawlinson.conf -C /etc/aurutils/pacman-grawlinson.conf + +# build package +aur build --chroot --gpg-sign --remove +``` diff --git a/.repo/build b/.repo/build new file mode 100755 index 0000000..d31e2fc --- /dev/null +++ b/.repo/build @@ -0,0 +1,45 @@ +#!/bin/bash +set -Eeuo pipefail + +RED=$(tput setaf 1) +#GREEN=$(tput setaf 2) +#YELLOW=$(tput setaf 3) +#BLUE=$(tput setaf 4) +BOLD=$(tput bold) +RESET=$(tput sgr0) +#readonly RED GREEN YELLOW BLUE BOLD RESET +readonly RED BOLD RESET + +traperr() { + s=$? + echo "$0: $BASH_COMMAND" + exit $s +} + +trap traperr ERR + +PACKAGES=( "$@" ) + +if [ ${#PACKAGES[@]} -eq 0 ]; then + echo "${BOLD}${RED}ERROR:${RESET}${BOLD} no packages specified${RESET}" + exit 1 +fi + +for package in "${PACKAGES[@]}"; do + ( + # change to package directory + cd "$package" || exit 1; + + # build signed package in chroot & add to local repo + aur build \ + --chroot \ + --gpg-sign \ + --remove \ + --force \ + --makepkg-conf=/etc/aurutils/makepkg-grawlinson.conf + ) +done + +exit 0 + +# vim: set ts=2 sw=2 et diff --git a/.repo/keys.ini.example b/.repo/keys.ini.example new file mode 100644 index 0000000..3ef3695 --- /dev/null +++ b/.repo/keys.ini.example @@ -0,0 +1,2 @@ +[keys] +github = "the-princess-is-in-another-castle" diff --git a/.repo/makepkg-grawlinson.conf b/.repo/makepkg-grawlinson.conf new file mode 100644 index 0000000..69ac487 --- /dev/null +++ b/.repo/makepkg-grawlinson.conf @@ -0,0 +1,158 @@ +#!/hint/bash +# +# /etc/makepkg.conf +# + +######################################################################### +# SOURCE ACQUISITION +######################################################################### +# +#-- The download utilities that makepkg should use to acquire sources +# Format: 'protocol::agent' +DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' + 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' + 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'rsync::/usr/bin/rsync --no-motd -z %u %o' + 'scp::/usr/bin/scp -C %u %o') + +# Other common tools: +# /usr/bin/snarf +# /usr/bin/lftpget -c +# /usr/bin/wget + +#-- The package required by makepkg to download VCS sources +# Format: 'protocol::package' +VCSCLIENTS=('bzr::bzr' + 'fossil::fossil' + 'git::git' + 'hg::mercurial' + 'svn::subversion') + +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +CARCH="x86_64" +CHOST="x86_64-pc-linux-gnu" + +#-- Compiler and Linker Flags +#CPPFLAGS="" +CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ + -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ + -fstack-clash-protection -fcf-protection" +CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" +LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" +#RUSTFLAGS="-C opt-level=2" +#-- Make Flags: change this for DistCC/SMP systems +MAKEFLAGS="-j$(nproc)" +#-- Debugging flags +DEBUG_CFLAGS="-g -fvar-tracking-assignments" +DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" +#DEBUG_RUSTFLAGS="-C debuginfo=2" + +######################################################################### +# BUILD ENVIRONMENT +######################################################################### +# +# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign) +# A negated environment option will do the opposite of the comments below. +# +#-- distcc: Use the Distributed C/C++/ObjC compiler +#-- color: Colorize output messages +#-- ccache: Use ccache to cache compilation +#-- check: Run the check() function if present in the PKGBUILD +#-- sign: Generate PGP signature file +# +BUILDENV=(!distcc color !ccache check !sign) +# +#-- If using DistCC, your MAKEFLAGS will also need modification. In addition, +#-- specify a space-delimited list of hosts running in the DistCC cluster. +#DISTCC_HOSTS="" +# +#-- Specify a directory for package building. +#BUILDDIR=/tmp/makepkg + +######################################################################### +# GLOBAL PACKAGE OPTIONS +# These are default values for the options=() settings +######################################################################### +# +# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto) +# A negated option will do the opposite of the comments below. +# +#-- strip: Strip symbols from binaries/libraries +#-- docs: Save doc directories specified by DOC_DIRS +#-- libtool: Leave libtool (.la) files in packages +#-- staticlibs: Leave static library (.a) files in packages +#-- emptydirs: Leave empty directories in packages +#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip +#-- purge: Remove files specified by PURGE_TARGETS +#-- debug: Add debugging flags as specified in DEBUG_* variables +#-- lto: Add compile flags for building with link time optimization +# +OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto) + +#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2 +INTEGRITY_CHECK=(b2) +#-- Options to be used when stripping binaries. See `man strip' for details. +STRIP_BINARIES="--strip-all" +#-- Options to be used when stripping shared libraries. See `man strip' for details. +STRIP_SHARED="--strip-unneeded" +#-- Options to be used when stripping static libraries. See `man strip' for details. +STRIP_STATIC="--strip-debug" +#-- Manual (man and info) directories to compress (if zipman is specified) +MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) +#-- Doc directories to remove (if !docs is specified) +DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) +#-- Files to be removed from all packages (if purge is specified) +PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) +#-- Directory to store source code in for debug packages +DBGSRCDIR="/usr/src/debug" + +######################################################################### +# PACKAGE OUTPUT +######################################################################### +# +# Default: put built package and cached source in build directory +# +#-- Destination: specify a fixed directory where all packages will be placed +#PKGDEST=/home/packages +#-- Source cache: specify a fixed directory where source files will be cached +#SRCDEST=/home/sources +#-- Source packages: specify a fixed directory where all src packages will be placed +#SRCPKGDEST=/home/srcpackages +#-- Log files: specify a fixed directory where all log files will be placed +#LOGDEST=/home/makepkglogs +#-- Packager: name/email of the person or organization building packages +PACKAGER="George Rawlinson " +#-- Specify a key to use for package signing +GPGKEY="9D120F4AAF400B8313A87EF2369552B2069123EE" + +######################################################################### +# COMPRESSION DEFAULTS +######################################################################### +# +COMPRESSGZ=(gzip -c -f -n) +COMPRESSBZ2=(bzip2 -c -f) +COMPRESSXZ=(xz -c -z -) +COMPRESSZST=(zstd -c -z -q -) +COMPRESSLRZ=(lrzip -q) +COMPRESSLZO=(lzop -q) +COMPRESSZ=(compress -c -f) +COMPRESSLZ4=(lz4 -q) +COMPRESSLZ=(lzip -c -f) + +######################################################################### +# EXTENSION DEFAULTS +######################################################################### +# +PKGEXT='.pkg.tar.zst' +SRCEXT='.src.tar.gz' + +######################################################################### +# OTHER +######################################################################### +# +#-- Command used to run pacman as root, instead of trying sudo and su +#PACMAN_AUTH=() diff --git a/.repo/new_version.json b/.repo/new_version.json new file mode 100644 index 0000000..50bc7a5 --- /dev/null +++ b/.repo/new_version.json @@ -0,0 +1,146 @@ +{ + "air": "1.27.3", + "ansible-bender": "0.9.0", + "aurutils": "3.1.2-2", + "awl": "0.62", + "bastet": "0.43.2", + "bitwarden-cli": "1.17.1", + "bootiso": "4.2.0-1", + "bottom": "0.6.3", + "boundary": "0.4.0", + "bugdom": "1.3.0", + "buildah": "1.21.3", + "bupstash": "0.9.1", + "cargo-expand": "1.0.7", + "cargo-sort": "1.0.5", + "cargo-supply-chain": "0.2.0", + "check-sieve": "0.6", + "cloud-hypervisor": "16.0", + "cloudflared": "2021.7.0", + "commitizen": "2.17.13", + "cram": "0.7", + "criu": "3.15", + "distrobuilder": "1.2", + "doomretro": "4.1.3", + "dovecot-fts-xapian": "1.4.11", + "downgrade": "10.1.0-1", + "dust": "0.6.1", + "editline": "1.17.1", + "elfcat": "0.1.4", + "endless-sky": "0.9.14", + "endless-sky-editor": "0.7.10", + "endless-sky-high-dpi": "v0.9.14", + "firecracker": "0.24.4", + "firectl": "0.1.0", + "flake8-annotations": "2.6.2", + "flake8-black": "0.2.2", + "flake8-todo": "0.7", + "fluentd": "1.13.2", + "footloose": "0.6.4", + "freeipmi": "1-6-8", + "ghosts": "0.2.2", + "git-delta": "0.8.3", + "hactool": "1.4.0", + "homebridge": "1.3.4", + "homebridge-config-ui-x": "4.41.1", + "homebridge-denon-tv": "3.10.61", + "homebridge-platform-orbit": "1.4.5", + "homebridge-webos-tv": "2.2.2", + "html-xml-utils": "8.0", + "ignite": "0.10.0", + "imhex": "1.8.1", + "landrop": "0.4.0", + "lego": "4.4.0", + "leocad": "21.06", + "libemf2svg": "1.1.0", + "libversion": "3.0.1", + "libvisio2svg": "0.5.5", + "license-detector": "3.1.0", + "lxd": "4.16", + "lxd-snapper": "1.1", + "managesieve": "0.7.1", + "nanosaur": "1.4.2", + "nextcloud-app-client-push": "0.2.1", + "nginx": "1.21.1", + "nix": "2.3.14", + "nomad": "1.1.2", + "nomad-driver-containerd": "0.9", + "nomad-driver-lxc": "0.3.0", + "nomad-driver-nspawn": "0.7.0", + "nomad-driver-podman": "0.3.0", + "nomad-driver-singularity": "1.0.0-alpha2", + "nvm": "0.38.0-2", + "peco": "0.5.10", + "pg-ulid": "20210327.215809", + "pijul": "1.0.0-alpha.52", + "plex-media-server-plexpass": "1.23.6.4810-1", + "postgis": "3.1.3", + "postgresql-libversion": "2.0.0", + "prometheus-apcupsd-exporter": "0.2.0", + "prometheus-bind-exporter": "0.4.0", + "prometheus-ipmi-exporter": "1.4.0", + "prometheus-nut-exporter": "2.2.1", + "prometheus-pgbouncer-exporter": "0.4.0", + "prometheus-snmp-exporter": "0.20.0", + "promscale": "0.5.1", + "promscale_extension": "0.2.0", + "pytest-check": "1.0.1", + "python-auto-changelog": "0.5.3", + "python-boolean.py": "3.8", + "python-crashtest": "0.3.1", + "python-debian": "0.1.40", + "python-decli": "0.5.2", + "python-desert": "2020.11.18", + "python-discogs-client": "2.3.0", + "python-flake8-plugin-utils": "1.3.2", + "python-flake8-pytest-style": "1.5.0", + "python-license-expression": "21.6.14", + "python-lolcat": "1.4", + "python-marshmallow-dataclass": "8.4.2", + "python-nclib": "1.0.1", + "python-nox-poetry": "0.8.6", + "python-pylightxl": "1.55", + "python-pylxd": "2.3.0", + "python-pytest-deadfixtures": "2.2.1", + "python-questionary": "1.10.0", + "python-requests-unixsocket": "0.2.0", + "python-semantic-release": "7.16.2", + "python-taskipy": "1.8.1", + "python-ws4py": "0.5.1", + "python-xdoctest": "0.15.5", + "python-xlsxwriter": "1.4.4", + "rbw": "1.3.0", + "reuse": "0.13.0", + "ruby-cool.io": "1.7.1", + "ruby-excon": "0.85.0", + "ruby-http": "5.0.1", + "ruby-http-form_data": "2.3.0", + "ruby-http_parser.rb": "0.7.0", + "ruby-jsonpath": "1.1.0", + "ruby-markaby": "0.9.0", + "ruby-oj": "3.12.1", + "ruby-redcarpet": "3.5.1", + "ruby-serverengine": "2.2.4", + "ruby-sigdump": "0.2.4", + "ruby-song_pro": "0.1.10", + "ruby-strptime": "0.2.5", + "ruby-tzinfo-data": "1.2021.1", + "ruby-yajl-ruby": "1.4.1", + "rutorrent": "3.10", + "samhain": "4.4.5", + "sendmail/libmilter": "8.16.1", + "shellcheck": "0.7.2", + "snappymail": "2.5.3", + "ssh-audit": "2.4.0", + "tea": "0.7.0", + "tealdeer": "1.4.1", + "terraform-provider-lxd": "1.5.0", + "timescaledb": "2.3.1", + "timescaledb-backup": "0.1.1", + "timescaledb-parallel-copy": "0.3.0", + "timescaledb-tune": "0.11.0", + "tinyxml2": "9.0.0", + "ttf-monoid": "0.61", + "waypoint": "0.4.1", + "z-push": "2.6.3" +} diff --git a/.repo/nvchecker.toml b/.repo/nvchecker.toml new file mode 100644 index 0000000..d383a27 --- /dev/null +++ b/.repo/nvchecker.toml @@ -0,0 +1,799 @@ +[__config__] +oldver = "old_version.json" +newver = "new_version.json" +keyfile = "keys.ini" + +# crates.io + +[git-delta] +source = "cratesio" +cratesio = "git-delta" + +[cargo-expand] +source = "cratesio" +cratesio = "cargo-expand" + +[cargo-sort] +source = "cratesio" +cratesio = "cargo-sort" + +[cargo-supply-chain] +source = "cratesio" +cratesio = "cargo-supply-chain" + +[pijul] +source = "cratesio" +cratesio = "pijul" + +[rbw] +source = "cratesio" +cratesio = "rbw" + +# gitea +[tea] +source = "gitea" +gitea = "gitea/tea" +use_max_tag = true +prefix = "v" + +# gitlab +[managesieve] +source = "gitlab" +gitlab = "htgoebel/managesieve" +use_max_tag = true +prefix = "v" + +[awl] +source = "gitlab" +gitlab = "davical-project/awl" +use_max_tag = true +prefix = "r" + +# github + +[dust] +source = "github" +github = "bootandy/dust" +use_max_tag = true +prefix = "v" + +[tealdeer] +source = "github" +github = "dbrgn/tealdeer" +use_max_tag = true +prefix = "v" + +[peco] +source = "github" +github = "peco/peco" +use_max_tag = true +prefix = "v" + +[bottom] +source = "github" +github = "ClementTsang/bottom" +use_max_tag = true + +[python-xlsxwriter] +source = "github" +github = "jmcnamara/XlsxWriter" +use_max_tag = true +prefix = "RELEASE_" + +[python-taskipy] +source = "github" +github = "illBeRoy/taskipy" +use_latest_tag = true + +[python-pytest-deadfixtures] +source = "github" +github = "jllorencetti/pytest-deadfixtures" +use_latest_tag = true + +[python-flake8-plugin-utils] +source = "github" +github = "afonasev/flake8-plugin-utils" +use_latest_tag = true +prefix = "v" + +[python-flake8-pytest-style] +source = "github" +github = "m-burst/flake8-pytest-style" +use_latest_tag = true +prefix = "v" + +[cloud-hypervisor] +source = "github" +github = "cloud-hypervisor/cloud-hypervisor" +use_latest_tag = true +prefix = "v" + +[ignite] +source = "github" +github = "weaveworks/ignite" +use_latest_tag = true +prefix = "v" + +[footloose] +source = "github" +github = "weaveworks/footloose" +use_latest_tag = true + +[firectl] +source = "github" +github = "firecracker-microvm/firectl" +use_latest_tag = true +prefix = "v" + +[firecracker] +source = "github" +github = "firecracker-microvm/firecracker" +use_max_tag = true +prefix = "v" +exclude_regex = "^.*-wip$" + +[nix] +source = "github" +github = "nixos/nix" +use_latest_tag = true + +[ansible-bender] +source = "github" +github = "ansible-community/ansible-bender" +use_latest_tag = true + +[buildah] +source = "github" +github = "containers/buildah" +use_latest_tag = true +prefix = "v" + +[elfcat] +source = "github" +github = "ruslashev/elfcat" +use_latest_tag = true + +[libversion] +source = "github" +github = "repology/libversion" +use_latest_tag = true + +[postgresql-libversion] +source = "github" +github = "repology/postgresql-libversion" +use_latest_tag = true + +[terraform-provider-lxd] +source = "github" +github = "terraform-lxd/terraform-provider-lxd" +use_latest_tag = true +prefix = "v" + +[tinyxml2] +source = "github" +github = "leethomason/tinyxml2" +use_latest_tag = true + +[lxd-snapper] +source = "github" +github = "Patryk27/lxd-snapper" +use_latest_tag = true +prefix = "v" + +[boundary] +source = "github" +github = "hashicorp/boundary" +use_max_tag = true +prefix = "v" +exclude_regex = "(sdk|api).*" + +[waypoint] +source = "github" +github = "hashicorp/waypoint" +use_latest_tag = true +prefix = "v" + +[nomad] +source = "github" +github = "hashicorp/nomad" +use_latest_tag = true +prefix = "v" + +[nomad-driver-lxc] +source = "github" +github = "hashicorp/nomad-driver-lxc" +use_latest_tag = true +prefix = "v" + +[nomad-driver-nspawn] +source = "github" +github = "JanMa/nomad-driver-nspawn" +use_latest_tag = true +prefix = "v" + +[nomad-driver-containerd] +source = "github" +github = "Roblox/nomad-driver-containerd" +use_latest_tag = true +prefix = "v" + +[nomad-driver-podman] +source = "github" +github = "hashicorp/nomad-driver-podman" +use_latest_tag = true +prefix = "v" + +[nomad-driver-singularity] +source = "github" +github = "hpcng/nomad-driver-singularity" +use_latest_tag = true +prefix = "v" + +[criu] +source = "github" +github = "checkpoint-restore/criu" +use_latest_tag = true +prefix = "v" + +[postgis] +source = "github" +github = "postgis/postgis" +use_latest_tag = true + +[landrop] +source = "github" +github = "landrop/landrop" +use_latest_tag = true +prefix = "v" + +#[openldap] +#source = "github" +#github = "openldap/openldap" +#use_max_tag = true +#prefix = "OPENLDAP_REL_ENG_" + +[z-push] +source = "github" +github = "Z-Hub/Z-Push" +use_max_tag = true +exclude_regex = "^.*(alpha|beta).*$" + +[freeipmi] +source = "github" +github = "chu11/freeipmi" +prefix = "freeipmi-" +#from_pattern = "-" +#to_pattern = "." +use_latest_tag = true + +[check-sieve] +source = "github" +github = "dburkart/check-sieve" +prefix = "check-sieve-" +use_latest_tag = true + +[ssh-audit] +source = "github" +github = "jtesta/ssh-audit" +use_max_tag = true +prefix = "v" + + +[ghosts] +source = "github" +github = "StevenBlack/ghosts" +use_max_tag = true +prefix = "v" + +[nginx] +source = "github" +github = "nginx/nginx" +use_max_tag = true +prefix = "release-" + +[dovecot-fts-xapian] +source = "github" +github = "grosjo/fts-xapian" +use_max_tag = true + +[nextcloud-app-client-push] +source = "github" +github = "nextcloud/notify_push" +use_max_tag = true +prefix = "v" + +[shellcheck] +source = "github" +github = "koalaman/shellcheck" +use_max_tag = true +prefix = "v" + +[editline] +source = "github" +github = "troglobit/editline" +use_max_tag = true + +[imhex] +source = "github" +github = "WerWolv/ImHex" +use_max_tag = true +prefix = "v" + +[bupstash] +source = "github" +github = "andrewchambers/bupstash" +use_max_tag = true +prefix = "v" + +[bugdom] +source = "github" +github = "jorio/Bugdom" +use_latest_release = true +prefix = "v" + +[nanosaur] +source = "github" +github = "jorio/Nanosaur" +use_latest_release = true +prefix = "v" + +[air] +source = "github" +github = "cosmtrek/air" +use_latest_release = true +prefix = "v" + +[bastet] +source = "github" +github = "fph/bastet" +use_latest_release = true + +[bitwarden-cli] +source = "github" +github = "bitwarden/cli" +use_latest_release = true +prefix = "v" + +[cloudflared] +source = "github" +github = "cloudflare/cloudflared" +use_max_tag = true + +[cram] +source = "github" +github = "brodie/cram" +use_max_tag = true + +[flake8-black] +source = "github" +github = "peterjc/flake8-black" +use_max_tag = true +prefix = "v" + +[flake8-todo] +source = "github" +github = "schlamar/flake8-todo" +use_max_tag = true +prefix = "v" + +[hactool] +source = "github" +github = "SciresM/hactool" +use_max_tag = true +prefix = "hactool-" + +[prometheus-pgbouncer-exporter] +source = "github" +github = "prometheus-community/pgbouncer_exporter" +use_max_tag = true +prefix = "v" + +[prometheus-nut-exporter] +source = "github" +github = "DRuggeri/nut_exporter" +use_max_tag = true +prefix = "v" + +[prometheus-bind-exporter] +source = "github" +github = "prometheus-community/bind_exporter" +use_max_tag = true +prefix = "v" + +[prometheus-apcupsd-exporter] +source = "github" +github = "mdlayher/apcupsd_exporter" +use_max_tag = true +prefix = "v" + +[prometheus-ipmi-exporter] +source = "github" +github = "soundcloud/ipmi_exporter" +use_max_tag = true +prefix = "v" + +[prometheus-snmp-exporter] +source = "github" +github = "prometheus/snmp_exporter" +use_max_tag = true +prefix = "v" + +[python-pylxd] +source = "github" +github = "lxc/pylxd" +use_max_tag = true + +[python-ws4py] +source = "github" +github = "Lawouach/WebSocket-for-Python" +use_max_tag = true + +[python-auto-changelog] +source = "github" +github = "Michael-F-Bryan/auto-changelog" +use_max_tag = true + +["python-boolean.py"] +source = "github" +github = "bastikr/boolean.py" +use_max_tag = true +prefix = "v" + +[python-crashtest] +source = "github" +github = "sdispater/crashtest" +use_max_tag = true +prefix = "v" + +[python-desert] +source = "github" +github = "python-desert/desert" +use_max_tag = true +prefix = "v" + +[python-discogs-client] +source = "github" +github = "discogs/discogs_client" +use_latest_release = true +prefix = "v" + +[python-license-expression] +source = "github" +github = "nexB/license-expression" +use_max_tag = true +prefix = "v" + +[python-lolcat] +source = "github" +github = "tehmaze/lolcat" +use_max_tag = true + +[python-nox-poetry] +source = "github" +github = "cjolowicz/nox-poetry" +use_max_tag = true +prefix = "v" + +[python-marshmallow-dataclass] +source = "github" +github = "lovasoa/marshmallow_dataclass" +use_max_tag = true +prefix = "v" + +[python-semantic-release] +source = "github" +github = "relekang/python-semantic-release" +use_max_tag = true +prefix = "v" + +[reuse] +source = "github" +github = "fsfe/reuse-tool" +use_max_tag = true +prefix = "v" + +[distrobuilder] +source = "github" +github = "lxc/distrobuilder" +use_max_tag = true +prefix = "distrobuilder-" + +[lxd] +source = "github" +github = "lxc/lxd" +use_max_tag = true +prefix = "lxd-" + +[doomretro] +source = "github" +github = "bradharding/doomretro" +use_latest_release = true +prefix = "v" + +[endless-sky] +source = "github" +github = "endless-sky/endless-sky" +use_latest_release = true +prefix = "v" + +[endless-sky-editor] +source = "github" +github = "endless-sky/endless-sky-editor" +use_max_tag = true +prefix = "v" + +[endless-sky-high-dpi] +source = "github" +github = "endless-sky/endless-sky-high-dpi" +use_latest_release = true + +[flake8-annotations] +source = "github" +github = "sco1/flake8-annotations" +use_latest_release = true +prefix = "v" + +[lego] +source = "github" +github = "go-acme/lego" +use_latest_release = true +prefix = "v" + +[leocad] +source = "github" +github = "leozide/leocad" +use_max_tag = true +prefix = "v" + +[libemf2svg] +source = "github" +github = "kakwa/libemf2svg" +use_max_tag = true + +[libvisio2svg] +source = "github" +github = "kakwa/libvisio2svg" +use_max_tag = true + +[license-detector] +source = "github" +github = "src-d/go-license-detector" +use_latest_release = true +prefix = "v" + +[pg-ulid] +source = "github" +github = "iCyberon/pg_ulid" + +[promscale] +source = "github" +github = "timescale/promscale" +use_max_tag = true + +[promscale_extension] +source = "github" +github = "timescale/promscale_extension" +use_max_tag = true + +[rutorrent] +source = "github" +github = "Novik/ruTorrent" +use_latest_release = true +prefix = "v" + +#[rutorrent-git] +#source = "github" +#github = "Novik/ruTorrent" + +[snappymail] +source = "github" +github = "the-djmaze/snappymail" +#use_latest_release = true +use_max_tag = true +prefix = "v" + +[timescaledb] +source = "github" +github = "timescale/timescaledb" +use_latest_release = true + +[timescaledb-tune] +source = "github" +github = "timescale/timescaledb-tune" +use_max_tag = true +prefix = "v" + +[timescaledb-parallel-copy] +source = "github" +github = "timescale/timescaledb-parallel-copy" +use_max_tag = true +prefix = "v" + +[timescaledb-backup] +source = "github" +github = "timescale/timescaledb-backup" +use_max_tag = true +prefix = "v" + +[ttf-monoid] +source = "github" +github = "larsenwork/monoid" +use_max_tag = true + +[python-xdoctest] +source = "github" +github = "Erotemic/xdoctest" +use_max_tag = true + +[python-questionary] +source = "github" +github = "tmbo/questionary" +use_max_tag = true + +[python-decli] +source = "github" +github = "Woile/decli" +use_max_tag = true +prefix = "v" + +[commitizen] +source = "github" +github = "commitizen-tools/commitizen" +use_max_tag = true +prefix = "v" + +# AUR +[aurutils] +source = "aur" +aur = "aurutils" + +[bootiso] +source = "aur" +aur = "bootiso" + +[downgrade] +source = "aur" +aur = "downgrade" + +[nvm] +source = "aur" +aur = "nvm" + +[plex-media-server-plexpass] +source = "aur" +aur = "plex-media-server-plexpass" + +# pypi +[python-pylightxl] +source = "pypi" +pypi = "pylightxl" + +[python-requests-unixsocket] +source = "pypi" +pypi = "requests-unixsocket" + +[python-nclib] +source = "pypi" +pypi = "nclib" + +[pytest-check] +source = "pypi" +pypi = "pytest-check" + +# external + +#[firefox-nightly-en-gb] +#source = "cmd" +#cmd = './.repo/pkgver/firefox-nightly-en-gb.sh' + +[samhain] +source = "cmd" +cmd = "./.repo/pkgver/samhain.sh" + +[html-xml-utils] +source = "cmd" +cmd = "./.repo/pkgver/html-xml-utils.sh" + +["sendmail/libmilter"] +source = "cmd" +cmd = "./.repo/pkgver/sendmail.sh" + +# git +#[plasma-pass-git] +#source = "git" +#git = "https://invent.kde.org/plasma/plasma-pass.git" + +[python-debian] +source = "git" +git = "https://salsa.debian.org/python-debian-team/python-debian.git" +use_max_tag = true + +# gems + +[ruby-markaby] +source = "gems" +gems = "markaby" + +[ruby-song_pro] +source = "gems" +gems = "song_pro" + +[ruby-redcarpet] +source = "gems" +gems = "redcarpet" + +[ruby-jsonpath] +source = "gems" +gems = "jsonpath" + +[fluentd] +source = "gems" +gems = "fluentd" +exclude_regex = ".*\\.rc.*$" + +["ruby-cool.io"] +source = "gems" +gems = "cool.io" + +[ruby-excon] +source = "gems" +gems = "excon" + +[ruby-http] +source = "gems" +gems = "http" + +[ruby-http-form_data] +source = "gems" +gems = "http-form_data" + +["ruby-http_parser.rb"] +source = "gems" +gems = "http_parser.rb" + +[ruby-yajl-ruby] +source = "gems" +gems = "yajl-ruby" + +[ruby-sigdump] +source = "gems" +gems = "sigdump" + +[ruby-serverengine] +source = "gems" +gems = "serverengine" + +[ruby-strptime] +source = "gems" +gems = "strptime" + +[ruby-tzinfo-data] +source = "gems" +gems = "tzinfo-data" + +[ruby-oj] +source = "gems" +gems = "oj" + +# npm + +[homebridge] +source = "npm" +npm = "homebridge" + +[homebridge-config-ui-x] +source = "npm" +npm = "homebridge-config-ui-x" + +[homebridge-platform-orbit] +source = "npm" +npm = "homebridge-platform-orbit" + +[homebridge-webos-tv] +source = "npm" +npm = "homebridge-webos-tv" + +[homebridge-denon-tv] +source = "npm" +npm = "homebridge-denon-tv" + diff --git a/.repo/old_version.json b/.repo/old_version.json new file mode 100644 index 0000000..50bc7a5 --- /dev/null +++ b/.repo/old_version.json @@ -0,0 +1,146 @@ +{ + "air": "1.27.3", + "ansible-bender": "0.9.0", + "aurutils": "3.1.2-2", + "awl": "0.62", + "bastet": "0.43.2", + "bitwarden-cli": "1.17.1", + "bootiso": "4.2.0-1", + "bottom": "0.6.3", + "boundary": "0.4.0", + "bugdom": "1.3.0", + "buildah": "1.21.3", + "bupstash": "0.9.1", + "cargo-expand": "1.0.7", + "cargo-sort": "1.0.5", + "cargo-supply-chain": "0.2.0", + "check-sieve": "0.6", + "cloud-hypervisor": "16.0", + "cloudflared": "2021.7.0", + "commitizen": "2.17.13", + "cram": "0.7", + "criu": "3.15", + "distrobuilder": "1.2", + "doomretro": "4.1.3", + "dovecot-fts-xapian": "1.4.11", + "downgrade": "10.1.0-1", + "dust": "0.6.1", + "editline": "1.17.1", + "elfcat": "0.1.4", + "endless-sky": "0.9.14", + "endless-sky-editor": "0.7.10", + "endless-sky-high-dpi": "v0.9.14", + "firecracker": "0.24.4", + "firectl": "0.1.0", + "flake8-annotations": "2.6.2", + "flake8-black": "0.2.2", + "flake8-todo": "0.7", + "fluentd": "1.13.2", + "footloose": "0.6.4", + "freeipmi": "1-6-8", + "ghosts": "0.2.2", + "git-delta": "0.8.3", + "hactool": "1.4.0", + "homebridge": "1.3.4", + "homebridge-config-ui-x": "4.41.1", + "homebridge-denon-tv": "3.10.61", + "homebridge-platform-orbit": "1.4.5", + "homebridge-webos-tv": "2.2.2", + "html-xml-utils": "8.0", + "ignite": "0.10.0", + "imhex": "1.8.1", + "landrop": "0.4.0", + "lego": "4.4.0", + "leocad": "21.06", + "libemf2svg": "1.1.0", + "libversion": "3.0.1", + "libvisio2svg": "0.5.5", + "license-detector": "3.1.0", + "lxd": "4.16", + "lxd-snapper": "1.1", + "managesieve": "0.7.1", + "nanosaur": "1.4.2", + "nextcloud-app-client-push": "0.2.1", + "nginx": "1.21.1", + "nix": "2.3.14", + "nomad": "1.1.2", + "nomad-driver-containerd": "0.9", + "nomad-driver-lxc": "0.3.0", + "nomad-driver-nspawn": "0.7.0", + "nomad-driver-podman": "0.3.0", + "nomad-driver-singularity": "1.0.0-alpha2", + "nvm": "0.38.0-2", + "peco": "0.5.10", + "pg-ulid": "20210327.215809", + "pijul": "1.0.0-alpha.52", + "plex-media-server-plexpass": "1.23.6.4810-1", + "postgis": "3.1.3", + "postgresql-libversion": "2.0.0", + "prometheus-apcupsd-exporter": "0.2.0", + "prometheus-bind-exporter": "0.4.0", + "prometheus-ipmi-exporter": "1.4.0", + "prometheus-nut-exporter": "2.2.1", + "prometheus-pgbouncer-exporter": "0.4.0", + "prometheus-snmp-exporter": "0.20.0", + "promscale": "0.5.1", + "promscale_extension": "0.2.0", + "pytest-check": "1.0.1", + "python-auto-changelog": "0.5.3", + "python-boolean.py": "3.8", + "python-crashtest": "0.3.1", + "python-debian": "0.1.40", + "python-decli": "0.5.2", + "python-desert": "2020.11.18", + "python-discogs-client": "2.3.0", + "python-flake8-plugin-utils": "1.3.2", + "python-flake8-pytest-style": "1.5.0", + "python-license-expression": "21.6.14", + "python-lolcat": "1.4", + "python-marshmallow-dataclass": "8.4.2", + "python-nclib": "1.0.1", + "python-nox-poetry": "0.8.6", + "python-pylightxl": "1.55", + "python-pylxd": "2.3.0", + "python-pytest-deadfixtures": "2.2.1", + "python-questionary": "1.10.0", + "python-requests-unixsocket": "0.2.0", + "python-semantic-release": "7.16.2", + "python-taskipy": "1.8.1", + "python-ws4py": "0.5.1", + "python-xdoctest": "0.15.5", + "python-xlsxwriter": "1.4.4", + "rbw": "1.3.0", + "reuse": "0.13.0", + "ruby-cool.io": "1.7.1", + "ruby-excon": "0.85.0", + "ruby-http": "5.0.1", + "ruby-http-form_data": "2.3.0", + "ruby-http_parser.rb": "0.7.0", + "ruby-jsonpath": "1.1.0", + "ruby-markaby": "0.9.0", + "ruby-oj": "3.12.1", + "ruby-redcarpet": "3.5.1", + "ruby-serverengine": "2.2.4", + "ruby-sigdump": "0.2.4", + "ruby-song_pro": "0.1.10", + "ruby-strptime": "0.2.5", + "ruby-tzinfo-data": "1.2021.1", + "ruby-yajl-ruby": "1.4.1", + "rutorrent": "3.10", + "samhain": "4.4.5", + "sendmail/libmilter": "8.16.1", + "shellcheck": "0.7.2", + "snappymail": "2.5.3", + "ssh-audit": "2.4.0", + "tea": "0.7.0", + "tealdeer": "1.4.1", + "terraform-provider-lxd": "1.5.0", + "timescaledb": "2.3.1", + "timescaledb-backup": "0.1.1", + "timescaledb-parallel-copy": "0.3.0", + "timescaledb-tune": "0.11.0", + "tinyxml2": "9.0.0", + "ttf-monoid": "0.61", + "waypoint": "0.4.1", + "z-push": "2.6.3" +} diff --git a/.repo/pacman-grawlinson.conf b/.repo/pacman-grawlinson.conf new file mode 100644 index 0000000..7dd0651 --- /dev/null +++ b/.repo/pacman-grawlinson.conf @@ -0,0 +1,105 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +CheckSpace +VerbosePkgLists +#NoProgressBar +ParallelDownloads = 5 + + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +#[multilib] +#Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs + +[grawlinson] +SigLevel = Never +Server = file:///var/lib/repo/grawlinson diff --git a/.repo/remove b/.repo/remove new file mode 100755 index 0000000..59bdcbb --- /dev/null +++ b/.repo/remove @@ -0,0 +1,17 @@ +#!/bin/bash +set -uo pipefail +# shellcheck disable=SC2154 +trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR + +REPO_NAME=grawlinson +REPO_PATH="/var/lib/repo/$REPO_NAME" +REPO_EXT=".db.tar.xz" + +repo-remove \ + --sign \ + "${REPO_PATH}/${REPO_NAME}${REPO_EXT}" \ + "$@" + +printf "Don't forget to remove the package files from the repository!\n" + +exit 0