upg xfsprogs

add libnghttp3
add note for glibc
This commit is contained in:
joborun linux 2024-02-05 21:03:38 +02:00
parent 590db18d72
commit 5697713e74
11 changed files with 278 additions and 10 deletions

3
glibc/NOTE Normal file
View file

@ -0,0 +1,3 @@
For next build see configuration, especially enable-kernel and read
config and this issue https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/issues/1
Maybe bump it up to 4.19 which is now the oldest LTS and way before joborun's time

View file

@ -230,3 +230,4 @@ sha256sums=(SKIP
## 030f1f7d5692cab021c19b363f26ea6f13f8704d7b313696481f468fef859cc8 glibc-locales-2.39-01-x86_64.pkg.tar.lz
## 105ec6f12e5cec29b0782e096886883b2639906e586a17bcb58bafc2af013c12 lib32-glibc-2.39-01-x86_64.pkg.tar.lz
##

145
glibc/configure vendored Normal file
View file

@ -0,0 +1,145 @@
`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
Usage: src/glibc/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-sanity-checks really do not use threads (should not be used except
in special situations) [default=yes]
--enable-shared build shared library [default=yes if GNU ld]
--enable-profile build profiled library [default=no]
--disable-default-pie Do not build glibc programs and the testsuite as PIE
[default=no]
--disable-timezone-tools
do not install timezone tools [default=install]
--enable-hardcoded-path-in-tests
hardcode newly built glibc path in tests
[default=no]
--disable-hidden-plt do not hide internal function calls to avoid PLT
--enable-bind-now disable lazy relocations in DSOs
--enable-stack-protector=[yes|no|all|strong]
Use -fstack-protector[-all|-strong] to detect glibc
buffer overflows
--enable-static-nss build static NSS modules [default=no]
--disable-force-install don't force installation of files from this package,
even if they are older than the installed files
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
--enable-kernel=VERSION compile for compatibility with kernel not older than
VERSION
--disable-werror do not build with -Werror
--enable-multi-arch enable single DSO with optimizations for multiple
architectures
--enable-memory-tagging enable memory tagging if supported by the
architecture [default=no]
--enable-systemtap enable systemtap static probe points [default=no]
--disable-build-nscd disable building and installing the nscd daemon
--disable-nscd library functions will not contact the nscd daemon
--enable-pt_chown Enable building and installing pt_chown
--enable-mathvec Enable building and installing mathvec [default
depends on architecture]
--enable-cet enable Intel Control-flow Enforcement Technology
(CET), x86 only
--disable-scv syscalls will not use scv instruction, even if the
kernel supports it, powerpc only
--enable-fortify-source[=1|2|3]
Use -D_FORTIFY_SOURCE=[1|2|3] to control code
hardening, defaults to highest possible value
supported by the build compiler.
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
--with-bugurl=URL Direct users to URL to report a bug
--with-gd=DIR find libgd include dir and library with prefix DIR
--with-gd-include=DIR find libgd include files in DIR
--with-gd-lib=DIR find libgd library files in DIR
--with-binutils=PATH specify location of binutils (as and ld)
--with-selinux if building with SELinux support
--with-headers=PATH location of system headers to use (for example
/usr/src/linux/include) [default=compiler default]
--with-nonshared-cflags=CFLAGS
build nonshared libraries with additional CFLAGS
--with-rtld-early-cflags=CFLAGS
build early initialization with additional CFLAGS
--with-timeoutfactor=NUM
specify an integer to scale the timeout
--with-cpu=CPU select code for CPU variant
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <https://sourceware.org/bugzilla/>.
GNU C Library home page: <https://www.gnu.org/software/glibc/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.

51
libnghttp3/PKGBUILD Normal file
View file

@ -0,0 +1,51 @@
#!/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=libnghttp3
pkgver=1.1.0
pkgrel=02
pkgdesc="HTTP/3 library written in C"
url='https://github.com/ngtcp2/nghttp3'
provides=('libnghttp3.so')
source=("https://github.com/ngtcp2/nghttp3/releases/download/v${pkgver}/nghttp3-${pkgver}.tar.xz"{,.asc})
prepare() {
cd nghttp3-${pkgver}
autoreconf -i
}
build() {
cd nghttp3-${pkgver}
./configure \
--prefix=/usr
make
}
check() {
cd nghttp3-${pkgver}
make check
}
package() {
cd nghttp3-${pkgver}/lib
make DESTDIR="${pkgdir}" install
install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('MIT')
validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
sha256sums=(f7ffcf21fb889e7d6a8422a3620deb52a8516364805ec3bd7ef296628ca595cb # nghttp3-1.1.0.tar.xz
d366dc27b50a4ed884a951263d3ac70151acf46d307998208469be853403a20a) # nghttp3-1.1.0.tar.xz.asc
## 120e3ec7735794257a82afce1a3507061abe5dd6647623a7e14ee76e538dd591 libnghttp3-1.1.0-02-x86_64.pkg.tar.lz

52
libnghttp3/PKGBUILD-arch Normal file
View file

@ -0,0 +1,52 @@
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
# Maintainer: Christian Hesse <eworm@archlinux.org>
pkgname=libnghttp3
pkgver=1.1.0
pkgrel=2
pkgdesc="HTTP/3 library written in C"
url='https://github.com/ngtcp2/nghttp3'
arch=('x86_64')
license=('MIT')
provides=('libnghttp3.so')
validpgpkeys=('F4F3B91474D1EB29889BD0EF7E8403D5D673C366') # Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
source=("https://github.com/ngtcp2/nghttp3/releases/download/v${pkgver}/nghttp3-${pkgver}.tar.xz"{,.asc})
sha256sums=('f7ffcf21fb889e7d6a8422a3620deb52a8516364805ec3bd7ef296628ca595cb'
'SKIP')
prepare() {
cd nghttp3-${pkgver}
autoreconf -i
}
build() {
cd nghttp3-${pkgver}
./configure \
--prefix=/usr
make
}
check() {
cd nghttp3-${pkgver}
make check
}
package() {
cd nghttp3-${pkgver}/lib
make DESTDIR="${pkgdir}" install
install -Dm644 ../COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et:
####### diffs between old and new Arch PKGBUILD
#### systemd crap in new PKGBUILD
scan for systemd ipv6 service & socket
##### systemd crap in new PKGBUILD ###
##
##

1
libnghttp3/clean Normal file
View file

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

3
libnghttp3/deps Normal file
View file

@ -0,0 +1,3 @@
autoconf
automake

1
libnghttp3/key Normal file
View file

@ -0,0 +1 @@
gpg -v --recv-key 7E8403D5D673C366

6
libnghttp3/time Normal file
View file

@ -0,0 +1,6 @@
real 0m21.751s
user 0m19.441s
sys 0m2.248s

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=xfsprogs
pkgver=6.5.0
pkgrel=02
pkgver=6.6.0
pkgrel=01
pkgdesc="XFS filesystem utilities w/o systemd"
# url="https://xfs.org"
url="https://xfs.wiki.kernel.org"
@ -33,18 +33,23 @@ build() {
make configure
export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd-unit-dir=no
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--with-systemd-unit-dir=no
make
}
package() {
cd ${pkgname}-dev
make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
make DIST_ROOT="$pkgdir" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
chown -R root "$pkgdir"
chgrp -R root "$pkgdir"
# add hack as we cannot set rootlibdir
mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
rm -rf "${pkgdir}/lib"
mv "$pkgdir"/lib/libhandle.so* "$pkgdir/usr/lib/"
rm -rf "$pkgdir/lib"
rm -rf $pkgdir/no
}
#---- arch license gpg-key & sha256sums ----
@ -58,5 +63,5 @@ validpgpkeys=(2B8185919E8D248981869DED20AE1692E13DDEE0 # Eric Sandeen <sandeen@
sha256sums=(SKIP)
## 66c0f186a1fe616d30c3f3791c11ee5b3c995d4bf2e037101ad4d4efc7ffd0a0 xfsprogs-6.5.0-02-x86_64.pkg.tar.lz
## 7dc33090f946de011dbad7f4ace5bd7c15dfda7055efec0b805307356468aa6b xfsprogs-6.6.0-01-x86_64.pkg.tar.lz

View file

@ -1,8 +1,8 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=xfsprogs
pkgver=6.5.0
pkgrel=2
pkgver=6.6.0
pkgrel=1
pkgdesc="XFS filesystem utilities"
arch=('x86_64')
license=('LGPL')
@ -25,7 +25,7 @@ build() {
make configure
export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd-unit-dir=/usr/lib/systemd/system
./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib --with-systemd-unit-dir=/usr/lib/systemd/system
make
}