From 94992bd6f6c8d848a2ddbf1206fd4ea7e7af3a49 Mon Sep 17 00:00:00 2001 From: joborun Date: Tue, 3 Sep 2024 04:48:19 +0300 Subject: [PATCH] rm old files --- elfutils/PKGBUILD-arch.new | 150 ------------------------ libcap/.gitignore | 1 + linux-lts/PKGBUILD-arch.new | 219 ------------------------------------ pam-git/PKGBUILD-arch.new | 58 ---------- 4 files changed, 1 insertion(+), 427 deletions(-) delete mode 100644 elfutils/PKGBUILD-arch.new create mode 100644 libcap/.gitignore delete mode 100644 linux-lts/PKGBUILD-arch.new delete mode 100644 pam-git/PKGBUILD-arch.new diff --git a/elfutils/PKGBUILD-arch.new b/elfutils/PKGBUILD-arch.new deleted file mode 100644 index 058dee8..0000000 --- a/elfutils/PKGBUILD-arch.new +++ /dev/null @@ -1,150 +0,0 @@ -# Maintainer: David Runge -# Contributor: Laurent Carlier -# Contributor: Stéphane Gaudreault -# Contributor: Andrej Gelenberg - -pkgbase=elfutils -pkgname=( - elfutils - libelf - debuginfod -) -pkgver=0.191 -pkgrel=3 -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 -) -options=(staticlibs) -source=(https://sourceware.org/$pkgbase/ftp/$pkgver/$pkgbase-$pkgver.tar.bz2{,.sig}) -sha512sums=('e22d85f25317a79b36d370347e50284c9120c86f9830f08791b7b6a7b4ad89b9bf4c7c71129133b8d193a0edffb2a2c17987b7e48428b9670aff5ce918777e04' - 'SKIP') -b2sums=('2a7ad251369eca7ba609ab8644181fd479ad8596ee58dc068398ca22be25a978e96b81a10a92a5555d7574fd1b9227c8d54fb41dceb4025aedfc6ae32870bbca' - 'SKIP') -validpgpkeys=( - 'EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A' # Mark Wielaard - '6C2B631563B8D330578D3CB474FD3FA2779E7073' # Aaron Merey -) - -prepare() { - # remove failing test due to missing glibc debug package during test: https://bugs.archlinux.org/task/74875 - sed -e 's/run-backtrace-native.sh//g' -i $pkgbase-$pkgver/tests/Makefile.am - - cd $pkgbase-$pkgver - autoreconf -fiv -} - -build() { - local configure_options=( - --prefix=/usr - --sysconfdir=/etc - --program-prefix="eu-" - --enable-deterministic-archives - ) - - # fat-lto-objects is required for non-mangled .a files in libelf - CFLAGS+=" -ffat-lto-objects" - - # debugging information is required for test-suite - CFLAGS+=" -g" - - cd $pkgbase-$pkgver - ./configure "${configure_options[@]}" - make -} - -check() { - make -C $pkgbase-$pkgver check -} - -_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_elfutils() { - pkgdesc+=" (utilities)" - license=( - GPL-3.0-or-later - ) - depends=( - gcc-libs - glibc - libarchive libarchive.so - libelf=$pkgver - sh - ) - - make DESTDIR="$pkgdir" install -C $pkgbase-$pkgver - - # set the default DEBUGINFOD_URLS environment variable to the distribution's debuginfod URL - echo "https://debuginfod.archlinux.org" > "$pkgdir/etc/debuginfod/archlinux.urls" - - ( - cd "$pkgdir" - - _pick libelf etc/debuginfod - _pick libelf etc/profile.d/* - _pick libelf usr/{include,lib} - _pick debuginfod usr/bin/debuginfod* - _pick debuginfod usr/share/man/*/debuginfod* - ) - - install -vDm 644 $pkgbase-$pkgver/{AUTHORS,ChangeLog,NEWS,NOTES,README} -t "$pkgdir/usr/share/doc/$pkgname/" -} - -package_libelf() { - pkgdesc+=" (libraries)" - license=( - 'GPL-2.0-or-later OR LGPL-3.0-or-later' - ) - depends=( - bzip2 libbz2.so - curl libcurl.so - gcc-libs - glibc - xz liblzma.so - zlib - zstd libzstd.so - ) - # NOTE: the shared objects can not be added to provides as they are not versioned - - mv -v libelf/* "$pkgdir" - install -vDm 644 $pkgbase-$pkgver/{AUTHORS,ChangeLog,NEWS,NOTES,README} -t "$pkgdir/usr/share/doc/$pkgname/" -} - -package_debuginfod() { - pkgdesc+=" (debuginfod)" - license=( - GPL-3.0-or-later - ) - depends=( - gcc-libs - glibc - libarchive libarchive.so - libelf=$pkgver - libmicrohttpd libmicrohttpd.so - sqlite libsqlite3.so - ) - optdepends=("elfutils=$pkgver: for translations") - - mv -v debuginfod/* "$pkgdir" - install -vDm 644 $pkgbase-$pkgver/{AUTHORS,ChangeLog,NEWS,NOTES,README} -t "$pkgdir/usr/share/doc/$pkgname/" -} - -# vim:set sw=2 sts=-1 et: diff --git a/libcap/.gitignore b/libcap/.gitignore new file mode 100644 index 0000000..ee304ea --- /dev/null +++ b/libcap/.gitignore @@ -0,0 +1 @@ +/PKGBUILD-arch.new diff --git a/linux-lts/PKGBUILD-arch.new b/linux-lts/PKGBUILD-arch.new deleted file mode 100644 index e89dfc1..0000000 --- a/linux-lts/PKGBUILD-arch.new +++ /dev/null @@ -1,219 +0,0 @@ -# Maintainer: Andreas Radke - -pkgbase=linux-lts -pkgver=5.15.43 -pkgrel=1 -pkgdesc='LTS Linux' -url="https://www.kernel.org/" -arch=(x86_64) -license=(GPL2) -makedepends=( - bc libelf pahole cpio perl tar xz - xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick texlive-latexextra -) -options=('!strip') -_srcname=linux-$pkgver -source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - config # the main kernel config file - 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - 0002-PCI_Add_more_NVIDIA_controllers_to_the_MSI_masking_quirk.patch - 0003-iommu_intel_do_deep_dma-unmapping_to_avoid_kernel-flooding.patch - 0004-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch - 0005-lg-laptop_Recognize_more_models.patch - 0006_fix_NFSv4_mount_regression.diff -) -validpgpkeys=( - 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds - '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman -) -# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256sums=('064b913a9d58773a85cafa62f2a2f9031aeee724d7e41b66631037d9a6571c12' - 'SKIP' - '68de8b84a6e6a61b7107ca1ba6dd3f729531af890af8bebe3b9ba4bb1ec0d118' - '99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423' - 'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706' - '7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e' - '3fa8a4af66d5a3b99b48ca979a247c61e81c9b2d3bcdffa9d3895a5532a420b4' - '79266c6cc970733fd35881d9a8f0a74c25c00b4d81741b8d4bba6827c48f7c78' - 'e9527ad81d5b1821a7b17c56cb3abaec85785563f51e448cb3c06f1c68e2966f') - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - cd $_srcname - - # fix NFSv4 mounting issue regression - FS#73838 / FS#73860 - # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/patch/?id=6f2836341d8a39e1e000572b10959347d7e61fd9 - patch -Rp1 -i ../0006_fix_NFSv4_mount_regression.diff - - echo "Setting version..." - scripts/setlocalversion --save-scmversion - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - local src - for src in "${source[@]}"; do - src="${src%%::*}" - src="${src##*/}" - [[ $src = *.patch ]] || continue - echo "Applying patch $src..." - patch -Np1 < "../$src" - done - - echo "Setting config..." - cp ../config .config - make olddefconfig -# diff -u ../config .config || : -#return 1 - make -s kernelrelease > version - echo "Prepared $pkgbase version $( -# Maintainer: Levente Polyak -# Contributor: judd - -pkgname=pam -pkgver=1.6.1 -pkgrel=3 -pkgdesc="PAM (Pluggable Authentication Modules) library" -arch=('x86_64') -license=('GPL-2.0-only') -url="http://linux-pam.org" -depends=('glibc' 'libtirpc' 'pambase' 'audit' 'libaudit.so' 'libxcrypt' 'libcrypt.so' 'libnsl' 'systemd-libs') -makedepends=('git' 'flex' 'w3m' 'libxslt' 'docbook-xml' 'docbook5-xml' 'docbook-xsl' 'fop') -provides=('libpam.so' 'libpamc.so' 'libpam_misc.so') -backup=(etc/security/{access.conf,faillock.conf,group.conf,limits.conf,namespace.conf,namespace.init,pwhistory.conf,pam_env.conf,time.conf} etc/environment) -source=("pam::git+https://github.com/linux-pam/linux-pam?signed#tag=v${pkgver}" - "${pkgname}.tmpfiles") -validpgpkeys=( - '8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB' # Thorsten Kukuk - '296D6F29A020808E8717A8842DB5BD89A340AEB7' # Dimitry V. Levin -) -b2sums=('12891f9064ce7f00d22452d8ff39c14af87c24f9fbf3eab65e475a7d2a592d2b1c1d585f3718b2fa72f277a8ad1faa17149fe0a911bfabdaa4a2957c32e29fe3' - '36582c80020008c3810b311a2e126d2fb4ffc94e565ea4c0c0ab567fdb92943e269781ffa548550742feb685847c26c340906c7454dcc31df4e1e47d511d8d6f') -options=('!emptydirs') - -prepare() { - cd "${pkgname}" - ./autogen.sh - # 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 "${pkgname}" - ./configure \ - --libdir=/usr/lib \ - --sbindir=/usr/bin \ - --enable-logind \ - --disable-db - make -} - -package() { - install -Dm 644 $pkgname.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf - cd "${pkgname}" - make DESTDIR="${pkgdir}" SCONFIGDIR=/etc/security install - - # set unix_chkpwd uid - chmod +s "${pkgdir}"/usr/bin/unix_chkpwd -} -