This commit is contained in:
joborun linux 2022-03-20 14:34:07 +02:00
parent b89c3a95b8
commit 06d3326664
961 changed files with 31791 additions and 0 deletions

34
aget/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=aget
pkgver=1.2.0
pkgrel=01
pkgdesc='Minimalistic AUR helper'
arch=(x86_64)
url='https://github.com/xyproto/aget'
depends=(git openssh)
makedepends=(go git)
source=("git+https://github.com/xyproto/aget#commit=35a6976114013313000b7c1a4c08487936ca7592") # tag: 1.2.0
build() {
cd $pkgname
go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}"
}
package() {
cd $pkgname
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
#---- license gpg-key sha256sums ----
license=(MIT)
sha256sums=(SKIP)

23
aget/PKGBUILD-aur Normal file
View File

@ -0,0 +1,23 @@
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=aget
pkgver=1.2.0
pkgrel=1
pkgdesc='Minimalistic AUR helper'
arch=(x86_64)
url='https://github.com/xyproto/aget'
license=(MIT)
makedepends=(go git)
source=("git+https://github.com/xyproto/aget#commit=35a6976114013313000b7c1a4c08487936ca7592") # tag: 1.2.0
b2sums=(SKIP)
build() {
cd $pkgname
go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}"
}
package() {
cd $pkgname
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

1
aget/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,aget}

2
aget/deps Normal file
View File

@ -0,0 +1,2 @@
go git
openssh

55
alsa-utils/PKGBUILD Normal file
View File

@ -0,0 +1,55 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=alsa-utils
pkgver=1.2.6
pkgrel=01
pkgdesc="Advanced Linux Sound Architecture - Utilities"
arch=(x86_64)
url="https://www.alsa-project.org"
depends=(glibc pciutils psmisc)
makedepends=(alsa-lib docbook-xsl fftw libsamplerate ncurses python-docutils xmlto)
optdepends=('fftw: for alsabat')
# we require /var/lib/alsa for state file
options=(emptydirs)
source=("https://www.alsa-project.org/files/pub/utils/${pkgname}-${pkgver}.tar.bz2"{,.sig})
prepare() {
cd "${pkgname}-${pkgver}"
autoreconf -fiv
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sbindir=/usr/bin \
--disable-alsaconf \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--with-systemdsystemunitdir=no
make
}
package() {
depends+=(libasound.so libatopology.so libformw.so libmenuw.so libncursesw.so
libpanelw.so libsamplerate.so)
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
# dir where to save ALSA state
install -d "${pkgdir}/var/lib/alsa"
}
#---- license gpg-key sha256sums ----
license=(GPL2)
validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
sha256sums=(6a1efd8a1f1d9d38e489633eaec1fffa5c315663b316cab804be486887e6145d # alsa-utils-1.2.6.tar.bz2
2efbe44243676d6b3eafcd7a425c2d92d2bb09ef8b605f5ed8396727be187204) # alsa-utils-1.2.6.tar.bz2.sig

49
alsa-utils/PKGBUILD-arch Normal file
View File

@ -0,0 +1,49 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=alsa-utils
pkgver=1.2.6
pkgrel=1
pkgdesc="Advanced Linux Sound Architecture - Utilities"
arch=(x86_64)
url="https://www.alsa-project.org"
license=(GPL2)
depends=(glibc pciutils psmisc)
makedepends=(alsa-lib docbook-xsl fftw libsamplerate ncurses python-docutils
systemd xmlto)
optdepends=('fftw: for alsabat')
# we require /var/lib/alsa for state file
options=(emptydirs)
source=("https://www.alsa-project.org/files/pub/utils/${pkgname}-${pkgver}.tar.bz2"{,.sig})
sha512sums=('6842f0f4c2f7cc5ac3ba94736ee259d9988b5d3e0d2b522f858d712e16938d2845fa9ef64f4aa60222b8ef6738e053f9113a5ea24a197f2c0d6c4dbd70030f5e'
'SKIP')
b2sums=('3b81cccc836e0de9f6d98f311dc3a316a02179ec1fc7520da9658192f27e7701c6dc41b04a82639d6269d6943afd8a89cb6477406cbc36ac450e57919cff46f2'
'SKIP')
validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
prepare() {
cd "${pkgname}-${pkgver}"
autoreconf -fiv
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-alsaconf \
--sbindir=/usr/bin \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--with-systemdsystemunitdir=/usr/lib/systemd/system
make
}
package() {
depends+=(libasound.so libatopology.so libformw.so libmenuw.so libncursesw.so
libpanelw.so libsamplerate.so)
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
# dir where to save ALSA state
install -d "${pkgdir}/var/lib/alsa"
}

116
alsa-utils/PKGBUILD-oba Normal file
View File

@ -0,0 +1,116 @@
# Copyright : Obarun
#------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Maintainer : YianIris <yianiris At disroot Dot org>
#----------------
# Obarun PkgSrc : https://git.obarun.org/pkg/obextra/alsa-utils
#---------------------------------------------------------------
# DESCRIPTION ]
pkgname=alsa-utils
pkgver=1.2.6
pkgrel=2
pkgdesc="An alternative implementation of Linux sound support"
url='https://www.alsa-project.org'
track="files/pub/utils"
target="$pkgname-$pkgver"
source=(
"https://www.alsa-project.org/${track}/${target}.tar.bz2"
)
#----------------------
# BUILD CONFIGURATION ]
makedepends=(
'alsa-lib'
'docbook-xsl'
'fftw'
'libsamplerate'
'ncurses'
'xmlto'
'python-docutils'
)
options=(
'emptydirs'
)
#------------------------
# INSTALL CONFIGURATION ]
depends=(
'glibc'
'pciutils'
'psmisc'
)
optsdepends=(
'fftw: for alsabat'
)
#----------------
# BUILD PREPARE ]
prepare() {
cd $pkgname-$pkgver
autoreconf -vfi
}
#----------------
# BUILD CONTROL ]
_flags=(
--prefix=/usr
--sbindir=/usr/bin
--disable-alsaconf
--with-udev-rules-dir=/usr/lib/udev/rules.d
)
#--------
# BUILD ]
build() {
cd $pkgname-$pkgver
./configure "${_flags[@]}"
make
}
#----------
# PACKAGE ]
package() {
depends+=(
'libasound.so'
'libatopology.so'
'libformw.so'
'libmenuw.so'
'libncursesw.so'
'libpanelw.so'
'libsamplerate.so'
)
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
## dir where to save ALSA state
install -d "$pkgdir"/var/lib/alsa
install -vDm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
}
#--------------------
# ARCH LICENSE AUTH ]
arch=('x86_64')
license=('GPL2')
validpgpkeys=(
'F04DF50737AC1A884C4B3D718380596DA6E59C91' # ALSA Release Team (Pkg Signing Key v1)
# <release@alsa-project.org>
)
sha512sums=('')

1
alsa-utils/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,alsa-*tar.bz2*}

9
alsa-utils/deps Normal file
View File

@ -0,0 +1,9 @@
alsa-lib
docbook-xsl
fftw
libsamplerate
python-docutils
xmlto
autoconf
gettext
automake

1
alsa-utils/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 8380596DA6E59C91

4
alsa-utils/time Normal file
View File

@ -0,0 +1,4 @@
real 0m20.423s
user 0m28.943s
sys 0m2.729s

View File

@ -0,0 +1,40 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=anything-sync-daemon
pkgver=5.86
pkgrel=01
pkgdesc="Symlinks and syncs user specified dirs to RAM"
arch=(any)
url="https://github.com/graysky2/anything-sync-daemon"
depends=(bash findutils procps-ng rsync )
optdepends=('bash-completion: for completion when using bash'
'zsh-completions: for completion when using zhs')
install="${pkgname}.install"
backup=(etc/asd.conf)
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
#---- license gpg-key sha256sums ----
license=(MIT)
sha512sums=('1554dd382ebc2aa6887908d8165378aeaaa768dbd6412e97fc0a095020fcefd17fad973b771880d959e8f6a7856adfb905d3401d0b9eba0b3beebb1482521c8d')
b2sums=('f773c4d779c15c49f78fb659084dfdc0988be05f9dbf898b1a11b18a8b414df84b5645c0f299320194e6aa07100deaef7fbaa0c0453eb291108db50114ed1b61')
sha256sums=(e78544efeb16a6d4ae375bcc964007475f9ce0fb602f721b6cb77210c1d6d072) # anything-sync-daemon-5.86.tar.gz

View File

@ -0,0 +1,30 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: graysky <graysky AT archlinux DOT us>
pkgname=anything-sync-daemon
pkgver=5.86
pkgrel=1
pkgdesc="Symlinks and syncs user specified dirs to RAM"
arch=(any)
url="https://github.com/graysky2/anything-sync-daemon"
license=(MIT)
depends=(bash findutils procps-ng rsync systemd)
optdepends=('bash-completion: for completion when using bash'
'zsh-completions: for completion when using zhs')
install="${pkgname}.install"
backup=(etc/asd.conf)
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('1554dd382ebc2aa6887908d8165378aeaaa768dbd6412e97fc0a095020fcefd17fad973b771880d959e8f6a7856adfb905d3401d0b9eba0b3beebb1482521c8d')
b2sums=('f773c4d779c15c49f78fb659084dfdc0988be05f9dbf898b1a11b18a8b414df84b5645c0f299320194e6aa07100deaef7fbaa0c0453eb291108db50114ed1b61')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install-systemd-all
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}

View File

@ -0,0 +1,27 @@
## arg 1: the new package version
## arg 2: the old package version
# shellcheck disable=SC2016
_stop_asd_service() {
if systemctl is-active asd.service &>/dev/null; then
echo 'In order to preserve the data, the asd service will now be stopped.'
systemctl stop asd.service &>/dev/null
fi
}
pre_upgrade() {
for version in 5.69 5.76; do
if [ "$(vercmp "$2" "$version")" -lt 0 ]; then
_stop_asd_service
echo 'Start the asd service manually after upgrade is complete.'
fi
done
}
post_install() {
echo 'Consult the manpage (`man 1 asd`) and backup your data before use.'
}
pre_remove() {
_stop_asd_service
}

View File

@ -0,0 +1 @@
rm -rvf {src,pkg,any*.tar.gz}

View File

@ -0,0 +1 @@
rsync

View File

@ -0,0 +1,4 @@
real 0m1.619s
user 0m1.378s
sys 0m0.209s

164
apparmor/PKGBUILD Normal file
View File

@ -0,0 +1,164 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=apparmor
pkgver=3.0.4
pkgrel=01
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM) w/o systemd"
arch=(x86_64)
url="https://gitlab.com/apparmor/apparmor"
depends=(audit glibc pam python)
makedepends=(apache libxcrypt python-setuptools ruby swig)
checkdepends=(dejagnu perl-locale-gettext python-notify2 python-psutil)
optdepends=('perl: for perl bindings'
'python-notify2: for aa-notify'
'python-psutil: for aa-notify'
'ruby: for ruby bindings')
provides=(libapparmor.so)
backup=('etc/apparmor/easyprof.conf'
'etc/apparmor/logprof.conf'
'etc/apparmor/notify.conf'
'etc/apparmor/parser.conf'
'etc/apparmor/severity.db')
# NOTE: debug package currently contains invalid /build dir
# LTO is currently still broken: https://gitlab.com/apparmor/apparmor/-/issues/214
options=(!lto)
source=("https://launchpad.net/${pkgname}/${pkgver%.[0-9]}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.asc})
_core_perl="/usr/bin/core_perl"
prepare() {
cd "${pkgname}-${pkgver}"
# remove test for help output that hardcodes expected output:
# https://gitlab.com/apparmor/apparmor/-/issues/220
sed '147,179d' -i utils/test/test-aa-notify.py
# fix PYTHONPATH and add LD_LIBRARY_PATH for aa-logprof based check:
# https://gitlab.com/apparmor/apparmor/issues/39
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
local path="${PWD}/libraries/libapparmor/swig/python/build/lib.linux-${CARCH}-${python_version}/"
local libs="${PWD}/libraries/libapparmor/src/.libs"
sed -e "/PYTHONPATH/ s|utils\ |utils:$path\ LD_LIBRARY_PATH=$libs\ |" \
-i profiles/Makefile
(
cd libraries/libapparmor/
autoreconf -fiv
)
}
build() {
cd "${pkgname}-${pkgver}"
# export required perl executable locations
export MAKEFLAGS+=" POD2MAN=${_core_perl}/pod2man"
export MAKEFLAGS+=" POD2HTML=${_core_perl}/pod2html"
export MAKEFLAGS+=" PODCHECKER=${_core_perl}/podchecker"
export MAKEFLAGS+=" PROVE=${_core_perl}/prove"
(
cd "libraries/libapparmor/"
./configure --prefix=/usr \
--sbindir=/usr/bin \
--with-perl \
--with-python \
--with-ruby \
--without-systemd
make
)
make -C binutils
make -C parser
make -C profiles
make -C utils
make -C changehat/pam_apparmor
make -C changehat/mod_apparmor
make -C utils/vim
# copy to test location as some tests render the resulting python bytecode
# unreproducible: https://gitlab.com/apparmor/apparmor/-/issues/184
cd ..
cp -av "${pkgname}-${pkgver}" "${pkgname}-${pkgver}-test"
}
check() {
cd "$pkgname-$pkgver-test"
echo "INFO: Running check: libraries/libapparmor"
make -C libraries/libapparmor check
echo "INFO: Running check binutils"
make -C binutils check
echo "INFO: Running check parser"
make -C parser check
# NOTE: the profiles checks are notoriously broken, so run each separately
echo "INFO: Running check-abstractions.d profiles"
make -C profiles check-abstractions.d
# # many hardcoded paths are not accounted for:
# # https://gitlab.com/apparmor/apparmor/-/issues/137
# echo "INFO: Running check-logprof profiles"
# make -C profiles check-logprof
echo "INFO: Running check-parser profiles"
make -C profiles check-parser
echo "INFO: Running check utils"
# we do not care about linting when running tests
# https://gitlab.com/apparmor/apparmor/-/issues/121
make PYFLAKES='/usr/bin/true' -C utils check
}
package() {
depends+=('libcrypt.so')
cd "$pkgname-$pkgver"
make -C libraries/libapparmor DESTDIR="${pkgdir}" install
make -C changehat/pam_apparmor DESTDIR="${pkgdir}/usr" install
make -C changehat/mod_apparmor DESTDIR="${pkgdir}" install
make -C binutils DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
install
make -C parser -j1 DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
APPARMOR_BIN_PREFIX="${pkgdir}/usr/lib/apparmor" \
# install install-systemd
make -C profiles DESTDIR="${pkgdir}" install
make -C utils DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
BINDIR="${pkgdir}/usr/bin" \
VIM_INSTALL_PATH="${pkgdir}/usr/share/vim/vimfiles/syntax" \
install
# set file mode to allow the perl library to be stripped:
# https://gitlab.com/apparmor/apparmor/issues/34
find "${pkgdir}/usr/lib/perl5/" -type f -iname "*.so" -exec chmod 755 {} \;
# remove empty core_perl directory:
# https://gitlab.com/apparmor/apparmor/issues/40
rm -rv "${pkgdir}"/usr/lib/perl5/*/core_perl
# move ruby bindings to vendor_ruby:
# https://gitlab.com/apparmor/apparmor/issues/35
mv -v "${pkgdir}/usr/lib/ruby/site_ruby/" \
"${pkgdir}/usr/lib/ruby/vendor_ruby/"
# adding files below /etc/apparmor.d to backup array
cd "${pkgdir}"
# trick extract_function_variable() in makepkg into not detecting the
# backup array modification and adding remaining configuration files
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f | LC_ALL=C sort) )
rm -rf $pkgdir/usr/lib/systemd
}
#---- license gpg-key sha256sums ----
license=(GPL2 LGPL2.1)
validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') # AppArmor Development Team (AppArmor signing key) <apparmor@lists.ubuntu.com>
sha512sums=('1edd800771f46fab9bc5274842e64482b7fd4a5ba4de9855d621baf1d08c8236bfa7752dd9ab3dee095f8e0798129241a9aebf68ed1c994ae5597086a4a1a8ca'
'SKIP')
b2sums=('831ea65ed0972ad8a6e335e438e7b0a8a2a3977dc4360ad1923d48cc7b21b1941ec011d3894d8bdc98934b953a3f1d89a859fc27ec2530f5dd9b3cc850fe66f0'
'SKIP')
sha256sums=(09bf48d7a171f9790c39a1404bad105a788934cfe77b7490c7f5c63c2576b725 # apparmor-3.0.4.tar.gz
fc5d5cfb71dd48e8e8a5321f84359e3131f9e5780804d154ea769d543c35be61) # apparmor-3.0.4.tar.gz.asc

150
apparmor/PKGBUILD-arch Normal file
View File

@ -0,0 +1,150 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
pkgname=apparmor
pkgver=3.0.4
pkgrel=1
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
arch=(x86_64)
url="https://gitlab.com/apparmor/apparmor"
license=(GPL2 LGPL2.1)
depends=(audit glibc pam python)
makedepends=(apache libxcrypt python-setuptools ruby swig)
checkdepends=(dejagnu perl-locale-gettext python-notify2 python-psutil)
optdepends=('perl: for perl bindings'
'python-notify2: for aa-notify'
'python-psutil: for aa-notify'
'ruby: for ruby bindings')
provides=(libapparmor.so)
backup=('etc/apparmor/easyprof.conf'
'etc/apparmor/logprof.conf'
'etc/apparmor/notify.conf'
'etc/apparmor/parser.conf'
'etc/apparmor/severity.db')
# NOTE: debug package currently contains invalid /build dir
# LTO is currently still broken: https://gitlab.com/apparmor/apparmor/-/issues/214
options=(!lto)
source=(
"https://launchpad.net/${pkgname}/${pkgver%.[0-9]}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.asc}
)
sha512sums=('1edd800771f46fab9bc5274842e64482b7fd4a5ba4de9855d621baf1d08c8236bfa7752dd9ab3dee095f8e0798129241a9aebf68ed1c994ae5597086a4a1a8ca'
'SKIP')
b2sums=('831ea65ed0972ad8a6e335e438e7b0a8a2a3977dc4360ad1923d48cc7b21b1941ec011d3894d8bdc98934b953a3f1d89a859fc27ec2530f5dd9b3cc850fe66f0'
'SKIP')
validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') # AppArmor Development Team (AppArmor signing key) <apparmor@lists.ubuntu.com>
_core_perl="/usr/bin/core_perl"
prepare() {
cd "${pkgname}-${pkgver}"
# remove test for help output that hardcodes expected output:
# https://gitlab.com/apparmor/apparmor/-/issues/220
sed '147,179d' -i utils/test/test-aa-notify.py
# fix PYTHONPATH and add LD_LIBRARY_PATH for aa-logprof based check:
# https://gitlab.com/apparmor/apparmor/issues/39
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
local path="${PWD}/libraries/libapparmor/swig/python/build/lib.linux-${CARCH}-${python_version}/"
local libs="${PWD}/libraries/libapparmor/src/.libs"
sed -e "/PYTHONPATH/ s|utils\ |utils:$path\ LD_LIBRARY_PATH=$libs\ |" \
-i profiles/Makefile
(
cd libraries/libapparmor/
autoreconf -fiv
)
}
build() {
cd "${pkgname}-${pkgver}"
# export required perl executable locations
export MAKEFLAGS+=" POD2MAN=${_core_perl}/pod2man"
export MAKEFLAGS+=" POD2HTML=${_core_perl}/pod2html"
export MAKEFLAGS+=" PODCHECKER=${_core_perl}/podchecker"
export MAKEFLAGS+=" PROVE=${_core_perl}/prove"
(
cd "libraries/libapparmor/"
./configure --prefix=/usr \
--sbindir=/usr/bin \
--with-perl \
--with-python \
--with-ruby
make
)
make -C binutils
make -C parser
make -C profiles
make -C utils
make -C changehat/pam_apparmor
make -C changehat/mod_apparmor
make -C utils/vim
# copy to test location as some tests render the resulting python bytecode
# unreproducible: https://gitlab.com/apparmor/apparmor/-/issues/184
cd ..
cp -av "${pkgname}-${pkgver}" "${pkgname}-${pkgver}-test"
}
check() {
cd "$pkgname-$pkgver-test"
echo "INFO: Running check: libraries/libapparmor"
make -C libraries/libapparmor check
echo "INFO: Running check binutils"
make -C binutils check
echo "INFO: Running check parser"
make -C parser check
# NOTE: the profiles checks are notoriously broken, so run each separately
echo "INFO: Running check-abstractions.d profiles"
make -C profiles check-abstractions.d
# # many hardcoded paths are not accounted for:
# # https://gitlab.com/apparmor/apparmor/-/issues/137
# echo "INFO: Running check-logprof profiles"
# make -C profiles check-logprof
echo "INFO: Running check-parser profiles"
make -C profiles check-parser
echo "INFO: Running check utils"
# we do not care about linting when running tests
# https://gitlab.com/apparmor/apparmor/-/issues/121
make PYFLAKES='/usr/bin/true' -C utils check
}
package() {
depends+=('libcrypt.so')
cd "$pkgname-$pkgver"
make -C libraries/libapparmor DESTDIR="${pkgdir}" install
make -C changehat/pam_apparmor DESTDIR="${pkgdir}/usr" install
make -C changehat/mod_apparmor DESTDIR="${pkgdir}" install
make -C binutils DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
install
make -C parser -j1 DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
APPARMOR_BIN_PREFIX="${pkgdir}/usr/lib/apparmor" \
install install-systemd
make -C profiles DESTDIR="${pkgdir}" install
make -C utils DESTDIR="${pkgdir}" \
SBINDIR="${pkgdir}/usr/bin" \
USR_SBINDIR="${pkgdir}/usr/bin" \
BINDIR="${pkgdir}/usr/bin" \
VIM_INSTALL_PATH="${pkgdir}/usr/share/vim/vimfiles/syntax" \
install
# set file mode to allow the perl library to be stripped:
# https://gitlab.com/apparmor/apparmor/issues/34
find "${pkgdir}/usr/lib/perl5/" -type f -iname "*.so" -exec chmod 755 {} \;
# remove empty core_perl directory:
# https://gitlab.com/apparmor/apparmor/issues/40
rm -rv "${pkgdir}"/usr/lib/perl5/*/core_perl
# move ruby bindings to vendor_ruby:
# https://gitlab.com/apparmor/apparmor/issues/35
mv -v "${pkgdir}/usr/lib/ruby/site_ruby/" \
"${pkgdir}/usr/lib/ruby/vendor_ruby/"
# adding files below /etc/apparmor.d to backup array
cd "${pkgdir}"
# trick extract_function_variable() in makepkg into not detecting the
# backup array modification and adding remaining configuration files
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f | LC_ALL=C sort) )
}

1
apparmor/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,appar*tar.gz*}

12
apparmor/deps Normal file
View File

@ -0,0 +1,12 @@
python
apache
python-setuptools
ruby
swig
dejagnu
perl-locale-gettext
python-notify2
python-psutil
autoconf
automake
bison

1
apparmor/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 6689E64E3D3664BB

View File

@ -0,0 +1,42 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=arch-install-scripts
pkgver=24
pkgrel=02
pkgdesc="Scripts to aid in installing Arch Linux"
arch=('any')
url="https://github.com/archlinux/arch-install-scripts"
depends=('awk' 'bash' 'coreutils' 'pacman' 'util-linux')
makedepends=('asciidoc' 'git')
source=("git+https://github.com/archlinux/arch-install-scripts#tag=v${pkgver}?signed")
pkgver() {
cd "$pkgname"
git describe | sed 's/^v//'
}
build() {
make -C "$pkgname"
}
check() {
make -C "$pkgname" check
}
package() {
make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install
}
#---- license gpg-key sha256sums ----
license=(GPL2)
validpgpkeys=(BD27B07A5EF45C2ADAF70E0484818A6819AF4A9B) # Eli Schwartz
sha256sums=(SKIP)

View File

@ -0,0 +1,35 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Dave Reisner <dreisner@archlinux.org>
pkgname=arch-install-scripts
pkgver=24
pkgrel=2
pkgdesc="Scripts to aid in installing Arch Linux"
arch=('any')
url="https://github.com/archlinux/arch-install-scripts"
license=('GPL2')
depends=('awk' 'bash' 'coreutils' 'pacman' 'util-linux')
makedepends=('asciidoc' 'git')
source=("git+https://github.com/archlinux/arch-install-scripts#tag=v${pkgver}?signed")
validpgpkeys=(
'BD27B07A5EF45C2ADAF70E0484818A6819AF4A9B' # Eli Schwartz
)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe | sed 's/^v//'
}
build() {
make -C "$pkgname"
}
check() {
make -C "$pkgname" check
}
package() {
make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install
}

View File

@ -0,0 +1 @@
rm -rf {src,pkg,arch-install-scripts}

View File

@ -0,0 +1 @@
git asciidoc

1
arch-install-scripts/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key CEB167EFB5722BD6

View File

@ -0,0 +1,4 @@
real 0m3.704s
user 0m2.750s
sys 0m0.421s

64
asciidoc/PKGBUILD Normal file
View File

@ -0,0 +1,64 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=asciidoc
pkgver=10.1.4
pkgrel=01
pkgdesc='Text document format for short documents, articles, books and UNIX man pages'
arch=('any')
url='https://asciidoc.org/'
depends=('python' 'libxslt' 'docbook-xsl')
checkdepends=('dblatex' 'graphviz' 'lilypond' 'python-pytest'{,-mock} 'source-highlight')
makedepends=('python-pip')
optdepends=('graphviz: graphviz-filter'
'lilypond: music-filter'
'imagemagick: music-filter'
'source-highlight: source-highlight-filter'
'dblatex: pdf generation'
'fop: alternative pdf generation'
'w3m: text generation'
'lynx: alternative text generation')
source=("https://github.com/asciidoc-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
prepare() {
cd ${pkgname}-${pkgver}
# https://github.com/asciidoc-py/asciidoc-py/issues/201#issuecomment-1047494681
# sed -i -e '/pytest$/s!$! tests/test_utils.py!' Makefile.in
# # https://github.com/asciidoc-py/asciidoc-py/issues/234
autoconf
}
build() {
cd ${pkgname}-${pkgver}
./configure \
--docdir /usr/share/doc/$pkgname \
--prefix=/usr
make build
make manpages
}
check() {
cd ${pkgname}-${pkgver}
make test
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" docs
install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
# ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
}
#---- license gpg-key sha256sums ----
license=('GPL')
sha256sums=(e4da7cc2af7fa12029156c0788fde2a53db1352d7dcb3e674a9d546b3bdba93f) # asciidoc-10.1.4.tar.gz

63
asciidoc/PKGBUILD-arch Normal file
View File

@ -0,0 +1,63 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# Contributor: Florian Pritz <flo@xinu.at>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: Dan McGee <dan@archlinux.org>
# Contributor: Jaroslaw Rosiek <philosoph@interia.pl>
# Contributor: Darwin Bautista <djclue917@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=asciidoc
pkgver=10.1.4
pkgrel=1
pkgdesc='Text document format for short documents, articles, books and UNIX man pages'
arch=('any')
url='https://asciidoc.org/'
license=('GPL')
depends=('python' 'libxslt' 'docbook-xsl')
checkdepends=('dblatex' 'graphviz' 'lilypond' 'python-pytest'{,-mock} 'source-highlight')
makedepends=('python-pip')
optdepends=('graphviz: graphviz-filter'
'lilypond: music-filter'
'imagemagick: music-filter'
'source-highlight: source-highlight-filter'
'dblatex: pdf generation'
'fop: alternative pdf generation'
'w3m: text generation'
'lynx: alternative text generation')
source=("https://github.com/asciidoc-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('e4da7cc2af7fa12029156c0788fde2a53db1352d7dcb3e674a9d546b3bdba93f')
b2sums=('86715b0d03fe112483e9e774af1b1bed8f9f88972c5de2b147e86f6501e7639e6683a96c93248efb71cf38f89b15a2ecf0b2d098c4e57af8768e8bedc2ef7e70')
prepare() {
cd ${pkgname}-${pkgver}
# https://github.com/asciidoc-py/asciidoc-py/issues/234
autoconf
}
build() {
cd ${pkgname}-${pkgver}
# https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138
./configure \
--docdir /usr/share/doc/$pkgname \
--prefix /usr
make build
make manpages
}
check() {
cd ${pkgname}-${pkgver}
make test
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" docs
install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
# ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
}

1
asciidoc/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,asciidoc*.tar.gz}

10
asciidoc/deps Normal file
View File

@ -0,0 +1,10 @@
python-pip
libxslt
docbook-xsl
dblatex
graphviz
lilypond
python-pytest
python-pytest-mock
source-highlight
autoconf

5
asciidoc/time Normal file
View File

@ -0,0 +1,5 @@
real 0m43.625s
user 0m40.711s
sys 0m2.346s

50
at-spi2-core/PKGBUILD Normal file
View File

@ -0,0 +1,50 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=at-spi2-core
pkgver=2.42.0
pkgrel=02
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
arch=(x86_64)
depends=(dbus glib2 libxtst)
makedepends=(gobject-introspection git gtk-doc meson)
_commit=b22b7dcfcb34f01218de0f6aa0d10b4d34fb07aa # tags/AT_SPI2_CORE_2_42_0^0
source=("git+$url.git#commit=$_commit")
pkgver() {
cd $pkgname
git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
jobo-meson $pkgname build \
-D default_bus=dbus-daemon \
-D docs=true
meson compile -C build
}
check() {
# memory test fails without desktop
# broker fails to launch without journald
dbus-run-session meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
#---- license gpg-key sha256sums ----
license=(GPL2)
sha256sums=('SKIP')

View File

@ -0,0 +1,44 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=at-spi2-core
pkgver=2.42.0
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
arch=(x86_64)
license=(GPL2)
depends=(dbus glib2 libxtst libsystemd)
makedepends=(gobject-introspection git gtk-doc meson dbus-broker systemd)
optdepends=('dbus-broker: Alternative bus implementation')
_commit=b22b7dcfcb34f01218de0f6aa0d10b4d34fb07aa # tags/AT_SPI2_CORE_2_42_0^0
source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build \
-D default_bus=dbus-broker \
-D docs=true
meson compile -C build
}
check() {
# memory test fails without desktop
# broker fails to launch without journald
dbus-run-session meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 et:

1
at-spi2-core/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,at-spi2-core}

5
at-spi2-core/deps Normal file
View File

@ -0,0 +1,5 @@
libxtst
gobject-introspection
git
gtk-doc
meson

5
at-spi2-core/time Normal file
View File

@ -0,0 +1,5 @@
real 0m29.920s
user 0m26.991s
sys 0m2.480s

9
at/80-atd.hook Normal file
View File

@ -0,0 +1,9 @@
[Trigger]
Operation = Upgrade
Type = Package
Target = glibc
[Action]
Description = Restarting atd for libc upgrade...
When = PostTransaction
Exec = /usr/bin/systemctl try-restart atd.service

53
at/PKGBUILD Normal file
View File

@ -0,0 +1,53 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=at
pkgver=3.2.5
pkgrel=01
pkgdesc='AT and batch delayed command scheduling utility and daemon w/o systemd'
arch=('x86_64')
url='https://salsa.debian.org/debian/at'
depends=('pam' 'flex')
makedepends=('smtp-forwarder' 'git')
backup=('etc/at.deny'
'etc/pam.d/atd'
'var/spool/atd/.SEQ')
options=('!makeflags')
source=("http://software.calhariz.com/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"{,.sig}
# '80-atd.hook' # systemd restart of atd service
'pam.conf')
build() {
cd "$pkgname-$pkgver"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--with-jobdir=/var/spool/atd \
--with-atspool=/var/spool/atd \
--with-systemdsystemunitdir=no
CFLAGS="$CFLAGS -w" make
}
package() {
make -C "$pkgname-$pkgver" IROOT="$pkgdir" docdir=/usr/share/doc install
install -D -m0644 pam.conf "$pkgdir"/etc/pam.d/atd
# install -D -m0644 80-atd.hook "$pkgdir"/usr/share/libalpm/hooks/80-atd.hook
}
#---- license gpg-key sha256sums ----
license=('GPL')
validpgpkeys=('464BC7CD439FEE5E8B4098A0348A778D6885EF8F') # Jose M Calhariz (Técnico) <jose.calhariz@tecnico.ulisboa.pt>
sha256sums=(bb066b389d7c9bb9d84a35738032b85c30cba7d949f758192adc72c9477fd3b8 # at_3.2.5.orig.tar.gz
e3096c67a4c844c67f63802369dbb316aa5288d8eb5d9cdcbc5ad4e0c868e049 # at_3.2.5.orig.tar.gz.sig
# a7048d6dbd8aa4d881979716829d16053b5007c2d83eb2167edd5221f9e48a33 80-atd.hook
e51630c26765e88bc9c3046c62bf12c56d9863f22bcf04eb00ccd5eb421c7e18) # pam.conf

48
at/PKGBUILD-arch Normal file
View File

@ -0,0 +1,48 @@
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Nathan Baum <n@p12a.org.uk>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Todd Musall <tmusall@comcast.net>
pkgname=at
pkgver=3.2.5
pkgrel=1
pkgdesc='AT and batch delayed command scheduling utility and daemon'
arch=('x86_64')
url='https://salsa.debian.org/debian/at'
license=('GPL')
depends=('pam' 'flex')
makedepends=('smtp-forwarder' 'git' 'systemd')
backup=('etc/at.deny'
'etc/pam.d/atd'
'var/spool/atd/.SEQ')
options=('!makeflags')
validpgpkeys=('464BC7CD439FEE5E8B4098A0348A778D6885EF8F') # Jose M Calhariz (Técnico) <jose.calhariz@tecnico.ulisboa.pt>
source=("http://software.calhariz.com/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"{,.sig}
'80-atd.hook'
'pam.conf')
sha256sums=('bb066b389d7c9bb9d84a35738032b85c30cba7d949f758192adc72c9477fd3b8'
'SKIP'
'a7048d6dbd8aa4d881979716829d16053b5007c2d83eb2167edd5221f9e48a33'
'e51630c26765e88bc9c3046c62bf12c56d9863f22bcf04eb00ccd5eb421c7e18')
build() {
cd "$pkgname-$pkgver"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--with-jobdir=/var/spool/atd \
--with-atspool=/var/spool/atd \
--with-systemdsystemunitdir=/usr/lib/systemd/system
CFLAGS="$CFLAGS -w" make
}
package() {
make -C "$pkgname-$pkgver" IROOT="$pkgdir" docdir=/usr/share/doc install
install -D -m0644 pam.conf "$pkgdir"/etc/pam.d/atd
install -D -m0644 80-atd.hook "$pkgdir"/usr/share/libalpm/hooks/80-atd.hook
}
# vim:set ts=2 sw=2 et:

1
at/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,at*tar.gz*}

3
at/deps Normal file
View File

@ -0,0 +1,3 @@
git
msmtp-mta
bison

1
at/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 348A778D6885EF8F

2
at/note Normal file
View File

@ -0,0 +1,2 @@
important, you must add bin and daemon users and daemon group for bin for this to build
the atd.hook to restart at was left out, it needs some thought on how to do this as to apply for both runit and s6, maybe killall atd if such service exists and is running, s6/runit will restart, need2do before next build

12
at/pam.conf Normal file
View File

@ -0,0 +1,12 @@
#%PAM-1.0
auth required pam_unix.so
auth required pam_env.so user_readenv=1
account required pam_access.so
account required pam_unix.so
account required pam_time.so
session required pam_loginuid.so
session required pam_limits.so
session required pam_unix.so

5
at/time Normal file
View File

@ -0,0 +1,5 @@
real 0m5.077s
user 0m4.628s
sys 0m0.806s

45
autoconf-archive/PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=autoconf-archive
pkgver=2022.02.11
pkgrel=01
epoch=1
pkgdesc="A collection of freely re-usable Autoconf macros"
arch=('any')
url="https://www.gnu.org/software/autoconf-archive/"
depends=('autoconf')
optdepends=('automake: macros for use with it')
source=("https://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('GPL3')
validpgpkeys=('1A4F63A13A4649B632F65EE141BC28FE99089D72') # Peter Simons <simons@cryp.to>
sha256sums=(78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c # autoconf-archive-2022.02.11.tar.xz
8a52784bca16d9377a5fc86018a5019984136e87f9d2959a6e51d6ccbdf5f540) # autoconf-archive-2022.02.11.tar.xz.sig

View File

@ -0,0 +1,37 @@
# Maintainer: Jonas Witschel <diabonas@archlinux.org>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# Contributor: Daniel Müllner <muellner@math.stanford.edu>
pkgname=autoconf-archive
pkgver=2022.02.11
pkgrel=1
epoch=1
pkgdesc="A collection of freely re-usable Autoconf macros"
arch=('any')
url="https://www.gnu.org/software/autoconf-archive/"
license=('GPL3')
depends=('autoconf')
optdepends=('automake: macros for use with it')
source=("https://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c'
'SKIP')
validpgpkeys=('1A4F63A13A4649B632F65EE141BC28FE99089D72') # Peter Simons <simons@cryp.to>
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}

1
autoconf-archive/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,autoconf-arc*.tar.xz*}

1
autoconf-archive/deps Normal file
View File

@ -0,0 +1 @@
autoconf

1
autoconf-archive/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 41BC28FE99089D72

View File

@ -0,0 +1,71 @@
From 59008cc7f85e1982eb298e1c424c2e6ad5942c4a Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sat, 12 Jun 2021 22:29:03 +0200
Subject: [PATCH] Revert "AX_PTHREAD: target > host"
This reverts commit 2567e0ce0f3a11b535c6b527386197fb49ff172b.
* `AC_CANONICAL_HOST` is the system on which the actual binary will run,
`AC_CANONICAL_TARGET` is the system for which code is generated. The
Autoconf manual even mentions that
--target=target-type
the type of system for which any compiler tools in the package produce code (**rarely needed**).
---
m4/ax_pthread.m4 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
index e5858e50..9f35d139 100644
--- a/m4/ax_pthread.m4
+++ b/m4/ax_pthread.m4
@@ -87,11 +87,11 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 30
+#serial 31
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
AC_DEFUN([AX_PTHREAD], [
-AC_REQUIRE([AC_CANONICAL_TARGET])
+AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_SED])
AC_LANG_PUSH([C])
@@ -158,7 +158,7 @@ ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --
# --thread-safe: KAI C++
# pthread-config: use pthread-config program (for GNU Pth library)
-case $target_os in
+case $host_os in
freebsd*)
@@ -248,7 +248,7 @@ AS_IF([test "x$ax_pthread_clang" = "xyes"],
# definitions is, on some systems, a strong hint that pthreads support is
# correctly enabled
-case $target_os in
+case $host_os in
darwin* | hpux* | linux* | osf* | solaris*)
ax_pthread_check_macro="_REENTRANT"
;;
@@ -450,7 +450,7 @@ if test "x$ax_pthread_ok" = "xyes"; then
AC_CACHE_CHECK([whether more special flags are required for pthreads],
[ax_cv_PTHREAD_SPECIAL_FLAGS],
[ax_cv_PTHREAD_SPECIAL_FLAGS=no
- case $target_os in
+ case $host_os in
solaris*)
ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
;;
@@ -480,7 +480,7 @@ if test "x$ax_pthread_ok" = "xyes"; then
# More AIX lossage: compile with *_r variant
if test "x$GCC" != "xyes"; then
- case $target_os in
+ case $host_os in
aix*)
AS_CASE(["x/$CC"],
[x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],

4
autoconf-archive/time Normal file
View File

@ -0,0 +1,4 @@
real 0m5.952s
user 0m4.483s
sys 0m0.719s

10
bind/127.0.0.zone Normal file
View File

@ -0,0 +1,10 @@
@ 1D IN SOA localhost. root.localhost. (
42 ; serial (yyyymmdd##)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum ttl
1D IN NS localhost.
1.0.0.127.in-addr.arpa. 1D IN PTR localhost.

109
bind/PKGBUILD Normal file
View File

@ -0,0 +1,109 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
_pkgver=9.18.1
pkgname=bind
pkgver=${_pkgver//-/.}
pkgrel=01
pkgdesc='A complete, highly portable implementation of the DNS protocol w/o systemd'
url='https://www.isc.org/software/bind/'
arch=('x86_64')
options=('!emptydirs')
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
'libidn2' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'lmdb' 'zlib' 'icu'
'xz' 'libmaxminddb' 'libnsl' 'libuv' 'python-sphinx')
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'libedit' 'json-c'
'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2' 'lmdb'
'openssl' 'python' 'python-ply' 'readline' 'xz' 'zlib' 'jemalloc')
conflicts=('bind-tools' 'dnsutils')
replaces=('bind-tools' 'dnsutils' 'host')
provides=('bind-tools' 'dnsutils' 'dns-server')
backup=('etc/named.conf'
'var/named/127.0.0.zone'
'var/named/localhost.zone'
'var/named/localhost.ip6.zone')
install=bind.install
source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
'tmpfiles.conf'
'sysusers.conf'
'named.conf'
# 'named.service'
'localhost.zone'
'localhost.ip6.zone'
'127.0.0.zone')
prepare() {
cd bind-$_pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
}
build() {
cd bind-$_pkgver
export CFLAGS
# support to chase DNSSEC signature chains
CFLAGS+=' -DDIG_SIGCHASE'
# compile with gcc10, https://gcc.gnu.org/gcc-10/porting_to.html
CFLAGS+=' -fcommon'
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--localstatedir=/var \
--disable-static \
--enable-fixed-rrset \
--enable-full-report \
--with-maxminddb \
--with-openssl \
--with-libidn2 \
--with-json-c \
--with-libxml2 \
--with-lmdb
make
}
package() {
cd "bind-$_pkgver"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 LICENSE COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
make DESTDIR="$pkgdir" install
cd "$srcdir"
install -D -m644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
install -D -m644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
# install -D -m644 named.service "$pkgdir/usr/lib/systemd/system/named.service"
install -D -m640 -o 0 -g 40 named.conf "$pkgdir/etc/named.conf"
install -d -m770 -o 0 -g 40 "$pkgdir/var/named"
install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named"
install -m640 -o 0 -g 40 localhost.ip6.zone "$pkgdir/var/named"
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
rm -rf $pkgdir/usr/lib/systemd
}
#---- license gpg-key sha256sums ----
license=('MPL2')
validpgpkeys=('7E1C91AC8030A5A59D1EFAB9750F3C87723E4012') #ISC Code Signing Key 2021 2022 (codesign@isc.org)
sha256sums=(57c7afd871694d615cb4defb1c1bd6ed023350943d7458414db8d493ef560427 # bind-9.18.1.tar.xz
585e206134f6186dee8e9c8ec30d08a3cc3c765a7fc2803da155e2c4caaa0d39 # bind-9.18.1.tar.xz.asc
f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98 # tmpfiles.conf
7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c # sysusers.conf
e08a01d41b18bdb771d534daca99642314939aafdb088e5cfcf0ef2d33f8e7eb # named.conf
0011708e516128647dd25b59b6ebc465f36e85bbe0a8fbdc3eb04b7f28c2197f # localhost.zone
c06fc270e32a843c8b6d86335a2ec607d405dfba6875de8d8a9abde39a9e2c17 # localhost.ip6.zone
b88fd2b99e7d42d414b329b814b9ff3304fa0ef9c67df81bde235bbfa0f3a3b8) # 127.0.0.zone

104
bind/PKGBUILD-arch Normal file
View File

@ -0,0 +1,104 @@
# Maintainer: Sébastien Luttringer
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Mario Vazquez <mario_vazq@hotmail.com>
_pkgver=9.18.1
pkgname=bind
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='A complete, highly portable implementation of the DNS protocol'
url='https://www.isc.org/software/bind/'
license=('MPL2')
arch=('x86_64')
options=('!emptydirs')
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
'libidn2' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'lmdb' 'zlib' 'icu'
'xz' 'libmaxminddb' 'libnsl' 'libuv' 'python-sphinx')
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'libedit' 'json-c'
'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2' 'lmdb'
'openssl' 'python' 'python-ply' 'readline' 'xz' 'zlib' 'jemalloc')
conflicts=('bind-tools' 'dnsutils')
replaces=('bind-tools' 'dnsutils' 'host')
provides=('bind-tools' 'dnsutils' 'dns-server')
backup=('etc/named.conf'
'var/named/127.0.0.zone'
'var/named/localhost.zone'
'var/named/localhost.ip6.zone')
install=bind.install
validpgpkeys=('7E1C91AC8030A5A59D1EFAB9750F3C87723E4012') #ISC Code Signing Key 2021 2022 (codesign@isc.org)
source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
'tmpfiles.conf'
'sysusers.conf'
'named.conf'
'named.service'
'localhost.zone'
'localhost.ip6.zone'
'127.0.0.zone')
sha256sums=('57c7afd871694d615cb4defb1c1bd6ed023350943d7458414db8d493ef560427'
'SKIP'
'f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98'
'7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c'
'e08a01d41b18bdb771d534daca99642314939aafdb088e5cfcf0ef2d33f8e7eb'
'3f0f8db0a1deae270dd166b4750be7c1041b4b44891176f35a8df7dd55d24d34'
'0011708e516128647dd25b59b6ebc465f36e85bbe0a8fbdc3eb04b7f28c2197f'
'c06fc270e32a843c8b6d86335a2ec607d405dfba6875de8d8a9abde39a9e2c17'
'b88fd2b99e7d42d414b329b814b9ff3304fa0ef9c67df81bde235bbfa0f3a3b8')
prepare() {
cd bind-$_pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
}
build() {
cd bind-$_pkgver
export CFLAGS
# support to chase DNSSEC signature chains
CFLAGS+=' -DDIG_SIGCHASE'
# compile with gcc10, https://gcc.gnu.org/gcc-10/porting_to.html
CFLAGS+=' -fcommon'
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--localstatedir=/var \
--disable-static \
--enable-fixed-rrset \
--enable-full-report \
--with-maxminddb \
--with-openssl \
--with-libidn2 \
--with-json-c \
--with-libxml2 \
--with-lmdb
make
}
package() {
cd "bind-$_pkgver"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 LICENSE COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
make DESTDIR="$pkgdir" install
cd "$srcdir"
install -D -m644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
install -D -m644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -D -m644 named.service "$pkgdir/usr/lib/systemd/system/named.service"
install -D -m640 -o 0 -g 40 named.conf "$pkgdir/etc/named.conf"
install -d -m770 -o 0 -g 40 "$pkgdir/var/named"
install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named"
install -m640 -o 0 -g 40 localhost.ip6.zone "$pkgdir/var/named"
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
}
# vim:set ts=2 sw=2 et:

10
bind/bind.install Normal file
View File

@ -0,0 +1,10 @@
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
(( $(vercmp "$2" '9.14.8-2') > 0 )) || cat <<EOF
==> Switched to geoip2 databases.
==> Remember to update your configuration if you use geoip features.
EOF
}
# vim:set ts=2 sw=2 ft=sh et:

1
bind/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,bind*tar.xz*}

21
bind/deps Normal file
View File

@ -0,0 +1,21 @@
dnssec-anchors
libedit
json-c
libmaxminddb
libnsl
libuv
libxml2
lmdb
python
python-ply
jemalloc
libxml2
dnssec-anchors
python
json-c
python-ply
lmdb
libmaxminddb
libnsl
libuv
python-sphinx

1
bind/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 750F3C87723E4012

10
bind/localhost.ip6.zone Normal file
View File

@ -0,0 +1,10 @@
@ 1D IN SOA localhost. root.localhost. (
42 ; serial (yyyymmdd##)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum ttl
1D IN NS localhost.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa. 1D IN PTR localhost.

11
bind/localhost.zone Normal file
View File

@ -0,0 +1,11 @@
@ 1D IN SOA localhost. root.localhost. (
42 ; serial (yyyymmdd##)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum ttl
1D IN NS localhost.
localhost. 1D IN A 127.0.0.1
localhost. 1D IN AAAA ::1

57
bind/named.conf Normal file
View File

@ -0,0 +1,57 @@
// vim:set ts=4 sw=4 et:
options {
directory "/var/named";
pid-file "/run/named/named.pid";
// Uncomment these to enable IPv6 connections support
// IPv4 will still work:
// listen-on-v6 { any; };
// Add this for no IPv4:
// listen-on { none; };
allow-recursion { 127.0.0.1; };
allow-transfer { none; };
allow-update { none; };
version none;
hostname none;
server-id none;
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
type master;
file "localhost.ip6.zone";
};
//zone "example.org" IN {
// type slave;
// file "example.zone";
// masters {
// 192.168.1.100;
// };
// allow-query { any; };
// allow-transfer { any; };
//};
//logging {
// channel xfer-log {
// file "/var/log/named.log";
// print-category yes;
// print-severity yes;
// severity info;
// };
// category xfer-in { xfer-log; };
// category xfer-out { xfer-log; };
// category notify { xfer-log; };
//};

10
bind/named.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Internet domain name server
After=network.target
[Service]
ExecStart=/usr/bin/named -f -u named
ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

9
bind/sums Normal file
View File

@ -0,0 +1,9 @@
bind-*.tar.xz
bind-*.tar.xz.asc
tmpfiles.conf
sysusers.conf
named.conf
localhost.zone
localhost.ip6.zone
127.0.0.zone

1
bind/sysusers.conf Normal file
View File

@ -0,0 +1 @@
u named 40 "BIND DNS Server" -

4
bind/time Normal file
View File

@ -0,0 +1,4 @@
real 1m11.490s
user 2m31.634s
sys 0m10.079s

1
bind/tmpfiles.conf Normal file
View File

@ -0,0 +1 @@
d /run/named 0750 named named -

55
brscan4/PKGBUILD Normal file
View File

@ -0,0 +1,55 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=brscan4
pkgver=0.4.11_1
pkgrel=01
pkgdesc="SANE drivers from Brother for compatible models"
depends=('sane' 'gtk2')
arch=('x86_64')
_url="https://support.brother.com"
url="https://download.brother.com"
install=brscan4.install
#[ "$CARCH" = "x86_64" ] && _pkg="dlf105203/${pkgname}-${pkgver/_/-}.x86_64.rpm" || _pkg="dlf105202/${pkgname}-${pkgver/_/-}.i386.rpm"
#[ "$CARCH" = "x86_64" ] && _pkg_md5sum="54dec75887de091fde5fcd511d9a57c3" || _pkg_md5sum="dc87c907c9a2f086dcc56eb2e8fafbbc"
source=("$url/welcome/dlf105203/${pkgname}-${pkgver/_/-}.x86_64.rpm"
"agree.html"
mk-udev-hwdb)
build() {
cd "$srcdir"
./mk-udev-hwdb opt/brother/scanner/brscan4/{Brsane4.ini,models4/*.ini} > hwdb
}
package() {
cp -r $srcdir/etc $pkgdir
cp -r $srcdir/opt $pkgdir
cp -r $srcdir/usr $pkgdir
[ "$CARCH" = "x86_64" ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib
install -D -m644 $srcdir/agree.html $pkgdir/usr/share/licenses/$pkgname/LICENSE.html
install -D -m644 $srcdir/hwdb $pkgdir/usr/lib/udev/hwdb.d/20-$pkgname.hwdb
# move the links to the right direction
cd $pkgdir/usr/lib/sane
ln -sf libsane-brother4.so.1.0.7 $pkgdir/usr/lib/sane/libsane-brother4.so.1
ln -sf libsane-brother4.so.1 $pkgdir/usr/lib/sane/libsane-brother4.so
}
#---- license gpg-key sha256sums ----
license=('GPL' 'custom:Brother')
#md5sums=($_pkg_md5sum = 54dec75887de091fde5fcd511d9a57c3 dc87c907c9a2f086dcc56eb2e8fafbbc#
# 'ccffb9a6f6d436b21be25b0241068981'
# '8966d38375d535028a63a6ef5f6104eb')
md5sums=(54dec75887de091fde5fcd511d9a57c3 # brscan4-0.4.11-1.x86_64.rpm
ccffb9a6f6d436b21be25b0241068981 # agree.html
8966d38375d535028a63a6ef5f6104eb) # mk-udev-hwdb
sha256sums=(7d7dcbe8349ae4d4ab816e4551017f2f1fd9fd6bf3f4f3c570fbd9576248dd9f # brscan4-0.4.11-1.x86_64.rpm
3434bca1936d6a5fd6afd810cde7e1876dd4d1496722b09af180278480f464f2 # agree.html
116d959b841fe47eb5047ece2842af33fd659e43a20005ad26bbbaf607c319b5) # mk-udev-hwdb

38
brscan4/PKGBUILD-aur Normal file
View File

@ -0,0 +1,38 @@
# Maintainer: Harvey <harv@gmx.de>
license=('GPL' 'custom:Brother')
arch=('i686' 'x86_64')
pkgname=brscan4
pkgver=0.4.11_1
pkgrel=1
pkgdesc="SANE drivers from Brother for compatible models"
depends=('sane' 'gtk2')
url="http://support.brother.com"
install=brscan4.install
[ "$CARCH" = "x86_64" ] && _pkg="dlf105203/${pkgname}-${pkgver/_/-}.x86_64.rpm" || _pkg="dlf105202/${pkgname}-${pkgver/_/-}.i386.rpm"
[ "$CARCH" = "x86_64" ] && _pkg_md5sum="54dec75887de091fde5fcd511d9a57c3" || _pkg_md5sum="dc87c907c9a2f086dcc56eb2e8fafbbc"
source=("https://download.brother.com/welcome/$_pkg"
"agree.html"
mk-udev-hwdb)
md5sums=($_pkg_md5sum
'ccffb9a6f6d436b21be25b0241068981'
'8966d38375d535028a63a6ef5f6104eb')
build() {
cd "$srcdir"
./mk-udev-hwdb opt/brother/scanner/brscan4/{Brsane4.ini,models4/*.ini} > hwdb
}
package() {
cp -r $srcdir/etc $pkgdir
cp -r $srcdir/opt $pkgdir
cp -r $srcdir/usr $pkgdir
[ "$CARCH" = "x86_64" ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib
install -D -m644 $srcdir/agree.html $pkgdir/usr/share/licenses/$pkgname/LICENSE.html
install -D -m644 $srcdir/hwdb $pkgdir/usr/lib/udev/hwdb.d/20-$pkgname.hwdb
# move the links to the right direction
cd $pkgdir/usr/lib/sane
ln -sf libsane-brother4.so.1.0.7 $pkgdir/usr/lib/sane/libsane-brother4.so.1
ln -sf libsane-brother4.so.1 $pkgdir/usr/lib/sane/libsane-brother4.so
}

248
brscan4/agree.html Normal file
View File

@ -0,0 +1,248 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>End-User License Agreement for Brother Software</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<link rel="stylesheet" href="/library/websites/www.com/globalheader/css/template_agreement.css" type="text/css" media="all">
<script type="text/javascript" src="/library/websites/www.com/globalheader/js/template.js" language="JavaScript"></script>
<style type="text/css">
<!--
body { font-size: 100%}
.main { font-size: 100%}
.sm { font-size: 90%}
-->
</style>
</head>
<body>
<!-- begin #header -->
<table border="0" cellpadding="0" cellspacing="0" id="header" summary="Global header">
<tr>
<td><img height="1" width="16" alt="" src="/library/websites/www.com/jp/globalheader/images/spacer.gif"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0" summary="">
<tr>
<td id="brotherLogo">
<a href="/index.htm" target="_top"><img height="40" width="106" alt="brother at your side" src="/library/websites/www.com/globalheader/images/head_brotherlogo.gif"></a>
</td>
<td><img height="1" width="200" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
<td id="formArea">
<!-- SelectCountry -->
<div id="country">
<form name="form1" id="form1">
<select name="select_country" class="countryTxt">
<option value="http://www.brother.com/index.htm" selected>Global Site</option>
<option></option>
<optgroup label="North/ South/ Central America">
<option value="http://www.brother.com.ar/">Argentina - Espa&ntilde;ol</option>
<option value="http://www.brother.com.br/">Brasil - Portugu&ecirc;s</option>
<option value="http://www.brother.ca/en/index.asp">Canada - English</option>
<option value="http://www.brother.ca/fr/index.asp">Canada - Fran&ccedil;ais</option>
<option value="http://www.brother-usa.com/caribbean/">Caribbean Countries - English</option>
<option value="http://www.brother.cl/">Chile - Espa&ntilde;ol</option>
<option value="http://www.brother-usa.com/latinamerica/">Latin America - Espa&ntilde;ol</option>
<option value="http://www.brother.com.mx/">M&eacute;xico - Espa&ntilde;ol</option>
<option value="http://www.brother-usa.com/">U.S.A. - English</option>
<option></option>
</optgroup>
<optgroup label="Europe">
<option value="http://www.brother.eu/">Brother Europe</option>
<option value="http://www.brother.at/?lang=en">Austria - English</option>
<option value="http://www.brother.at/?lang=de">&#214;sterreich - Deutsch</option>
<option value="http://www.brother.be/?&lang=fr">Belgique - Fran&#231;ais</option>
<option value="http://www.brother.be/?&lang=nl">Belgique - Nederlands</option>
<option value="http://www.brother.bg/">&#1041;&#1066;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103; - &#1041;&#1066;&#1083;&#1075;&#1072;&#1089;&#1082;&#1080;</option>
<option value="http://www.brother.cz/">&#268;esk&aacute; republika - &#269;esky</option>
<option value="http://www.brother.dk/">Danmark - Dansk</option>
<option value="http://www.brother.de/">Deutschland - Deutsch</option>
<option value="http://www.brother.es/">Espa&ntilde;a - Espa&ntilde;ol</option>
<option value="http://www.brother.fi/">Finland -Suomi</option>
<option value="http://www.brother.fr/">France - Fran&ccedil;ais</option>
<option value="http://www.brother.ie/">Ireland - English</option>
<option value="http://www.brother.it/">Italia - Italiano</option>
<option value="http://www.brother.hu/">Magyarorsz&aacute;g - Magyar</option>
<option value="http://www.brother.nl/">Nederland - Nederlands</option>
<option value="http://www.brother.no/">Norge - Norsk</option>
<option value="http://www.brother.pl/">Polska - Polski</option>
<option value="http://www.brother.pt/">Portugal - Portugu&ecirc;s</option>
<option value="http://www.brother.ru/">&#1056;&#1086;&#1089;&#1089;&#1080;&#1103; - P&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;</option>
<option value="http://www.brother.com.ro/">Rom&acirc;nia - Rom&acirc;n&atilde;</option>
<option value="http://www.brother.ch/?&lang=de">Schweiz - Deutsch</option>
<option value="http://www.brother.ch/?&lang=fr">Suisse - Fran&ccedil;ais</option>
<option value="http://www.brother.co.za/">South Africa - English</option>
<option value="http://www.brother.se/">Sverige - Svenska</option>
<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
<option value="http://www.brother.co.uk/cms.cfm/lang/en">United Kingdom</option>
<option value="http://www.brother-ism.com/">--Industrial Sewing Machines</option>
<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
<option></option>
</optgroup>
<optgroup label="Middle East/ Africa">
<option value="http://www.brother.ae/">Bahrain - English</option>
<option value="http://www.brother.ae/">Egypt - English</option>
<option value="http://www.brother.ae/">Ethiopia - English</option>
<option value="http://www.brother.ae/">Iran - English</option>
<option value="http://www.brother.ae/">Iraq - English</option>
<option value="http://www.brother.ae/">Jordan - English</option>
<option value="http://www.brother.ae/">Kenya - English</option>
<option value="http://www.brother.ae/">Kuwait - English</option>
<option value="http://www.brother.ae/">Lebanon - English</option>
<option value="http://www.brother.ae/">Libya - English</option>
<option value="http://www.brother.ae/">Mauritius - English</option>
<option value="http://www.brother.ae/">Nigeria - English</option>
<option value="http://www.brother.ae/">Oman - English</option>
<option value="http://www.brother.ae/">Qatar - English</option>
<option value="http://www.brother.ae/">Saudi Arabia - English</option>
<option value="http://www.brother.co.za/">South Africa - English</option>
<option value="http://www.brother.ae/">Syria - English</option>
<option value="http://www.brother.ae/">Tanzania - English</option>
<option value="http://www.brother.com.tr/">T&#252;rkiye - T&#252;rk&#231;e</option>
<option value="http://www.brother.ae/">Uganda - English</option>
<option value="http://www.brother.ae/">United Arab Emirates - English</option>
<option value="http://www.brother.ae/">Yemen - English</option>
<option value="http://www.brother.com/europe/machine/index.htm">--Machine Tools</option>
<option value="http://www.brother.com/as_oc/contact/mea/index.htm">--Contact List</option>
<option></option>
</optgroup>
<optgroup label="Asia/ Oceania">
<option value="http://www.brother.com.au/">Australia - English</option>
<option value="http://www.brother.ae/">Bangladesh - English</option>
<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
-<option value="http://www.brother-cn.net/">China - Chinese</option>
<option value="http://www.brother.com.hk/en/home.html">&gt; Hong Kong - English</option>
<option value="http://www.brother.com.hk/tc/home.html">&gt; Hong Kong - Chinese</option>
<option value="http://www.brother.in/">India - English</option>
<option value="http://www.brother.com.sg/">Indonesia - English</option>
<option value="http://www.brother.co.jp/">Japan - Japanese</option>
<option value="http://www.brother.com.my/">Malaysia - English</option>
<option value="http://www.brother.ae/">Nepal - English</option>
<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
<option value="http://www.brother.co.nz/">New Zealand - English</option>
<option value="http://www.brother.ae/">Pakistan - English</option>
<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
<option value="http://www.brother.com.ph/">Philippines - English</option>
<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
<option value="http://www.brother.com.sg/">Singapore - English</option>
-<option value="http://www.brother.co.th/">Thailand - Thai</option>
<option value="http://www.brother.com.sg/"> &gt; Industrial Sewing Machines</option>
<option value="http://www.brother.com.sg/">Vietnam - English</option>
<option value="http://www.brother.com.hk/en/product/product_list.html?category=19"> &gt; Industrial Sewing Machines</option>
<option value="http://www.brother.com/as_oc/machine/index.htm">--Machine Tools</option>
<option value="http://www.brother.com/as_oc/contact/asiapacific/index.htm">--Contact List</option>
</optgroup>
</select><a href="javascript:;"><img height="19" onClick="jumpCountry(form1.select_country);return false;" width="21" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif"></a>
</form>
</div>
<!-- SelectCountry -->
<!-- SiteSearch -->
<div id="search">
<form name="gs" method="GET" action="http://search2.brother.co.jp/search?">
<input name="q" type="text" value="Search" onfocus="if(this.value == this.defaultValue) this.value=''" onblur="if(this.value == '') this.value=this.defaultValue" class="searchTxt"><input type="image" value="" alt="Go" src="/library/websites/www.com/globalheader/images/head_btn.gif">
<input type="hidden" name="sort" value="date:D:L:d1">
<input type="hidden" name="output" value="xml_no_dtd">
<input type="hidden" name="oe" value="UTF-8"><input type="hidden" name="ie" value="UTF-8">
<input type="hidden" name="client" value="fe_www_com">
<input type="hidden" name="proxystylesheet" value="fe_www_com">
<input type="hidden" name="site" value="col_www_com_cominf_sol">
</div>
</form>
</div>
<!-- SiteSearch -->
</td>
</tr>
</table>
</td>
<td><img height="1" width="17" alt="" src="/library/websites/www.com/globalheader/images/spacer.gif"></td>
</tr>
</table>
<!-- end #header -->
<div style="line-height:1px;">&nbsp;</div>
<table border="0" cellspacing="0" cellpadding="2" width="600">
<tr>
<td bgcolor="#333333"><b><span style="color:#FFFFFF;">License Agreement</span></b></td>
</tr>
<tr>
<td><p>This Agreement provides terms and conditions for license grant for use
of the software that is distributed with this Agreement (&quot;Software&quot;)
from Brother Industries, Ltd. (&quot;Brother&quot;) to recipients thereof
(&quot;You&quot;).</p>
<table width="100%" height="60" border="1" bordercolor="#000099">
<tr>
<td bordercolor="#000099"><strong>Note:</strong><br>
Please click on &quot;I Accept&quot; while holding down &quot;Shift&quot; or
right click on &quot;I Accept&quot; and select &quot;Save Target As,,,&quot; from
the menu.</td>
</tr>
</table>
<ol>
<li>The Software is comprised of the following software modules:<br>
<br>
(1) Certain software modules that is the subject of GNU GENERAL PUBLIC
LICENSE (&quot;GPL Modules&quot;), and
<br>
(2) Other software modules (&quot;Non-GPL Modules&quot;)
<br>
<br>
You may distinguish each of GPL Modules by downloading source files
of the Software as Brother separately makes available and reading such
files.<br>
</li>
<li>Your use of all GPL Modules shall be subject to the terms and conditions
of GNU GENERAL PUBLIC LICENSE Version 2, June 1991 (&quot;GPLv2&quot;).
Please see <a href="http://www.brother.com/agreement/English_gpl/agree.html" target="_blank">http://www.brother.com/agreement/English_gpl/agree.html</a>. You
shall use GPL Modules in accordance with the terms and conditions of GPLv2.
Your use of GPL Modules shall be deemed
as your agreement to the terms and conditions of GPLv2.<br>
</li>
<li>You have the right to use all Non-GPL Modules only in accordance with
the following terms and conditions. Your use of Non-GPL Modules shall be
deemed as your agreement to the following terms and conditions:
<p>(1) Brother retains any and all copyrights to Non-GPL Modules. In no
case this Agreement shall be construed to assign or otherwise transfer
from Brother to you any copyrights or other intellectual property rights
to whole or any part of Non-GPL Modules.</p>
<p>(2) Brother grants you a non-exclusive license to reproduce and/or distribute
(via Internet or in any other manner) Non-GPL Modules. Brother further
grants you a non-exclusive license to modify, alter, translate or otherwise
prepare derivative works of Non-GPL Modules and to reproduce and/or distribute
(via Internet or in any other manner) such modification, alteration,
translation or other derivative works of Non-GPL Modules.</p>
<p>(3) When you distribute (via Internet or in any other manner) Non-GPL
Modules or any modification, alteration, translation or other derivative
works thereof under the license granted in accordance with subparagraph
3(2) above, you must expressly grant any and all recipient thereof the
license equivalent to this Agreement which applies to Non-GPL Modules.</p>
<p>(4) The license of Non-GPL Modules from Brother hereunder is granted &quot;AS
IS. BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO NON-GPL MODULES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY,
MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT. </p>
<p>(5) To the extent allowed by applicable laws, Brother shall have no
liability in contract, tort (including negligence or breach of statutory
duty) or otherwise for any interruption of use, loss of data, or for
any indirect, incidental, punitive or consequential loss or damage, or
for any loss of profit, revenue, data, goodwill or anticipated savings
that arises under, out of, or in contemplation of this Agreement or otherwise
arises due to any error, inaccuracy or defect in Non-GPL Modules even
if Brother has been advised of the possibility of such loss or damage.</p>
<p>(6) The form in which Non-GPL Modules is distributed is subject to Brothers
sole discretion. Brother does not have any obligation to distribute or
disclose Non-GPL Modules in source code form. In no case shall this Agreement
be deemed as Brothers express or implied agreement to disclose source
code of Non-GPL Modules.</p>
</li>
</ol></td>
</tr>
</table>
</body>
</html>

46
brscan4/brscan4.install Executable file
View File

@ -0,0 +1,46 @@
# new package version
devices_file="/opt/brother/scanner/brscan4/brsanenetdevice4.cfg"
pre_install() {
/bin/true
}
# new package version
post_install() {
echo "Find additional documentation about scanner driver install at:"
echo "http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_scn1.html"
echo "For a network installation run the following as root:"
echo "brsaneconfig4 -a name=\"Brother\" model=\"YOURMODELHERE\" ip=YOUR.SCANNER.IP.HERE"
/opt/brother/scanner/brscan4/setupSaneScan4 -i
}
# the new package version
# old package version
pre_upgrade() {
# If user has already configured their scanner then make a config backup
if [ -f $devices_file ]; then
cp $devices_file $devices_file.backup || return 1
fi
}
# new package version
# old package version
post_upgrade() {
# After upgrade revert user's scanner config and delete a config backup
if [ -f $devices_file.backup ]; then
cp $devices_file.backup $devices_file || return 1
rm $devices_file.backup || return 1
fi
}
# old package version
pre_remove() {
/opt/brother/scanner/brscan4/setupSaneScan4 -e
/bin/true
}
# old package version
post_remove() {
/bin/true
}

1
brscan4/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,*.rpm}

2
brscan4/deps Normal file
View File

@ -0,0 +1,2 @@
sane gtk2
avahi

15
brscan4/mk-udev-hwdb Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/gawk -f
BEGIN {
FS = ",";
print "# brscan4-supported scanners (or interfaces of MFD)";
print "";
}
NF >= 3 && $1 ~ /^0[xX][[:xdigit:]]{4}$/ {
id = toupper( substr( $1, 3 ));
name = $4
gsub("\"", "", name)
print "# " name;
print "usb:v04F9p" id "*";
print " libsane_matched=yes";
print "";
}

3
brscan4/time Normal file
View File

@ -0,0 +1,3 @@
real 0m2.691s
user 0m1.723s
sys 0m0.262s

83
check/PKGBUILD Normal file
View File

@ -0,0 +1,83 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=check
pkgname=(check check-docs)
pkgver=0.15.2
pkgrel=02
pkgdesc="A unit testing framework for C"
url="https://libcheck.github.io/check/"
arch=(x86_64)
makedepends=(git texlive-bin texi2html doxygen awk cmake)
_commit=11970a7e112dfe243a2e68773f014687df2900e8 # tags/0.15.2
source=("git+https://github.com/libcheck/check#commit=$_commit"
no-static.diff)
pkgver() {
cd check
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd check
# https://bugs.archlinux.org/task/68076
patch -Np1 -i ../no-static.diff
autoreconf -fvi
}
build() {
CFLAGS+=" -Wno-format-extra-args"
cmake -Hcheck -Bcmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
-DAWK_GSUB_DBL_BSLASH='\\\\'
cmake --build cmake
cd check
./configure --prefix=/usr --disable-timeout-tests
make all doc/doxygen doc/check_html
}
check() {
CTEST_OUTPUT_ON_FAILURE=1 cmake --build cmake --target test
cd check
make check
}
package_check() {
depends=(awk)
optdepends=('check-docs: Documentation')
provides=(libcheck.so)
DESTDIR="$pkgdir" cmake --build cmake --target install
DESTDIR="$srcdir/tmp" make -C check install
mv tmp/usr/share/{aclocal,info} "$pkgdir/usr/share"
mv tmp/usr/share/doc .
rm -rv tmp
}
package_check-docs() {
pkgdesc+=" (documentation)"
cp -a check/doc/doxygen/html doc/check/doxygen
cp -a check/doc/check_html doc/check/manual
mkdir -p "$pkgdir/usr/share"
mv doc "$pkgdir/usr/share"
}
#---- license gpg-key sha256sums ----
license=(LGPL)
sha256sums=(SKIP
1151c40e5bfb08e77175f30f79daadc8c07021c980589a6b33c6f1cf224e48df) # no-static.diff

77
check/PKGBUILD-arch Normal file
View File

@ -0,0 +1,77 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
pkgbase=check
pkgname=(check check-docs)
pkgver=0.15.2
pkgrel=2
pkgdesc="A unit testing framework for C"
url="https://libcheck.github.io/check/"
arch=(x86_64)
license=(LGPL)
makedepends=(git texlive-bin texi2html doxygen awk cmake)
_commit=11970a7e112dfe243a2e68773f014687df2900e8 # tags/0.15.2
source=("git+https://github.com/libcheck/check#commit=$_commit"
no-static.diff)
sha256sums=('SKIP'
'1151c40e5bfb08e77175f30f79daadc8c07021c980589a6b33c6f1cf224e48df')
pkgver() {
cd check
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd check
# https://bugs.archlinux.org/task/68076
patch -Np1 -i ../no-static.diff
autoreconf -fvi
}
build() {
CFLAGS+=" -Wno-format-extra-args"
cmake -Hcheck -Bcmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
-DAWK_GSUB_DBL_BSLASH='\\\\'
cmake --build cmake
cd check
./configure --prefix=/usr --disable-timeout-tests
make all doc/doxygen doc/check_html
}
check() {
CTEST_OUTPUT_ON_FAILURE=1 cmake --build cmake --target test
cd check
make check
}
package_check() {
depends=(awk)
optdepends=('check-docs: Documentation')
provides=(libcheck.so)
DESTDIR="$pkgdir" cmake --build cmake --target install
DESTDIR="$srcdir/tmp" make -C check install
mv tmp/usr/share/{aclocal,info} "$pkgdir/usr/share"
mv tmp/usr/share/doc .
rm -rv tmp
}
package_check-docs() {
pkgdesc+=" (documentation)"
cp -a check/doc/doxygen/html doc/check/doxygen
cp -a check/doc/check_html doc/check/manual
mkdir -p "$pkgdir/usr/share"
mv doc "$pkgdir/usr/share"
}

1
check/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,check}

7
check/deps Normal file
View File

@ -0,0 +1,7 @@
git
texlive-bin
texi2html
doxygen
cmake
autoconf
automake

13
check/no-static.diff Normal file
View File

@ -0,0 +1,13 @@
diff --git i/src/CMakeLists.txt w/src/CMakeLists.txt
index 4a02dbe..4d731c9 100644
--- i/src/CMakeLists.txt
+++ w/src/CMakeLists.txt
@@ -188,7 +188,7 @@ target_include_directories(checkShared
)
if(NOT THIS_IS_SUBPROJECT)
- install(TARGETS check checkShared
+ install(TARGETS checkShared
EXPORT check-targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}

5
check/time Normal file
View File

@ -0,0 +1,5 @@
real 0m30.382s
user 0m43.742s
sys 0m4.891s

37
clipit/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=clipit
_pkgname=ClipIt
pkgver=1.4.5
pkgrel=03
pkgdesc="Lightweight GTK+ clipboard manager (fork of Parcellite)"
arch=('i686' 'x86_64')
url="https://github.com/CristianHenzel/ClipIt/"
depends=('gtk3' 'libappindicator-gtk3')
makedepends=('intltool')
optdepends=('xdotool: for automatic paste')
source=("${_pkgname}-${pkgver}.tar.gz::${url}archive/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --with-gtk3
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('GPL3')
md5sums=('4BDAC39A13EDBFF09D66959F94CCCAED')
sha256sums=(f0bbd1b4ff07bb4509388cf5b7f7a25fd72ec02cdd8f4c8f5ff3f5f9ca6da514) # ClipIt-1.4.5.tar.gz

1
clipit/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,*tar.gz*}

5
clipit/deps Normal file
View File

@ -0,0 +1,5 @@
automake
autoconf
libappindicator-gtk3
intltool
gettext

47
cmake/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=cmake
pkgver=3.22.3
pkgrel=01
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
url="https://www.cmake.org/"
depends=('curl' 'libarchive' 'hicolor-icon-theme' 'jsoncpp' 'libuv' 'rhash')
makedepends=( 'python-sphinx' 'emacs-git')
optdepends=('qt6-base: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
build() {
cd ${pkgname}-${pkgver}
# export CXXFLAGS+=" ${CPPFLAGS}"
./bootstrap --prefix=/usr \
--mandir=/share/man \
--docdir=/share/doc/cmake \
--datadir=/share/cmake \
--sphinx-man \
--sphinx-html \
--system-libs \
--parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
}
# --qt-gui \
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/share/doc/cmake/html/_sources
emacs -batch -f batch-byte-compile "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
install -Dm644 Copyright.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
#---- license gpg-key sha256sums ----
license=('custom')
sha256sums=(9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0) # cmake-3.22.3.tar.gz

39
cmake/PKGBUILD-arch Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=cmake
pkgver=3.22.3
pkgrel=1
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
url="https://www.cmake.org/"
license=('custom')
depends=('curl' 'libarchive' 'hicolor-icon-theme' 'jsoncpp' 'libjsoncpp.so' 'libuv' 'rhash')
makedepends=('qt6-base' 'python-sphinx' 'emacs')
optdepends=('qt6-base: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('a35003468153b99770ac6bbdeaa611a231a1104560da36aca0f393b8b71dbb44d854378504d2ec6b4af615f78efe18d91453fe15a1b7ec58129aa0289a5a1507')
build() {
cd ${pkgname}-${pkgver}
./bootstrap --prefix=/usr \
--mandir=/share/man \
--docdir=/share/doc/cmake \
--datadir=/share/cmake \
--sphinx-man \
--sphinx-html \
--system-libs \
--qt-gui \
--parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir"/usr/share/doc/cmake/html/_sources
emacs -batch -f batch-byte-compile "${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
install -Dm644 Copyright.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}

1
cmake/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,cmake-*.gz}

View File

@ -0,0 +1,26 @@
diff --git a/Modules/CMakeCInformation.cmake b/Modules/CMakeCInformation.cmake
index f6d620f40e..325b11f25e 100644
--- a/Modules/CMakeCInformation.cmake
+++ b/Modules/CMakeCInformation.cmake
@@ -100,7 +100,7 @@ if(NOT CMAKE_MODULE_EXISTS)
set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS})
endif()
-set(CMAKE_C_FLAGS_INIT "$ENV{CFLAGS} ${CMAKE_C_FLAGS_INIT}")
+set(CMAKE_C_FLAGS_INIT "$ENV{CPPFLAGS} $ENV{CFLAGS} ${CMAKE_C_FLAGS_INIT}")
cmake_initialize_per_config_variable(CMAKE_C_FLAGS "Flags used by the C compiler")
diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake
index dbb4366757..8a0ee288c6 100644
--- a/Modules/CMakeCXXInformation.cmake
+++ b/Modules/CMakeCXXInformation.cmake
@@ -197,7 +197,7 @@ endforeach()
# on the initial values computed in the platform/*.cmake files
# use _INIT variables so that this only happens the first time
# and you can set these flags in the cmake cache
-set(CMAKE_CXX_FLAGS_INIT "$ENV{CXXFLAGS} ${CMAKE_CXX_FLAGS_INIT}")
+set(CMAKE_CXX_FLAGS_INIT "$ENV{CPPFLAGS} $ENV{CXXFLAGS} ${CMAKE_CXX_FLAGS_INIT}")
cmake_initialize_per_config_variable(CMAKE_CXX_FLAGS "Flags used by the CXX compiler")

7
cmake/deps Normal file
View File

@ -0,0 +1,7 @@
hicolor-icon-theme
jsoncpp
libuv
rhash
python-sphinx
emacs-git
qt6-base

8
cmake/error Normal file
View File

@ -0,0 +1,8 @@
[ 74%] Built target cmake
[ 75%] Generating ui_WarningMessagesDialog.h
/usr/lib/qt6/uic: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory
make[2]: *** [Source/QtDialog/CMakeFiles/CMakeGUILib.dir/build.make:105: Source/QtDialog/ui_WarningMessagesDialog.h] Error 127
make[1]: *** [CMakeFiles/Makefile2:1802: Source/QtDialog/CMakeFiles/CMakeGUILib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

3
cmake/note-on-error Normal file
View File

@ -0,0 +1,3 @@
build qt6-base w/o systemd to come back to cmake
the crap builds with qt6-base which asks for systemd-libs and it is tough to configure
Maybe ANY qt support should be dropped on this build, but we will get back to it later.

5
cmake/time Normal file
View File

@ -0,0 +1,5 @@
real 12m2.381s
user 41m22.338s
sys 1m37.571s

74
cmus-git/PKGBUILD Normal file
View File

@ -0,0 +1,74 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=cmus-git
pkgver=v2.9.1.r25.g54d7213
pkgrel=02
pkgdesc="Small, fast and powerful console music player for Unix-like operating systems."
arch=('x86_64' 'aarch64')
url="https://cmus.github.io/"
depends=('ncurses' 'libdiscid')
makedepends=('git'
'faad2'
'ffmpeg'
'flac'
'jack'
'libao'
'libcdio-paranoia'
'libmad'
'libmodplug'
'libmp4v2'
'libmpcdec'
'libpulse'
'libsamplerate'
'libvorbis'
'opusfile'
'wavpack')
optdepends=('alsa-lib: for ALSA output plugin support'
'libao: for AO output plugin support'
'libpulse: for PulseAudio output plugin support'
'faad2: for AAC input plugin support'
'ffmpeg: for ffmpeg input plugin support'
'flac: for flac input plugin support'
'jack: for jack plugin support'
'libmad: for mp3 input plugin support'
'libmodplug: for modplug input plugin support'
'libmp4v2: for mp4 input plugin support'
'libmpcdec: for musepack input plugin support'
'libsamplerate: for sampe rate converter support'
'libvorbis: for vorbis input plugin support'
'libcdio-paranoia: for cdio support'
'opusfile: for opus input plugin support'
'wavpack: for wavpack input plugin support')
conflicts=('cmus')
provides=('cmus')
source=('git+https://github.com/cmus/cmus.git')
_gitname=cmus
pkgver() {
cd "$_gitname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_gitname"
./configure prefix=/usr
make
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/cmus.bash-completion "$pkgdir"/usr/share/bash-completion/completions/cmus
install -Dm644 contrib/_cmus "$pkgdir"/usr/share/zsh/site-functions/_cmus
}
#---- license gpg-key sha256sums ----
license=(GPL)
sha256sums=(SKIP)

65
cmus-git/PKGBUILD-aur Normal file
View File

@ -0,0 +1,65 @@
# Maintainer: Kamran Mackey <kamranm1200@gmail.com>
pkgname=cmus-git
pkgver=v2.9.1.r25.g54d7213
pkgrel=2
pkgdesc="Small, fast and powerful console music player for Unix-like operating systems."
arch=('x86_64' 'aarch64')
url="https://cmus.github.io/"
depends=('ncurses' 'libdiscid')
makedepends=('git'
'faad2'
'ffmpeg'
'flac'
'jack'
'libao'
'libcdio-paranoia'
'libmad'
'libmodplug'
'libmp4v2'
'libmpcdec'
'libpulse'
'libsamplerate'
'libvorbis'
'opusfile'
'wavpack')
optdepends=('alsa-lib: for ALSA output plugin support'
'libao: for AO output plugin support'
'libpulse: for PulseAudio output plugin support'
'faad2: for AAC input plugin support'
'ffmpeg: for ffmpeg input plugin support'
'flac: for flac input plugin support'
'jack: for jack plugin support'
'libmad: for mp3 input plugin support'
'libmodplug: for modplug input plugin support'
'libmp4v2: for mp4 input plugin support'
'libmpcdec: for musepack input plugin support'
'libsamplerate: for sampe rate converter support'
'libvorbis: for vorbis input plugin support'
'libcdio-paranoia: for cdio support'
'opusfile: for opus input plugin support'
'wavpack: for wavpack input plugin support')
conflicts=('cmus')
provides=('cmus')
license=('GPL')
source=('git+https://github.com/cmus/cmus.git')
sha512sums=('SKIP')
_gitname=cmus
pkgver() {
cd "$_gitname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_gitname"
./configure prefix=/usr
make
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/cmus.bash-completion "$pkgdir"/usr/share/bash-completion/completions/cmus
install -Dm644 contrib/_cmus "$pkgdir"/usr/share/zsh/site-functions/_cmus
}

1
cmus-git/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,cmus}

17
cmus-git/deps Normal file
View File

@ -0,0 +1,17 @@
libdiscid
git
faad2
ffmpeg
flac
jack2
libao
libcdio-paranoia
libmad
libmodplug
libmp4v2
libmpcdec
libpulse
libsamplerate
libvorbis
opusfile
wavpack

3
cmus-git/time Normal file
View File

@ -0,0 +1,3 @@
real 0m12.920s
user 0m22.504s
sys 0m1.719s

106
colord/PKGBUILD Normal file
View File

@ -0,0 +1,106 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=colord
pkgname=(colord colord-sane libcolord)
pkgver=1.4.6
pkgrel=01
pkgdesc="System daemon for managing color devices"
url="https://www.freedesktop.org/software/colord"
arch=(x86_64)
depends=(lcms2 libgusb polkit sqlite dconf dbus libgudev shared-mime-info )
makedepends=(gobject-introspection vala sane bash-completion argyllcms git meson gtk-doc
docbook-xsl)
options=(!emptydirs)
_commit=43c19fd019da5f69d2ebc00a9908b1dd83129485 # tags/1.4.6^0
source=("git+https://github.com/hughsie/colord#commit=$_commit"
colord.sysusers
colord.tmpfiles)
pkgver() {
cd colord
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd colord
}
build() {
arch-meson colord build \
-D libcolordcompat=true \
-D sane=true \
-D vapi=true \
-D print_profiles=true \
-D daemon_user=colord \
-D systemd=false
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
package_colord() {
depends+=("libcolord=$pkgver-$pkgrel")
optdepends=('argyllcms: color profiling'
'colord-sane: SANE support')
provides=(libcolorhug.so)
replaces=(shared-color-profiles)
meson install -C build --destdir "$pkgdir"
# echo 'u colord - "Color management daemon" /var/lib/colord' |
# install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/colord.conf"
install -D -m644 "$srcdir"/colord.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/colord.conf
install -Dm644 "$srcdir"/colord.sysusers "$pkgdir"/usr/lib/sysusers.d/colord.conf
cd "$pkgdir"
_pick sane usr/lib/colord-sane
_pick sane usr/lib/colord-plugins/libcolord_sensor_sane.so
_pick lib usr/include/colord-1/colord{,.h}
_pick lib usr/lib/libcolord{,compat}.so*
_pick lib usr/lib/girepository-1.0/Colord-1.0.typelib
_pick lib usr/lib/pkgconfig/colord.pc
_pick lib usr/share/gir-1.0/Colord-1.0.gir
}
package_colord-sane() {
pkgdesc+=" (SANE support)"
depends=("colord=$pkgver-$pkgrel" sane)
mv sane/* "$pkgdir"
}
package_libcolord() {
pkgdesc+=" (client library)"
depends=(glib2 lcms2)
provides=(libcolord.so)
mv lib/* "$pkgdir"
}
#---- license gpg-key sha256sums ----
license=(GPL2)
validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
sha256sums=(SKIP
737de4459587d85a35c29e8ac7f7feb2ad6b4d3546c0f87c8f3c7fefddbaa835 # colord.sysusers
e7b6b72c59058f70e2a0f1c5f4f57cdbc2b60b187ae3c27c108e5f78a05eebc2) # colord.tmpfiles

Some files were not shown because too many files have changed in this diff Show More