jobcore several upgrades
This commit is contained in:
parent
771d2e56f3
commit
52e75aa97b
|
@ -6,9 +6,11 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.39
|
||||
_commit=9e855cffa1fda44629e7f9b76dfa3e5a51a440e9
|
||||
pkgrel=04
|
||||
pkgver=2.40
|
||||
#_commit=78eca0130feecb321bb6943045b2161583f61dd2
|
||||
#pkgrel=01
|
||||
_commit=bcea253f5fa194e57f9564e8461c718e228bd26e
|
||||
pkgrel=02
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
#url='https://www.gnu.org/software/binutils'
|
||||
|
@ -23,6 +25,7 @@ replaces=(binutils-multilib)
|
|||
backup=('etc/gprofng.rc')
|
||||
options=(staticlibs !distcc !ccache)
|
||||
#options=(staticlibs !distcc !ccache debug) ## uncomment this line to have the debug pkg produced
|
||||
# the above was removed by arch in version 2.40-1
|
||||
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||
gold-warn-unsupported.patch)
|
||||
|
||||
|
@ -51,12 +54,14 @@ build() {
|
|||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://bugs.archlinux.org/ \
|
||||
--enable-cet \
|
||||
--enable-colored-disassembly \
|
||||
--enable-default-execstack=no \
|
||||
--enable-deterministic-archives \
|
||||
--enable-gold \
|
||||
--enable-install-libiberty \
|
||||
--enable-jansson \
|
||||
--enable-ld=default \
|
||||
--enable-new-dtags \
|
||||
--enable-pgo-build=lto \
|
||||
--enable-plugins \
|
||||
--enable-relro \
|
||||
|
@ -110,7 +115,8 @@ package() {
|
|||
|
||||
# No shared linking to these files outside binutils
|
||||
rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
|
||||
echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libbfd.a -lsframe -liberty -lz -lzstd -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
# echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
|
||||
|
||||
# install FSF All Permissive License
|
||||
|
@ -126,3 +132,6 @@ validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
|||
sha256sums=(SKIP
|
||||
2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4) # gold-warn-unsupported.patch
|
||||
|
||||
|
||||
## daebab19a8aa374df721ec28ba88e48ec6e43099e49318b9fd352588e2546876 binutils-2.40-02-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -6,22 +6,22 @@
|
|||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.39
|
||||
_commit=9e855cffa1fda44629e7f9b76dfa3e5a51a440e9
|
||||
pkgrel=3
|
||||
pkgver=2.40
|
||||
_commit=bcea253f5fa194e57f9564e8461c718e228bd26e
|
||||
pkgrel=2
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/binutils/'
|
||||
license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
|
||||
groups=(base-devel)
|
||||
depends=(glibc zlib libelf jansson)
|
||||
depends=(glibc jansson libelf zlib zstd)
|
||||
makedepends=(git)
|
||||
checkdepends=(dejagnu debuginfod bc)
|
||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
backup=('etc/gprofng.rc')
|
||||
options=(staticlibs !distcc !ccache debug)
|
||||
options=(staticlibs !distcc !ccache)
|
||||
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||
gold-warn-unsupported.patch)
|
||||
sha256sums=('SKIP'
|
||||
|
@ -53,12 +53,14 @@ build() {
|
|||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--with-bugurl=https://bugs.archlinux.org/ \
|
||||
--enable-cet \
|
||||
--enable-colored-disassembly \
|
||||
--enable-default-execstack=no \
|
||||
--enable-deterministic-archives \
|
||||
--enable-gold \
|
||||
--enable-install-libiberty \
|
||||
--enable-jansson \
|
||||
--enable-ld=default \
|
||||
--enable-new-dtags \
|
||||
--enable-pgo-build=lto \
|
||||
--enable-plugins \
|
||||
--enable-relro \
|
||||
|
@ -108,7 +110,7 @@ package() {
|
|||
|
||||
# No shared linking to these files outside binutils
|
||||
rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so
|
||||
echo 'INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libbfd.a -lsframe -liberty -lz -lzstd -ldl )' > "$pkgdir/usr/lib/libbfd.so"
|
||||
echo 'INPUT( /usr/lib/libopcodes.a -lbfd )' > "$pkgdir/usr/lib/libopcodes.so"
|
||||
|
||||
# install FSF All Permissive License
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
dejagnu
|
||||
debuginfod
|
||||
bc
|
||||
libmicrohttpd
|
||||
git
|
||||
bison
|
||||
|
||||
|
|
|
@ -1,25 +1,13 @@
|
|||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
||||
|
||||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
||||
|
||||
real 13m35.011s
|
||||
user 36m42.774s
|
||||
sys 2m9.604s
|
||||
|
||||
2.38-07
|
||||
real 24m17.915s
|
||||
user 33m34.178s
|
||||
sys 1m57.920s
|
||||
|
||||
binutils 2.39-04 (Thu 06 Oct 2022 01:57:22 PM EEST)
|
||||
|
||||
real 48m30.348s
|
||||
user 49m41.806s
|
||||
sys 3m0.204s
|
||||
|
||||
binutils 2.40.1 (Thu 06 Oct 2022 01:57:22 PM EEST)
|
||||
includes git clone time
|
||||
|
||||
real 46m9.228s
|
||||
user 50m19.184s
|
||||
sys 3m1.937s
|
||||
|
||||
|
|
|
@ -8,15 +8,15 @@
|
|||
pkgbase=elfutils
|
||||
pkgname=(debuginfod elfutils libelf)
|
||||
pkgver=0.188
|
||||
pkgrel=01
|
||||
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)
|
||||
#options=(debug staticlibs)
|
||||
options=(staticlibs)
|
||||
source=(https://sourceware.org/$pkgbase/ftp/$pkgver/$pkgbase-$pkgver.tar.bz2{,.sig})
|
||||
|
||||
source=(https://sourceware.org/$pkgbase/ftp/$pkgver/$pkgbase-$pkgver.tar.bz2{,.sig}
|
||||
curl_7.85_compat.patch)
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
for f; do
|
||||
|
@ -28,6 +28,12 @@ _pick() {
|
|||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
# Use CURLOPT_PROTOCOLS_STR for libcurl >= 7.85.0
|
||||
# https://sourceware.org/git/?p=elfutils.git;a=commit;h=6560fb26a62ef135a804357ef4f15a47de3e49b3
|
||||
patch -Np1 < ../curl_7.85_compat.patch
|
||||
cd ..
|
||||
|
||||
# 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
|
||||
|
||||
|
@ -137,6 +143,12 @@ license=(LGPL3 GPL3)
|
|||
validpgpkeys=(47CC0331081B8BC6D0FD4DA08370665B57816A6A # Mark J. Wielaard <mark@klomp.org>
|
||||
EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A) # Mark Wielaard <mjw@gnu.org>
|
||||
|
||||
sha256sums=(fb8b0e8d0802005b9a309c60c1d8de32dd2951b56f0c3a3cb56d21ce01595dff # elfutils-0.188.tar.bz2
|
||||
f687c7adc1d3ec1e7315388bf8b018fdd8c461232488667edb40d3094192f11a ) # elfutils-0.188.tar.bz2.sig
|
||||
sha256sums=(fb8b0e8d0802005b9a309c60c1d8de32dd2951b56f0c3a3cb56d21ce01595dff # elfutils-0.188.tar.bz2
|
||||
f687c7adc1d3ec1e7315388bf8b018fdd8c461232488667edb40d3094192f11a # elfutils-0.188.tar.bz2.sig
|
||||
e2bc8e32401c7e325c294c45eee85bdf3a676a9d7f4676ab5620202f36b8ed17) # curl_7.85_compat.patch
|
||||
|
||||
|
||||
#93b40c6b65d7e4522a800914c77c625cf5534b56077bb7a40c569bc61453a391 debuginfod-0.188-02-x86_64.pkg.tar.xz
|
||||
#6895eeeea87531f6406c5e3462b5d7dbe4bd97c39a0b42f4b2d169bb0f948794 elfutils-0.188-02-x86_64.pkg.tar.xz
|
||||
#c5021767b4203fc6fba9d1e23cc8f0a091d48f4c53f892eb30f87d72a26aa75e libelf-0.188-02-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -6,18 +6,21 @@
|
|||
pkgbase=elfutils
|
||||
pkgname=(debuginfod elfutils libelf)
|
||||
pkgver=0.188
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
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=(debug staticlibs)
|
||||
source=(https://sourceware.org/$pkgbase/ftp/$pkgver/$pkgbase-$pkgver.tar.bz2{,.sig})
|
||||
options=(staticlibs)
|
||||
source=(https://sourceware.org/$pkgbase/ftp/$pkgver/$pkgbase-$pkgver.tar.bz2{,.sig}
|
||||
curl_7.85_compat.patch)
|
||||
sha512sums=('585551b2d937d19d1becfc2f28935db1dd1a3d25571a62f322b70ac8da98c1a741a55d070327705df6c3e2ee026652e0b9a3c733b050a0b0ec5f2fc75d5b74b5'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'8f731bf2451ffd195a7da939d469486272873fa9fd19c2dc03a5311814840d7a7242b82de42162efc36404bee9a4fb3a6b85e0eb9fbb81e3c15f989cdd288c37')
|
||||
b2sums=('6b0474f1436eaf6af73b735b9b2ddd5448ab9c03fbaa0be745a31c89ae8f15b0e21a651409c38643ca125794ce82c19d7b46db4a079f3e72cb919d643560e7a4'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'92b92aefc011b4be7ed00baca28c3447003baa864be58482bf0c220dcd6ad75133c6e34731eaf7e3cc97dbb3e1f85d1fce88cb532c3da37b36802d2c6e7a9e36')
|
||||
validpgpkeys=(
|
||||
'47CC0331081B8BC6D0FD4DA08370665B57816A6A' # Mark J. Wielaard <mark@klomp.org>
|
||||
'EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A' # Mark Wielaard <mjw@gnu.org>
|
||||
|
@ -34,18 +37,23 @@ _pick() {
|
|||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
# Use CURLOPT_PROTOCOLS_STR for libcurl >= 7.85.0
|
||||
# https://sourceware.org/git/?p=elfutils.git;a=commit;h=6560fb26a62ef135a804357ef4f15a47de3e49b3
|
||||
patch -Np1 < ../curl_7.85_compat.patch
|
||||
cd ..
|
||||
|
||||
# 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
|
||||
)
|
||||
|
||||
cp -av $pkgbase-$pkgver $pkgbase-test-$pkgver
|
||||
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
local configure_options=(
|
||||
--prefix=/usr
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
|
||||
index a16165bd1..1ce456327 100644
|
||||
--- a/debuginfod/debuginfod-client.c
|
||||
+++ b/debuginfod/debuginfod-client.c
|
||||
@@ -1336,8 +1336,13 @@ debuginfod_query_server (debuginfod_client *c,
|
||||
|
||||
/* Only allow http:// + https:// + file:// so we aren't being
|
||||
redirected to some unsupported protocol. */
|
||||
+#if CURL_AT_LEAST_VERSION(7, 85, 0)
|
||||
+ curl_easy_setopt_ck(data[i].handle, CURLOPT_PROTOCOLS_STR,
|
||||
+ "http,https,file");
|
||||
+#else
|
||||
curl_easy_setopt_ck(data[i].handle, CURLOPT_PROTOCOLS,
|
||||
(CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
|
||||
+#endif
|
||||
curl_easy_setopt_ck(data[i].handle, CURLOPT_URL, data[i].url);
|
||||
if (vfd >= 0)
|
||||
curl_easy_setopt_ck(data[i].handle, CURLOPT_ERRORBUFFER,
|
||||
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
|
||||
index 8873fcc8c..692aeccec 100644
|
||||
--- a/debuginfod/debuginfod-client.c
|
||||
+++ b/debuginfod/debuginfod-client.c
|
||||
@@ -1456,7 +1456,7 @@ debuginfod_query_server (debuginfod_client *c,
|
||||
deflate-compressing proxies, this number is likely to be
|
||||
unavailable, so -1 may show. */
|
||||
CURLcode curl_res;
|
||||
-#ifdef CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
|
||||
+#if CURL_AT_LEAST_VERSION(7, 55, 0)
|
||||
curl_off_t cl;
|
||||
curl_res = curl_easy_getinfo(target_handle,
|
||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T,
|
||||
@@ -1491,7 +1491,7 @@ debuginfod_query_server (debuginfod_client *c,
|
||||
if (target_handle) /* we've committed to a server; report its download progress */
|
||||
{
|
||||
CURLcode curl_res;
|
||||
-#ifdef CURLINFO_SIZE_DOWNLOAD_T
|
||||
+#if CURL_AT_LEAST_VERSION(7, 55, 0)
|
||||
curl_off_t dl;
|
||||
curl_res = curl_easy_getinfo(target_handle,
|
||||
CURLINFO_SIZE_DOWNLOAD_T,
|
||||
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
|
||||
index 692aeccec..a16165bd1 100644
|
||||
--- a/debuginfod/debuginfod-client.c
|
||||
+++ b/debuginfod/debuginfod-client.c
|
||||
@@ -105,6 +105,13 @@ void debuginfod_end (debuginfod_client *c) { }
|
||||
#include <fts.h>
|
||||
#endif
|
||||
|
||||
+/* Older curl.h don't define CURL_AT_LEAST_VERSION. */
|
||||
+#ifndef CURL_AT_LEAST_VERSION
|
||||
+ #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))
|
||||
+ #define CURL_AT_LEAST_VERSION(x,y,z) \
|
||||
+ (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
|
||||
+#endif
|
||||
+
|
||||
#include <pthread.h>
|
||||
|
||||
static pthread_once_t init_control = PTHREAD_ONCE_INIT;
|
||||
--
|
||||
2.31.1
|
|
@ -4,4 +4,3 @@ libmicrohttpd
|
|||
automake
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
============================================================================
|
||||
Testsuite summary for elfutils 0.188
|
||||
============================================================================
|
||||
# TOTAL: 261
|
||||
# PASS: 224
|
||||
# SKIP: 30
|
||||
# XFAIL: 0
|
||||
# FAIL: 7
|
||||
# XPASS: 0
|
||||
# ERROR: 0
|
||||
============================================================================
|
||||
See tests/test-suite.log
|
||||
Please report to https://sourceware.org/bugzilla
|
||||
============================================================================
|
||||
make[3]: *** [Makefile:2615: test-suite.log] Error 1
|
||||
make[2]: *** [Makefile:2723: check-TESTS] Error 2
|
||||
make[1]: *** [Makefile:4616: check-am] Error 2
|
||||
make: *** [Makefile:533: check-recursive] Error 1
|
||||
make: Leaving directory '/src/pkg/jobcore/elfutils/src/elfutils-test-0.188'
|
||||
==> ERROR: A failure occurred in check().
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
real 3m7.326s
|
||||
user 5m43.685s
|
||||
sys 0m41.607s
|
||||
|
||||
real 3m56.656s
|
||||
user 3m33.915s
|
||||
sys 0m28.388s
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
autoconf automake linux-lts-headers
|
||||
gobject-introspection gperf gtk-doc intltool
|
|
@ -0,0 +1,85 @@
|
|||
[1m--- PKGBUILD-artix.new 2022-10-19 19:57:37.000000000 +0300[0m
|
||||
[1m+++ PKGBUILD-artix 2022-03-30 20:50:03.066596712 +0300[0m
|
||||
[36m@@ -1,8 +1,8 @@[0m
|
||||
[31m-# Maintainer: artoo <artoo@artixlinux.org>[0m
|
||||
[32m+# Maintainer: Sébastien Luttringer[0m
|
||||
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||
|
||||
pkgname=filesystem
|
||||
[31m-pkgver=2022.10.18[0m
|
||||
[32m+pkgver=2021.12.07[0m
|
||||
pkgrel=1
|
||||
pkgdesc='Base Artix Linux files'
|
||||
arch=('x86_64')
|
||||
[36m@@ -12,39 +12,36 @@[0m
|
||||
backup=('etc/crypttab' 'etc/fstab' 'etc/group' 'etc/gshadow' 'etc/host.conf'
|
||||
'etc/hosts' 'etc/issue' 'etc/ld.so.conf' 'etc/nsswitch.conf'
|
||||
'etc/passwd' 'etc/profile' 'etc/resolv.conf' 'etc/securetty'
|
||||
[31m- 'etc/shadow' 'etc/shells' 'etc/subuid' 'etc/subgid')[0m
|
||||
[31m-source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'[0m
|
||||
[31m- 'issue' 'ld.so.conf' 'locale.sh' 'nsswitch.conf' 'os-release' 'profile'[0m
|
||||
[31m- 'passwd' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl' 'sysusers'[0m
|
||||
[31m- 'tmpfiles' 'subuid' 'subgid' 'artixlinux-logo.svg' 'artixlinux-logo.png'[0m
|
||||
[31m- 'artixlinux-logo-text.svg' 'artixlinux-logo-text-dark.svg')[0m
|
||||
[32m+ 'etc/shadow' 'etc/shells')[0m
|
||||
[32m+source=('crypttab' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'[0m
|
||||
[32m+ 'issue' 'ld.so.conf' 'locale.sh' 'nsswitch.conf' 'os-release'[0m
|
||||
[32m+ 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl'[0m
|
||||
[32m+ 'sysusers' 'tmpfiles' 'artixlinux.svg' 'artixlinux.png'[0m
|
||||
[32m+ 'artixlinux-logo.svg' 'artixlinux-logo.png')[0m
|
||||
sha256sums=('e03bede3d258d680548696623d5979c6edf03272e801a813c81ba5a5c64f4f82'
|
||||
[31m- 'ed0cb4f1db4021f8c3b5ce78fdf91d2c0624708f58f36c9cf867f4d93c3bc6da'[0m
|
||||
'e54626e74ed8fee4173b62a545ab1c3a3a069e4217a0ee8fc398d9933e9c1696'
|
||||
'244f0718ee2a9d6862ae59d6c18c1dd1568651eada91a704574fa527fbac2b3a'
|
||||
'90d879374f77bac47f132164c1e7fc4892e994ff1d1ac376efa0c1c26ea37273'
|
||||
'4d7b647169063dfedbff5e1e22cee77bd1a4183dbcfd5e802e68939da4bbf733'
|
||||
'd9cd8a77d9e0aa5e90d7f4ed74c8745c17b525e720e28e4c44364150003c35f9'
|
||||
[31m- '9e5f1c492e6ad1c246ae71a55a4ff0eca9909bbbc2c6034fd70f31ab86c868eb'[0m
|
||||
[32m+ 'fe86e5d282e55658fdc9c383eabbabb0ba2d791be04814082230ac8a9c056452'[0m
|
||||
'dad04a370e488aa85fb0a813a5c83cf6fd981ce01883fc59685447b092de84b5'
|
||||
'8ca2d8eef6fb5143c9ef7e9174ccfef59ac7ad2deee243574cd10c763156cc10'
|
||||
[31m- '62855224620a1e6dcfb2373460387bf0b7870ebe0595a61bbbc74919710d7641'[0m
|
||||
[31m- '1aa33ce150ddb33b815f0b45425948e16020fcfb0a54ecc997b49778d5643978'[0m
|
||||
[31m- 'f86a0b98d5fee4aae0e11a61fa0a1a4061927d5ca80753329285f87376acf2b6'[0m
|
||||
[32m+ 'aa4dc5b2374fb32863e3bc1ce20a2de2d34fe4eed1cd63c599bc82fab21463cc'[0m
|
||||
[32m+ 'fe9bb5b7ef357e38ef2efb5bee32a0ac495f55cb14d573e0e1b59a6ede43213d'[0m
|
||||
'5e06477834f51abf42ea4e8dc199632afc6afbfd8c44354685a271e9a48d2c0a'
|
||||
[32m+ 'f86a0b98d5fee4aae0e11a61fa0a1a4061927d5ca80753329285f87376acf2b6'[0m
|
||||
'5557d8e601b17a80d1ea7de78a9869be69637cb6a02fbfe334e22fdf64e61d4c'
|
||||
'd88be2b45b43605ff31dd83d6a138069b6c2e92bc8989b7b9ab9eba8da5f8c7b'
|
||||
'6e13705ac4d6f69cdba118c6b70c722346fd3c45224133e6bbfe28aca719563c'
|
||||
'c390b31fffc4a2b5d78ae8c89f5317aadef1f71baac09cfb467b675db1406d61'
|
||||
'89e43a0b7028f52d5c8e7fb961d962c4b4f4e9595880a6157274ddb2c7c0b6b4'
|
||||
'd6b0e95e3cdf663d3383f883301f5ed6cf900cccb7cba0c268ab8f6e78177d16'
|
||||
[31m- '5d8e61479f0093852365090e84d8d95b1e7fccfab068274ee25863bde6ff3e07'[0m
|
||||
[31m- 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'[0m
|
||||
[31m- 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'[0m
|
||||
[31m- '02302481e97d88b2bd548bbfe54aadd1611fd3aa09911fd8b7eb1208cde4351d'[0m
|
||||
[31m- '1242caf07c6c3aa4ac600b5f2401a7422c85cbdc9ed9ef41357b068355c6a45b'[0m
|
||||
[32m+ 'f17efd1c6480c5db1fdab4a0e3cfcd4baa44a3e1ae1210aebeb40f8d5c82f742'[0m
|
||||
'7b8fffc06755488931ce2aa4d3f9547be650d9e873323b7171515004d02e83c1'
|
||||
[31m- '7b8fffc06755488931ce2aa4d3f9547be650d9e873323b7171515004d02e83c1')[0m
|
||||
[32m+ 'f52db4a98fbfdd6d957068ea0e631240c9a138df859fc43d902bf97b0759459d'[0m
|
||||
[32m+ '02302481e97d88b2bd548bbfe54aadd1611fd3aa09911fd8b7eb1208cde4351d'[0m
|
||||
[32m+ '1242caf07c6c3aa4ac600b5f2401a7422c85cbdc9ed9ef41357b068355c6a45b')[0m
|
||||
|
||||
package() {
|
||||
cd "$pkgdir"
|
||||
[36m@@ -64,7 +61,7 @@[0m
|
||||
# setup /etc and /usr/share/factory/etc
|
||||
install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc
|
||||
for f in fstab group host.conf hosts issue ld.so.conf nsswitch.conf \
|
||||
[31m- passwd resolv.conf securetty shells profile subuid subgid; do[0m
|
||||
[32m+ passwd resolv.conf securetty shells profile; do[0m
|
||||
install -m644 "$srcdir"/$f etc/
|
||||
install -m644 "$srcdir"/$f usr/share/factory/etc/
|
||||
done
|
||||
[36m@@ -125,7 +122,7 @@[0m
|
||||
install -D -m644 "$srcdir"/tmpfiles usr/lib/tmpfiles.d/artix.conf
|
||||
|
||||
# add logo
|
||||
[31m- install -D -m644 "$srcdir"/artixlinux-logo{.png,.svg,-text.svg,-text-dark.svg} usr/share/pixmaps[0m
|
||||
[32m+ install -D -m644 "$srcdir"/artixlinux{,-logo}.{svg,png} usr/share/pixmaps[0m
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -0,0 +1,3 @@
|
|||
root:x:0:root
|
||||
nobody:x:99:
|
||||
users:x:100:
|
|
@ -0,0 +1 @@
|
|||
root:x:0:root
|
22
gcc/PKGBUILD
22
gcc/PKGBUILD
|
@ -13,9 +13,9 @@
|
|||
# Unfortunately we have no extra time to research the evolution of the latest kernels.
|
||||
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go gcc-d lto-dump libgccjit)
|
||||
pkgver=12.2.0
|
||||
pkgver=12.2.1
|
||||
_majorver=${pkgver%%.*}
|
||||
_commit=2ee5e4300186a92ad73f1a1a64cb918dc76c8d67
|
||||
_commit=eec3a65ed638a1c58fa08ddf508d2d60b64d311d
|
||||
pkgrel=01
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
arch=(x86_64)
|
||||
|
@ -273,6 +273,12 @@ package_gcc() {
|
|||
# many packages expect this symlink
|
||||
ln -s gcc "$pkgdir"/usr/bin/cc
|
||||
|
||||
# create cc-rs compatible symlinks
|
||||
# https://github.com/rust-lang/cc-rs/blob/1.0.73/src/lib.rs#L2578-L2581
|
||||
for binary in {c++,g++,gcc,gcc-ar,gcc-nm,gcc-ranlib}; do
|
||||
ln -s /usr/bin/${binary} "${pkgdir}"/usr/bin/x86_64-linux-gnu-${binary}
|
||||
done
|
||||
|
||||
# POSIX conformance launcher scripts for c89 and c99
|
||||
install -Dm755 "$srcdir/c89" "$pkgdir/usr/bin/c89"
|
||||
install -Dm755 "$srcdir/c99" "$pkgdir/usr/bin/c99"
|
||||
|
@ -494,3 +500,15 @@ sha256sums=(SKIP
|
|||
2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a # c99
|
||||
1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f) # gcc-ada-repro.patch
|
||||
|
||||
|
||||
#20f8e2186f95bdf2dab97259ee8abc23e85a614659d886c28fa0391a178000b7 gcc-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#1ad59cab86585538cec5f63a9cc214d9ad62b9d4d00715d281dc0909cd654a5d gcc-ada-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#8a2e912f51bcbfdddffab0b1497ed77f1d816eddc42c9f9ddb05a20a1e2e7e89 gcc-d-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#4a1f3c39ca55dda9bb8bc7634857c4637dccf06b5927dc513a40dcb65cf04cd3 gcc-fortran-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#80357a5de72d2ce035263771d59e51cde03736f920679b2c82043674a55d7d8c gcc-go-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#8545302ee01700e162329276ffd509571520079521963dea299f443cff7c3449 gcc-libs-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#85f19fd525c533e7ef308debd30068f50b9451fd2f8c284aa4556e20950cec39 gcc-objc-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#ac01b5392206f1fc37d413a1702f5181f2cccd6a84963d235b30df36f559a437 lib32-gcc-libs-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#5b016c4dc14051cce2cec726a86bfa701ca73d7b47acc01b070c289850f35719 libgccjit-12.2.1-01-x86_64.pkg.tar.xz
|
||||
#dade8d6fd13e080a258b330f271f985895e9c5653b970d1e71b078e3856c335f lto-dump-12.2.1-01-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
# NOTE: libtool requires rebuilt with each new gcc version
|
||||
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go gcc-d lto-dump libgccjit)
|
||||
pkgver=12.2.0
|
||||
pkgver=12.2.1
|
||||
_majorver=${pkgver%%.*}
|
||||
_commit=2ee5e4300186a92ad73f1a1a64cb918dc76c8d67
|
||||
_commit=eec3a65ed638a1c58fa08ddf508d2d60b64d311d
|
||||
pkgrel=1
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
arch=(x86_64)
|
||||
|
@ -37,10 +37,8 @@ checkdepends=(
|
|||
python-pytest
|
||||
tcl
|
||||
)
|
||||
options=(!emptydirs !lto debug)
|
||||
options=(!emptydirs !lto)
|
||||
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
||||
# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35
|
||||
# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
|
||||
source=(git+https://sourceware.org/git/gcc.git#commit=${_commit}
|
||||
c89 c99
|
||||
gcc-ada-repro.patch
|
||||
|
@ -209,7 +207,7 @@ package_gcc() {
|
|||
optdepends=('lib32-gcc-libs: for generating code for 32-bit ABI')
|
||||
provides=($pkgname-multilib)
|
||||
replaces=($pkgname-multilib)
|
||||
options=(!emptydirs staticlibs debug)
|
||||
options=(!emptydirs staticlibs)
|
||||
|
||||
cd gcc-build
|
||||
|
||||
|
@ -267,6 +265,12 @@ package_gcc() {
|
|||
# many packages expect this symlink
|
||||
ln -s gcc "$pkgdir"/usr/bin/cc
|
||||
|
||||
# create cc-rs compatible symlinks
|
||||
# https://github.com/rust-lang/cc-rs/blob/1.0.73/src/lib.rs#L2578-L2581
|
||||
for binary in {c++,g++,gcc,gcc-ar,gcc-nm,gcc-ranlib}; do
|
||||
ln -s /usr/bin/${binary} "${pkgdir}"/usr/bin/x86_64-linux-gnu-${binary}
|
||||
done
|
||||
|
||||
# POSIX conformance launcher scripts for c89 and c99
|
||||
install -Dm755 "$srcdir/c89" "$pkgdir/usr/bin/c89"
|
||||
install -Dm755 "$srcdir/c99" "$pkgdir/usr/bin/c99"
|
||||
|
@ -332,7 +336,7 @@ package_gcc-ada() {
|
|||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=($pkgname-multilib)
|
||||
replaces=($pkgname-multilib)
|
||||
options=(!emptydirs staticlibs debug)
|
||||
options=(!emptydirs staticlibs)
|
||||
|
||||
cd gcc-build/gcc
|
||||
make DESTDIR="$pkgdir" ada.install-{common,info}
|
||||
|
@ -430,7 +434,7 @@ package_gcc-d() {
|
|||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=(gdc)
|
||||
replaces=(gdc)
|
||||
options=(staticlibs debug)
|
||||
options=(staticlibs)
|
||||
|
||||
cd gcc-build
|
||||
make -C gcc DESTDIR="$pkgdir" d.install-{common,man,info}
|
||||
|
|
8
gcc/time
8
gcc/time
|
@ -36,3 +36,11 @@ real 499m37.091s
|
|||
user 853m2.644s
|
||||
sys 22m1.434s
|
||||
|
||||
12.2.1-01
|
||||
|
||||
real 442m17.005s
|
||||
user 816m48.195s
|
||||
sys 21m56.182s
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#pkgbase=glib2
|
||||
#pkgname=(glib2 glib2-docs)
|
||||
pkgname=glib2
|
||||
pkgver=2.74.4
|
||||
pkgver=2.74.5
|
||||
pkgrel=01
|
||||
# this is a waste of resources rebuilding this for the shake of catching up
|
||||
# to arch's late decision to be building debug symbol packages along with the core pkg
|
||||
|
@ -23,7 +23,7 @@ makedepends=(gettext shared-mime-info python libelf git util-linux
|
|||
#checkdepends=(desktop-file-utils glib2)
|
||||
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
|
||||
options=(staticlibs)
|
||||
_commit=e35768fe299d6389f8f5eef15593762389d2c07d # tags/2.74.4^0
|
||||
_commit=39a71aff372ed491a24ca84409d9f93bc7c5d6d4 # tags/2.74.5^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
||||
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
|
||||
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
|
||||
|
@ -122,5 +122,3 @@ sha256sums=(SKIP
|
|||
92d08db5aa30bda276bc3d718e7ff9dd01dc40dcab45b359182dcc290054e24e # gio-querymodules.script
|
||||
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25) # glib-compile-schemas.hook
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgbase=glib2
|
||||
pkgname=(glib2 glib2-docs)
|
||||
pkgver=2.74.4
|
||||
pkgver=2.74.5
|
||||
pkgrel=1
|
||||
pkgdesc="Low level core library"
|
||||
url="https://wiki.gnome.org/Projects/GLib"
|
||||
|
@ -35,7 +35,7 @@ options=(
|
|||
debug
|
||||
staticlibs
|
||||
)
|
||||
_commit=e35768fe299d6389f8f5eef15593762389d2c07d # tags/2.74.4^0
|
||||
_commit=39a71aff372ed491a24ca84409d9f93bc7c5d6d4 # tags/2.74.5^0
|
||||
source=(
|
||||
"git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
|
||||
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
pkgbase=glibc
|
||||
pkgname=(glibc lib32-glibc)
|
||||
pkgver=2.36
|
||||
_commit=2bd815d8347851212b9a91dbdca8053f4dbdac87
|
||||
pkgrel=06
|
||||
_commit=93967a2a7bbdcedb73e0b246713580c7c84d001e
|
||||
pkgrel=07
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
makedepends=(git gd lib32-gcc-libs python)
|
||||
|
@ -234,3 +234,7 @@ sha256sums=(SKIP
|
|||
cdc234959c6fdb43f000d3bb7d1080b0103f4080f5e67bcfe8ae1aaf477812f0 # sdt-config.h
|
||||
bb2fc5a38158d339a51a4aaab3fe2d5cc496221f77cfce6f74768db91cb5ec1e) # reenable_DT_HASH.patch
|
||||
|
||||
|
||||
# aa7f6a3a2a3234136236a26219ad436f2bb341a77b71bfe8b2ba6b6d2adbb013 glibc-2.36-07-x86_64.pkg.tar.xz
|
||||
# 53b49e099b646f9d1d4df9a55790e062a4128e88b557c0d10fd407fd02b75af3 lib32-glibc-2.36-07-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
pkgbase=glibc
|
||||
pkgname=(glibc lib32-glibc)
|
||||
pkgver=2.36
|
||||
_commit=2bd815d8347851212b9a91dbdca8053f4dbdac87
|
||||
pkgrel=6
|
||||
_commit=93967a2a7bbdcedb73e0b246713580c7c84d001e
|
||||
pkgrel=7
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL LGPL)
|
||||
makedepends=(git gd lib32-gcc-libs python)
|
||||
options=(debug staticlibs !lto)
|
||||
options=(staticlibs !lto)
|
||||
source=(git+https://sourceware.org/git/glibc.git#commit=${_commit}
|
||||
locale.gen.txt
|
||||
locale-gen
|
||||
|
|
|
@ -6,3 +6,4 @@ bison
|
|||
libjpeg-turbo
|
||||
|
||||
|
||||
libgit2
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
real 22m8.296s
|
||||
user 19m48.961s
|
||||
sys 2m52.720s
|
||||
|
||||
real 26m24.374s
|
||||
user 22m44.066s
|
||||
sys 4m10.551s
|
||||
|
||||
|
|
|
@ -0,0 +1,332 @@
|
|||
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
|
||||
|
|
@ -0,0 +1,166 @@
|
|||
commit ae9258fbf3b9d434495ef11fc184a91fe7c4ca57
|
||||
Author: NIIBE Yutaka <gniibe@fsij.org>
|
||||
Date: Thu Sep 15 13:46:23 2022 +0900
|
||||
|
||||
build:python: Don't use gpg-error-config/gpgme-config.
|
||||
|
||||
* lang/python/setup.py.in: Use @prefix@, @GPGME_CONFIG_LIBS@,
|
||||
@GPGME_CONFIG_CFLAGS@, and @GPG_ERROR_CFLAGS@ of configure.
|
||||
|
||||
--
|
||||
|
||||
GnuPG-bug-id: 6204
|
||||
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
|
||||
index 9785a282..6741d3c8 100755
|
||||
--- a/lang/python/setup.py.in
|
||||
+++ b/lang/python/setup.py.in
|
||||
@@ -30,9 +30,6 @@ import subprocess
|
||||
import sys
|
||||
|
||||
# Out-of-tree build of the gpg bindings.
|
||||
-gpg_error_config = ['gpg-error-config']
|
||||
-gpgme_config_flags = ['--thread=pthread']
|
||||
-gpgme_config = ['gpgme-config'] + gpgme_config_flags
|
||||
gpgme_h = ''
|
||||
include_dirs = [os.getcwd()]
|
||||
library_dirs = []
|
||||
@@ -44,8 +41,6 @@ top_builddir = os.environ.get('top_builddir')
|
||||
if top_builddir:
|
||||
# In-tree build.
|
||||
in_tree = True
|
||||
- gpgme_config = [os.path.join(top_builddir, 'src/gpgme-config')
|
||||
- ] + gpgme_config_flags
|
||||
gpgme_h = os.path.join(top_builddir, 'src/gpgme.h')
|
||||
library_dirs = [os.path.join(top_builddir,
|
||||
'src/.libs')] # XXX uses libtool internals
|
||||
@@ -60,20 +55,8 @@ if hasattr(subprocess, 'DEVNULL'):
|
||||
else:
|
||||
devnull = open(os.devnull, 'w')
|
||||
|
||||
-try:
|
||||
- subprocess.check_call(gpgme_config + ['--version'], stdout=devnull)
|
||||
-except:
|
||||
- sys.exit('Could not find gpgme-config. ' +
|
||||
- 'Please install the libgpgme development package.')
|
||||
|
||||
-
|
||||
-def getconfig(what, config=gpgme_config):
|
||||
- confdata = subprocess.Popen(
|
||||
- config + ['--%s' % what], stdout=subprocess.PIPE).communicate()[0]
|
||||
- return [x for x in confdata.decode('utf-8').split() if x != '']
|
||||
-
|
||||
-
|
||||
-version = version_raw = getconfig('version')[0]
|
||||
+version = version_raw = "@VERSION@"
|
||||
if '-' in version:
|
||||
version = version.split('-')[0]
|
||||
major, minor, patch = map(int, version.split('.'))
|
||||
@@ -82,17 +65,17 @@ if not (major > 1 or (major == 1 and minor >= 7)):
|
||||
sys.exit('Need at least GPGME version 1.7, found {}.'.format(version_raw))
|
||||
|
||||
if not gpgme_h:
|
||||
- gpgme_h = os.path.join(getconfig('prefix')[0], 'include', 'gpgme.h')
|
||||
+ gpgme_h = os.path.join('@prefix@', 'include', 'gpgme.h')
|
||||
|
||||
define_macros = []
|
||||
-libs = getconfig('libs')
|
||||
+libs = '@GPGME_CONFIG_LIBS@'.split(' ')
|
||||
|
||||
# Define extra_macros for both the SWIG and C code
|
||||
for k, v in extra_macros.items():
|
||||
extra_swig_opts.append('-D{0}={1}'.format(k, v))
|
||||
define_macros.append((k, str(v)))
|
||||
|
||||
-for item in getconfig('cflags'):
|
||||
+for item in '@GPGME_CONFIG_CFLAGS@'.split(' '):
|
||||
if item.startswith('-I'):
|
||||
include_dirs.append(item[2:])
|
||||
elif item.startswith('-D'):
|
||||
@@ -182,15 +165,8 @@ class BuildExtFirstHack(build):
|
||||
|
||||
def _generate_errors_i(self):
|
||||
|
||||
- try:
|
||||
- subprocess.check_call(
|
||||
- gpg_error_config + ['--version'], stdout=devnull)
|
||||
- except:
|
||||
- sys.exit('Could not find gpg-error-config. ' +
|
||||
- 'Please install the libgpg-error development package.')
|
||||
-
|
||||
gpg_error_content = self._read_header(
|
||||
- 'gpg-error.h', getconfig('cflags', config=gpg_error_config))
|
||||
+ 'gpg-error.h', '@GPG_ERROR_CFLAGS@'.split(' '))
|
||||
|
||||
filter_re = re.compile(r'GPG_ERR_[^ ]* =')
|
||||
rewrite_re = re.compile(r' *(.*) = .*')
|
||||
|
||||
commit f1802682c3c8794edaca37966405bd1f070f5e01
|
||||
Author: NIIBE Yutaka <gniibe@fsij.org>
|
||||
Date: Wed Oct 26 11:02:36 2022 +0900
|
||||
|
||||
python: Fix configure generating setup.py.
|
||||
|
||||
* lang/python/setup.py.in: Handle the case, when substitutions
|
||||
may be empty.
|
||||
|
||||
--
|
||||
|
||||
Reported-by: Andreas Metzler
|
||||
Fixes-commit: ae9258fbf3b9d434495ef11fc184a91fe7c4ca57
|
||||
GnuPG-bug-id: 6204
|
||||
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
|
||||
index 6741d3c8..6f36861d 100755
|
||||
--- a/lang/python/setup.py.in
|
||||
+++ b/lang/python/setup.py.in
|
||||
@@ -68,22 +68,26 @@ if not gpgme_h:
|
||||
gpgme_h = os.path.join('@prefix@', 'include', 'gpgme.h')
|
||||
|
||||
define_macros = []
|
||||
-libs = '@GPGME_CONFIG_LIBS@'.split(' ')
|
||||
+if '@GPGME_CONFIG_LIBS@':
|
||||
+ libs = '@GPGME_CONFIG_LIBS@'.split(' ')
|
||||
+else:
|
||||
+ libs = []
|
||||
|
||||
# Define extra_macros for both the SWIG and C code
|
||||
for k, v in extra_macros.items():
|
||||
extra_swig_opts.append('-D{0}={1}'.format(k, v))
|
||||
define_macros.append((k, str(v)))
|
||||
|
||||
-for item in '@GPGME_CONFIG_CFLAGS@'.split(' '):
|
||||
- if item.startswith('-I'):
|
||||
- include_dirs.append(item[2:])
|
||||
- elif item.startswith('-D'):
|
||||
- defitem = item[2:].split('=', 1)
|
||||
- if len(defitem) == 2:
|
||||
- define_macros.append((defitem[0], defitem[1]))
|
||||
- else:
|
||||
- define_macros.append((defitem[0], None))
|
||||
+if '@GPGME_CONFIG_CFLAGS@':
|
||||
+ for item in '@GPGME_CONFIG_CFLAGS@'.split(' '):
|
||||
+ if item.startswith('-I'):
|
||||
+ include_dirs.append(item[2:])
|
||||
+ elif item.startswith('-D'):
|
||||
+ defitem = item[2:].split('=', 1)
|
||||
+ if len(defitem) == 2:
|
||||
+ define_macros.append((defitem[0], defitem[1]))
|
||||
+ else:
|
||||
+ define_macros.append((defitem[0], None))
|
||||
|
||||
# Adjust include and library locations in case of win32
|
||||
uname_s = os.popen('uname -s').read()
|
||||
@@ -165,8 +169,9 @@ class BuildExtFirstHack(build):
|
||||
|
||||
def _generate_errors_i(self):
|
||||
|
||||
+ ge_cflags='@GPG_ERROR_CFLAGS@'
|
||||
gpg_error_content = self._read_header(
|
||||
- 'gpg-error.h', '@GPG_ERROR_CFLAGS@'.split(' '))
|
||||
+ 'gpg-error.h', ge_cflags.split(' ') if ge_cflags else [])
|
||||
|
||||
filter_re = re.compile(r'GPG_ERR_[^ ]* =')
|
||||
rewrite_re = re.compile(r' *(.*) = .*')
|
|
@ -8,7 +8,7 @@
|
|||
pkgbase=gpgme
|
||||
pkgname=(gpgme qgpgme python-gpgme)
|
||||
pkgver=1.18.0
|
||||
pkgrel=01
|
||||
pkgrel=02 # renamed one patch and added 2nd
|
||||
_python_ver=3.10
|
||||
pkgdesc="A C wrapper library for GnuPG"
|
||||
arch=('x86_64')
|
||||
|
@ -16,11 +16,15 @@ arch=('x86_64')
|
|||
url='https://www.gnupg.org/related_software/gpgme/'
|
||||
makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
|
||||
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig}
|
||||
python310.patch)
|
||||
# python310.patch) --> 0001-***
|
||||
0001-python-3-10.patch
|
||||
0002-python-setup.patch)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
patch -Np1 -i ../python310.patch
|
||||
|
||||
patch -Np1 -i ../0001-python-3-10.patch
|
||||
patch -Np1 -i ../0002-python-setup.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -41,17 +45,17 @@ build() {
|
|||
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
|
||||
# this test fails with gnupg (FS#66572)
|
||||
sed -i 's#"t-keylist-secret",##' tests/json/t-json.c
|
||||
|
||||
make check
|
||||
|
||||
# ensure reproducibilty whether test-suite is run or not
|
||||
find . -name *.pyc -exec rm {} +
|
||||
}
|
||||
#check() {
|
||||
# cd ${pkgbase}-${pkgver}
|
||||
#
|
||||
# # this test fails with gnupg (FS#66572)
|
||||
# sed -i 's#"t-keylist-secret",##' tests/json/t-json.c
|
||||
#
|
||||
# make check
|
||||
#
|
||||
# # ensure reproducibilty whether test-suite is run or not
|
||||
# find . -name *.pyc -exec rm {} +
|
||||
#}
|
||||
|
||||
package_gpgme() {
|
||||
depends=('libgpg-error' 'gnupg>=2')
|
||||
|
@ -90,10 +94,12 @@ package_python-gpgme() {
|
|||
|
||||
license=('LGPL')
|
||||
|
||||
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
|
||||
|
||||
sha256sums=(361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e # gpgme-1.18.0.tar.bz2
|
||||
105c722a34526516b9cc53e5690ee8c29651a9dcd3a0235f4009e94ef4fd684d # gpgme-1.18.0.tar.bz2.sig
|
||||
5de2f6bcb6b30642d0cbc3fbd86803c9460d732f44a526f44cedee8bb78d291a) # python310.patch
|
||||
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
|
||||
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
|
||||
|
||||
sha256sums=(361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e # gpgme-1.18.0.tar.bz2
|
||||
f09812d9a1ea513aa10a06c878d351eacf7f48110e200db3cfc7961412e240aa # gpgme-1.18.0.tar.bz2.sig
|
||||
## 105c722a34526516b9cc53e5690ee8c29651a9dcd3a0235f4009e94ef4fd684d # gpgme-1.18.0.tar.bz2.sig ## Added Yutaka to sig
|
||||
5de2f6bcb6b30642d0cbc3fbd86803c9460d732f44a526f44cedee8bb78d291a # 0001-python-3-10.patch
|
||||
84fb13e9afa549027469e0d1a1bad69bf786b63ef6359a5d65320bd226dcccc7) # 0002-python-setup.patch
|
||||
|
||||
|
|
|
@ -5,24 +5,28 @@
|
|||
pkgbase=gpgme
|
||||
pkgname=(gpgme qgpgme python-gpgme)
|
||||
pkgver=1.18.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_python_ver=3.10
|
||||
pkgdesc='A C wrapper library for GnuPG'
|
||||
arch=('x86_64')
|
||||
url='https://www.gnupg.org/related_software/gpgme/'
|
||||
license=('LGPL')
|
||||
makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
|
||||
options=('debug')
|
||||
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
|
||||
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
|
||||
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
|
||||
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig}
|
||||
python310.patch)
|
||||
'0001-python-3-10.patch'
|
||||
'0002-python-setup.patch')
|
||||
sha256sums=('361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e'
|
||||
'SKIP'
|
||||
'5de2f6bcb6b30642d0cbc3fbd86803c9460d732f44a526f44cedee8bb78d291a')
|
||||
'5de2f6bcb6b30642d0cbc3fbd86803c9460d732f44a526f44cedee8bb78d291a'
|
||||
'84fb13e9afa549027469e0d1a1bad69bf786b63ef6359a5d65320bd226dcccc7')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
patch -Np1 -i ../python310.patch
|
||||
|
||||
patch -Np1 -i ../0001-python-3-10.patch
|
||||
patch -Np1 -i ../0002-python-setup.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
gpg -v --recv-key 528897B826403ADA
|
||||
gpg -v --recv-key E98E9B2D19C6C8BD
|
||||
|
|
|
@ -20,8 +20,8 @@ _GRUB_EMU_BUILD="0"
|
|||
pkgname='grub'
|
||||
pkgdesc='GNU GRand Unified Bootloader (2)'
|
||||
epoch=2
|
||||
_commit='7259d55ffcf124e32eafb61aa381f9856e98a708'
|
||||
_pkgver=2.06.r403.g7259d55ff
|
||||
_commit='4de39a2af6521631d24978eb23035b7608949174'
|
||||
_pkgver=2.06.r440.g4de39a2af
|
||||
_unifont_ver='15.0.01'
|
||||
pkgver=${_pkgver/-/}
|
||||
pkgrel=01
|
||||
|
@ -59,7 +59,6 @@ source=("git+https://git.savannah.gnu.org/git/grub.git#commit=${_commit}"
|
|||
"https://ftp.gnu.org/gnu/unifont/unifont-${_unifont_ver}/unifont-${_unifont_ver}.bdf.gz"{,.sig}
|
||||
'0001-00_header-add-GRUB_COLOR_-variables.patch'
|
||||
'0002-10_linux-detect-archlinux-initramfs.patch'
|
||||
'0003-fix-f2fs.patch'
|
||||
'grub.default'
|
||||
'grub.default.run'
|
||||
'grub.default.66'
|
||||
|
@ -120,9 +119,6 @@ prepare() {
|
|||
|
||||
patch -Np1 -i "${srcdir}/0002-10_linux-detect-archlinux-initramfs.patch"
|
||||
|
||||
echo "Patch to fix f2fs..."
|
||||
patch -Np1 -i "${srcdir}/0003-fix-f2fs.patch"
|
||||
|
||||
echo "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme..."
|
||||
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"
|
||||
|
||||
|
@ -330,7 +326,6 @@ sha256sums=(SKIP
|
|||
7d2bfe94e8365d4178b849d6c12c40794e7af84ed6eebd878ac480f547fd38d0 # unifont-15.0.01.bdf.gz.sig
|
||||
5dee6628c48eef79812bb9e86ee772068d85e7fcebbd2b2b8d1e19d24eda9dab # 0001-00_header-add-GRUB_COLOR_-variables.patch
|
||||
8488aec30a93e8fe66c23ef8c23aefda39c38389530e9e73ba3fbcc8315d244d # 0002-10_linux-detect-archlinux-initramfs.patch
|
||||
b783ec919b22e628d3db91ede4571272ffa833d20ab42eccace15258a884c26b # 0003-fix-f2fs.patch
|
||||
83f99850b6c751d0a7bd3e6b9f1808a0c05962cdd1cd8f57cbbd63f1a3379c96 # grub.default
|
||||
83f99850b6c751d0a7bd3e6b9f1808a0c05962cdd1cd8f57cbbd63f1a3379c96 # grub.default.run
|
||||
adad61d98de32e241a1cf55a166699de449533fa16e15e97a326515f80639ef7 # grub.default.66
|
||||
|
|
|
@ -18,8 +18,8 @@ _GRUB_EMU_BUILD="0"
|
|||
pkgname='grub'
|
||||
pkgdesc='GNU GRand Unified Bootloader (2)'
|
||||
epoch=2
|
||||
_commit='7259d55ffcf124e32eafb61aa381f9856e98a708'
|
||||
_pkgver=2.06.r403.g7259d55ff
|
||||
_commit='4de39a2af6521631d24978eb23035b7608949174'
|
||||
_pkgver=2.06.r440.g4de39a2af
|
||||
_unifont_ver='15.0.01'
|
||||
pkgver=${_pkgver/-/}
|
||||
pkgrel=1
|
||||
|
@ -62,7 +62,6 @@ source=("git+https://git.savannah.gnu.org/git/grub.git#commit=${_commit}"
|
|||
"https://ftp.gnu.org/gnu/unifont/unifont-${_unifont_ver}/unifont-${_unifont_ver}.bdf.gz"{,.sig}
|
||||
'0001-00_header-add-GRUB_COLOR_-variables.patch'
|
||||
'0002-10_linux-detect-archlinux-initramfs.patch'
|
||||
'0003-fix-f2fs.patch'
|
||||
'grub.default'
|
||||
'sbat.csv')
|
||||
|
||||
|
@ -72,7 +71,6 @@ sha256sums=('SKIP'
|
|||
'SKIP'
|
||||
'5dee6628c48eef79812bb9e86ee772068d85e7fcebbd2b2b8d1e19d24eda9dab'
|
||||
'8488aec30a93e8fe66c23ef8c23aefda39c38389530e9e73ba3fbcc8315d244d'
|
||||
'b783ec919b22e628d3db91ede4571272ffa833d20ab42eccace15258a884c26b'
|
||||
'7df3f5cb5df7d2dfb17f4c9b5c5dedc9519ddce6f8d2c6cd43d1be17cecb65cb'
|
||||
'98b23d41e223bdc0a6e20bdcb3aa77e642f29b64081b1fd2f575314172fc89df')
|
||||
|
||||
|
@ -130,9 +128,6 @@ prepare() {
|
|||
echo "Patch to detect of Arch Linux initramfs images by grub-mkconfig..."
|
||||
patch -Np1 -i "${srcdir}/0002-10_linux-detect-archlinux-initramfs.patch"
|
||||
|
||||
echo "Patch to fix f2fs..."
|
||||
patch -Np1 -i "${srcdir}/0003-fix-f2fs.patch"
|
||||
|
||||
echo "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme..."
|
||||
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac"
|
||||
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
||||
# Contributor: Mantas Mikulėnas <grawity@gmail.com>
|
||||
|
||||
pkgname=gssproxy
|
||||
pkgver=0.8.4
|
||||
pkgrel=1
|
||||
pkgdesc="GSSAPI Proxy"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/gssapi/gssproxy"
|
||||
license=('custom: MIT')
|
||||
depends=('krb5' 'popt' 'ding-libs')
|
||||
makedepends=('libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a')
|
||||
options=('emptydirs' 'makeflags')
|
||||
backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf
|
||||
etc/gss/mech.d/gssproxy.conf)
|
||||
source=(https://github.com/gssapi/gssproxy/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('ab81c40d6c7b1908751feb107d8da66603b7681fb67aa7a1f30194a81d542ca89e6c2f34425e9356b9c55eb3691bfa240ba41441c01498af45e862a133cd088a')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gssproxy-$pkgver"
|
||||
# delete unneeded service dependency
|
||||
sed -i "/# GSSPROXY will not be started until syslog is/d" systemd/gssproxy.service.in
|
||||
sed -i "s/syslog.target //" systemd/gssproxy.service.in
|
||||
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd gssproxy-$pkgver
|
||||
|
||||
# make it find bundled verto from krb5 without its own pkg-config file
|
||||
export VERTO_CFLAGS="-I/usr/include"
|
||||
export VERTO_LIBS="-L/usr/lib -lverto"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pubconf-path=/etc/gssproxy \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--without-selinux \
|
||||
--with-initscript=systemd \
|
||||
--with-gpp-default-behavior=REMOTE_FIRST
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make test_proxymech
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd gssproxy-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# cleanup empty directories
|
||||
rm -rf "$pkgdir"/usr/include
|
||||
rm -rf "$pkgdir"/usr/share/doc
|
||||
|
||||
# install default config files
|
||||
install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf
|
||||
# nfs services
|
||||
install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf
|
||||
install -m644 examples/99-nfs-client.conf "$pkgdir"/etc/gssproxy/99-nfs-client.conf
|
||||
# httpd service / use Arch UID/GID http/33 (by pkg filesystem)
|
||||
install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
|
||||
install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf
|
||||
|
||||
# FS#51574
|
||||
install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache
|
||||
|
||||
install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
|
||||
install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
|
||||
}
|
|
@ -0,0 +1,78 @@
|
|||
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
||||
# Contributor: Mantas Mikulėnas <grawity@gmail.com>
|
||||
|
||||
pkgname=gssproxy
|
||||
pkgver=0.9.0
|
||||
pkgrel=1
|
||||
pkgdesc="GSSAPI Proxy"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/gssapi/gssproxy"
|
||||
license=('custom: MIT')
|
||||
depends=('krb5' 'popt' 'ding-libs' 'systemd-libs')
|
||||
makedepends=('libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a')
|
||||
options=('emptydirs' 'makeflags')
|
||||
backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-network-fs-clients}.conf
|
||||
etc/gss/mech.d/proxymech.conf)
|
||||
source=(https://github.com/gssapi/gssproxy/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
# https://github.com/gssapi/gssproxy/releases/download/v0.9.0/gssproxy-0.9.0.tar.gz.sha512sum.txt
|
||||
sha512sums=('0c597951bd9c26db93a8aeb0c1f7328d8ae03ec72838b376eef458b0021b6b5f6d814d6b2438472cc121c0938883d30125f0e10bda01a1d0896d7933856976c9')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gssproxy-$pkgver"
|
||||
# delete unneeded service dependency
|
||||
sed -i "/# GSSPROXY will not be started until syslog is/d" systemd/gssproxy.service.in
|
||||
sed -i "s/syslog.target //" systemd/gssproxy.service.in
|
||||
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd gssproxy-$pkgver
|
||||
|
||||
# make it find bundled verto from krb5 without its own pkg-config file
|
||||
export VERTO_CFLAGS="-I/usr/include"
|
||||
export VERTO_LIBS="-L/usr/lib -lverto"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pubconf-path=/etc/gssproxy \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--without-selinux \
|
||||
--with-initscript=systemd \
|
||||
--with-gpp-default-behavior=REMOTE_FIRST
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make test_proxymech
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd gssproxy-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# cleanup empty directories
|
||||
rm -rf "$pkgdir"/usr/include
|
||||
rm -rf "$pkgdir"/usr/share/doc
|
||||
|
||||
# install default config files
|
||||
install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf
|
||||
# nfs services
|
||||
install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf
|
||||
install -m644 examples/99-network-fs-clients.conf "$pkgdir"/etc/gssproxy/99-network-fs-clients.conf
|
||||
# httpd service / use Arch UID/GID http/33 (by pkg filesystem)
|
||||
install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
|
||||
# install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf
|
||||
|
||||
# FS#51574
|
||||
install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache
|
||||
|
||||
install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
|
||||
install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=gssproxy
|
||||
pkgver=0.8.4
|
||||
pkgrel=02
|
||||
pkgdesc="GSSAPI Proxy w/o systemd - deprecated after 0.9.0"
|
||||
# This was a dependency of nfs-utils and its dependents
|
||||
# We opted in building nfs-utils without gssproxy (like Void does)
|
||||
# So remove this RedHat garbage if nothing else depends on it
|
||||
# If another pkg still depends on gssproxy let us know and
|
||||
# we will attempt to build that one
|
||||
arch=(x86_64)
|
||||
url="https://github.com/gssapi/gssproxy"
|
||||
depends=('krb5' 'popt' 'ding-libs')
|
||||
makedepends=('libxslt' 'docbook-xsl' 'doxygen' 'po4a')
|
||||
options=('emptydirs' 'makeflags')
|
||||
backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf
|
||||
etc/gss/mech.d/gssproxy.conf)
|
||||
source=(https://github.com/gssapi/gssproxy/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gssproxy-$pkgver"
|
||||
# delete unneeded service dependency
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd gssproxy-$pkgver
|
||||
|
||||
# make it find bundled verto from krb5 without its own pkg-config file
|
||||
export VERTO_CFLAGS="-I/usr/include"
|
||||
export VERTO_LIBS="-L/usr/lib -lverto"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pubconf-path=/etc/gssproxy \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--without-selinux \
|
||||
--with-initscript=none \
|
||||
--with-gpp-default-behavior=REMOTE_FIRST
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make test_proxymech
|
||||
}
|
||||
|
||||
package() {
|
||||
cd gssproxy-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# cleanup empty directories
|
||||
rm -rf "$pkgdir"/usr/include
|
||||
rm -rf "$pkgdir"/usr/share/doc
|
||||
|
||||
# install default config files
|
||||
install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf
|
||||
# nfs services
|
||||
install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf
|
||||
install -m644 examples/99-nfs-client.conf "$pkgdir"/etc/gssproxy/99-nfs-client.conf
|
||||
# httpd service / use Arch UID/GID http/33 (by pkg filesystem)
|
||||
install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
|
||||
install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf
|
||||
|
||||
# FS#51574
|
||||
install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache
|
||||
|
||||
install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
|
||||
install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
|
||||
}
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('custom: MIT')
|
||||
|
||||
sha256sums=(cf1eb125d6273d7fb2fd382581653b4da24abe2b13e054a3400d22bf2448b8c6) # gssproxy-0.8.4.tar.gz
|
|
@ -0,0 +1,103 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=gssproxy
|
||||
pkgver=0.9.0
|
||||
pkgrel=01
|
||||
pkgdesc="GSSAPI Proxy w/o systemd"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/gssapi/gssproxy"
|
||||
depends=('krb5' 'popt' 'ding-libs')
|
||||
makedepends=('libxslt' 'docbook-xsl' 'doxygen' 'po4a')
|
||||
options=('emptydirs' 'makeflags')
|
||||
backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-network-fs-clients}.conf
|
||||
etc/gss/mech.d/proxymech.conf)
|
||||
source=(https://github.com/gssapi/gssproxy/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gssproxy-$pkgver"
|
||||
# delete unneeded service dependency
|
||||
|
||||
|
||||
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd gssproxy-$pkgver
|
||||
|
||||
# make it find bundled verto from krb5 without its own pkg-config file
|
||||
export VERTO_CFLAGS="-I/usr/include"
|
||||
export VERTO_LIBS="-L/usr/lib -lverto"
|
||||
export SYSTEMD_DAEMON_CFLAGS="none"
|
||||
export SYSTEMD_DAEMON_LIBS="none"
|
||||
export HAVE_SYSTEMD_DAEMON=no
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pubconf-path=/etc/gssproxy \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--without-selinux \
|
||||
--with-initscript=none \
|
||||
--with-gpp-default-behavior=REMOTE_FIRST \
|
||||
--with-systemdunitdir=no \
|
||||
--with-systemduserunitdir=no
|
||||
|
||||
# --with-systemd_daemon=no \
|
||||
# --without-SYSTEMD_DAEMON
|
||||
|
||||
# --HAVE_SYSTEMD_DAEMON=no
|
||||
# --without-SYSTEMD_DAEMON \
|
||||
# --without-systemd_daemon
|
||||
# SYSTEMD_DAEMON_CFLAGS=none \
|
||||
# SYSTEMD_DAEMON_LIBS=none
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make test_proxymech
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd gssproxy-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
# cleanup empty directories
|
||||
rm -rf "$pkgdir"/usr/include
|
||||
rm -rf "$pkgdir"/usr/share/doc
|
||||
|
||||
# install default config files
|
||||
install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf
|
||||
# nfs services
|
||||
install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf
|
||||
install -m644 examples/99-network-fs-clients.conf "$pkgdir"/etc/gssproxy/99-network-fs-clients.conf
|
||||
# httpd service / use Arch UID/GID http/33 (by pkg filesystem)
|
||||
install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf
|
||||
|
||||
# install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf
|
||||
|
||||
# FS#51574
|
||||
install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache
|
||||
|
||||
install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
|
||||
install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('custom: MIT')
|
||||
|
||||
# https://github.com/gssapi/gssproxy/releases/download/v0.9.0/gssproxy-0.9.0.tar.gz.sha512sum.txt
|
||||
sha512sums=(0c597951bd9c26db93a8aeb0c1f7328d8ae03ec72838b376eef458b0021b6b5f6d814d6b2438472cc121c0938883d30125f0e10bda01a1d0896d7933856976c9)
|
||||
sha256sums=(3ef3524e596e0f99da3f4894c2f12532fe4ff645eadae48d34c0850e70b76fb7) # gssproxy-0.9.0.tar.gz
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
popt
|
||||
ding-libs
|
||||
libxslt
|
||||
docbook-xsl
|
||||
doxygen
|
||||
po4a
|
||||
autoconf
|
||||
automake
|
|
@ -0,0 +1,54 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=guile
|
||||
pkgver=2.2.7
|
||||
pkgrel=03
|
||||
pkgdesc='Portable, embeddable Scheme implementation written in C'
|
||||
url='https://www.gnu.org/software/guile/'
|
||||
arch=(x86_64)
|
||||
groups=( jobbot )
|
||||
depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
|
||||
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
sed -e '/test-out-of-memory/d' -i test-suite/standalone/Makefile.am # Disable test known to fail https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966301
|
||||
autoreconf -if
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--disable-error-on-warning
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
#check() {
|
||||
# cd $pkgname-$pkgver
|
||||
# make check
|
||||
#}
|
||||
|
||||
package() {
|
||||
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
|
||||
rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=(GPL)
|
||||
|
||||
validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org>
|
||||
'FF478FB264DE32EC296725A3DDC0F5358812F8F2' # Andy Wingo
|
||||
'4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo <wingo@pobox.com>"
|
||||
|
||||
sha256sums=(44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007 # guile-2.2.7.tar.gz
|
||||
cf4b0fcf9859abf7048876f48f01ec716b3d6d912385dbbf2197eaa42dafaa08) #guile-2.2.7.tar.gz.sig
|
||||
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
acl
|
||||
archlinux-keyring
|
||||
attr
|
||||
audit
|
||||
bash
|
||||
binutils
|
||||
brotli
|
||||
bzip2
|
||||
ca-certificates
|
||||
ca-certificates-mozilla
|
||||
ca-certificates-utils
|
||||
coreutils
|
||||
cower
|
||||
curl
|
||||
db
|
||||
dbus
|
||||
diffutils
|
||||
e2fsprogs
|
||||
elfutils
|
||||
expat
|
||||
fakeroot
|
||||
file
|
||||
filesystem
|
||||
findutils
|
||||
flex
|
||||
gawk
|
||||
gc
|
||||
gcc
|
||||
gcc-libs
|
||||
gdbm
|
||||
glib2
|
||||
glibc
|
||||
gmp
|
||||
gnupg
|
||||
gnutls
|
||||
gpgme
|
||||
grep
|
||||
groff
|
||||
guile
|
||||
gzip
|
||||
hwdata
|
||||
iana-etc
|
||||
icu
|
||||
iproute2
|
||||
iptables
|
||||
iputils
|
||||
jobbot
|
||||
joborun-keyring
|
||||
keyutils
|
||||
kmod
|
||||
krb5
|
||||
less
|
||||
libarchive
|
||||
libassuan
|
||||
libbpf
|
||||
libcap
|
||||
libcap-ng
|
||||
libelf
|
||||
libeudev
|
||||
libffi
|
||||
libgcrypt
|
||||
libgpg-error
|
||||
libidn2
|
||||
libisl
|
||||
libksba
|
||||
libldap
|
||||
libmnl
|
||||
libmpc
|
||||
libnetfilter_conntrack
|
||||
libnfnetlink
|
||||
libnftnl
|
||||
libnghttp2
|
||||
libnl
|
||||
libp11-kit
|
||||
libpcap
|
||||
libpsl
|
||||
libsasl
|
||||
libseccomp
|
||||
libsecret
|
||||
libssh2
|
||||
libtasn1
|
||||
libtirpc
|
||||
libtool
|
||||
libunistring
|
||||
libxcrypt
|
||||
licenses
|
||||
linux-api-headers
|
||||
lz4
|
||||
m4
|
||||
make
|
||||
mpfr
|
||||
nano
|
||||
ncurses
|
||||
nettle
|
||||
npth
|
||||
numactl
|
||||
obarun-keyring
|
||||
openssl
|
||||
opensysusers
|
||||
p11-kit
|
||||
package-query
|
||||
pacman
|
||||
pacman-contrib
|
||||
pacman-mirrorlist
|
||||
pam
|
||||
pambase
|
||||
patch
|
||||
pciutils
|
||||
pcre
|
||||
pcre2
|
||||
perl
|
||||
pinentry
|
||||
pkgconf
|
||||
procps-ng
|
||||
psmisc
|
||||
readline
|
||||
sed
|
||||
shadow
|
||||
sqlite
|
||||
sudo
|
||||
tar
|
||||
texinfo
|
||||
tzdata
|
||||
util-linux
|
||||
util-linux-libs
|
||||
wget
|
||||
which
|
||||
xz
|
||||
yajl
|
||||
zlib
|
||||
zsh
|
||||
zstd
|
|
@ -0,0 +1,197 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
# This package spans multiple repositories.
|
||||
# Always build from cyrus-sasl/trunk and merge changes to libsasl/trunk.
|
||||
|
||||
#pkgbase='cyrus-sasl'
|
||||
#pkgname=('cyrus-sasl' 'cyrus-sasl-gssapi' 'cyrus-sasl-ldap' 'cyrus-sasl-sql')
|
||||
pkgname=libsasl
|
||||
pkgver=2.1.27
|
||||
pkgrel=03
|
||||
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library w/o systemd"
|
||||
arch=('x86_64')
|
||||
url="https://www.cyrusimap.org/sasl/"
|
||||
options=('!makeflags')
|
||||
makedepends=('postgresql-libs' 'mariadb-libs' 'libldap' 'krb5' 'openssl' 'sqlite')
|
||||
source=(https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${pkgver}/cyrus-sasl-${pkgver}.tar.gz{,.sig}
|
||||
0003-Update-saslauthd.conf-location-in-documentation.patch
|
||||
0006-Enable-autoconf-maintainer-mode.patch
|
||||
0010-Update-required-libraries-when-ld-as-needed-is-used.patch
|
||||
0013-Don-t-use-la-files-for-opening-plugins.patch
|
||||
0020-Restore-LIBS-after-checking-gss_inquire_sec_context_.patch
|
||||
0022-Fix-keytab-option-for-MIT-Kerberos.patch
|
||||
0032-Add-with_pgsql-include-postgresql-to-include-path.patch
|
||||
gdbm-errno.patch
|
||||
# saslauthd.service
|
||||
saslauthd.conf.d
|
||||
tmpfiles.conf)
|
||||
|
||||
prepare() {
|
||||
cd cyrus-sasl-$pkgver
|
||||
patch -Np1 -i ../0003-Update-saslauthd.conf-location-in-documentation.patch
|
||||
patch -Np1 -i ../0006-Enable-autoconf-maintainer-mode.patch
|
||||
patch -Np1 -i ../0010-Update-required-libraries-when-ld-as-needed-is-used.patch
|
||||
patch -Np1 -i ../0013-Don-t-use-la-files-for-opening-plugins.patch
|
||||
patch -Np1 -i ../0020-Restore-LIBS-after-checking-gss_inquire_sec_context_.patch
|
||||
patch -Np1 -i ../0022-Fix-keytab-option-for-MIT-Kerberos.patch
|
||||
patch -Np1 -i ../0032-Add-with_pgsql-include-postgresql-to-include-path.patch
|
||||
patch -Np1 -i ../gdbm-errno.patch
|
||||
cp -a saslauthd/saslauthd.mdoc saslauthd/saslauthd.8
|
||||
}
|
||||
|
||||
build() {
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
cd cyrus-sasl-$pkgver
|
||||
|
||||
rm -f config/config.guess config/config.sub
|
||||
rm -f config/ltconfig config/ltmain.sh config/libtool.m4
|
||||
rm -fr autom4te.cache
|
||||
libtoolize -c
|
||||
aclocal -I config
|
||||
automake -a -c
|
||||
autoheader
|
||||
autoconf
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sbin=/usr/bin \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-alwaystrue \
|
||||
--enable-checkapop \
|
||||
--enable-cram \
|
||||
--enable-digest \
|
||||
--disable-otp \
|
||||
--disable-srp \
|
||||
--disable-srp-setpass \
|
||||
--disable-krb4 \
|
||||
--enable-gssapi \
|
||||
--enable-auth-sasldb \
|
||||
--enable-plain \
|
||||
--enable-anon \
|
||||
--enable-login \
|
||||
--enable-ntlm \
|
||||
--disable-passdss \
|
||||
--enable-sql \
|
||||
--with-mysql=/usr \
|
||||
--with-pgsql=/usr/lib \
|
||||
--with-sqlite3=/usr/lib \
|
||||
--enable-ldapdb \
|
||||
--disable-macos-framework \
|
||||
--with-pam \
|
||||
--with-saslauthd=/var/run/saslauthd \
|
||||
--with-ldap \
|
||||
--with-dblib=gdbm \
|
||||
--with-configdir=/etc/sasl2:/etc/sasl:/usr/lib/sasl2 \
|
||||
--sysconfdir=/etc \
|
||||
--with-devrandom=/dev/urandom \
|
||||
--without-systemd
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package_libsasl() {
|
||||
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) Library"
|
||||
depends=('openssl')
|
||||
conflicts=('cyrus-sasl-plugins')
|
||||
|
||||
cd cyrus-sasl-$pkgver
|
||||
make DESTDIR="$pkgdir" install-pkgconfigDATA
|
||||
for dir in include lib sasldb plugins utils; do
|
||||
pushd ${dir}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
popd
|
||||
done
|
||||
rm -f "${pkgdir}"/usr/lib/sasl2/libsql.so*
|
||||
rm -f "${pkgdir}"/usr/lib/sasl2/libgssapiv2.so*
|
||||
rm -f "${pkgdir}"/usr/lib/sasl2/libldapdb.so*
|
||||
rm -f "${pkgdir}"/usr/lib/sasl2/libgs2.so*
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/libsasl"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/libsasl/"
|
||||
}
|
||||
|
||||
package_cyrus-sasl() {
|
||||
depends=("libsasl=${pkgver}" 'krb5' 'pam')
|
||||
pkgdesc="Cyrus saslauthd SASL authentication daemon"
|
||||
backup=('etc/conf.d/saslauthd')
|
||||
|
||||
cd cyrus-sasl-$pkgver/saslauthd
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 "${srcdir}/saslauthd.conf.d" "${pkgdir}/etc/conf.d/saslauthd"
|
||||
# install -Dm644 "${srcdir}/saslauthd.service" "${pkgdir}/usr/lib/systemd/system/saslauthd.service"
|
||||
install -Dm644 "${srcdir}/tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/saslauthd.conf"
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/cyrus-sasl"
|
||||
ln -sf ../libsasl/COPYING "${pkgdir}/usr/share/licenses/cyrus-sasl/"
|
||||
}
|
||||
|
||||
package_cyrus-sasl-gssapi() {
|
||||
pkgdesc="GSSAPI authentication mechanism for Cyrus SASL"
|
||||
depends=("libsasl=${pkgver}" 'krb5')
|
||||
replaces=('cyrus-sasl-plugins')
|
||||
|
||||
cd cyrus-sasl-$pkgver/plugins
|
||||
install -m755 -d "${pkgdir}/usr/lib/sasl2"
|
||||
cp -a .libs/libgssapiv2.so* "${pkgdir}/usr/lib/sasl2/"
|
||||
cp -a .libs/libgs2.so* "${pkgdir}/usr/lib/sasl2/"
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/cyrus-sasl-gssapi"
|
||||
ln -sf ../libsasl/COPYING "${pkgdir}/usr/share/licenses/cyrus-sasl-gssapi/"
|
||||
}
|
||||
|
||||
package_cyrus-sasl-ldap() {
|
||||
pkgdesc="ldapdb auxprop module for Cyrus SASL"
|
||||
depends=("libsasl=${pkgver}" 'libldap')
|
||||
replaces=('cyrus-sasl-plugins')
|
||||
|
||||
cd cyrus-sasl-$pkgver/plugins
|
||||
install -m755 -d "${pkgdir}/usr/lib/sasl2"
|
||||
cp -a .libs/libldapdb.so* "${pkgdir}/usr/lib/sasl2/"
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/cyrus-sasl-ldap"
|
||||
ln -sf ../libsasl/COPYING "${pkgdir}/usr/share/licenses/cyrus-sasl-ldap/"
|
||||
}
|
||||
|
||||
package_cyrus-sasl-sql() {
|
||||
pkgdesc="SQL auxprop module for Cyrus SASL"
|
||||
depends=("libsasl=${pkgver}" 'postgresql-libs' 'mariadb-libs' 'sqlite')
|
||||
replaces=('cyrus-sasl-plugins')
|
||||
|
||||
cd cyrus-sasl-$pkgver/plugins
|
||||
install -m755 -d "${pkgdir}/usr/lib/sasl2"
|
||||
cp -a .libs/libsql.so* "${pkgdir}/usr/lib/sasl2/"
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/cyrus-sasl-sql"
|
||||
ln -sf ../libsasl/COPYING "${pkgdir}/usr/share/licenses/cyrus-sasl-sql/"
|
||||
}
|
||||
|
||||
#
|
||||
# install -Dm644 "${srcdir}/saslauthd.service" "${pkgdir}/usr/lib/systemd/system/saslauthd.service"
|
||||
# saslauthd.service
|
||||
# install -Dm644 "${srcdir}/saslauthd.service" "${pkgdir}/usr/lib/systemd/system/saslauthd.service"
|
||||
#
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
license=('custom')
|
||||
validpgpkeys=('829F339F8C296FE80F409D93E3D7C118C7B9F46A')
|
||||
sha256sums=('26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5'
|
||||
'SKIP'
|
||||
'9919c81196701d11a3a77e2573a541489ad9ab42a4c50eb7d19edfb37713c604'
|
||||
'7bd2b2af36c061e92f69944a18e2c122aea0d2b21773f5ea47bb6209f13d0812'
|
||||
'8e22cb6ac58208f191b1eb19aac602c1bf49708f2a3b2e3de5f5b2c1e2467906'
|
||||
'bbee401c01dc6942710e0c1285091fcd98588bf636b52f24ed0e3b04039b748b'
|
||||
'a953c79c585d579f25135de0fe807d6da1fddccbd5b66a9606fb6390c12c7e31'
|
||||
'1a0ae7bd722d57feb6fab12c05eb1922982c68bd9be1c165d405954012e6634f'
|
||||
'3c375f8755fdbd98a21c4ee195bebbd2a146901fee327e4dd6cfde7a4dcba7c3'
|
||||
'03a57cbcec85602fb8e39b7c8a3ff1a22d2c20a28e771b8b326a570d733bf432'
|
||||
# '5c6453050a5f594ca1d53baf3a6188d8f3cdc7a28467ad7c844ad51f663dae9a'
|
||||
'fa57b4f374ae633633091b1c8b44e1e0be814e4fddbfa75f16eb3dd1f16b8640'
|
||||
'16ca1a4185847b0c6c70ef6c7c314cb466f698d3ed02185a5f50e8179822f024')
|
||||
|
||||
# sha256sums=(a)
|
|
@ -6,9 +6,9 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=libtool
|
||||
pkgver=2.4.7
|
||||
pkgrel=05
|
||||
_gccver=12.2.0
|
||||
pkgver=2.4.7+4+g1ec8fa28
|
||||
pkgrel=01
|
||||
_gccver=12.2.1
|
||||
pkgdesc='A generic library support script'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libtool'
|
||||
|
@ -20,12 +20,14 @@ provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
|
|||
conflicts=(libltdl libtool-multilib)
|
||||
replaces=(libltdl libtool-multilib)
|
||||
# options=(debug) # uncomment to have the libtool-debug pkg built
|
||||
_commit=6d7ce133ce54898cf28abd89d167cccfbc3c9b2b
|
||||
# _commit=6d7ce133ce54898cf28abd89d167cccfbc3c9b2b
|
||||
_commit=1ec8fa28dcb29500d485c136db28315671ec4c3b
|
||||
source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
|
||||
git+https://git.savannah.gnu.org/git/gnulib.git
|
||||
gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git
|
||||
no_hostname.patch
|
||||
disable-lto-link-order2.patch)
|
||||
disable-lto-link-order2.patch
|
||||
grep_3.8_fix.patch)
|
||||
|
||||
pkgver() {
|
||||
cd libtool
|
||||
|
@ -42,10 +44,14 @@ prepare() {
|
|||
# adapt when -ffat-lto-objects is enabled by Arch
|
||||
patch -Np1 -i ${srcdir}/disable-lto-link-order2.patch
|
||||
|
||||
# test 66 is broken with grep 3.8
|
||||
# see https://bugzilla.opensuse.org/show_bug.cgi?id=1203097
|
||||
patch -Np1 -i "${srcdir}"/grep_3.8_fix.patch
|
||||
|
||||
git submodule init
|
||||
git config --local submodule.gnulib.url "$srcdir/gnulib"
|
||||
git config --local submodule.gl-mod/bootstrap.url "$srcdir/gnulib-bootstrap"
|
||||
git submodule update
|
||||
git config --local submodule.gnulib.url "${srcdir}"/gnulib
|
||||
git config --local submodule.gl-mod/bootstrap.url "${srcdir}"/gnulib-bootstrap
|
||||
git -c protocol.file.allow=always submodule update
|
||||
|
||||
./bootstrap
|
||||
}
|
||||
|
@ -73,5 +79,8 @@ license=(GPL)
|
|||
sha256sums=(SKIP
|
||||
SKIP
|
||||
SKIP
|
||||
693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946 # no_hostname.patch
|
||||
b6dce6681f223b18a90614edbcdeb00f228abd1216e22c4bd07285321cd2ceb7) # disable-lto-link-order2.patch
|
||||
693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946 # no_hostname.patch
|
||||
b6dce6681f223b18a90614edbcdeb00f228abd1216e22c4bd07285321cd2ceb7 # disable-lto-link-order2.patch
|
||||
0a31d3ed91d97a18e17942c85018899c0233493a54c885f4c133454de522ef50) # grep_3.8_fix.patch
|
||||
|
||||
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
# NOTE: requires rebuilt with each new gcc version
|
||||
|
||||
pkgname=libtool
|
||||
pkgver=2.4.7
|
||||
pkgrel=5
|
||||
_gccver=12.2.0
|
||||
_commit=1ec8fa28dcb29500d485c136db28315671ec4c3b
|
||||
pkgver=2.4.7+4+g1ec8fa28
|
||||
pkgrel=1
|
||||
_gccver=12.2.1
|
||||
pkgdesc='A generic library support script'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libtool'
|
||||
|
@ -21,18 +22,18 @@ checkdepends=(gcc-fortran)
|
|||
provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
|
||||
conflicts=(libltdl libtool-multilib)
|
||||
replaces=(libltdl libtool-multilib)
|
||||
options=(debug)
|
||||
_commit=6d7ce133ce54898cf28abd89d167cccfbc3c9b2b
|
||||
source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
|
||||
git+https://git.savannah.gnu.org/git/gnulib.git
|
||||
gnulib-bootstrap::git+https://github.com/gnulib-modules/bootstrap.git
|
||||
no_hostname.patch
|
||||
disable-lto-link-order2.patch)
|
||||
disable-lto-link-order2.patch
|
||||
grep_3.8_fix.patch)
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946'
|
||||
'b6dce6681f223b18a90614edbcdeb00f228abd1216e22c4bd07285321cd2ceb7')
|
||||
'b6dce6681f223b18a90614edbcdeb00f228abd1216e22c4bd07285321cd2ceb7'
|
||||
'0a31d3ed91d97a18e17942c85018899c0233493a54c885f4c133454de522ef50')
|
||||
|
||||
pkgver() {
|
||||
cd libtool
|
||||
|
@ -42,17 +43,21 @@ pkgver() {
|
|||
prepare() {
|
||||
cd libtool
|
||||
|
||||
patch -Np1 -i ${srcdir}/no_hostname.patch
|
||||
patch -Np1 -i "${srcdir}"/no_hostname.patch
|
||||
|
||||
# test 67 is broken with lto
|
||||
# this patch removes the -flto flag for this very test
|
||||
# adapt when -ffat-lto-objects is enabled by Arch
|
||||
patch -Np1 -i ${srcdir}/disable-lto-link-order2.patch
|
||||
patch -Np1 -i "${srcdir}"/disable-lto-link-order2.patch
|
||||
|
||||
# test 66 is broken with grep 3.8
|
||||
# see https://bugzilla.opensuse.org/show_bug.cgi?id=1203097
|
||||
patch -Np1 -i "${srcdir}"/grep_3.8_fix.patch
|
||||
|
||||
git submodule init
|
||||
git config --local submodule.gnulib.url "$srcdir/gnulib"
|
||||
git config --local submodule.gl-mod/bootstrap.url "$srcdir/gnulib-bootstrap"
|
||||
git submodule update
|
||||
git config --local submodule.gnulib.url "${srcdir}"/gnulib
|
||||
git config --local submodule.gl-mod/bootstrap.url "${srcdir}"/gnulib-bootstrap
|
||||
git -c protocol.file.allow=always submodule update
|
||||
|
||||
./bootstrap
|
||||
}
|
||||
|
|
|
@ -4,3 +4,4 @@ gcc-fortran
|
|||
automake
|
||||
autoconf
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
--- libtool-2.4.7/tests/link-order.at
|
||||
+++ libtool-2.4.7/tests/link-order.at
|
||||
@@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems hav
|
||||
case $hardcode_direct$hardcode_direct_absolute in
|
||||
yesno)
|
||||
AT_CHECK([if $EGREP relinking stderr; then
|
||||
- $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
|
||||
+ $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout
|
||||
else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
||||
;;
|
||||
*)
|
||||
AT_CHECK([if $EGREP relinking stderr; then
|
||||
- $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout
|
||||
+ $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout
|
||||
else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
||||
;;
|
||||
esac
|
|
@ -1,3 +1,6 @@
|
|||
real 12m26.562s
|
||||
user 10m48.661s
|
||||
sys 1m17.108s
|
||||
|
||||
|
||||
real 17m23.598s
|
||||
user 16m21.565s
|
||||
sys 2m14.208s
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,48 @@
|
|||
pkgbase = linux-lts510
|
||||
pkgdesc = LTS 5.10 Linux
|
||||
pkgver = 5.10.153
|
||||
pkgrel = 1
|
||||
url = https://www.kernel.org/
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
makedepends = bc
|
||||
makedepends = kmod
|
||||
makedepends = libelf
|
||||
makedepends = pahole
|
||||
makedepends = cpio
|
||||
makedepends = perl
|
||||
makedepends = tar
|
||||
makedepends = xz
|
||||
makedepends = xmlto
|
||||
makedepends = python-sphinx
|
||||
makedepends = python-sphinx_rtd_theme
|
||||
makedepends = python-six
|
||||
makedepends = graphviz
|
||||
makedepends = imagemagick
|
||||
options = !strip
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.153.tar.xz
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.153.tar.sign
|
||||
source = config
|
||||
source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
|
||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
||||
sha256sums = 3cf2e4519fe451caef0ee0a8beac694612267325f7055fc38d6a990a762f1662
|
||||
sha256sums = SKIP
|
||||
sha256sums = 2367f59976f6fc902d226229564a98f5d1df3a91e742a292c3deccc3e4a8ffc0
|
||||
sha256sums = 96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e
|
||||
|
||||
pkgname = linux-lts510
|
||||
pkgdesc = The LTS 5.10 Linux kernel and modules
|
||||
depends = coreutils
|
||||
depends = kmod
|
||||
depends = initramfs
|
||||
optdepends = crda: to set the correct wireless channels of your country
|
||||
optdepends = linux-firmware: firmware images needed for some devices
|
||||
provides = VIRTUALBOX-GUEST-MODULES
|
||||
provides = WIREGUARD-MODULE
|
||||
|
||||
pkgname = linux-lts510-headers
|
||||
pkgdesc = Headers and scripts for building modules for the LTS 5.10 Linux kernel
|
||||
|
||||
pkgname = linux-lts510-docs
|
||||
pkgdesc = Documentation for the LTS 5.10 Linux kernel
|
|
@ -0,0 +1,151 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Mon, 16 Sep 2019 04:53:20 +0200
|
||||
Subject: [PATCH] ZEN: Add sysctl and CONFIG to disallow unprivileged
|
||||
CLONE_NEWUSER
|
||||
|
||||
Our default behavior continues to match the vanilla kernel.
|
||||
---
|
||||
include/linux/user_namespace.h | 4 ++++
|
||||
init/Kconfig | 16 ++++++++++++++++
|
||||
kernel/fork.c | 14 ++++++++++++++
|
||||
kernel/sysctl.c | 12 ++++++++++++
|
||||
kernel/user_namespace.c | 7 +++++++
|
||||
5 files changed, 53 insertions(+)
|
||||
|
||||
diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h
|
||||
index 7616c7bf4b24..bdbfcfe5df1e 100644
|
||||
--- a/include/linux/user_namespace.h
|
||||
+++ b/include/linux/user_namespace.h
|
||||
@@ -109,6 +109,8 @@ void dec_ucount(struct ucounts *ucounts, enum ucount_type type);
|
||||
|
||||
#ifdef CONFIG_USER_NS
|
||||
|
||||
+extern int unprivileged_userns_clone;
|
||||
+
|
||||
static inline struct user_namespace *get_user_ns(struct user_namespace *ns)
|
||||
{
|
||||
if (ns)
|
||||
@@ -142,6 +144,8 @@ extern bool current_in_userns(const struct user_namespace *target_ns);
|
||||
struct ns_common *ns_get_owner(struct ns_common *ns);
|
||||
#else
|
||||
|
||||
+#define unprivileged_userns_clone 0
|
||||
+
|
||||
static inline struct user_namespace *get_user_ns(struct user_namespace *ns)
|
||||
{
|
||||
return &init_user_ns;
|
||||
diff --git a/init/Kconfig b/init/Kconfig
|
||||
index fc4c9f416fad..3707cc8b4d7b 100644
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -1172,6 +1172,22 @@ config USER_NS
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
+config USER_NS_UNPRIVILEGED
|
||||
+ bool "Allow unprivileged users to create namespaces"
|
||||
+ default y
|
||||
+ depends on USER_NS
|
||||
+ help
|
||||
+ When disabled, unprivileged users will not be able to create
|
||||
+ new namespaces. Allowing users to create their own namespaces
|
||||
+ has been part of several recent local privilege escalation
|
||||
+ exploits, so if you need user namespaces but are
|
||||
+ paranoid^Wsecurity-conscious you want to disable this.
|
||||
+
|
||||
+ This setting can be overridden at runtime via the
|
||||
+ kernel.unprivileged_userns_clone sysctl.
|
||||
+
|
||||
+ If unsure, say Y.
|
||||
+
|
||||
config PID_NS
|
||||
bool "PID Namespaces"
|
||||
default y
|
||||
diff --git a/kernel/fork.c b/kernel/fork.c
|
||||
index 7c044d377926..3c70b2fe5946 100644
|
||||
--- a/kernel/fork.c
|
||||
+++ b/kernel/fork.c
|
||||
@@ -97,6 +97,10 @@
|
||||
#include <linux/scs.h>
|
||||
#include <linux/io_uring.h>
|
||||
|
||||
+#ifdef CONFIG_USER_NS
|
||||
+#include <linux/user_namespace.h>
|
||||
+#endif
|
||||
+
|
||||
#include <asm/pgalloc.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/mmu_context.h>
|
||||
@@ -1871,6 +1875,10 @@ static __latent_entropy struct task_struct *copy_process(
|
||||
if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS))
|
||||
return ERR_PTR(-EINVAL);
|
||||
|
||||
+ if ((clone_flags & CLONE_NEWUSER) && !unprivileged_userns_clone)
|
||||
+ if (!capable(CAP_SYS_ADMIN))
|
||||
+ return ERR_PTR(-EPERM);
|
||||
+
|
||||
/*
|
||||
* Thread groups must share signals as well, and detached threads
|
||||
* can only be started up within the thread group.
|
||||
@@ -2936,6 +2944,12 @@ int ksys_unshare(unsigned long unshare_flags)
|
||||
if (unshare_flags & CLONE_NEWNS)
|
||||
unshare_flags |= CLONE_FS;
|
||||
|
||||
+ if ((unshare_flags & CLONE_NEWUSER) && !unprivileged_userns_clone) {
|
||||
+ err = -EPERM;
|
||||
+ if (!capable(CAP_SYS_ADMIN))
|
||||
+ goto bad_unshare_out;
|
||||
+ }
|
||||
+
|
||||
err = check_unshare_flags(unshare_flags);
|
||||
if (err)
|
||||
goto bad_unshare_out;
|
||||
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
|
||||
index b9306d2bb426..891b250db88e 100644
|
||||
--- a/kernel/sysctl.c
|
||||
+++ b/kernel/sysctl.c
|
||||
@@ -103,6 +103,9 @@
|
||||
#ifdef CONFIG_LOCKUP_DETECTOR
|
||||
#include <linux/nmi.h>
|
||||
#endif
|
||||
+#ifdef CONFIG_USER_NS
|
||||
+#include <linux/user_namespace.h>
|
||||
+#endif
|
||||
|
||||
#if defined(CONFIG_SYSCTL)
|
||||
|
||||
@@ -1902,6 +1905,15 @@ static struct ctl_table kern_table[] = {
|
||||
.proc_handler = proc_dointvec,
|
||||
},
|
||||
#endif
|
||||
+#ifdef CONFIG_USER_NS
|
||||
+ {
|
||||
+ .procname = "unprivileged_userns_clone",
|
||||
+ .data = &unprivileged_userns_clone,
|
||||
+ .maxlen = sizeof(int),
|
||||
+ .mode = 0644,
|
||||
+ .proc_handler = proc_dointvec,
|
||||
+ },
|
||||
+#endif
|
||||
#ifdef CONFIG_PROC_SYSCTL
|
||||
{
|
||||
.procname = "tainted",
|
||||
diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
|
||||
index ce396ea4de60..c3a6ef1f10ed 100644
|
||||
--- a/kernel/user_namespace.c
|
||||
+++ b/kernel/user_namespace.c
|
||||
@@ -21,6 +21,13 @@
|
||||
#include <linux/bsearch.h>
|
||||
#include <linux/sort.h>
|
||||
|
||||
+/* sysctl */
|
||||
+#ifdef CONFIG_USER_NS_UNPRIVILEGED
|
||||
+int unprivileged_userns_clone = 1;
|
||||
+#else
|
||||
+int unprivileged_userns_clone;
|
||||
+#endif
|
||||
+
|
||||
static struct kmem_cache *user_ns_cachep __read_mostly;
|
||||
static DEFINE_MUTEX(userns_state_mutex);
|
||||
|
|
@ -0,0 +1,198 @@
|
|||
# Maintainer: Jonathon Fernyhough <jonathon+m2x+dev>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts510
|
||||
pkgver=5.10.153
|
||||
pkgrel=1
|
||||
pkgdesc='LTS 5.10 Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick
|
||||
)
|
||||
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
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('3cf2e4519fe451caef0ee0a8beac694612267325f7055fc38d6a990a762f1662'
|
||||
'SKIP'
|
||||
'2367f59976f6fc902d226229564a98f5d1df3a91e742a292c3deccc3e4a8ffc0'
|
||||
'96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e')
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
make -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# http://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# http://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,198 @@
|
|||
# Maintainer: Jonathon Fernyhough <jonathon+m2x+dev>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts510
|
||||
pkgver=5.10.102
|
||||
pkgrel=1
|
||||
pkgdesc='LTS 5.10 Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick
|
||||
)
|
||||
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
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('e6414895b1c2e406a41a8744160e2b4ef2095e6cebe5363be460d1b198f0e379'
|
||||
'SKIP'
|
||||
'2367f59976f6fc902d226229564a98f5d1df3a91e742a292c3deccc3e4a8ffc0'
|
||||
'96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e')
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
make -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# http://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# http://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,198 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.10.90
|
||||
pkgrel=1
|
||||
pkgdesc='LTS Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick
|
||||
)
|
||||
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
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('945e4264c014a3d9dfc0a4639309dd1ec2fb545416556421f931b95da78c2725'
|
||||
'SKIP'
|
||||
'80de9382be09f765b5cb1c11e21a09c99f75a0000bcc10def0542228644ea828'
|
||||
'96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e')
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
#return 1
|
||||
make -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# http://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# http://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,43 @@
|
|||
--- config 2023-01-01 10:41:12.058642060 +0200
|
||||
+++ ../../config 2022-12-06 11:36:06.775273538 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
-# Linux/x86 5.15.86 Kernel Configuration
|
||||
+# Linux/x86 5.15.81 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@@ -7335,9 +7335,9 @@
|
||||
CONFIG_USB_C67X00_HCD=m
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
# CONFIG_USB_XHCI_DBGCAP is not set
|
||||
-CONFIG_USB_XHCI_PCI=y
|
||||
-CONFIG_USB_XHCI_PCI_RENESAS=y
|
||||
-CONFIG_USB_XHCI_PLATFORM=y
|
||||
+CONFIG_USB_XHCI_PCI=m
|
||||
+CONFIG_USB_XHCI_PCI_RENESAS=m
|
||||
+CONFIG_USB_XHCI_PLATFORM=m
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||
CONFIG_USB_EHCI_TT_NEWSCHED=y
|
||||
@@ -7710,8 +7710,8 @@
|
||||
CONFIG_TYPEC_NVIDIA_ALTMODE=m
|
||||
# end of USB Type-C Alternate Mode drivers
|
||||
|
||||
-CONFIG_USB_ROLE_SWITCH=y
|
||||
-CONFIG_USB_ROLES_INTEL_XHCI=y
|
||||
+CONFIG_USB_ROLE_SWITCH=m
|
||||
+CONFIG_USB_ROLES_INTEL_XHCI=m
|
||||
CONFIG_MMC=m
|
||||
CONFIG_MMC_BLOCK=m
|
||||
CONFIG_MMC_BLOCK_MINORS=8
|
||||
@@ -9469,7 +9469,7 @@
|
||||
CONFIG_JFS_SECURITY=y
|
||||
# CONFIG_JFS_DEBUG is not set
|
||||
CONFIG_JFS_STATISTICS=y
|
||||
-CONFIG_XFS_FS=y
|
||||
+CONFIG_XFS_FS=m
|
||||
CONFIG_XFS_SUPPORT_V4=y
|
||||
CONFIG_XFS_QUOTA=y
|
||||
CONFIG_XFS_POSIX_ACL=y
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/zsh
|
||||
#time numactl --physcpubind=1,3,5,7 makepkg -f
|
||||
#sh key
|
||||
time numactl --physcpubind=0,1,2,3,4,5,6 makepkg -f
|
||||
#numactl --physcpubind=1,3,5,7 makepkg -f --skippgpcheck
|
||||
echo " DONE YAYAYYYYY!!!!!!!!!! "
|
||||
cat time
|
||||
echo "made this:"
|
||||
ls -lh *pkg.tar.xz
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,219 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.25
|
||||
pkgrel=2
|
||||
pkgdesc='LTS Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
||||
)
|
||||
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-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch
|
||||
0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch
|
||||
0006-lg-laptop_Recognize_more_models.patch
|
||||
0007_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=('4399ffbe524a11b3c44bff6dd858ed31417341f58513f04cb6ae15e527543879'
|
||||
'SKIP'
|
||||
'e64c383073b850b45a0c1555d235a9ee61eb99e7b8bf454822ac0a8fde365800'
|
||||
'99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423'
|
||||
'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706'
|
||||
'7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e'
|
||||
'420844779356286057d931e30bbe1dabb8ee52bff575845a8fbf3c34e1a1d29e'
|
||||
'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 ../0007_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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,219 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.32
|
||||
pkgrel=1
|
||||
pkgdesc='LTS Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
||||
)
|
||||
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-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch
|
||||
0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch
|
||||
0006-lg-laptop_Recognize_more_models.patch
|
||||
0007_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=('1463cdfa223088610dd65d3eadeffa44ec49746091b8ae8ddac6f3070d17df86'
|
||||
'SKIP'
|
||||
'546ffa03333564848ab3924efb26a5007d8d076f258ce02d9666d37a0720afaf'
|
||||
'99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423'
|
||||
'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706'
|
||||
'7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e'
|
||||
'420844779356286057d931e30bbe1dabb8ee52bff575845a8fbf3c34e1a1d29e'
|
||||
'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 ../0007_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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,218 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.36
|
||||
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=('36345db17a937c197c72ca9c7f34c262b3a12f927c237ff7770193014e29c690'
|
||||
'SKIP'
|
||||
'c139f947f010a360f645063200577eddc4b6e3d60e44495c332b300553af1780'
|
||||
'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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,218 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,225 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.53
|
||||
pkgrel=2
|
||||
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
|
||||
0100-netfilter-nf_tables-stricter-validation-of-element-data.diff
|
||||
0101-netfilter-nft_set_pipapo-release-elements-in-clone-from-abort-path.diff
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('f3aa717243051f3fcca90ebfe26fe5c3a596c2f6047846e8d1724ea90df77b07'
|
||||
'SKIP'
|
||||
'0e605ccfafa347522c5960289aaaabe368aef98b47bc0b76baadab7ca28e833c'
|
||||
'99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423'
|
||||
'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706'
|
||||
'7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e'
|
||||
'3fa8a4af66d5a3b99b48ca979a247c61e81c9b2d3bcdffa9d3895a5532a420b4'
|
||||
'79266c6cc970733fd35881d9a8f0a74c25c00b4d81741b8d4bba6827c48f7c78'
|
||||
'e9527ad81d5b1821a7b17c56cb3abaec85785563f51e448cb3c06f1c68e2966f'
|
||||
'b2e03d795a67843b9898367eaf3f2b855487d7e7cbe87b43a0df22b2fb36477c'
|
||||
'08cae506648665a0a2990a690d951dd4432b6eea4ca295dbfc0a836ee63671ea')
|
||||
|
||||
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
|
||||
|
||||
# FS#75226 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34918
|
||||
patch -Np1 -i ../0100-netfilter-nf_tables-stricter-validation-of-element-data.diff
|
||||
patch -Np1 -i ../0101-netfilter-nft_set_pipapo-release-elements-in-clone-from-abort-path.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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make htmldocs all
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,217 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.55
|
||||
pkgrel=2
|
||||
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=('1ef6bd508b6c3af3bef2d5b337e4477254dba284c79e329aa38f9763ae3bfdcc'
|
||||
'SKIP'
|
||||
'c8f239b60405161fdc238ebbfd4cae6f7cdd27b79d71abc12588e83ffa674c7d'
|
||||
'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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make htmldocs all
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,213 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.63
|
||||
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-q.patch
|
||||
0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch
|
||||
0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
|
||||
0005-lg-laptop-Recognize-more-models.patch
|
||||
0006-Fix-NFSv4-mount-regression.patch
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('6dd3cd1e5a629d0002bc6c6ec7e8ea96710104f38664122dd56c83dfd4eb7341'
|
||||
'SKIP'
|
||||
'67b7379830e81ae0f3f787a8855e91a5b50df5a6c31e6ad9807c2db84281393a'
|
||||
'7bd64ff894475b3415d792ba8466ba7e8f872af56dbf1aeed0d261fe4008b8b5'
|
||||
'39649dc1dfcb06b411ad124e123769e955a78961b4ea17538c0919a930925549'
|
||||
'56c12551e859cc67520909e64feecbf1b190cee8addef150c5b9d1bb1d40981e'
|
||||
'5c1ee81fdd5818442af6081de987f9c1a9ce3c8d183566b3dfc19a8433aa3dde'
|
||||
'067e8995fcd6f6ed25e0253e9374c0e179a000c154da3e59ce62634945ac5be9'
|
||||
'95dad02b01937681af0a207e22a6bf64c33e067bf7a14cb98262dd8f69194eb8')
|
||||
|
||||
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
|
||||
|
||||
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 || :
|
||||
|
||||
make -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make htmldocs all
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# required when STACK_VALIDATION is enabled
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# required when DEBUG_INFO_BTF_MODULES is enabled
|
||||
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,213 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.70
|
||||
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-q.patch
|
||||
0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch
|
||||
0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
|
||||
0005-lg-laptop-Recognize-more-models.patch
|
||||
0006-Fix-NFSv4-mount-regression.patch
|
||||
)
|
||||
validpgpkeys=(
|
||||
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
|
||||
)
|
||||
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256sums=('1a7c26f0253407bb222786c8cbf2ee6235acebe8ea641fe0bc2360acce970d76'
|
||||
'SKIP'
|
||||
'f2d7225bc54cdca2b12baab9140cc4f32dca12e460f8a0dbb0ebb1a2c8ea6a34'
|
||||
'7bd64ff894475b3415d792ba8466ba7e8f872af56dbf1aeed0d261fe4008b8b5'
|
||||
'39649dc1dfcb06b411ad124e123769e955a78961b4ea17538c0919a930925549'
|
||||
'56c12551e859cc67520909e64feecbf1b190cee8addef150c5b9d1bb1d40981e'
|
||||
'5c1ee81fdd5818442af6081de987f9c1a9ce3c8d183566b3dfc19a8433aa3dde'
|
||||
'067e8995fcd6f6ed25e0253e9374c0e179a000c154da3e59ce62634945ac5be9'
|
||||
'95dad02b01937681af0a207e22a6bf64c33e067bf7a14cb98262dd8f69194eb8')
|
||||
|
||||
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
|
||||
|
||||
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 || :
|
||||
|
||||
make -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make htmldocs all
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# required when STACK_VALIDATION is enabled
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# required when DEBUG_INFO_BTF_MODULES is enabled
|
||||
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,219 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.25
|
||||
pkgrel=1
|
||||
pkgdesc='LTS Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
||||
)
|
||||
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-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch
|
||||
0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch
|
||||
0006-lg-laptop_Recognize_more_models.patch
|
||||
0007_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=('4399ffbe524a11b3c44bff6dd858ed31417341f58513f04cb6ae15e527543879'
|
||||
'SKIP'
|
||||
'e64c383073b850b45a0c1555d235a9ee61eb99e7b8bf454822ac0a8fde365800'
|
||||
'99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423'
|
||||
'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706'
|
||||
'7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e'
|
||||
'420844779356286057d931e30bbe1dabb8ee52bff575845a8fbf3c34e1a1d29e'
|
||||
'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 ../0007_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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,219 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.29
|
||||
pkgrel=1
|
||||
pkgdesc='LTS Linux'
|
||||
url="https://www.kernel.org/"
|
||||
arch=(x86_64)
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
bc kmod libelf pahole cpio perl tar xz
|
||||
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
|
||||
)
|
||||
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-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch
|
||||
0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch
|
||||
0006-lg-laptop_Recognize_more_models.patch
|
||||
0007_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=('5905e684602c47ae95746d4003cb834335e5451aca4ac7c3013f15dd49ed876e'
|
||||
'SKIP'
|
||||
'c850157b6e5064bf0f8dd4446f83cc03eb223ee60079cdfedca7b9f64b1165fe'
|
||||
'99df282c594cc269d9a5d19bb86ea887892d3654cfc53c4ce94a644cf3278423'
|
||||
'c35018601f04ae81e0a2018a8597595db6ae053158c206845399cdebb2d2b706'
|
||||
'7c7707c738983f3683d76295b496f578996b7341fa39ad334ec2833bfe4b966e'
|
||||
'420844779356286057d931e30bbe1dabb8ee52bff575845a8fbf3c34e1a1d29e'
|
||||
'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 ../0007_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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
|
@ -0,0 +1,218 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgbase=linux-lts
|
||||
pkgver=5.15.46
|
||||
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=('eb455746779bb79533e6c1afcd0d5e8ad2295898b786f47d718f087a3d07376b'
|
||||
'SKIP'
|
||||
'35b54c38a302a957d3cabebbe74f231da43b52f033c302e1813a33fad401e41c'
|
||||
'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 $(<version)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_srcname
|
||||
make all
|
||||
make htmldocs
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The $pkgdesc kernel and modules"
|
||||
depends=(coreutils kmod initramfs)
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
replaces=(wireguard-lts)
|
||||
|
||||
cd $_srcname
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
|
||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||
|
||||
# remove build and source links
|
||||
rm "$modulesdir"/{source,build}
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
depends=(pahole)
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
_package-docs() {
|
||||
pkgdesc="Documentation for the $pkgdesc kernel"
|
||||
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing documentation..."
|
||||
local src dst
|
||||
while read -rd '' src; do
|
||||
dst="${src#Documentation/}"
|
||||
dst="$builddir/Documentation/${dst#output/}"
|
||||
install -Dm644 "$src" "$dst"
|
||||
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "$pkgdir/usr/share/doc"
|
||||
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
|
||||
}
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
||||
# vim:set ts=8 sts=2 sw=2 et:
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
sha256sum {li*63.tar.*,config,0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch,0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch,0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch,0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch,0005-lg-laptop-Recognize-more-models.patch,0006-Fix-NFSv4-mount-regression.patch,sha256sums} >>PKGBUILD
|
|
@ -0,0 +1,46 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
build() {
|
||||
local symlink
|
||||
|
||||
# device mapper modules
|
||||
map add_module \
|
||||
'dm-mod' \
|
||||
'dm-snapshot' \
|
||||
'dm-mirror' \
|
||||
'dm-cache' \
|
||||
'dm-cache-smq' \
|
||||
'dm-thin-pool'
|
||||
|
||||
# from thin-provisioning-tools
|
||||
add_binary 'pdata_tools'
|
||||
for symlink in cache_{check,dump,metadata_size,repair,restore} thin_{check,delta,dump,ls,metadata_size,repair,restore,rmap,trim}; do
|
||||
add_symlink "/usr/bin/${symlink}" 'pdata_tools'
|
||||
done
|
||||
|
||||
# udev rules and lvm configuration
|
||||
map add_udev_rule \
|
||||
'10-dm.rules' \
|
||||
'11-dm-lvm.rules' \
|
||||
'13-dm-disk.rules' \
|
||||
'95-dm-notify.rules' \
|
||||
'/usr/lib/initcpio/udev/11-dm-initramfs.rules'
|
||||
|
||||
# this udev rule is specific for systemd and non-systemd systems
|
||||
if command -v add_systemd_unit >/dev/null; then
|
||||
add_udev_rule '69-dm-lvm.rules'
|
||||
else
|
||||
add_udev_rule '/usr/lib/initcpio/udev/69-dm-lvm.rules'
|
||||
fi
|
||||
|
||||
# config file
|
||||
add_file '/etc/lvm/lvm.conf'
|
||||
sed -i -e 's/^[[:space:]#]*monitoring = [[:digit:]]\+\s*$/\tmonitoring = 0/' \
|
||||
-e '/^$/d' -e '/^[[:space:]]*#/d' "${BUILDROOT}/etc/lvm/lvm.conf"
|
||||
}
|
||||
|
||||
help() {
|
||||
cat <<HELPEOF
|
||||
This hook enables LVM2 volumes in initramfs.
|
||||
HELPEOF
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=mkinitcpio
|
||||
pkgver=31
|
||||
pkgrel=04
|
||||
pkgdesc='Modular initramfs image creation utility w/o systemd'
|
||||
#_url='https://github.com/archlinux/mkinitcpio'
|
||||
url="https://sources.archlinux.org/other"
|
||||
makedepends=('binutils' 'asciidoc' 'sed')
|
||||
arch=(x86_64)
|
||||
install=mkinitcpio.install
|
||||
depends=('awk' 'mkinitcpio-busybox>=1.35.0' 'kmod' 'util-linux>=2.38' 'libarchive' 'coreutils'
|
||||
'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2022.07-07' 'gzip' 'lz4' 'sed')
|
||||
optdepends=(
|
||||
'bzip2: Use bzip2 compression for the initramfs image'
|
||||
'lzop: Use lzo compression for the initramfs image'
|
||||
'mkinitcpio-nfs-utils: Support for root filesystem on NFS'
|
||||
'zstd: Use zstd compression for the initramfs image'
|
||||
)
|
||||
provides=("mkinitcpio=$pkgver-$pkgrel"
|
||||
'initramfs')
|
||||
backup=('etc/mkinitcpio.conf')
|
||||
source=("$url/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
|
||||
'001-remove-systemd-and-kept-gzip-as-default.patch'
|
||||
# 'add_udev_rule_function.patch'
|
||||
'0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
|
||||
patch -Np1 < $srcdir/001-remove-systemd-and-kept-gzip-as-default.patch
|
||||
# patch -Np1 < $srcdir/add_udev_rule_function.patch
|
||||
patch -Np1 < "$srcdir"/0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C $pkgname-$pkgver check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=(GPL)
|
||||
|
||||
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
|
||||
|
||||
sha256sums=(8f2811250b852ab78375bf90e1a7430daa132e57e128b0f6eaadddd9b27bbc63 # mkinitcpio-31.tar.gz
|
||||
493e04724241e28d9d089bf09748f36b79fd455cb4e62c2e5c8c3d5fb67b6d62 # mkinitcpio-31.tar.gz.sig
|
||||
a7dcad6ec0a3ea32896f2ca218ea4ba1550feaed25d58ed609bfbb7f9fd03619 # 001-remove-systemd-and-kept-gzip-as-default.patch
|
||||
# 0fd3bc75aeb24d3ac272e2f8500fe289ec8606295b25fa299b80ac0834efdbe8 # add_udev_rule_function.patch
|
||||
127816da46476bc37178d1484fb531c97cd269b520f033bcb5841c41d16c34bb) # 0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch
|
||||
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
pkgname=mpfr
|
||||
_pkgver=4.2.0
|
||||
#_patchver=1
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
#pkgver=${_pkgver}.p${_patchver}
|
||||
pkgver=$_pkgver
|
||||
pkgdesc='Multiple-precision floating-point library'
|
||||
|
@ -56,4 +56,5 @@ validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
|
|||
sha256sums=(06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993 # mpfr-4.2.0.tar.xz
|
||||
8151b7ef1b84c6384a08b05e007fa42da877a18528c44206b64d78b9baedcb7a) # mpfr-4.2.0.tar.xz.sig
|
||||
|
||||
# 447337f7b31c07911247b547fa8d4f2b8c82874b57f9d8ad4fa6cd6de40c4dca mpfr-4.2.0-02-x86_64.pkg.tar.xz
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
pkgname=mpfr
|
||||
_pkgver=4.2.0
|
||||
#_patchver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
#pkgver=${_pkgver}.p${_patchver}
|
||||
pkgver=$_pkgver
|
||||
pkgdesc='Multiple-precision floating-point library'
|
||||
|
@ -22,7 +22,6 @@ b2sums=('dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d6
|
|||
'SKIP')
|
||||
validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
|
||||
'A534BE3F83E241D918280AEB5831D11A0D4DB02A') # Vincent Lefevre <vincent@vinc17.net>
|
||||
options=(debug)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-${_pkgver}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=nano
|
||||
pkgver=7.1
|
||||
pkgver=7.2
|
||||
pkgrel=01
|
||||
pkgdesc="Pico editor clone with enhancements"
|
||||
arch=('x86_64')
|
||||
|
@ -45,7 +45,7 @@ license=('GPL')
|
|||
#validpgpkeys=('BFD009061E535052AD0DF2150D28D4D2A0ACE884') # "Benno Schulenberg <bensberg@telfort.nl>"
|
||||
validpgpkeys=('168E6F4297BFD7A79AFD4496514BBE2EB8E1961F') # "Benno Schulenberg <bensberg@telfort.nl>"
|
||||
|
||||
sha256sums=(57ba751e9b7519f0f6ddee505202e387c75dde440c1f7aa1b9310cc381406836 # nano-7.1.tar.xz
|
||||
20f622791c4ff8cbfe63ec79122d28acc1cef1cb088376d3275da5c21310b1d2 # nano-7.1.tar.xz.asc
|
||||
sha256sums=(86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526 # nano-7.2.tar.xz
|
||||
5f91bf5bd4edfe2540cd1927e9f5eef46e655d4bfb2fdb22ceb0ffe67b4bedad # nano-7.2.tar.xz.asc
|
||||
b6c0a10c45766ec0afa5af5e2fca639bc08d2b06f62a4356402253e080d20f9a) # jobo.nanorc
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Judd <judd@archlinux.org>
|
||||
|
||||
pkgname=nano
|
||||
pkgver=7.1
|
||||
pkgver=7.2
|
||||
pkgrel=1
|
||||
pkgdesc="Pico editor clone with enhancements"
|
||||
arch=('x86_64')
|
||||
|
@ -10,9 +10,8 @@ license=('GPL')
|
|||
url="https://www.nano-editor.org"
|
||||
depends=('ncurses' 'file' 'sh')
|
||||
backup=('etc/nanorc')
|
||||
options=('debug')
|
||||
source=(https://www.nano-editor.org/dist/v7/${pkgname}-${pkgver}.tar.xz{,.asc})
|
||||
sha256sums=('57ba751e9b7519f0f6ddee505202e387c75dde440c1f7aa1b9310cc381406836'
|
||||
sha256sums=('86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526'
|
||||
'SKIP')
|
||||
#validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa@asty.org>"
|
||||
#validpgpkeys=('A7F6A64A67DA09EF92782DD79DF4862AF1175C5B') # "Benno Schulenberg <bensberg@justemail.net>"
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
post_install() {
|
||||
if ! getent group log >/dev/null; then
|
||||
groupadd -r -g 19 log
|
||||
fi
|
||||
|
||||
if ! getent passwd s6log >/dev/null; then
|
||||
useradd -u 919 -g 19 -d / -c "S6 log user" -s /usr/bin/nologin s6log
|
||||
fi
|
||||
|
||||
if ! ls -l /var/log | grep 66 1>/dev/null; then
|
||||
mkdir -m 0755 /var/log/66
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
||||
post_install
|
||||
printf "%s\n" "==> WARNING: According to the skarnet recommendations about the s6-svscan and skalibs library changes, you need to reboot after your 66 package upgrade."
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
echo "/var/log/66 66's logging directory will now ne removed and s6log user removed"
|
||||
rm -rf /var/log/66
|
||||
userdel s6log
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
- 66 -> https://git.obarun.org/Obarun/66.git
|
||||
|
||||
- 66-tools -> https://git.obarun.org/Obarun/66-tools.git
|
||||
|
||||
- oblibs -> https://git.obarun.org/Obarun/oblibs.git
|
||||
|
||||
- boot-66serv -> https://git.obarun.org/obmods/boot-66serv.git
|
||||
|
||||
- boot-user-66serv -> https://git.obarun.org/obmods/boot-user-66serv.git
|
||||
|
||||
- console-tracker-66serv -> https://git.obarun.org/obmods/console-tracker-66serv.git
|
||||
|
||||
- display-manager-66serv -> https://git.obarun.org/obmods/display-manager-66serv.git
|
||||
|
||||
- scandir-66serv -> https://git.obarun.org/obmods/scandir-66serv.git
|
||||
|
||||
- obysusers -> https://git.obarun.org/obdev/obsysusers.git
|
||||
|
||||
- modules -> https://git.obarun.org/obdev/modules.git
|
|
@ -0,0 +1,230 @@
|
|||
|
||||
pkgbase=openldap
|
||||
pkgver=2.6.3
|
||||
pkgrel=4
|
||||
url='https://www.openldap.org/'
|
||||
|
||||
pkgname=(
|
||||
'openldap'
|
||||
'libldap'
|
||||
)
|
||||
|
||||
track="OpenLDAP/openldap-release"
|
||||
target="$pkgbase-$pkgver"
|
||||
source=(
|
||||
"https://www.openldap.org/software/download/${track}/${target}.tgz"{,.asc}
|
||||
openldap.tmpfiles
|
||||
openldap.sysusers
|
||||
)
|
||||
|
||||
#----------------------
|
||||
# BUILD CONFIGURATION ]
|
||||
|
||||
makedepends=(
|
||||
'libtool'
|
||||
'libsasl'
|
||||
'e2fsprogs'
|
||||
'util-linux'
|
||||
'chrpath'
|
||||
'unixodbc'
|
||||
'libsodium'
|
||||
)
|
||||
|
||||
options=(
|
||||
'!makeflags'
|
||||
'emptydirs'
|
||||
'!lto'
|
||||
)
|
||||
|
||||
# extra modules found in contrib/slapd-modules
|
||||
_extra_modules=(
|
||||
'nssov'
|
||||
'autogroup'
|
||||
'lastbind'
|
||||
'passwd/sha2'
|
||||
)
|
||||
|
||||
#----------------
|
||||
# BUILD PREPARE ]
|
||||
|
||||
prepare() {
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
## change perms from 0644 to 0755
|
||||
sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap}/Makefile.in
|
||||
|
||||
## change rundir to /run/openldap
|
||||
sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
|
||||
sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
|
||||
sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
|
||||
}
|
||||
|
||||
#----------------
|
||||
# BUILD CONTROL ]
|
||||
|
||||
_flags=(
|
||||
--prefix=/usr
|
||||
--libexecdir=/usr/lib
|
||||
--sysconfdir=/etc
|
||||
--localstatedir=/var/lib/openldap
|
||||
--sbindir=/usr/bin
|
||||
--enable-dynamic
|
||||
--enable-syslog
|
||||
--enable-ipv6
|
||||
--enable-local
|
||||
--enable-crypt
|
||||
--enable-spasswd
|
||||
--enable-modules
|
||||
--enable-backends
|
||||
--enable-argon2
|
||||
--enable-overlays=mod
|
||||
--with-argon2=libsodium
|
||||
--with-cyrus-sasl
|
||||
--with-threads
|
||||
--disable-wt
|
||||
)
|
||||
|
||||
#----------------------
|
||||
# BUILD CONFIGURATION ]
|
||||
|
||||
build() {
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
autoconf
|
||||
./configure "${_flags[@]}"
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
|
||||
## build extra modules
|
||||
for module in "${_extra_modules[@]}"; do
|
||||
make -C "contrib/slapd-modules/$module" \
|
||||
OPT="$CFLAGS $CPPFLAGS" \
|
||||
prefix=/usr \
|
||||
libexecdir=/usr/lib \
|
||||
sysconfdir=/etc/openldap
|
||||
done
|
||||
}
|
||||
|
||||
#---------
|
||||
# CHECK ]
|
||||
|
||||
check() {
|
||||
cd $pkgbase-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
#----------
|
||||
# PACKAGE ]
|
||||
|
||||
package_libldap() {
|
||||
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries"
|
||||
|
||||
depends=(
|
||||
'libsasl'
|
||||
'e2fsprogs'
|
||||
)
|
||||
backup=(
|
||||
'etc/openldap/ldap.conf'
|
||||
)
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
for dir in include libraries doc/man/man3 ; do
|
||||
pushd ${dir}
|
||||
make DESTDIR="$pkgdir" install
|
||||
popd
|
||||
done
|
||||
|
||||
install -Dm644 -t "$pkgdir"/usr/share/man/man5 doc/man/man5/ldap.conf.5
|
||||
|
||||
## get rid of duplicate default conf files
|
||||
rm "$pkgdir"/etc/openldap/*.default
|
||||
|
||||
## shared library versioning
|
||||
ln -sf liblber.so "$pkgdir"/usr/lib/liblber.so.2
|
||||
ln -sf libldap.so "$pkgdir"/usr/lib/libldap.so.2
|
||||
|
||||
## license
|
||||
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
|
||||
}
|
||||
|
||||
package_openldap() {
|
||||
pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server"
|
||||
|
||||
depends=(
|
||||
"libldap>=$pkgver"
|
||||
'libtool'
|
||||
'unixodbc'
|
||||
'perl'
|
||||
)
|
||||
optdepends=(
|
||||
'libsodium: for argon2 password module'
|
||||
)
|
||||
backup=(
|
||||
'etc/openldap/slapd.conf'
|
||||
'etc/openldap/slapd.ldif'
|
||||
)
|
||||
|
||||
cd $pkgbase-$pkgver
|
||||
|
||||
for dir in clients servers doc/man/man{1,5,8}; do
|
||||
pushd ${dir}
|
||||
make DESTDIR="$pkgdir" install
|
||||
popd
|
||||
done
|
||||
|
||||
## install extra modules
|
||||
for module in "${_extra_modules[@]}"; do
|
||||
make -C "contrib/slapd-modules/$module" \
|
||||
prefix=/usr \
|
||||
libexecdir=/usr/lib \
|
||||
sysconfdir=/etc/openldap \
|
||||
DESTDIR="$pkgdir" install
|
||||
|
||||
## passwd/sha2 has no man page, so skip it
|
||||
if [ "$module" != "passwd/sha2" ]; then
|
||||
install -m644 -t "$pkgdir/usr/share/man/man5" \
|
||||
"contrib/slapd-modules/$module/slapo-$module.5"
|
||||
fi
|
||||
done
|
||||
|
||||
## should be in libldap package
|
||||
rm "$pkgdir"/usr/share/man/man5/ldap.conf.5
|
||||
rm -r "$pkgdir"/run
|
||||
|
||||
## get rid of duplicate default conf files
|
||||
rm "$pkgdir"/etc/openldap/*.default
|
||||
|
||||
ln -s ../lib/slapd "$pkgdir"/usr/bin/slapd
|
||||
|
||||
chown root:439 "$pkgdir"/etc/openldap/slapd.{conf,ldif} #,DB_CONFIG.example}
|
||||
chmod 640 "$pkgdir"/etc/openldap/slapd.{conf,ldif} #,DB_CONFIG.example}
|
||||
|
||||
install -dm700 -o 439 -g 439 "$pkgdir"/var/lib/openldap
|
||||
chown -R 439:439 "$pkgdir"/var/lib/openldap
|
||||
|
||||
install -dm700 -o 439 -g 439 "$pkgdir"/etc/openldap/slapd.d
|
||||
install -Dm644 "$srcdir"/openldap.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/openldap.conf
|
||||
install -Dm644 "$srcdir"/openldap.sysusers "$pkgdir"/usr/lib/sysusers.d/openldap.conf
|
||||
|
||||
## license
|
||||
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
|
||||
}
|
||||
|
||||
#-------------------------
|
||||
# LICENCE AND VALIDATION ]
|
||||
|
||||
arch=(x86_64)
|
||||
license=(custom)
|
||||
|
||||
validpgpkeys=(
|
||||
'3CE269B5398BC8B785645E987F67D5FD1CE1CBCE' # OpenLDAP Project <project@openldap.org>
|
||||
# https://www.openldap.org/software/download/OpenLDAP/gpg-pubkey.txt
|
||||
)
|
||||
|
||||
sha256sums=(d2a2a1d71df3d77396b1c16ad7502e674df446e06072b0e5a4e941c3d06c0d46 # openldap-2.6.3.tgz
|
||||
8fbe13b688de3da469dc160947a2425fbe3c2423c9f556c6f1dad73962d916d9 # openldap-2.6.3.tgz.asc
|
||||
0be46138e53ff2fa6d4b4c06bfbdd2100426e0bd2ed29bf3419ade6b5974e9a0 # openldap.tmpfiles
|
||||
c6e3fa72138edfebb4ecb17f677e217c885ff9eef805b5c8ad1c09169bb0ff8e) # openldap.sysusers
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
testing/libnghttp2 1.50.0-01 1.51.0-1 -0.02 MiB
|
||||
testing/libpipeline 1.5.6-01 1.5.7-1 -0.02 MiB
|
||||
testing/libxcrypt 4.4.30-01 4.4.31-1 -0.02 MiB
|
||||
testing/nano 6.4-01 7.0-1 -0.01 MiB 0.58 MiB
|
||||
testing/xfsprogs 5.19.0-02 6.0.0-1 -1.99 MiB
|
||||
testing/xz 5.2.7-01 5.2.8-1 0.00 MiB
|
|
@ -0,0 +1,154 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=shadow
|
||||
pkgver=4.11.1
|
||||
pkgrel=04
|
||||
pkgdesc="Password and account management tool suite with support for shadow files and PAM w/o systemd"
|
||||
arch=('x86_64')
|
||||
url='https://github.com/shadow-maint/shadow'
|
||||
depends=('pam' 'acl' 'libacl.so' 'audit' 'libaudit.so' 'libcap-ng' 'libcap-ng.so'
|
||||
'libxcrypt' 'libcrypt.so')
|
||||
#makedepends=(automake autoconf gettext)
|
||||
makedepends=(docbook-xsl git itstool libcap libxslt)
|
||||
backup=(
|
||||
etc/default/useradd
|
||||
etc/login.defs
|
||||
etc/pam.d/{chage,{,ch,chg}passwd,group{add,del,mems,mod},newusers,shadow,user{add,del,mod}}
|
||||
)
|
||||
#options=('!emptydirs' debug) ## uncomment this line to have the debug pkg produced
|
||||
options=('!emptydirs')
|
||||
source=("https://github.com/shadow-maint/shadow/releases/download/v$pkgver/shadow-$pkgver.tar.xz"{,.asc}
|
||||
0001-Disable-replaced-tools-and-man-pages.patch
|
||||
0002-Adapt-login.defs-for-PAM-and-util-linux.patch
|
||||
0003-Add-Arch-Linux-defaults-for-login.defs.patch
|
||||
0004-Add-Arch-Linux-defaults-for-etc-pam.d.patch
|
||||
chgpasswd
|
||||
chpasswd
|
||||
defaults.pam
|
||||
login.defs
|
||||
newusers
|
||||
passwd
|
||||
useradd.defaults)
|
||||
shadow-4.11.1-login.defs.patch)
|
||||
install=shadow.install
|
||||
|
||||
prepare() {
|
||||
|
||||
local filename
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
for filename in "${source[@]}"; do
|
||||
if [[ "$filename" =~ \.patch$ ]]; then
|
||||
printf "Applying patch %s\n" "${filename##*/}"
|
||||
patch -Np1 -i "$srcdir/${filename##*/}"
|
||||
fi
|
||||
done
|
||||
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
local configure_options=(
|
||||
--prefix=/usr
|
||||
--bindir=/usr/bin
|
||||
--sbindir=/usr/bin
|
||||
--libdir=/usr/lib
|
||||
--mandir=/usr/share/man
|
||||
--sysconfdir=/etc
|
||||
--disable-account-tools-setuid
|
||||
--enable-man
|
||||
--with-fcaps
|
||||
--with-libpam
|
||||
--with-group-name-max-length=32
|
||||
--with-audit
|
||||
--with-bcrypt
|
||||
--with-yescrypt
|
||||
--without-selinux
|
||||
--without-systemd
|
||||
--without-su
|
||||
)
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
./configure "${configure_options[@]}"
|
||||
|
||||
# prevent excessive overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
make DESTDIR="$pkgdir" -C man install
|
||||
|
||||
# license
|
||||
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
|
||||
# custom useradd(8) defaults (not provided by upstream)
|
||||
install -vDm 600 ../useradd.defaults "$pkgdir/etc/default/useradd"
|
||||
|
||||
# login.defs
|
||||
# install -Dm644 "$srcdir/login.defs" "$pkgdir/etc/login.defs"
|
||||
|
||||
# PAM config - custom
|
||||
rm "$pkgdir/etc/pam.d"/*
|
||||
install -vDm 644 ../{passwd,chgpasswd,chpasswd,newusers} -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# PAM config - from tarball
|
||||
install -vDm 644 etc/pam.d/groupmems -t "$pkgdir/etc/pam.d/"
|
||||
|
||||
# we use the 'useradd' PAM file for other similar utilities
|
||||
for file in chage group{add,del,mod} shadow user{add,del,mod}; do
|
||||
install -vDm 644 "../defaults.pam" "$pkgdir/etc/pam.d/$file"
|
||||
done
|
||||
|
||||
# Remove evil/broken tools
|
||||
rm -v "$pkgdir"/usr/sbin/logoutd
|
||||
|
||||
# Remove utilities provided by util-linux
|
||||
rm -v "$pkgdir"/usr/{bin/{login,chsh,chfn,sg,nologin},sbin/{vipw,vigr}}
|
||||
|
||||
# but we keep newgrp, as sg is really an alias to it
|
||||
mv -v "$pkgdir"/usr/bin/{newgrp,sg}
|
||||
|
||||
# ...and their many man pages
|
||||
find "$pkgdir"/usr/share/man \
|
||||
'(' -name 'chsh.1' -o \
|
||||
-name 'chfn.1' -o \
|
||||
-name 'su.1' -o \
|
||||
-name 'logoutd.8' -o \
|
||||
-name 'login.1' -o \
|
||||
-name 'nologin.8' -o \
|
||||
-name 'vipw.8' -o \
|
||||
-name 'vigr.8' -o \
|
||||
-name 'newgrp.1' ')' \
|
||||
-delete
|
||||
|
||||
# move everything else to /usr/bin, because this isn't handled by ./configure
|
||||
mv -v "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin
|
||||
rmdir -v "$pkgdir/usr/sbin"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('BSD')
|
||||
|
||||
validpgpkeys=(66D0387DB85D320F8408166DB175CFA98F192AF2) # Serge Hallyn <sergeh@kernel.org>
|
||||
|
||||
sha256sums=(41f093ce58b2ae5f389a1c5553e0c18bc73e6fe27f66273891991198a7707c95 # shadow-4.11.1.tar.xz
|
||||
58c563dcb21cb31ea9239f370108366c715fda92abed24b5990bb6dc80add4a2 # shadow-4.11.1.tar.xz.asc
|
||||
# b085972a9378ecbe6cafee1a2e9baba1082531c77376c0aa14ad6e5c7392814c # LICENSE
|
||||
a955ecbd82a801102fad756bb98dca778c1eba14a3367c601d6237b75642c36b # chgpasswd
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # chpasswd
|
||||
fc6807842f92e9d3f792d6b64a0d5aad87995a279153ab228b1b2a64d9f32f20 # defaults.pam
|
||||
# 63bb1d7a51a1ddbac7809ce3c6f07b995b4751dbb3d31e216cf91bed9a2aef53 # login.defs
|
||||
7409cd2ab04592859d95986467123e356ada4e11413b314ad84e32dc24ca8c92 # newusers
|
||||
75428a0f016cccbd9091c012b4d6b778d6ef8d97b607849b5ba1aca0314ed75b # passwd
|
||||
c7ae1086e00248915cf67d361482510ec00e728d21714d4e2b56b90cc9adac91 # useradd.defaults
|
||||
241155bb19faa3ec503586cbb302496d11765d843e56bb0ab50b5fa0c2eebe3f) # shadow-4.11.1-login.defs.patch
|
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=sudo
|
||||
_sudover=1.9.12p1
|
||||
_sudover=1.9.12p2
|
||||
pkgrel=01
|
||||
pkgver=${_sudover/p/.p}
|
||||
pkgdesc="Give certain users the ability to run some commands as root w/o systemd"
|
||||
|
@ -83,8 +83,8 @@ license=('custom')
|
|||
|
||||
validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB') # "Todd C. Miller <Todd.Miller@sudo.ws>"
|
||||
|
||||
sha256sums=(475a18a8eb3da8b2917ceab063a6baf51ea09128c3c47e3e0e33ab7497bab7d8 # sudo-1.9.12p1.tar.gz
|
||||
cfb77122745c103169f52c4c212449d64d67acff5458dbb81cc159c283f615b7 # sudo-1.9.12p1.tar.gz.sig
|
||||
sha256sums=(b9a0b1ae0f1ddd9be7f3eafe70be05ee81f572f6f536632c44cd4101bb2a8539 # sudo-1.9.12p2.tar.gz
|
||||
334665e5483a135eb30a195d29512693b4e29f44ca05a9c30090a4141bc5b67e # sudo-1.9.12p2.tar.gz.sig
|
||||
d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2) # sudo.pam
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
pkgname=sudo
|
||||
_sudover=1.9.12p1
|
||||
_sudover=1.9.12p2
|
||||
pkgrel=1
|
||||
pkgver=${_sudover/p/.p}
|
||||
pkgdesc="Give certain users the ability to run some commands as root"
|
||||
|
@ -20,7 +20,7 @@ install=$pkgname.install
|
|||
source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
|
||||
sudo_logsrvd.service
|
||||
sudo.pam)
|
||||
sha256sums=('475a18a8eb3da8b2917ceab063a6baf51ea09128c3c47e3e0e33ab7497bab7d8'
|
||||
sha256sums=('b9a0b1ae0f1ddd9be7f3eafe70be05ee81f572f6f536632c44cd4101bb2a8539'
|
||||
'SKIP'
|
||||
'8b91733b73171827c360a3e01f4692772b78e62ceca0cf0fd4b770aba35081a1'
|
||||
'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
|
||||
|
|
|
@ -0,0 +1,637 @@
|
|||
# Example wpa_supplicant build time configuration
|
||||
#
|
||||
# This file lists the configuration options that are used when building the
|
||||
# wpa_supplicant binary. All lines starting with # are ignored. Configuration
|
||||
# option lines must be commented out complete, if they are not to be included,
|
||||
# i.e., just setting VARIABLE=n is not disabling that variable.
|
||||
#
|
||||
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
|
||||
# be modified from here. In most cases, these lines should use += in order not
|
||||
# to override previous values of the variables.
|
||||
|
||||
|
||||
# Uncomment following two lines and fix the paths if you have installed OpenSSL
|
||||
# or GnuTLS in non-default location
|
||||
#CFLAGS += -I/usr/local/openssl/include
|
||||
#LIBS += -L/usr/local/openssl/lib
|
||||
|
||||
# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
|
||||
# the kerberos files are not in the default include path. Following line can be
|
||||
# used to fix build issues on such systems (krb5.h not found).
|
||||
#CFLAGS += -I/usr/include/kerberos
|
||||
|
||||
# Driver interface for generic Linux wireless extensions
|
||||
# Note: WEXT is deprecated in the current Linux kernel version and no new
|
||||
# functionality is added to it. nl80211-based interface is the new
|
||||
# replacement for WEXT and its use allows wpa_supplicant to properly control
|
||||
# the driver to improve existing functionality like roaming and to support new
|
||||
# functionality.
|
||||
CONFIG_DRIVER_WEXT=y
|
||||
|
||||
# Driver interface for Linux drivers using the nl80211 kernel interface
|
||||
CONFIG_DRIVER_NL80211=y
|
||||
|
||||
# QCA vendor extensions to nl80211
|
||||
CONFIG_DRIVER_NL80211_QCA=y
|
||||
|
||||
# driver_nl80211.c requires libnl. If you are compiling it yourself
|
||||
# you may need to point hostapd to your version of libnl.
|
||||
#
|
||||
#CFLAGS += -I$<path to libnl include files>
|
||||
#LIBS += -L$<path to libnl library files>
|
||||
|
||||
# Use libnl v2.0 (or 3.0) libraries.
|
||||
#CONFIG_LIBNL20=y
|
||||
|
||||
# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
|
||||
CONFIG_LIBNL32=y
|
||||
|
||||
|
||||
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
|
||||
#CONFIG_DRIVER_BSD=y
|
||||
#CFLAGS += -I/usr/local/include
|
||||
#LIBS += -L/usr/local/lib
|
||||
#LIBS_p += -L/usr/local/lib
|
||||
#LIBS_c += -L/usr/local/lib
|
||||
|
||||
# Driver interface for Windows NDIS
|
||||
#CONFIG_DRIVER_NDIS=y
|
||||
#CFLAGS += -I/usr/include/w32api/ddk
|
||||
#LIBS += -L/usr/local/lib
|
||||
# For native build using mingw
|
||||
#CONFIG_NATIVE_WINDOWS=y
|
||||
# Additional directories for cross-compilation on Linux host for mingw target
|
||||
#CFLAGS += -I/opt/mingw/mingw32/include/ddk
|
||||
#LIBS += -L/opt/mingw/mingw32/lib
|
||||
#CC=mingw32-gcc
|
||||
# By default, driver_ndis uses WinPcap for low-level operations. This can be
|
||||
# replaced with the following option which replaces WinPcap calls with NDISUIO.
|
||||
# However, this requires that WZC is disabled (net stop wzcsvc) before starting
|
||||
# wpa_supplicant.
|
||||
# CONFIG_USE_NDISUIO=y
|
||||
|
||||
# Driver interface for wired Ethernet drivers
|
||||
CONFIG_DRIVER_WIRED=y
|
||||
|
||||
# Driver interface for MACsec capable Qualcomm Atheros drivers
|
||||
#CONFIG_DRIVER_MACSEC_QCA=y
|
||||
|
||||
# Driver interface for Linux MACsec drivers
|
||||
CONFIG_DRIVER_MACSEC_LINUX=y
|
||||
|
||||
# Driver interface for the Broadcom RoboSwitch family
|
||||
#CONFIG_DRIVER_ROBOSWITCH=y
|
||||
|
||||
# Driver interface for no driver (e.g., WPS ER only)
|
||||
CONFIG_DRIVER_NONE=y
|
||||
|
||||
# Solaris libraries
|
||||
#LIBS += -lsocket -ldlpi -lnsl
|
||||
#LIBS_c += -lsocket
|
||||
|
||||
# Enable IEEE 802.1X Supplicant (automatically included if any EAP method or
|
||||
# MACsec is included)
|
||||
CONFIG_IEEE8021X_EAPOL=y
|
||||
|
||||
# EAP-MD5
|
||||
CONFIG_EAP_MD5=y
|
||||
|
||||
# EAP-MSCHAPv2
|
||||
CONFIG_EAP_MSCHAPV2=y
|
||||
|
||||
# EAP-TLS
|
||||
CONFIG_EAP_TLS=y
|
||||
|
||||
# EAL-PEAP
|
||||
CONFIG_EAP_PEAP=y
|
||||
|
||||
# EAP-TTLS
|
||||
CONFIG_EAP_TTLS=y
|
||||
|
||||
# EAP-FAST
|
||||
CONFIG_EAP_FAST=y
|
||||
|
||||
# EAP-TEAP
|
||||
# Note: The current EAP-TEAP implementation is experimental and should not be
|
||||
# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number
|
||||
# of conflicting statements and missing details and the implementation has
|
||||
# vendor specific workarounds for those and as such, may not interoperate with
|
||||
# any other implementation. This should not be used for anything else than
|
||||
# experimentation and interoperability testing until those issues has been
|
||||
# resolved.
|
||||
#CONFIG_EAP_TEAP=y
|
||||
|
||||
# EAP-GTC
|
||||
CONFIG_EAP_GTC=y
|
||||
|
||||
# EAP-OTP
|
||||
CONFIG_EAP_OTP=y
|
||||
|
||||
# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
|
||||
CONFIG_EAP_SIM=y
|
||||
|
||||
# Enable SIM simulator (Milenage) for EAP-SIM
|
||||
#CONFIG_SIM_SIMULATOR=y
|
||||
|
||||
# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
|
||||
CONFIG_EAP_PSK=y
|
||||
|
||||
# EAP-pwd (secure authentication using only a password)
|
||||
CONFIG_EAP_PWD=y
|
||||
|
||||
# EAP-PAX
|
||||
CONFIG_EAP_PAX=y
|
||||
|
||||
# LEAP
|
||||
CONFIG_EAP_LEAP=y
|
||||
|
||||
# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
|
||||
CONFIG_EAP_AKA=y
|
||||
|
||||
# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
|
||||
# This requires CONFIG_EAP_AKA to be enabled, too.
|
||||
CONFIG_EAP_AKA_PRIME=y
|
||||
|
||||
# Enable USIM simulator (Milenage) for EAP-AKA
|
||||
#CONFIG_USIM_SIMULATOR=y
|
||||
|
||||
# EAP-SAKE
|
||||
CONFIG_EAP_SAKE=y
|
||||
|
||||
# EAP-GPSK
|
||||
CONFIG_EAP_GPSK=y
|
||||
# Include support for optional SHA256 cipher suite in EAP-GPSK
|
||||
CONFIG_EAP_GPSK_SHA256=y
|
||||
|
||||
# EAP-TNC and related Trusted Network Connect support (experimental)
|
||||
CONFIG_EAP_TNC=y
|
||||
|
||||
# Wi-Fi Protected Setup (WPS)
|
||||
CONFIG_WPS=y
|
||||
# Enable WPS external registrar functionality
|
||||
CONFIG_WPS_ER=y
|
||||
# Disable credentials for an open network by default when acting as a WPS
|
||||
# registrar.
|
||||
CONFIG_WPS_REG_DISABLE_OPEN=y
|
||||
# Enable WPS support with NFC config method
|
||||
CONFIG_WPS_NFC=y
|
||||
|
||||
# EAP-IKEv2
|
||||
CONFIG_EAP_IKEV2=y
|
||||
|
||||
# EAP-EKE
|
||||
CONFIG_EAP_EKE=y
|
||||
|
||||
# MACsec
|
||||
CONFIG_MACSEC=y
|
||||
|
||||
# PKCS#12 (PFX) support (used to read private key and certificate file from
|
||||
# a file that usually has extension .p12 or .pfx)
|
||||
CONFIG_PKCS12=y
|
||||
|
||||
# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
|
||||
# engine.
|
||||
CONFIG_SMARTCARD=y
|
||||
|
||||
# PC/SC interface for smartcards (USIM, GSM SIM)
|
||||
# Enable this if EAP-SIM or EAP-AKA is included
|
||||
#CONFIG_PCSC=y
|
||||
|
||||
# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
|
||||
CONFIG_HT_OVERRIDES=y
|
||||
|
||||
# Support VHT overrides (disable VHT, mask MCS rates, etc.)
|
||||
CONFIG_VHT_OVERRIDES=y
|
||||
|
||||
# Development testing
|
||||
#CONFIG_EAPOL_TEST=y
|
||||
|
||||
# Select control interface backend for external programs, e.g, wpa_cli:
|
||||
# unix = UNIX domain sockets (default for Linux/*BSD)
|
||||
# udp = UDP sockets using localhost (127.0.0.1)
|
||||
# udp6 = UDP IPv6 sockets using localhost (::1)
|
||||
# named_pipe = Windows Named Pipe (default for Windows)
|
||||
# udp-remote = UDP sockets with remote access (only for tests systems/purpose)
|
||||
# udp6-remote = UDP IPv6 sockets with remote access (only for tests purpose)
|
||||
# y = use default (backwards compatibility)
|
||||
# If this option is commented out, control interface is not included in the
|
||||
# build.
|
||||
CONFIG_CTRL_IFACE=y
|
||||
|
||||
# Include support for GNU Readline and History Libraries in wpa_cli.
|
||||
# When building a wpa_cli binary for distribution, please note that these
|
||||
# libraries are licensed under GPL and as such, BSD license may not apply for
|
||||
# the resulting binary.
|
||||
CONFIG_READLINE=y
|
||||
|
||||
# Include internal line edit mode in wpa_cli. This can be used as a replacement
|
||||
# for GNU Readline to provide limited command line editing and history support.
|
||||
#CONFIG_WPA_CLI_EDIT=y
|
||||
|
||||
# Remove debugging code that is printing out debug message to stdout.
|
||||
# This can be used to reduce the size of the wpa_supplicant considerably
|
||||
# if debugging code is not needed. The size reduction can be around 35%
|
||||
# (e.g., 90 kB).
|
||||
#CONFIG_NO_STDOUT_DEBUG=y
|
||||
|
||||
# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
|
||||
# 35-50 kB in code size.
|
||||
#CONFIG_NO_WPA=y
|
||||
|
||||
# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
|
||||
# This option can be used to reduce code size by removing support for
|
||||
# converting ASCII passphrases into PSK. If this functionality is removed, the
|
||||
# PSK can only be configured as the 64-octet hexstring (e.g., from
|
||||
# wpa_passphrase). This saves about 0.5 kB in code size.
|
||||
#CONFIG_NO_WPA_PASSPHRASE=y
|
||||
|
||||
# Simultaneous Authentication of Equals (SAE), WPA3-Personal
|
||||
CONFIG_SAE=y
|
||||
|
||||
# Disable scan result processing (ap_scan=1) to save code size by about 1 kB.
|
||||
# This can be used if ap_scan=1 mode is never enabled.
|
||||
#CONFIG_NO_SCAN_PROCESSING=y
|
||||
|
||||
# Select configuration backend:
|
||||
# file = text file (e.g., wpa_supplicant.conf; note: the configuration file
|
||||
# path is given on command line, not here; this option is just used to
|
||||
# select the backend that allows configuration files to be used)
|
||||
# winreg = Windows registry (see win_example.reg for an example)
|
||||
CONFIG_BACKEND=file
|
||||
|
||||
# Remove configuration write functionality (i.e., to allow the configuration
|
||||
# file to be updated based on runtime configuration changes). The runtime
|
||||
# configuration can still be changed, the changes are just not going to be
|
||||
# persistent over restarts. This option can be used to reduce code size by
|
||||
# about 3.5 kB.
|
||||
#CONFIG_NO_CONFIG_WRITE=y
|
||||
|
||||
# Remove support for configuration blobs to reduce code size by about 1.5 kB.
|
||||
#CONFIG_NO_CONFIG_BLOBS=y
|
||||
|
||||
# Select program entry point implementation:
|
||||
# main = UNIX/POSIX like main() function (default)
|
||||
# main_winsvc = Windows service (read parameters from registry)
|
||||
# main_none = Very basic example (development use only)
|
||||
CONFIG_MAIN=main
|
||||
|
||||
# Select wrapper for operating system and C library specific functions
|
||||
# unix = UNIX/POSIX like systems (default)
|
||||
# win32 = Windows systems
|
||||
# none = Empty template
|
||||
CONFIG_OS=unix
|
||||
|
||||
# Select event loop implementation
|
||||
# eloop = select() loop (default)
|
||||
# eloop_win = Windows events and WaitForMultipleObject() loop
|
||||
CONFIG_ELOOP=eloop
|
||||
|
||||
# Should we use poll instead of select? Select is used by default.
|
||||
#CONFIG_ELOOP_POLL=y
|
||||
|
||||
# Should we use epoll instead of select? Select is used by default.
|
||||
#CONFIG_ELOOP_EPOLL=y
|
||||
|
||||
# Should we use kqueue instead of select? Select is used by default.
|
||||
#CONFIG_ELOOP_KQUEUE=y
|
||||
|
||||
# Select layer 2 packet implementation
|
||||
# linux = Linux packet socket (default)
|
||||
# pcap = libpcap/libdnet/WinPcap
|
||||
# freebsd = FreeBSD libpcap
|
||||
# winpcap = WinPcap with receive thread
|
||||
# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
|
||||
# none = Empty template
|
||||
CONFIG_L2_PACKET=linux
|
||||
|
||||
# Disable Linux packet socket workaround applicable for station interface
|
||||
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
|
||||
# is known to not have the regression issue in packet socket behavior with
|
||||
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
|
||||
#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
|
||||
|
||||
# Support Operating Channel Validation
|
||||
#CONFIG_OCV=y
|
||||
|
||||
# Select TLS implementation
|
||||
# openssl = OpenSSL (default)
|
||||
# gnutls = GnuTLS
|
||||
# internal = Internal TLSv1 implementation (experimental)
|
||||
# linux = Linux kernel AF_ALG and internal TLSv1 implementation (experimental)
|
||||
# none = Empty template
|
||||
CONFIG_TLS=openssl
|
||||
|
||||
# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
|
||||
# can be enabled to get a stronger construction of messages when block ciphers
|
||||
# are used. It should be noted that some existing TLS v1.0 -based
|
||||
# implementation may not be compatible with TLS v1.1 message (ClientHello is
|
||||
# sent prior to negotiating which version will be used)
|
||||
CONFIG_TLSV11=y
|
||||
|
||||
# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
|
||||
# can be enabled to enable use of stronger crypto algorithms. It should be
|
||||
# noted that some existing TLS v1.0 -based implementation may not be compatible
|
||||
# with TLS v1.2 message (ClientHello is sent prior to negotiating which version
|
||||
# will be used)
|
||||
CONFIG_TLSV12=y
|
||||
|
||||
# Select which ciphers to use by default with OpenSSL if the user does not
|
||||
# specify them.
|
||||
#CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW"
|
||||
CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT@SECLEVEL=1"
|
||||
|
||||
# If CONFIG_TLS=internal is used, additional library and include paths are
|
||||
# needed for LibTomMath. Alternatively, an integrated, minimal version of
|
||||
# LibTomMath can be used. See beginning of libtommath.c for details on benefits
|
||||
# and drawbacks of this option.
|
||||
#CONFIG_INTERNAL_LIBTOMMATH=y
|
||||
#ifndef CONFIG_INTERNAL_LIBTOMMATH
|
||||
#LTM_PATH=/usr/src/libtommath-0.39
|
||||
#CFLAGS += -I$(LTM_PATH)
|
||||
#LIBS += -L$(LTM_PATH)
|
||||
#LIBS_p += -L$(LTM_PATH)
|
||||
#endif
|
||||
# At the cost of about 4 kB of additional binary size, the internal LibTomMath
|
||||
# can be configured to include faster routines for exptmod, sqr, and div to
|
||||
# speed up DH and RSA calculation considerably
|
||||
#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
|
||||
|
||||
# Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
|
||||
# This is only for Windows builds and requires WMI-related header files and
|
||||
# WbemUuid.Lib from Platform SDK even when building with MinGW.
|
||||
#CONFIG_NDIS_EVENTS_INTEGRATED=y
|
||||
#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
|
||||
|
||||
# Add support for new DBus control interface
|
||||
# (fi.w1.wpa_supplicant1)
|
||||
CONFIG_CTRL_IFACE_DBUS_NEW=y
|
||||
|
||||
# Add introspection support for new DBus control interface
|
||||
CONFIG_CTRL_IFACE_DBUS_INTRO=y
|
||||
|
||||
# Add support for loading EAP methods dynamically as shared libraries.
|
||||
# When this option is enabled, each EAP method can be either included
|
||||
# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
|
||||
# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
|
||||
# be loaded in the beginning of the wpa_supplicant configuration file
|
||||
# (see load_dynamic_eap parameter in the example file) before being used in
|
||||
# the network blocks.
|
||||
#
|
||||
# Note that some shared parts of EAP methods are included in the main program
|
||||
# and in order to be able to use dynamic EAP methods using these parts, the
|
||||
# main program must have been build with the EAP method enabled (=y or =dyn).
|
||||
# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
|
||||
# unless at least one of them was included in the main build to force inclusion
|
||||
# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
|
||||
# in the main build to be able to load these methods dynamically.
|
||||
#
|
||||
# Please also note that using dynamic libraries will increase the total binary
|
||||
# size. Thus, it may not be the best option for targets that have limited
|
||||
# amount of memory/flash.
|
||||
#CONFIG_DYNAMIC_EAP_METHODS=y
|
||||
|
||||
# IEEE Std 802.11r-2008 (Fast BSS Transition) for station mode
|
||||
CONFIG_IEEE80211R=y
|
||||
|
||||
# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
|
||||
CONFIG_DEBUG_FILE=y
|
||||
|
||||
# Send debug messages to syslog instead of stdout
|
||||
CONFIG_DEBUG_SYSLOG=y
|
||||
# Set syslog facility for debug messages
|
||||
CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
|
||||
|
||||
# Add support for sending all debug messages (regardless of debug verbosity)
|
||||
# to the Linux kernel tracing facility. This helps debug the entire stack by
|
||||
# making it easy to record everything happening from the driver up into the
|
||||
# same file, e.g., using trace-cmd.
|
||||
CONFIG_DEBUG_LINUX_TRACING=y
|
||||
|
||||
# Add support for writing debug log to Android logcat instead of standard
|
||||
# output
|
||||
#CONFIG_ANDROID_LOG=y
|
||||
|
||||
# Enable privilege separation (see README 'Privilege separation' for details)
|
||||
#CONFIG_PRIVSEP=y
|
||||
|
||||
# Enable mitigation against certain attacks against TKIP by delaying Michael
|
||||
# MIC error reports by a random amount of time between 0 and 60 seconds
|
||||
CONFIG_DELAYED_MIC_ERROR_REPORT=y
|
||||
|
||||
# Enable tracing code for developer debugging
|
||||
# This tracks use of memory allocations and other registrations and reports
|
||||
# incorrect use with a backtrace of call (or allocation) location.
|
||||
#CONFIG_WPA_TRACE=y
|
||||
# For BSD, uncomment these.
|
||||
#LIBS += -lexecinfo
|
||||
#LIBS_p += -lexecinfo
|
||||
#LIBS_c += -lexecinfo
|
||||
|
||||
# Use libbfd to get more details for developer debugging
|
||||
# This enables use of libbfd to get more detailed symbols for the backtraces
|
||||
# generated by CONFIG_WPA_TRACE=y.
|
||||
#CONFIG_WPA_TRACE_BFD=y
|
||||
# For BSD, uncomment these.
|
||||
#LIBS += -lbfd -liberty -lz
|
||||
#LIBS_p += -lbfd -liberty -lz
|
||||
#LIBS_c += -lbfd -liberty -lz
|
||||
|
||||
# wpa_supplicant depends on strong random number generation being available
|
||||
# from the operating system. os_get_random() function is used to fetch random
|
||||
# data when needed, e.g., for key generation. On Linux and BSD systems, this
|
||||
# works by reading /dev/urandom. It should be noted that the OS entropy pool
|
||||
# needs to be properly initialized before wpa_supplicant is started. This is
|
||||
# important especially on embedded devices that do not have a hardware random
|
||||
# number generator and may by default start up with minimal entropy available
|
||||
# for random number generation.
|
||||
#
|
||||
# As a safety net, wpa_supplicant is by default trying to internally collect
|
||||
# additional entropy for generating random data to mix in with the data fetched
|
||||
# from the OS. This by itself is not considered to be very strong, but it may
|
||||
# help in cases where the system pool is not initialized properly. However, it
|
||||
# is very strongly recommended that the system pool is initialized with enough
|
||||
# entropy either by using hardware assisted random number generator or by
|
||||
# storing state over device reboots.
|
||||
#
|
||||
# wpa_supplicant can be configured to maintain its own entropy store over
|
||||
# restarts to enhance random number generation. This is not perfect, but it is
|
||||
# much more secure than using the same sequence of random numbers after every
|
||||
# reboot. This can be enabled with -e<entropy file> command line option. The
|
||||
# specified file needs to be readable and writable by wpa_supplicant.
|
||||
#
|
||||
# If the os_get_random() is known to provide strong random data (e.g., on
|
||||
# Linux/BSD, the board in question is known to have reliable source of random
|
||||
# data from /dev/urandom), the internal wpa_supplicant random pool can be
|
||||
# disabled. This will save some in binary size and CPU use. However, this
|
||||
# should only be considered for builds that are known to be used on devices
|
||||
# that meet the requirements described above.
|
||||
CONFIG_NO_RANDOM_POOL=y
|
||||
|
||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||
CONFIG_GETRANDOM=y
|
||||
|
||||
# IEEE 802.11ac (Very High Throughput) support (mainly for AP mode)
|
||||
CONFIG_IEEE80211AC=y
|
||||
|
||||
# Wireless Network Management (IEEE Std 802.11v-2011)
|
||||
# Note: This is experimental and not complete implementation.
|
||||
CONFIG_WNM=y
|
||||
|
||||
# Interworking (IEEE 802.11u)
|
||||
# This can be used to enable functionality to improve interworking with
|
||||
# external networks (GAS/ANQP to learn more about the networks and network
|
||||
# selection based on available credentials).
|
||||
CONFIG_INTERWORKING=y
|
||||
|
||||
# Hotspot 2.0
|
||||
CONFIG_HS20=y
|
||||
|
||||
# Enable interface matching in wpa_supplicant
|
||||
#CONFIG_MATCH_IFACE=y
|
||||
|
||||
# Disable roaming in wpa_supplicant
|
||||
#CONFIG_NO_ROAMING=y
|
||||
|
||||
# AP mode operations with wpa_supplicant
|
||||
# This can be used for controlling AP mode operations with wpa_supplicant. It
|
||||
# should be noted that this is mainly aimed at simple cases like
|
||||
# WPA2-Personal while more complex configurations like WPA2-Enterprise with an
|
||||
# external RADIUS server can be supported with hostapd.
|
||||
CONFIG_AP=y
|
||||
|
||||
# P2P (Wi-Fi Direct)
|
||||
# This can be used to enable P2P support in wpa_supplicant. See README-P2P for
|
||||
# more information on P2P operations.
|
||||
CONFIG_P2P=y
|
||||
|
||||
# Enable TDLS support
|
||||
CONFIG_TDLS=y
|
||||
|
||||
# Wi-Fi Display
|
||||
# This can be used to enable Wi-Fi Display extensions for P2P using an external
|
||||
# program to control the additional information exchanges in the messages.
|
||||
CONFIG_WIFI_DISPLAY=y
|
||||
|
||||
# Autoscan
|
||||
# This can be used to enable automatic scan support in wpa_supplicant.
|
||||
# See wpa_supplicant.conf for more information on autoscan usage.
|
||||
#
|
||||
# Enabling directly a module will enable autoscan support.
|
||||
# For exponential module:
|
||||
CONFIG_AUTOSCAN_EXPONENTIAL=y
|
||||
# For periodic module:
|
||||
CONFIG_AUTOSCAN_PERIODIC=y
|
||||
|
||||
# Password (and passphrase, etc.) backend for external storage
|
||||
# These optional mechanisms can be used to add support for storing passwords
|
||||
# and other secrets in external (to wpa_supplicant) location. This allows, for
|
||||
# example, operating system specific key storage to be used
|
||||
#
|
||||
# External password backend for testing purposes (developer use)
|
||||
#CONFIG_EXT_PASSWORD_TEST=y
|
||||
# File-based backend to read passwords from an external file.
|
||||
#CONFIG_EXT_PASSWORD_FILE=y
|
||||
|
||||
# Enable Fast Session Transfer (FST)
|
||||
CONFIG_FST=y
|
||||
|
||||
# Enable CLI commands for FST testing
|
||||
#CONFIG_FST_TEST=y
|
||||
|
||||
# OS X builds. This is only for building eapol_test.
|
||||
#CONFIG_OSX=y
|
||||
|
||||
# Automatic Channel Selection
|
||||
# This will allow wpa_supplicant to pick the channel automatically when channel
|
||||
# is set to "0".
|
||||
#
|
||||
# TODO: Extend parser to be able to parse "channel=acs_survey" as an alternative
|
||||
# to "channel=0". This would enable us to eventually add other ACS algorithms in
|
||||
# similar way.
|
||||
#
|
||||
# Automatic selection is currently only done through initialization, later on
|
||||
# we hope to do background checks to keep us moving to more ideal channels as
|
||||
# time goes by. ACS is currently only supported through the nl80211 driver and
|
||||
# your driver must have survey dump capability that is filled by the driver
|
||||
# during scanning.
|
||||
#
|
||||
# TODO: In analogy to hostapd be able to customize the ACS survey algorithm with
|
||||
# a newly to create wpa_supplicant.conf variable acs_num_scans.
|
||||
#
|
||||
# Supported ACS drivers:
|
||||
# * ath9k
|
||||
# * ath5k
|
||||
# * ath10k
|
||||
#
|
||||
# For more details refer to:
|
||||
# http://wireless.kernel.org/en/users/Documentation/acs
|
||||
CONFIG_ACS=y
|
||||
|
||||
# Support Multi Band Operation
|
||||
#CONFIG_MBO=y
|
||||
|
||||
# Fast Initial Link Setup (FILS) (IEEE 802.11ai)
|
||||
#CONFIG_FILS=y
|
||||
# FILS shared key authentication with PFS
|
||||
#CONFIG_FILS_SK_PFS=y
|
||||
|
||||
# Support RSN on IBSS networks
|
||||
# This is needed to be able to use mode=1 network profile with proto=RSN and
|
||||
# key_mgmt=WPA-PSK (i.e., full key management instead of WPA-None).
|
||||
CONFIG_IBSS_RSN=y
|
||||
|
||||
# External PMKSA cache control
|
||||
# This can be used to enable control interface commands that allow the current
|
||||
# PMKSA cache entries to be fetched and new entries to be added.
|
||||
CONFIG_PMKSA_CACHE_EXTERNAL=y
|
||||
|
||||
# Mesh Networking (IEEE 802.11s)
|
||||
CONFIG_MESH=y
|
||||
|
||||
# Background scanning modules
|
||||
# These can be used to request wpa_supplicant to perform background scanning
|
||||
# operations for roaming within an ESS (same SSID). See the bgscan parameter in
|
||||
# the wpa_supplicant.conf file for more details.
|
||||
# Periodic background scans based on signal strength
|
||||
CONFIG_BGSCAN_SIMPLE=y
|
||||
# Learn channels used by the network and try to avoid bgscans on other
|
||||
# channels (experimental)
|
||||
CONFIG_BGSCAN_LEARN=y
|
||||
|
||||
# Opportunistic Wireless Encryption (OWE)
|
||||
# Experimental implementation of draft-harkins-owe-07.txt
|
||||
CONFIG_OWE=y
|
||||
|
||||
# Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
|
||||
CONFIG_DPP=y
|
||||
# DPP version 2 support
|
||||
CONFIG_DPP2=y
|
||||
# DPP version 3 support (experimental and still changing; do not enable for
|
||||
# production use)
|
||||
#CONFIG_DPP3=y
|
||||
|
||||
# Wired equivalent privacy (WEP)
|
||||
# WEP is an obsolete cryptographic data confidentiality algorithm that is not
|
||||
# considered secure. It should not be used for anything anymore. The
|
||||
# functionality needed to use WEP is available in the current wpa_supplicant
|
||||
# release under this optional build parameter. This functionality is subject to
|
||||
# be completely removed in a future release.
|
||||
#CONFIG_WEP=y
|
||||
|
||||
# Remove all TKIP functionality
|
||||
# TKIP is an old cryptographic data confidentiality algorithm that is not
|
||||
# considered secure. It should not be used anymore for anything else than a
|
||||
# backwards compatibility option as a group cipher when connecting to APs that
|
||||
# use WPA+WPA2 mixed mode. For now, the default wpa_supplicant build includes
|
||||
# support for this by default, but that functionality is subject to be removed
|
||||
# in the future.
|
||||
#CONFIG_NO_TKIP=y
|
||||
|
||||
# Pre-Association Security Negotiation (PASN)
|
||||
# Experimental implementation based on IEEE P802.11z/D2.6 and the protocol
|
||||
# design is still subject to change. As such, this should not yet be enabled in
|
||||
# production use.
|
||||
#CONFIG_PASN=y
|
||||
CONFIG_IPV6=y
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=xz
|
||||
pkgver=5.4.1
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
|
||||
arch=('x86_64')
|
||||
url='https://tukaani.org/xz/'
|
||||
|
@ -60,3 +60,4 @@ sha512sums=('5cff8383a68fb88ecbb3770ec48af0ad5582e08de9dccd339e0b685aaa53447e59d
|
|||
'SKIP')
|
||||
|
||||
|
||||
# 3c1c478bd6adfecfe6c27a55a3c55ce8205997b2010366b5c3fcd84b59511402 xz-5.4.1-02-x86_64.pkg.tar.xz
|
||||
|
|
|
@ -10,7 +10,6 @@ url='https://tukaani.org/xz/'
|
|||
license=('GPL' 'LGPL' 'custom')
|
||||
depends=('sh')
|
||||
provides=('liblzma.so')
|
||||
options=('debug')
|
||||
validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') # Lasse Collin <lasse.collin@tukaani.org>
|
||||
source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
sha256sums=('e4b0f81582efa155ccf27bb88275254a429d44968e488fc94b806f2a61cd3e22'
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue