upg pcre2 btrfs-progs zstd skarnet stack
rebuild 66 66-toolsoblibs against skarnet stack
This commit is contained in:
parent
6669eed4a2
commit
3a61edfe4a
105 changed files with 1060 additions and 91655 deletions
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=btrfs-progs
|
||||
pkgver=6.1.2
|
||||
pkgver=6.1.3
|
||||
pkgrel=01
|
||||
pkgdesc='Btrfs filesystem utilities w/o systemd'
|
||||
arch=('x86_64')
|
||||
|
@ -69,8 +69,8 @@ license=('GPL2')
|
|||
|
||||
validpgpkeys=('F2B41200C54EFB30380C1756C565D5F9D76D583B')
|
||||
|
||||
sha256sums=(6be667d97f3d65c0ba57c331c98b0bd3b13cf60d8d31fa8ad25882aad9d79d7a # btrfs-progs-v6.1.2.tar.xz
|
||||
2e2b33019c7664e33e134978337a14fe3dc848d6b7207b446c719a299488ce1f # btrfs-progs-v6.1.2.tar.sign
|
||||
sha256sums=(d37fc9ec4fa5778b20aa7548fe706eb3a300338c1473318271ae54024dac7167 # btrfs-progs-v6.1.3.tar.xz
|
||||
ff5c6ef08bda034c557abe051210e1b975a280f8d53b57003e51eff2bc82b7a7 # btrfs-progs-v6.1.3.tar.sign
|
||||
bbe60b35d1b1e2efc1308a8f54f1fdc6808240a81c5f5b4d75321b7ee86e41f4 # initcpio-install-btrfs
|
||||
35efeee8590d6d60c711ae9cdc918e4841ab61d10cb02359e65e36ebff95ffc5) # initcpio-hook-btrfs
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
pkgname=btrfs-progs
|
||||
pkgver=6.1.2
|
||||
pkgver=6.1.3
|
||||
pkgrel=1
|
||||
pkgdesc='Btrfs filesystem utilities'
|
||||
arch=('x86_64')
|
||||
|
@ -25,9 +25,9 @@ source=("https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-
|
|||
'btrfs-scrub@.timer'
|
||||
)
|
||||
install=btrfs-progs.install
|
||||
options=(!staticlibs debug)
|
||||
options=(!staticlibs)
|
||||
sha256sums=('SKIP'
|
||||
'6be667d97f3d65c0ba57c331c98b0bd3b13cf60d8d31fa8ad25882aad9d79d7a'
|
||||
'd37fc9ec4fa5778b20aa7548fe706eb3a300338c1473318271ae54024dac7167'
|
||||
'bbe60b35d1b1e2efc1308a8f54f1fdc6808240a81c5f5b4d75321b7ee86e41f4'
|
||||
'35efeee8590d6d60c711ae9cdc918e4841ab61d10cb02359e65e36ebff95ffc5'
|
||||
'eaa7af92d28bfa8940bb551560fd7be777f9f175292eaa72b5f6ef00fb240252'
|
||||
|
|
Binary file not shown.
|
@ -1,91 +0,0 @@
|
|||
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||||
# Contributor: judd <jvinet@zeroflux.org>
|
||||
|
||||
pkgbase=e2fsprogs
|
||||
pkgname=('e2fsprogs' 'fuse2fs')
|
||||
pkgver=1.46.5
|
||||
pkgrel=3
|
||||
pkgdesc='Ext2/3/4 filesystem utilities'
|
||||
arch=('x86_64')
|
||||
license=('GPL' 'LGPL' 'MIT')
|
||||
url='http://e2fsprogs.sourceforge.net'
|
||||
options=('debug')
|
||||
makedepends=('systemd' 'util-linux' 'fuse')
|
||||
validpgpkeys=('3AB057B7E78D945C8C5591FBD36F769BC11804F0') # Theodore Ts'o <tytso@mit.edu>
|
||||
source=("https://www.kernel.org/pub/linux/kernel/people/tytso/${pkgbase}/v${pkgver}/${pkgbase}-${pkgver}.tar."{xz,sign}
|
||||
'MIT-LICENSE')
|
||||
sha256sums=('2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e'
|
||||
'SKIP'
|
||||
'cc45386c1d71f438ad648fd7971e49e3074ad9dbacf9dd3a5b4cb61fd294ecbb')
|
||||
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
|
||||
# Remove unnecessary init.d directory
|
||||
sed -i '/init\.d/s|^|#|' misc/Makefile.in
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-root-prefix='' \
|
||||
--libdir=/usr/lib \
|
||||
--sbindir=/usr/bin \
|
||||
--enable-elf-shlibs \
|
||||
--disable-fsck \
|
||||
--disable-uuidd \
|
||||
--disable-libuuid \
|
||||
--disable-libblkid
|
||||
make
|
||||
|
||||
# regenerate locale files
|
||||
find po/ -name '*.gmo' -delete
|
||||
make -C po update-gmo
|
||||
}
|
||||
|
||||
package_e2fsprogs() {
|
||||
depends=('sh' 'util-linux-libs')
|
||||
provides=('libcom_err.so'
|
||||
'libe2p.so'
|
||||
'libext2fs.so'
|
||||
'libss.so')
|
||||
backup=('etc/mke2fs.conf'
|
||||
'etc/e2scrub.conf')
|
||||
|
||||
unset MAKEFLAGS
|
||||
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install install-libs
|
||||
|
||||
sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et"
|
||||
|
||||
# remove references to build directory
|
||||
sed -i -e 's#^SS_DIR=.*#SS_DIR="/usr/share/ss"#' "${pkgdir}/usr/bin/mk_cmds"
|
||||
sed -i -e 's#^ET_DIR=.*#ET_DIR="/usr/share/et"#' "${pkgdir}/usr/bin/compile_et"
|
||||
|
||||
# remove static libraries with a shared counterpart
|
||||
rm "${pkgdir}"/usr/lib/lib{com_err,e2p,ext2fs,ss}.a
|
||||
|
||||
# remove fuse2fs which will be packaged separately
|
||||
rm "${pkgdir}"/usr/{bin/fuse2fs,share/man/man1/fuse2fs.1}
|
||||
|
||||
# install MIT license
|
||||
install -D -m0644 "${srcdir}/MIT-LICENSE" \
|
||||
"${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE"
|
||||
}
|
||||
|
||||
package_fuse2fs() {
|
||||
pkgdesc='Ext2/3/4 filesystem driver for FUSE'
|
||||
depends=('fuse' 'e2fsprogs')
|
||||
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
|
||||
install -D -m0755 'misc/fuse2fs' "${pkgdir}/usr/bin/fuse2fs"
|
||||
install -D -m0644 'misc/fuse2fs.1' "${pkgdir}/usr/share/man/man1/fuse2fs.1"
|
||||
mkdir -p "${pkgdir}"/usr/share/licenses
|
||||
ln -s "${pkgbase}" "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun/jobcore/elfutils"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=elfutils
|
||||
pkgname=('debuginfod' 'elfutils' 'libelf')
|
||||
pkgver=0.186
|
||||
pkgrel=02
|
||||
pkgdesc='Handle ELF object files and DWARF debugging information'
|
||||
arch=('x86_64')
|
||||
url="https://sourceware.org/elfutils/"
|
||||
makedepends=('bzip2' 'curl' 'gcc-libs' 'libarchive' 'libmicrohttpd' 'sqlite'
|
||||
'xz' 'zlib' 'zstd' 'gettext' 'autoconf' 'automake')
|
||||
|
||||
options=('staticlibs')
|
||||
source=("https://sourceware.org/${pkgbase}/ftp/${pkgver}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
|
||||
|
||||
prepare() {
|
||||
cd "$pkgbase-$pkgver"
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgbase-$pkgver"
|
||||
CFLAGS+=" -g" # required for test-suite success
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--program-prefix="eu-" \
|
||||
--enable-deterministic-archives
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgbase-$pkgver"
|
||||
# Some tests fail due to limited capabilities of build chroot
|
||||
make check || echo "Known problem: The build environment might lack enough resources."
|
||||
}
|
||||
|
||||
package_libelf() {
|
||||
pkgdesc+=" (libraries)"
|
||||
depends=('gcc-libs' 'libbz2.so' 'libcurl.so' 'xz' 'zlib' 'zstd')
|
||||
# NOTE: the shared objects can not be added to provides as they are not versioned
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
# remove files provided by elfutils or debuginfod
|
||||
rm -rvf "${pkgdir}"{/etc,/usr/{bin,share}}
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
||||
package_elfutils() {
|
||||
pkgdesc+=" (utilities)"
|
||||
depends=('gcc-libs' 'glibc' "libelf=${pkgver}-${pkgrel}")
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
# remove files provided by libelf
|
||||
rm -rvf "${pkgdir}/usr/"{include,lib}
|
||||
# remove files provided by debuginfod
|
||||
rm -rvf "${pkgdir}/usr/bin/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man1/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man3/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man8/" \
|
||||
"${pkgdir}/etc"
|
||||
}
|
||||
|
||||
package_debuginfod() {
|
||||
pkgdesc+=" (debuginfod)"
|
||||
depends=('gcc-libs' 'glibc' 'libarchive.so' "libelf=${pkgver}-${pkgrel}"
|
||||
'libmicrohttpd.so' 'sqlite')
|
||||
optdepends=("elfutils=${pkgver}-${pkgrel}: for translations" )
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
# remove files provided by libelf
|
||||
rm -rvf "${pkgdir}/usr/"{include,lib}
|
||||
# remove files provided by elfutils
|
||||
rm -rvf "${pkgdir}/usr/bin/eu-"* \
|
||||
"${pkgdir}/usr/share/man/man1/eu-"* \
|
||||
"${pkgdir}/usr/share/man/man3/elf_"* \
|
||||
"${pkgdir}/usr/share/locale"
|
||||
}
|
||||
|
||||
|
||||
#---- license gpg-key sha512sums ----
|
||||
|
||||
license=('LGPL3' 'GPL3')
|
||||
|
||||
validpgpkeys=(
|
||||
'47CC0331081B8BC6D0FD4DA08370665B57816A6A' # Mark J. Wielaard <mark@klomp.org>
|
||||
'EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A' # Mark Wielaard <mjw@gnu.org>
|
||||
)
|
||||
|
||||
sha256sums=(7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177 # elfutils-0.186.tar.bz2
|
||||
1865a1f8e11ae50d8c3aa130ed5c3d9ca526d78df754d3f04656c372538cc84c) # elfutils-0.186.tar.bz2.sig
|
|
@ -1,111 +0,0 @@
|
|||
# Maintainer: David Runge <dvzrv@archlinux.org>
|
||||
# Contributor: Laurent Carlier <lordheavym@gmail.com>
|
||||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
|
||||
|
||||
pkgbase=elfutils
|
||||
pkgname=('debuginfod' 'elfutils' 'libelf')
|
||||
pkgver=0.186
|
||||
pkgrel=1
|
||||
pkgdesc='Handle ELF object files and DWARF debugging information'
|
||||
arch=('x86_64')
|
||||
url="https://sourceware.org/elfutils/"
|
||||
license=('LGPL3' 'GPL3')
|
||||
makedepends=('bzip2' 'curl' 'gcc-libs' 'libarchive' 'libmicrohttpd' 'sqlite'
|
||||
'xz' 'zlib' 'zstd')
|
||||
options=('staticlibs')
|
||||
source=("https://sourceware.org/${pkgbase}/ftp/${pkgver}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
|
||||
sha512sums=('c9180b27ec62935f18b9431268d176f6023d1bb938731d2af6e7626ae460af6608a70ba68483aa1ec7e6cb0fa0528b661ca8b68bc4f58ea8e18af527c5950c78'
|
||||
'SKIP')
|
||||
b2sums=('49573d0a1f3519eab81d1ba3e94354cbc0935a36a94a3fdb22fe223a47b78cca8fd6e322870b0e335a809529fa6f54180b13c67936dec0242123c54ba20c9fc9'
|
||||
'SKIP')
|
||||
validpgpkeys=(
|
||||
'47CC0331081B8BC6D0FD4DA08370665B57816A6A' # Mark J. Wielaard <mark@klomp.org>
|
||||
'EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A' # Mark Wielaard <mjw@gnu.org>
|
||||
)
|
||||
|
||||
prepare() {
|
||||
(
|
||||
cd "$pkgbase-$pkgver"
|
||||
autoreconf -fiv
|
||||
)
|
||||
|
||||
cp -av "$pkgbase-$pkgver" "$pkgbase-test-$pkgver"
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
(
|
||||
cd "$pkgbase-$pkgver"
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--program-prefix="eu-" \
|
||||
--enable-deterministic-archives
|
||||
make
|
||||
)
|
||||
(
|
||||
cd "$pkgbase-test-$pkgver"
|
||||
CFLAGS+=" -g" # required for test-suite success
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--program-prefix="eu-" \
|
||||
--enable-deterministic-archives
|
||||
make
|
||||
)
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgbase-test-$pkgver"
|
||||
make check
|
||||
}
|
||||
|
||||
package_libelf() {
|
||||
pkgdesc+=" (libraries)"
|
||||
depends=('gcc-libs' 'libbz2.so' 'libcurl.so' 'xz' 'zlib' 'zstd')
|
||||
# NOTE: the shared objects can not be added to provides as they are not versioned
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
# remove files provided by elfutils or debuginfod
|
||||
rm -rvf "${pkgdir}"{/etc,/usr/{bin,share}}
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
||||
package_elfutils() {
|
||||
pkgdesc+=" (utilities)"
|
||||
depends=('gcc-libs' 'glibc' "libelf=${pkgver}-${pkgrel}")
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
# remove files provided by libelf
|
||||
rm -rvf "${pkgdir}/usr/"{include,lib}
|
||||
# remove files provided by debuginfod
|
||||
rm -rvf "${pkgdir}/usr/bin/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man1/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man3/debuginfod"* \
|
||||
"${pkgdir}/usr/share/man/man7/" \
|
||||
"${pkgdir}/usr/share/man/man8/" \
|
||||
"${pkgdir}/etc"
|
||||
}
|
||||
|
||||
package_debuginfod() {
|
||||
pkgdesc+=" (debuginfod)"
|
||||
depends=('gcc-libs' 'glibc' 'libarchive.so' "libelf=${pkgver}-${pkgrel}"
|
||||
'libmicrohttpd.so' 'sqlite')
|
||||
optdepends=("elfutils=${pkgver}-${pkgrel}: for translations" )
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} \
|
||||
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
# remove files provided by libelf
|
||||
rm -rvf "${pkgdir}/usr/"{include,lib}
|
||||
# remove files provided by elfutils
|
||||
rm -rvf "${pkgdir}/usr/bin/eu-"* \
|
||||
"${pkgdir}/usr/share/man/man1/eu-"* \
|
||||
"${pkgdir}/usr/share/man/man3/elf_"* \
|
||||
"${pkgdir}/usr/share/locale"
|
||||
}
|
|
@ -1,157 +0,0 @@
|
|||
# Copyright : Obarun
|
||||
#------------------------
|
||||
# Maintainer : Eric Vidal <eric@obarun.org>
|
||||
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
|
||||
#----------------
|
||||
# Obarun PkgSrc : https://git.obarun.org/pkg/obcore/eudev
|
||||
#--------------------------------------------------------------
|
||||
# DESCRIPTION ]
|
||||
|
||||
pkgbase=eudev
|
||||
pkgver=3.2.11
|
||||
pkgrel=3
|
||||
udevver=243
|
||||
url="https://github.com/eudev-project/eudev"
|
||||
|
||||
pkgname=(
|
||||
'eudev'
|
||||
'libeudev'
|
||||
)
|
||||
|
||||
track="eudev/releases/download/v$pkgver"
|
||||
target="eudev-$pkgver"
|
||||
source=(
|
||||
"https://github.com/eudev-project/${track}/${target}.tar.gz"
|
||||
initcpio_hooks
|
||||
initcpio_install
|
||||
udev-hwdb.hook
|
||||
)
|
||||
|
||||
#----------------------
|
||||
# BUILD CONFIGURATION ]
|
||||
|
||||
makedepends=(
|
||||
'gobject-introspection'
|
||||
'gperf'
|
||||
'gtk-doc'
|
||||
'intltool'
|
||||
'kmod'
|
||||
)
|
||||
|
||||
options=(
|
||||
'!makeflags'
|
||||
'!libtool'
|
||||
)
|
||||
|
||||
#----------------
|
||||
# BUILD PREPARE ]
|
||||
|
||||
prepare(){
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
|
||||
-e 's/GROUP="tape"/GROUP="storage"/' \
|
||||
-e 's/GROUP="cdrom"/GROUP="optical"/' \
|
||||
-i rules/*.rules
|
||||
}
|
||||
|
||||
#----------------
|
||||
# BUILD CONTROL ]
|
||||
|
||||
_flags=(
|
||||
--prefix=/usr
|
||||
--with-rootprefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/lib
|
||||
--bindir=/usr/bin
|
||||
--sbindir=/usr/bin
|
||||
--enable-introspection
|
||||
--enable-kmod
|
||||
--enable-manpages
|
||||
--enable-split-usr
|
||||
)
|
||||
|
||||
#--------
|
||||
# BUILD ]
|
||||
|
||||
build() {
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
if [ -f "Makefile" ];then
|
||||
msg2 "Cleaning up..."
|
||||
make clean
|
||||
fi
|
||||
|
||||
./configure "${_flags[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
#----------
|
||||
# PACKAGE ]
|
||||
|
||||
package_eudev() {
|
||||
pkgdesc="The userspace dev tools (udev) forked by Gentoo"
|
||||
backup=(
|
||||
'etc/udev/udev.conf'
|
||||
'usr/lib/udev/rules.d/80-net-name-slot.rules'
|
||||
)
|
||||
depends=(
|
||||
'kbd'
|
||||
'kmod'
|
||||
'hwdata'
|
||||
'util-linux'
|
||||
'libeudev'
|
||||
)
|
||||
optdepends=(
|
||||
'upower-pm-utils: pm-utils support'
|
||||
'libgudev: GObject bindings for libudev'
|
||||
)
|
||||
conflicts=(
|
||||
'eudev-git'
|
||||
'udev'
|
||||
'eudev-libgudev'
|
||||
)
|
||||
replaces=(
|
||||
'udev'
|
||||
)
|
||||
provides=(
|
||||
"udev=$udevver"
|
||||
)
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
## we split this libudev
|
||||
rm -rv "$pkgdir"/usr/lib/pkgconfig
|
||||
rm -v "$pkgdir"/usr/include/libudev.h
|
||||
rm -v "$pkgdir"/usr/lib/libudev*.{so*,a}
|
||||
|
||||
install -Dm644 "$srcdir"/initcpio_hooks "$pkgdir"/usr/lib/initcpio/hooks/udev
|
||||
install -Dm644 "$srcdir"/initcpio_install "$pkgdir"/usr/lib/initcpio/install/udev
|
||||
install -Dm644 "$srcdir"/udev-hwdb.hook "$pkgdir"/usr/share/libalpm/hooks/udev-hwdb.hook
|
||||
}
|
||||
|
||||
package_libeudev() {
|
||||
pkgdesc="Eudev client libraries"
|
||||
depends=(
|
||||
'glib2'
|
||||
'glibc'
|
||||
)
|
||||
provides=(
|
||||
"libudev=$udevver"
|
||||
'libudev.so'
|
||||
)
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
make -C src/libudev DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
#--------------------
|
||||
# ARCH LICENSE AUTH ]
|
||||
|
||||
arch=(x86_64)
|
||||
license=(GPL)
|
||||
|
||||
sha512sums=('')
|
|
@ -1,84 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun/jobcore/$pkgname"
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=glib2
|
||||
pkgname=(glib2 glib2-docs)
|
||||
pkgver=2.70.3
|
||||
pkgrel=01
|
||||
pkgdesc="Low level core library"
|
||||
url="https://wiki.gnome.org/Projects/GLib"
|
||||
arch=(x86_64)
|
||||
depends=(pcre libffi util-linux-libs zlib libsysprof-capture)
|
||||
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
|
||||
meson dbus)
|
||||
checkdepends=(desktop-file-utils)
|
||||
source=("git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$pkgver"
|
||||
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
|
||||
glib-compile-schemas.hook gio-querymodules.{hook,script})
|
||||
|
||||
prepare() {
|
||||
cd glib
|
||||
# Suppress noise from glib-compile-schemas.hook
|
||||
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
|
||||
arch-meson glib build \
|
||||
-D glib_debug=disabled \
|
||||
-D selinux=disabled \
|
||||
-D man=true \
|
||||
-D sysprof=enabled \
|
||||
-D gtk_doc=true
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --no-suite flaky --no-suite slow --print-errorlogs
|
||||
}
|
||||
|
||||
package_glib2() {
|
||||
depends+=(libmount.so libffi.so)
|
||||
provides+=(libgio-2.0.so libglib-2.0.so libgmodule-2.0.so libgobject-2.0.so
|
||||
libgthread-2.0.so)
|
||||
optdepends=('python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report'
|
||||
'libelf: gresource inspection tool')
|
||||
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
|
||||
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
||||
install -D gio-querymodules.script "$pkgdir/usr/share/libalpm/scripts/gio-querymodules"
|
||||
|
||||
python -m compileall -d /usr/share/glib-2.0/codegen \
|
||||
"$pkgdir/usr/share/glib-2.0/codegen"
|
||||
python -O -m compileall -d /usr/share/glib-2.0/codegen \
|
||||
"$pkgdir/usr/share/glib-2.0/codegen"
|
||||
|
||||
# Split docs
|
||||
mkdir -p docs/usr/share
|
||||
mv {"$pkgdir",docs}/usr/share/gtk-doc
|
||||
}
|
||||
|
||||
package_glib2-docs() {
|
||||
pkgdesc="Documentation for GLib"
|
||||
depends=()
|
||||
license+=(custom)
|
||||
|
||||
mv -t "$pkgdir" docs/*
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 glib/docs/reference/COPYING
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=(LGPL)
|
||||
|
||||
validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall (https://endlessos.org/) <pwithnall@endlessos.org>
|
||||
|
||||
sha256sums=(SKIP
|
||||
edb5e34ac0a77431978cab55b98e39754d73455e28a38f5003424e943bbe5fff # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
|
||||
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25 # glib-compile-schemas.hook
|
||||
2a9f9b8235f48e3b7d0f6cfcbc76cd2116c45f28692cac4bd61074c495bd5eb7 # gio-querymodules.hook
|
||||
92d08db5aa30bda276bc3d718e7ff9dd01dc40dcab45b359182dcc290054e24e) # gio-querymodules.script
|
|
@ -1,247 +0,0 @@
|
|||
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
||||
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
# NOTE: valgrind requires rebuilt with each major glibc version
|
||||
|
||||
pkgbase=glibc
|
||||
pkgname=(glibc lib32-glibc)
|
||||
pkgver=2.35
|
||||
pkgrel=3
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL LGPL)
|
||||
makedepends=(git gd lib32-gcc-libs python)
|
||||
options=(!strip staticlibs !lto)
|
||||
#_commit=3de512be7ea6053255afed6154db9ee31d4e557a
|
||||
#source=(git+https://sourceware.org/git/glibc.git#commit=$_commit
|
||||
source=(https://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.xz{,.sig}
|
||||
locale.gen.txt
|
||||
locale-gen
|
||||
lib32-glibc.conf
|
||||
sdt.h sdt-config.h
|
||||
disable-clone3.diff
|
||||
0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
)
|
||||
validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell
|
||||
BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar
|
||||
b2sums=('623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c883e5d17d94417dbd1e91775de2e674314e4ff7424f9720026d6b7063'
|
||||
'SKIP'
|
||||
'46d533d25c7a2ce4ae75d452eee7ebb8e3ce4d191af9be3daa43718b78cb81d33cfd8046a117a15d87de9f5e940448c66005b0490515bf731c9e4691c53908d6'
|
||||
'1f6d927b4972220b1c00abee5329c5d6bc01ed5bee57b20db0c7d7433292f7d666b02baf9968267f8e378b1f3bb273e8eef0ccbf22d21400ac36949d7615a474'
|
||||
'7c265e6d36a5c0dff127093580827d15519b6c7205c2e1300e82f0fb5b9dd00b6accb40c56581f18179c4fbbc95bd2bf1b900ace867a83accde0969f7b609f8a'
|
||||
'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e'
|
||||
'214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678'
|
||||
'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52'
|
||||
'3c4de02d6308a4d39693e6effa08894ae096397347e439b93b0b5328aba41a373f7f2eeb88c109970f69cca65aaa74ba14e384d6d033f6a913438f4f920854a6'
|
||||
'b6014af23688ea971d7af38d58829c8016a0af63770b7f5e8bc986c13ea2cafefe0935ff483b1b37c87ebe3e652b6e0c48ab43dd8ae752d0ed7fecc3751432f4')
|
||||
|
||||
prepare() {
|
||||
mkdir -p glibc-build lib32-glibc-build
|
||||
|
||||
[[ -d glibc-$pkgver ]] && ln -s glibc-$pkgver glibc
|
||||
cd glibc
|
||||
|
||||
# Disable clone3 syscall for now
|
||||
# Can be removed when eletron{9,11,12} and discord are removed or patched:
|
||||
# https://github.com/electron/electron/commit/993ecb5bdd5c57024c8718ca6203a8f924d6d574
|
||||
# Patch src: https://patchwork.ozlabs.org/project/glibc/patch/87eebkf8ph.fsf@oldenburg.str.redhat.com/
|
||||
patch -Np1 -i "${srcdir}"/disable-clone3.diff
|
||||
|
||||
# Fix C.UTF-8 generation errors
|
||||
# https://bugs.archlinux.org/task/73797
|
||||
patch -Np1 -i "${srcdir}"/0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
patch -Np1 -i "${srcdir}"/0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
local _configure_flags=(
|
||||
--prefix=/usr
|
||||
--with-headers=/usr/include
|
||||
--with-bugurl=https://bugs.archlinux.org/
|
||||
--enable-bind-now
|
||||
--enable-cet
|
||||
--enable-kernel=4.4
|
||||
--enable-multi-arch
|
||||
--enable-stack-protector=strong
|
||||
--enable-systemtap
|
||||
--disable-profile
|
||||
--disable-crypt
|
||||
--disable-werror
|
||||
)
|
||||
|
||||
cd "$srcdir/glibc-build"
|
||||
|
||||
echo "slibdir=/usr/lib" >> configparms
|
||||
echo "rtlddir=/usr/lib" >> configparms
|
||||
echo "sbindir=/usr/bin" >> configparms
|
||||
echo "rootsbindir=/usr/bin" >> configparms
|
||||
|
||||
# Credits @allanmcrae
|
||||
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
|
||||
# remove fortify for building libraries
|
||||
CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}
|
||||
|
||||
"$srcdir/glibc/configure" \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
"${_configure_flags[@]}"
|
||||
|
||||
# build libraries with fortify disabled
|
||||
echo "build-programs=no" >> configparms
|
||||
make -O
|
||||
|
||||
# re-enable fortify for programs
|
||||
sed -i "/build-programs=/s#no#yes#" configparms
|
||||
echo "CFLAGS += -Wp,-D_FORTIFY_SOURCE=2" >> configparms
|
||||
make -O
|
||||
|
||||
# build info pages manually for reproducibility
|
||||
make info
|
||||
|
||||
cd "$srcdir/lib32-glibc-build"
|
||||
export CC="gcc -m32 -mstackrealign"
|
||||
export CXX="g++ -m32 -mstackrealign"
|
||||
|
||||
echo "slibdir=/usr/lib32" >> configparms
|
||||
echo "rtlddir=/usr/lib32" >> configparms
|
||||
echo "sbindir=/usr/bin" >> configparms
|
||||
echo "rootsbindir=/usr/bin" >> configparms
|
||||
|
||||
"$srcdir/glibc/configure" \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
"${_configure_flags[@]}"
|
||||
|
||||
# build libraries with fortify disabled
|
||||
echo "build-programs=no" >> configparms
|
||||
make -O
|
||||
|
||||
# re-enable fortify for programs
|
||||
sed -i "/build-programs=/s#no#yes#" configparms
|
||||
echo "CFLAGS += -Wp,-D_FORTIFY_SOURCE=2" >> configparms
|
||||
make -O
|
||||
|
||||
}
|
||||
|
||||
# Credits for skip_test() and check() @allanmcrae
|
||||
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
|
||||
skip_test() {
|
||||
test=$1
|
||||
file=$2
|
||||
sed -i "s/\b$test\b//" $srcdir/glibc/$file
|
||||
}
|
||||
|
||||
check() {
|
||||
cd glibc-build
|
||||
|
||||
# adjust/remove buildflags that cause false-positive testsuite failures
|
||||
sed -i '/FORTIFY/d' configparms # failure to build testsuite
|
||||
sed -i 's/-Werror=format-security/-Wformat-security/' config.make # failure to build testsuite
|
||||
sed -i '/CFLAGS/s/-fno-plt//' config.make # 16 failures
|
||||
sed -i '/CFLAGS/s/-fexceptions//' config.make # 1 failure
|
||||
LDFLAGS=${LDFLAGS/,-z,now/} # 10 failures
|
||||
|
||||
# The following tests fail due to restrictions in the Arch build system
|
||||
# The correct fix is to add the following to the systemd-nspawn call:
|
||||
# --system-call-filter="@clock @memlock @pkey"
|
||||
skip_test test-errno-linux sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-ntp_gettime sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-ntp_gettimex sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-mlock2 sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-pkey sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-adjtime time/Makefile
|
||||
skip_test tst-clock2 time/Makefile
|
||||
|
||||
make -O check
|
||||
}
|
||||
|
||||
package_glibc() {
|
||||
pkgdesc='GNU C Library'
|
||||
depends=('linux-api-headers>=4.10' tzdata filesystem)
|
||||
optdepends=('gd: for memusagestat'
|
||||
'perl: for mtrace')
|
||||
install=glibc.install
|
||||
backup=(etc/gai.conf
|
||||
etc/locale.gen
|
||||
etc/nscd.conf)
|
||||
|
||||
make -C glibc-build install_root="$pkgdir" install
|
||||
rm -f "$pkgdir"/etc/ld.so.cache
|
||||
|
||||
# Shipped in tzdata
|
||||
rm -f "$pkgdir"/usr/bin/{tzselect,zdump,zic}
|
||||
|
||||
cd glibc
|
||||
|
||||
install -dm755 "$pkgdir"/usr/lib/{locale,systemd/system,tmpfiles.d}
|
||||
install -m644 nscd/nscd.conf "$pkgdir/etc/nscd.conf"
|
||||
install -m644 nscd/nscd.service "$pkgdir/usr/lib/systemd/system"
|
||||
install -m644 nscd/nscd.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/nscd.conf"
|
||||
install -dm755 "$pkgdir/var/db/nscd"
|
||||
|
||||
install -m644 posix/gai.conf "$pkgdir"/etc/gai.conf
|
||||
|
||||
install -m755 "$srcdir/locale-gen" "$pkgdir/usr/bin"
|
||||
|
||||
# Create /etc/locale.gen
|
||||
install -m644 "$srcdir/locale.gen.txt" "$pkgdir/etc/locale.gen"
|
||||
sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
|
||||
"$srcdir/glibc/localedata/SUPPORTED" >> "$pkgdir/etc/locale.gen"
|
||||
|
||||
if check_option 'debug' n; then
|
||||
find "$pkgdir"/usr/bin -type f -executable -exec strip $STRIP_BINARIES {} + 2> /dev/null || true
|
||||
find "$pkgdir"/usr/lib -name '*.a' -type f -exec strip $STRIP_STATIC {} + 2> /dev/null || true
|
||||
|
||||
# Do not strip these for gdb and valgrind functionality, but strip the rest
|
||||
find "$pkgdir"/usr/lib \
|
||||
-not -name 'ld-*.so*' \
|
||||
-not -name 'libc.so*' \
|
||||
-not -name 'libpthread.so*' \
|
||||
-not -name 'libthread_db.so*' \
|
||||
-name '*.so*' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
fi
|
||||
|
||||
# Provide tracing probes to libstdc++ for exceptions, possibly for other
|
||||
# libraries too. Useful for gdb's catch command.
|
||||
install -Dm644 "$srcdir/sdt.h" "$pkgdir/usr/include/sys/sdt.h"
|
||||
install -Dm644 "$srcdir/sdt-config.h" "$pkgdir/usr/include/sys/sdt-config.h"
|
||||
}
|
||||
|
||||
package_lib32-glibc() {
|
||||
pkgdesc='GNU C Library (32-bit)'
|
||||
depends=("glibc=$pkgver")
|
||||
options+=('!emptydirs')
|
||||
|
||||
cd lib32-glibc-build
|
||||
|
||||
make install_root="$pkgdir" install
|
||||
rm -rf "$pkgdir"/{etc,sbin,usr/{bin,sbin,share},var}
|
||||
|
||||
# We need to keep 32 bit specific header files
|
||||
find "$pkgdir/usr/include" -type f -not -name '*-32.h' -delete
|
||||
|
||||
# Dynamic linker
|
||||
install -d "$pkgdir/usr/lib"
|
||||
ln -s ../lib32/ld-linux.so.2 "$pkgdir/usr/lib/"
|
||||
|
||||
# Add lib32 paths to the default library search path
|
||||
install -Dm644 "$srcdir/lib32-glibc.conf" "$pkgdir/etc/ld.so.conf.d/lib32-glibc.conf"
|
||||
|
||||
# Symlink /usr/lib32/locale to /usr/lib/locale
|
||||
ln -s ../lib/locale "$pkgdir/usr/lib32/locale"
|
||||
|
||||
if check_option 'debug' n; then
|
||||
find "$pkgdir"/usr/lib32 -name '*.a' -type f -exec strip $STRIP_STATIC {} + 2> /dev/null || true
|
||||
find "$pkgdir"/usr/lib32 \
|
||||
-not -name 'ld-*.so*' \
|
||||
-not -name 'libc.so*' \
|
||||
-not -name 'libpthread.so*' \
|
||||
-not -name 'libthread_db.so*' \
|
||||
-name '*.so*' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
fi
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
||||
# Contributor: Gaetan Bisson <bisson@archlinux.org>
|
||||
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
||||
|
||||
pkgname=gnupg
|
||||
pkgver=2.2.32
|
||||
pkgrel=2
|
||||
pkgdesc='Complete and free implementation of the OpenPGP standard'
|
||||
url='https://www.gnupg.org/'
|
||||
license=('GPL')
|
||||
arch=('x86_64')
|
||||
checkdepends=('openssh')
|
||||
makedepends=('libldap' 'libusb-compat' 'pcsclite')
|
||||
depends=('npth' 'libgpg-error' 'libgcrypt' 'libksba' 'libassuan' 'pinentry'
|
||||
'bzip2' 'libbz2.so' 'readline' 'libreadline.so' 'gnutls' 'sqlite'
|
||||
'zlib' 'glibc')
|
||||
optdepends=('libldap: gpg2keys_ldap'
|
||||
'libusb-compat: scdaemon'
|
||||
'pcsclite: scdaemon')
|
||||
validpgpkeys=(
|
||||
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig)
|
||||
'031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
||||
'5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key)
|
||||
'6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
|
||||
)
|
||||
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||
'drop-import-clean.patch'
|
||||
'avoid-beta-warning.patch')
|
||||
sha256sums=('b2571b35f82c63e7d278aa6a1add0d73453dc14d3f0854be490c844fca7e0614'
|
||||
'SKIP'
|
||||
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
|
||||
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
|
||||
|
||||
install=install
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -p1 -i ../avoid-beta-warning.patch
|
||||
patch -p1 -i ../drop-import-clean.patch
|
||||
|
||||
# improve reproducibility
|
||||
rm doc/gnupg.info*
|
||||
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--sbindir=/usr/bin \
|
||||
--libexecdir=/usr/lib/gnupg \
|
||||
--enable-maintainer-mode \
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
ln -s gpg "${pkgdir}"/usr/bin/gpg2
|
||||
ln -s gpgv "${pkgdir}"/usr/bin/gpgv2
|
||||
|
||||
install -Dm 644 doc/examples/systemd-user/*.* -t "${pkgdir}/usr/lib/systemd/user"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 noet:
|
|
@ -1,31 +0,0 @@
|
|||
_global_units() {
|
||||
_units=(dirmngr.socket gpg-agent.socket gpg-agent-{browser,extra,ssh}.socket)
|
||||
_dir=/etc/systemd/user/sockets.target.wants
|
||||
|
||||
case $1 in
|
||||
enable)
|
||||
mkdir -p $_dir
|
||||
for _u in "${_units[@]}"; do
|
||||
ln -sf /usr/lib/systemd/user/$_u $_dir/$_u
|
||||
done
|
||||
;;
|
||||
disable)
|
||||
for _u in "${_units[@]}"; do
|
||||
rm -f $_dir/$_u
|
||||
done
|
||||
rmdir -p --ignore-fail-on-non-empty $_dir
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# See FS#42798 and FS#47371
|
||||
dirmngr </dev/null &>/dev/null
|
||||
|
||||
# Let systemd supervise daemons by default
|
||||
_global_units enable
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
_global_units disable
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
_global_units() {
|
||||
_units=(dirmngr.socket gpg-agent.socket gpg-agent-{browser,extra,ssh}.socket)
|
||||
_dir=/etc/systemd/user/sockets.target.wants
|
||||
|
||||
case $1 in
|
||||
enable)
|
||||
mkdir -p $_dir
|
||||
for _u in "${_units[@]}"; do
|
||||
ln -sf /usr/lib/systemd/user/$_u $_dir/$_u
|
||||
done
|
||||
;;
|
||||
disable)
|
||||
for _u in "${_units[@]}"; do
|
||||
rm -f $_dir/$_u
|
||||
done
|
||||
rmdir -p --ignore-fail-on-non-empty $_dir
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# See FS#42798 and FS#47371
|
||||
dirmngr </dev/null &>/dev/null
|
||||
|
||||
# Let systemd supervise daemons by default
|
||||
_global_units enable
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
_global_units disable
|
||||
}
|
|
@ -1,332 +0,0 @@
|
|||
diff -upr gpgme-1.16.0.orig/configure gpgme-1.16.0/configure
|
||||
--- gpgme-1.16.0.orig/configure 2021-06-24 20:10:50.000000000 +0300
|
||||
+++ gpgme-1.16.0/configure 2021-12-01 00:12:24.383952330 +0200
|
||||
@@ -19625,7 +19625,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -19666,7 +19666,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -19875,7 +19875,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -19933,7 +19933,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -20255,7 +20255,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -20296,7 +20296,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -20505,7 +20505,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -20563,7 +20563,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -20885,7 +20885,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -20926,7 +20926,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -21135,7 +21135,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -21193,7 +21193,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -21515,7 +21515,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -21556,7 +21556,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -21765,7 +21765,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -21823,7 +21823,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -22145,7 +22145,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -22186,7 +22186,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -22395,7 +22395,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -22453,7 +22453,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -22775,7 +22775,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -22816,7 +22816,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -23025,7 +23025,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -23083,7 +23083,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -23291,13 +23291,13 @@ $as_echo "$as_me: WARNING:
|
||||
|
||||
if test -n "$PYTHON"; then
|
||||
# If the user set $PYTHON, use it and don't search something else.
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.9" >&5
|
||||
-$as_echo_n "checking whether $PYTHON version is >= 3.9... " >&6; }
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.10" >&5
|
||||
+$as_echo_n "checking whether $PYTHON version is >= 3.10... " >&6; }
|
||||
prog="import sys
|
||||
# split strings by '.' and convert to numeric. Append some zeros
|
||||
# because we need at least 4 digits for the hex conversion.
|
||||
# map returns an iterator in Python 3.0 and a list in 2.x
|
||||
-minver = list(map(int, '3.9'.split('.'))) + [0, 0, 0]
|
||||
+minver = list(map(int, '3.10'.split('.'))) + [0, 0, 0]
|
||||
minverhex = 0
|
||||
# xrange is not present in Python 3.0 and range returns an iterator
|
||||
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
||||
@@ -23318,19 +23318,19 @@ fi
|
||||
else
|
||||
# Otherwise, try each interpreter until we find one that satisfies
|
||||
# VERSION.
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.9" >&5
|
||||
-$as_echo_n "checking for a Python interpreter with version >= 3.9... " >&6; }
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.10" >&5
|
||||
+$as_echo_n "checking for a Python interpreter with version >= 3.10... " >&6; }
|
||||
if ${am_cv_pathless_PYTHON+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
|
||||
- for am_cv_pathless_PYTHON in python3.9 none; do
|
||||
+ for am_cv_pathless_PYTHON in python3.10 none; do
|
||||
test "$am_cv_pathless_PYTHON" = none && break
|
||||
prog="import sys
|
||||
# split strings by '.' and convert to numeric. Append some zeros
|
||||
# because we need at least 4 digits for the hex conversion.
|
||||
# map returns an iterator in Python 3.0 and a list in 2.x
|
||||
-minver = list(map(int, '3.9'.split('.'))) + [0, 0, 0]
|
||||
+minver = list(map(int, '3.10'.split('.'))) + [0, 0, 0]
|
||||
minverhex = 0
|
||||
# xrange is not present in Python 3.0 and range returns an iterator
|
||||
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
||||
@@ -23405,7 +23405,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -23446,7 +23446,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -23655,7 +23655,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -23713,7 +23713,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -24035,7 +24035,7 @@ $as_echo_n "checking for $am_display_PYT
|
||||
if ${am_cv_python_version+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
|
||||
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:4])"`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
|
||||
$as_echo "$am_cv_python_version" >&6; }
|
||||
@@ -24076,7 +24076,7 @@ else:
|
||||
# <https://github.com/pypa/virtualenv/issues/118>
|
||||
try:
|
||||
from platform import python_implementation
|
||||
- if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
|
||||
+ if python_implementation() == 'CPython' and sys.version[:4] == '2.7':
|
||||
can_use_sysconfig = 0
|
||||
except ImportError:
|
||||
pass"
|
||||
@@ -24285,7 +24285,7 @@ variable to configure. See \`\`configure
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
|
||||
$as_echo_n "checking for the distutils Python package... " >&6; }
|
||||
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
|
||||
- if test -z "$ac_distutils_result"; then
|
||||
+ if test $? -eq 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
@@ -24343,7 +24343,7 @@ EOD`
|
||||
ac_python_version=$PYTHON_VERSION
|
||||
else
|
||||
ac_python_version=`$PYTHON -c "import sys; \
|
||||
- print (sys.version[:3])"`
|
||||
+ print (sys.version[:4])"`
|
||||
fi
|
||||
fi
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
# Maintainer: Christian Hesse <mail@eworm.de>
|
||||
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||||
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
||||
|
||||
pkgname=iproute2
|
||||
pkgver=6.1.0
|
||||
pkgrel=3
|
||||
pkgdesc='IP Routing Utilities'
|
||||
arch=('x86_64')
|
||||
license=('GPL2')
|
||||
url='https://git.kernel.org/pub/scm/network/iproute2/iproute2.git'
|
||||
depends=('glibc' 'iptables' 'libelf' 'libbpf')
|
||||
makedepends=('db5.3')
|
||||
optdepends=('db5.3: userspace arp daemon'
|
||||
'libcap: tipc'
|
||||
'linux-atm: ATM support')
|
||||
provides=('iproute')
|
||||
backup=('etc/iproute2/bpf_pinning'
|
||||
'etc/iproute2/ematch_map'
|
||||
'etc/iproute2/group'
|
||||
'etc/iproute2/nl_protos'
|
||||
'etc/iproute2/rt_dsfield'
|
||||
'etc/iproute2/rt_protos'
|
||||
'etc/iproute2/rt_realms'
|
||||
'etc/iproute2/rt_scopes'
|
||||
'etc/iproute2/rt_tables')
|
||||
makedepends=('linux-atm')
|
||||
options=('staticlibs' 'debug')
|
||||
validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
|
||||
source=("https://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
|
||||
'0001-make-iproute2-fhs-compliant.patch'
|
||||
'bdb5.3.patch')
|
||||
sha256sums=('5ce12a0fec6b212725ef218735941b2dab76244db7e72646a76021b0537b43ab'
|
||||
'SKIP'
|
||||
'758b82bd61ed7512d215efafd5fab5ae7a28fbfa6161b85e2ce7373285e56a5d'
|
||||
'908de44ee99bf78669e7c513298fc2a22ca9d7e816a8f99788b1e9b091035cf4')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
# set correct fhs structure
|
||||
patch -Np1 -i "${srcdir}"/0001-make-iproute2-fhs-compliant.patch
|
||||
|
||||
# use Berkeley DB 5.3
|
||||
patch -Np1 -i "${srcdir}"/bdb5.3.patch
|
||||
|
||||
# do not treat warnings as errors
|
||||
sed -i 's/-Werror//' Makefile
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
export CFLAGS+=' -ffat-lto-objects'
|
||||
|
||||
./configure
|
||||
make DBM_INCLUDE='/usr/include/db5.3'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install
|
||||
|
||||
# libnetlink isn't installed, install it FS#19385
|
||||
install -Dm0644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
|
||||
install -Dm0644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a"
|
||||
}
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
pkgbase=iptables
|
||||
pkgname=(iptables iptables-nft)
|
||||
pkgver=1.8.8
|
||||
pkgrel=03
|
||||
pkgver=1.8.9
|
||||
pkgrel=01
|
||||
epoch=1
|
||||
pkgdesc='Linux kernel packet control tool - w/o ipv6 & systemd'
|
||||
arch=(x86_64)
|
||||
|
@ -16,9 +16,9 @@ url='https://www.netfilter.org/projects/iptables/index.html'
|
|||
depends=(libnftnl libpcap libnfnetlink libnetfilter_conntrack bash)
|
||||
makedepends=(linux-api-headers)
|
||||
backup=(etc/ethertypes etc/iptables/{ip,ip6}tables.rules)
|
||||
source=(https://www.netfilter.org/projects/iptables/files/$pkgbase-$pkgver.tar.bz2{,.sig}
|
||||
source=(https://www.netfilter.org/projects/iptables/files/$pkgbase-$pkgver.tar.xz{,.sig}
|
||||
empty.rules simple_firewall.rules empty-{filter,mangle,nat,raw,security}.rules
|
||||
iptables-format-security.patch::https://git.netfilter.org/iptables/patch/?id=b72eb12e
|
||||
iptables-format-security-libxt_NAT.patch::https://git.netfilter.org/iptables/patch/?id=ed4082a7405a5838c205a34c1559e289949200cc
|
||||
iptables-apply-default-path.patch)
|
||||
|
||||
prepare() {
|
||||
|
@ -29,8 +29,7 @@ prepare() {
|
|||
rm include/linux/types.h
|
||||
|
||||
ln -rs libiptc/linux_list.h include/libiptc
|
||||
patch -p1 -i ../iptables-format-security.patch # Fix build with -Werror=format-security
|
||||
|
||||
patch -p1 -i ../iptables-format-security-libxt_NAT.patch # Fix build with -Werror=format-security
|
||||
# use Arch path
|
||||
patch -p0 -i ../iptables-apply-default-path.patch
|
||||
|
||||
|
@ -97,19 +96,15 @@ license=(GPL2)
|
|||
validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4'
|
||||
'37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
|
||||
|
||||
sha256sums=(71c75889dc710676631553eb1511da0177bbaaf1b551265b912d236c3f51859f # iptables-1.8.8.tar.bz2
|
||||
b2352cadec0594289948d9f43868057fdf2a34e5e6dd5420be862c631e177c00 # iptables-1.8.8.tar.bz2.sig
|
||||
630d774f089703c2c7370db6d7c188dae25d00c26feaa3d3de8eb52519033948 # empty.rules
|
||||
9e83d7ae39d31881790f814930d44acbaeab1520adb2fb4fcb80f0bbfab174b9 # simple_firewall.rules
|
||||
09b90da35c2c8cb0fbda63b300f06d2387a102ca53a40980ef0b49829e249528 # empty-filter.rules
|
||||
92755648f456e235d17a8faeb5f46d27af66eb4db10ea4bac0abd3e35e2dae07 # empty-mangle.rules
|
||||
52bd70dff3e1e1a64127ad7ed86840834b79756c3bdb6947b7c6279ffe95dd48 # empty-nat.rules
|
||||
5768a471c0559848635c39d270e456bfa5c43eda65f5f6f666fea2d277183a37 # empty-raw.rules
|
||||
91161a73f323016a9efc5eabd16243d20f8ca2467995cf0eabfb95f845090121 # empty-security.rules
|
||||
9d9e23d6452632e7944d942ccbf6c82deb327780a084611aa7444eb88c596a70 # iptables-format-security.patch
|
||||
sha256sums=(ef6639a43be8325a4f8ea68123ffac236cb696e8c78501b64e8106afb008c87f # iptables-1.8.9.tar.xz
|
||||
868cceb5bb6a44b89d6f22f0be3291056df1fbc300542dbb7a62f6539bf28673 # iptables-1.8.9.tar.xz.sig
|
||||
630d774f089703c2c7370db6d7c188dae25d00c26feaa3d3de8eb52519033948 # empty.rules
|
||||
9e83d7ae39d31881790f814930d44acbaeab1520adb2fb4fcb80f0bbfab174b9 # simple_firewall.rules
|
||||
09b90da35c2c8cb0fbda63b300f06d2387a102ca53a40980ef0b49829e249528 # empty-filter.rules
|
||||
92755648f456e235d17a8faeb5f46d27af66eb4db10ea4bac0abd3e35e2dae07 # empty-mangle.rules
|
||||
52bd70dff3e1e1a64127ad7ed86840834b79756c3bdb6947b7c6279ffe95dd48 # empty-nat.rules
|
||||
5768a471c0559848635c39d270e456bfa5c43eda65f5f6f666fea2d277183a37 # empty-raw.rules
|
||||
91161a73f323016a9efc5eabd16243d20f8ca2467995cf0eabfb95f845090121 # empty-security.rules
|
||||
3784e61958cf96a8e5e04df885defadf1cd70caa1e9d6c6f144bdbc64441eabe # iptables-format-security-libxt_NAT.patch
|
||||
770ceaedce26d05eb1b9d0c4c65f5b8e92facd1dc0652a29c859336d6bc347f6) # iptables-apply-default-path.patch
|
||||
|
||||
|
||||
# fd3fc7e49b7f145d7cb4082ac165196a452a929ec53138e75383595008bca480 iptables-1:1.8.8-03-x86_64.pkg.tar.xz
|
||||
# f4bdf87ae9e79dffe8448b9acbe155e764330d1095aaef2c0fc5e3eaf2f92562 iptables-nft-1:1.8.8-03-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
pkgbase=iptables
|
||||
pkgname=(iptables iptables-nft)
|
||||
pkgver=1.8.8
|
||||
pkgrel=3
|
||||
pkgver=1.8.9
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='Linux kernel packet control tool'
|
||||
arch=(x86_64)
|
||||
|
@ -13,12 +13,12 @@ url='https://www.netfilter.org/projects/iptables/index.html'
|
|||
depends=(libnftnl libpcap libnfnetlink libnetfilter_conntrack bash)
|
||||
makedepends=(linux-api-headers)
|
||||
backup=(etc/ethertypes etc/iptables/{ip,ip6}tables.rules)
|
||||
source=(https://www.netfilter.org/projects/iptables/files/$pkgbase-$pkgver.tar.bz2{,.sig}
|
||||
source=(https://www.netfilter.org/projects/iptables/files/$pkgbase-$pkgver.tar.xz{,.sig}
|
||||
empty.rules simple_firewall.rules empty-{filter,mangle,nat,raw,security}.rules
|
||||
{arp,eb,ip,ip6}tables.service iptables-{legacy,nft}-flush
|
||||
iptables-format-security.patch::https://git.netfilter.org/iptables/patch/?id=b72eb12e
|
||||
iptables-format-security-libxt_NAT.patch::https://git.netfilter.org/iptables/patch/?id=ed4082a7405a5838c205a34c1559e289949200cc
|
||||
iptables-apply-default-path.patch)
|
||||
sha256sums=('71c75889dc710676631553eb1511da0177bbaaf1b551265b912d236c3f51859f'
|
||||
sha256sums=('ef6639a43be8325a4f8ea68123ffac236cb696e8c78501b64e8106afb008c87f'
|
||||
'SKIP'
|
||||
'630d774f089703c2c7370db6d7c188dae25d00c26feaa3d3de8eb52519033948'
|
||||
'9e83d7ae39d31881790f814930d44acbaeab1520adb2fb4fcb80f0bbfab174b9'
|
||||
|
@ -33,7 +33,7 @@ sha256sums=('71c75889dc710676631553eb1511da0177bbaaf1b551265b912d236c3f51859f'
|
|||
'c37c69db5077a061fd72fc3b199712f1bed8688de8008f219223fadd6fa6c06f'
|
||||
'40680b3c877926a2bac698ea58f52d1d4b3ab152ee68ccd7fa7ca51aeedc3b2d'
|
||||
'6d3e7bdeebdaeaf83ed448f4d42a979c8c59fb5e919f6f860ed340c2c9afef1a'
|
||||
'9d9e23d6452632e7944d942ccbf6c82deb327780a084611aa7444eb88c596a70'
|
||||
'3784e61958cf96a8e5e04df885defadf1cd70caa1e9d6c6f144bdbc64441eabe'
|
||||
'770ceaedce26d05eb1b9d0c4c65f5b8e92facd1dc0652a29c859336d6bc347f6')
|
||||
validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4'
|
||||
'37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
|
||||
|
@ -46,7 +46,7 @@ prepare() {
|
|||
rm include/linux/types.h
|
||||
|
||||
ln -rs libiptc/linux_list.h include/libiptc
|
||||
patch -p1 -i ../iptables-format-security.patch # Fix build with -Werror=format-security
|
||||
patch -p1 -i ../iptables-format-security-libxt_NAT.patch # Fix build with -Werror=format-security
|
||||
|
||||
# use Arch path
|
||||
patch -p0 -i ../iptables-apply-default-path.patch
|
||||
|
|
|
@ -1 +1 @@
|
|||
rm -rvf {src,pkg,iptables*tar.bz2*}
|
||||
rm -rvf {src,pkg,iptables*tar.xz*}
|
||||
|
|
29
iptables/iptables-format-security-libxt_NAT.patch
Normal file
29
iptables/iptables-format-security-libxt_NAT.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
From ed4082a7405a5838c205a34c1559e289949200cc Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Thu, 12 Jan 2023 14:38:44 +0100
|
||||
Subject: extensions: NAT: Fix for -Werror=format-security
|
||||
|
||||
Have to pass either a string literal or format string to xt_xlate_add().
|
||||
|
||||
Fixes: f30c5edce0413 ("extensions: Merge SNAT, DNAT, REDIRECT and MASQUERADE")
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
---
|
||||
extensions/libxt_NAT.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/extensions/libxt_NAT.c b/extensions/libxt_NAT.c
|
||||
index da9f2201..2a634398 100644
|
||||
--- a/extensions/libxt_NAT.c
|
||||
+++ b/extensions/libxt_NAT.c
|
||||
@@ -424,7 +424,7 @@ __NAT_xlate(struct xt_xlate *xl, const struct nf_nat_range2 *r,
|
||||
if (r->flags & NF_NAT_RANGE_PROTO_OFFSET)
|
||||
return 0;
|
||||
|
||||
- xt_xlate_add(xl, tgt);
|
||||
+ xt_xlate_add(xl, "%s", tgt);
|
||||
if (strlen(range_str))
|
||||
xt_xlate_add(xl, " to %s", range_str);
|
||||
if (r->flags & NF_NAT_RANGE_PROTO_RANDOM) {
|
||||
--
|
||||
cgit v1.2.3
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
echo "
|
||||
# This script should run after the base has been installed and should run within the chroot
|
||||
# environment of the installation.
|
||||
#
|
||||
# The script can alway be run again to reconfigure the system, such if other partitions to
|
||||
# be mounted are created, if s6/66 are added together with runit, or runit is removed in place
|
||||
# of s6/66. The script should always run as root or using "sudo sh jobo-setup.sh" or simply
|
||||
# "sudo jobo-setup"
|
||||
#
|
||||
# Please report any problems, bugs, issues that may arise from its use so we can make
|
||||
# adjustments and reissue.
|
||||
#
|
||||
# We hope you find it helpful.
|
||||
#
|
||||
"
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
post_install() {
|
||||
echo "1 This is a metapackage for joborun's boot-66serv to replace boot@-66serv by Obarun"
|
||||
echo "Read more on the cohabitation of runit and 66"
|
||||
more /etc/66/jobo66.txt
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
Bug #448778
|
||||
--- krb5-1.11/src/build-tools/krb5-config.in 2012-12-18 02:47:04.000000000 +0000
|
||||
+++ krb5-1.11/src/build-tools/krb5-config.in 2012-12-28 07:13:16.582693363 +0000
|
||||
@@ -217,7 +217,7 @@
|
||||
-e 's#\$(PROG_RPATH)#'$libdir'#' \
|
||||
-e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
|
||||
-e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
|
||||
- -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
|
||||
+ -e 's#\$(LDFLAGS)##' \
|
||||
-e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
|
||||
-e 's#\$(CFLAGS)##'`
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=libffi
|
||||
pkgver=3.4.2
|
||||
pkgrel=4
|
||||
pkgdesc='Portable foreign function interface library'
|
||||
arch=('x86_64')
|
||||
url='https://sourceware.org/libffi/'
|
||||
license=('MIT')
|
||||
depends=('glibc')
|
||||
checkdepends=('dejagnu')
|
||||
provides=('libffi.so')
|
||||
source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz)
|
||||
sha256sums=('540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620')
|
||||
b2sums=('a8137bc895b819f949fd7705e405be627219c6d1fdef280253330f7407d4a548bb057d7bb0e9225d1767d42f9bf5f0ab3c455db1c3470d7cc876bb7b7d55d308')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
# remove --disable-exec-static-tramp once ghc and gobject-introspection
|
||||
# work fine with it enabled (https://github.com/libffi/libffi/pull/647)
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--disable-multi-os-directory \
|
||||
--disable-exec-static-tramp \
|
||||
--enable-pax_emutramp
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C $pkgname-$pkgver check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
|
@ -1,109 +0,0 @@
|
|||
From d46cbbac4851ce6e49d8dacb0daa328453eb8a84 Mon Sep 17 00:00:00 2001
|
||||
From: Benjamin Berg <bberg@redhat.com>
|
||||
Date: Tue, 22 Feb 2022 11:45:38 +0100
|
||||
Subject: [PATCH] core: Install first context as implicit default
|
||||
|
||||
There was a behaviour change in libusb, which triggers issues when the
|
||||
API is misused. This caused gutenprint to crash, see
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=2055504
|
||||
|
||||
For now, work around this by installing an implicit default. But, change
|
||||
the code to log an error in case this "feature" is being used.
|
||||
---
|
||||
libusb/core.c | 16 +++++++++++++---
|