upg ncurses binutils openldap

This commit is contained in:
joborun linux 2024-04-20 13:03:12 +03:00
parent aeeb57b148
commit 84f6d3386d
8 changed files with 74 additions and 42 deletions

View File

@ -10,8 +10,8 @@
pkgname=binutils
pkgver=2.42
_commit=48942a586ebc056bd059d3f63a5eed3a2fa46ab3
pkgrel=02
_commit=6224493e457e72b11818c87cdc112bdb0fee5f81
pkgrel=03
pkgdesc='A set of programs to assemble and manipulate binary and object files - linux-api 6.6'
#url='https://www.gnu.org/software/binutils'
url='https://ftp.gnu.org/gnu/binutils'
@ -48,12 +48,13 @@ prepare() {
build() {
cd binutils-build
# --with-bugurl=https://bugs.archlinux.org/ \
"${srcdir}"/binutils-gdb/configure \
--prefix=/usr \
--sysconfdir="${pkgdir}"/etc \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://bugs.archlinux.org/ \
--with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/binutils/-/issues \
--enable-cet \
--enable-colored-disassembly \
--enable-default-execstack=no \
@ -141,7 +142,8 @@ license=(GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-or-later LGPL-3.0-or-later G
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
sha256sums=(SKIP
sha256sums=(a36780f5918bf383520f44374b2daa2bc737f55aa2601458b9b35d576b4aa7df # binutils
2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4) # gold-warn-unsupported.patch
## 1655172dc2677fcc361799555291ee7f5c73c3dcde99ac2603713028c0f0ceaf binutils-2.42-02-x86_64.pkg.tar.lz
## cdee1863d883ee145b773960ac04268386fa37ecba3cefc27913dc2c5ae81dc3 binutils-2.42-03-x86_64.pkg.tar.lz

View File

@ -7,8 +7,8 @@
pkgname=binutils
pkgver=2.42
_commit=48942a586ebc056bd059d3f63a5eed3a2fa46ab3
pkgrel=2
_commit=6224493e457e72b11818c87cdc112bdb0fee5f81
pkgrel=3
pkgdesc='A set of programs to assemble and manipulate binary and object files'
arch=(x86_64)
url='https://www.gnu.org/software/binutils/'
@ -28,7 +28,7 @@ backup=('etc/gprofng.rc')
options=(staticlibs !distcc !ccache)
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
gold-warn-unsupported.patch)
sha256sums=('SKIP'
sha256sums=('a36780f5918bf383520f44374b2daa2bc737f55aa2601458b9b35d576b4aa7df'
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
@ -55,7 +55,7 @@ build() {
--prefix=/usr \
--sysconfdir="${pkgdir}"/etc \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://bugs.archlinux.org/ \
--with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/binutils/-/issues \
--enable-cet \
--enable-colored-disassembly \
--enable-default-execstack=no \

View File

@ -7,32 +7,39 @@
pkgname=ncurses
pkgver=6.4_20230520
pkgrel=01
_commit=c74a1c4202f4524076da8be8554dacec391c84b2 # refs/tags/v6_4_20230520
pkgrel=02
pkgdesc='System V Release 4.0 curses emulation library'
_url='https://invisible-island.net/ncurses/ncurses.html'
url="https://invisible-mirror.net/archives"
depends=(glibc gcc-libs)
makedepends=(autoconf-archive)
makedepends=(autoconf-archive git)
optdepends=('bash: for ncursesw6-config')
provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so)
replaces=(alacritty-terminfo)
#options=(debug) # uncomment this to produce the debug pkg
source=($url/$pkgname/current/$pkgname-${pkgver/_/-}.tgz{,.asc}
#source=($url/$pkgname/current/$pkgname-${pkgver/_/-}.tgz{,.asc}
source=($pkgname::git+https://github.com/ThomasDickey/ncurses-snapshots.git?signed#commit=$_commit
$pkgname-6.3-libs.patch
$pkgname-6.3-pkgconfig.patch)
pkgver() {
cd $pkgname
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g;s/_/./'
}
prepare() {
# do not link against test libraries
patch -Np1 -d $pkgname-${pkgver/_/-} -i ../$pkgname-6.3-libs.patch
patch -Np1 -d $pkgname -i ../$pkgname-6.3-libs.patch
# do not leak build-time LDFLAGS into the pkgconfig files:
# https://bugs.archlinux.org/task/68523
patch -Np1 -d $pkgname-${pkgver/_/-} -i ../$pkgname-6.3-pkgconfig.patch
patch -Np1 -d $pkgname -i ../$pkgname-6.3-pkgconfig.patch
# NOTE: can't run autoreconf because the autotools setup is custom and ancient
}
build() {
cd $pkgname-${pkgver/_/-}
cd $pkgname
./configure --prefix=/usr \
--enable-widec \
@ -56,9 +63,8 @@ build() {
package() {
local _pkgver=${pkgver/_*/}
make DESTDIR="$pkgdir" install -C $pkgname-${pkgver/_/-}
install -vDm 644 $pkgname-${pkgver/_/-}/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
make DESTDIR="$pkgdir" install -C $pkgname
install -vDm 644 $pkgname/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
# fool packages looking to link to non-wide-character ncurses libraries
for lib in ncurses ncurses++ form panel menu; do
@ -83,14 +89,21 @@ package() {
arch=(x86_64)
license=(MIT)
license=(MIT-open-group)
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>
sha256sums=(a04f69bde2f1b1325d1fb460db7cea28b6da97786ead8ce645daacfb0bcbc004 # ncurses-6.4-20230520.tgz
9d4311c1ee185968471d08506a02ae24a4256dca259e1a57b876300566e37c0a # ncurses-6.4-20230520.tgz.asc
sha512sums=('94fd092907471539fbf8f8e65e353a870fca5b35af06803b111dfca193a7b3112f1a9b659e7876d5d58f3008bae45aa0f5d43f4ab805b45ec063ed1930629c10'
'adb02b838c40f1e58a1b31c26d5cd0f2a1c43f3b6d68e839981764c0f6c905a9eb51dd36ff018628fdeb20747cc7467727d57135408ab4848259384077a52b28'
'2d2c0ec3c880e638ab4aa3dbff5e28e4cd233153e24816bd87e077f848aa3edd5114cd0f2a7f6e8869dd1861a2746e512886c18264ff1676927dcc320c5ef958')
b2sums=('7df6d10b7807cebd5706e730b783ae2405aaba1958488edf3c9c17c6bbeac1c9d259ec27aa6ea1a57cd4e997eab7e58ea52351b19dbfeb32ee045d19e9f6ca01'
'31bb10e82dd018a75e57252052650d9f0f5eb5e7e887118c2ea40032b11f59ec6aa4d9bae804c615cbecdf3382f3434e0c9e9e8440fdefe66a507be020b8965c'
'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3')
sha256sums=(SKIP
# a04f69bde2f1b1325d1fb460db7cea28b6da97786ead8ce645daacfb0bcbc004 # ncurses-6.4-20230520.tgz
# 9d4311c1ee185968471d08506a02ae24a4256dca259e1a57b876300566e37c0a # ncurses-6.4-20230520.tgz.asc
dc4261b6642058a9df1c0945e2409b24f84673ddc3a665d8a15ed3580e51ee25 # ncurses-6.3-libs.patch
b8544a607dfbeffaba2b087f03b57ed1fa81286afca25df65f61b04b5f3b3738) # ncurses-6.3-pkgconfig.patch
## 908fdf74b6a93f800bd89d4c8f19eef7a786f16acc5d34001be4af4995fabd07 ncurses-6.4_20230520-01-x86_64.pkg.tar.lz
## be169a733743b9365529910f581766325cc9027e81089b9a01bd4e99f8676206 ncurses-6.4_20230520-02-x86_64.pkg.tar.lz

View File

@ -5,37 +5,53 @@
pkgname=ncurses
pkgver=6.4_20230520
pkgrel=1
_commit=c74a1c4202f4524076da8be8554dacec391c84b2 # refs/tags/v6_4_20230520
pkgrel=2
pkgdesc='System V Release 4.0 curses emulation library'
arch=(x86_64)
url='https://invisible-island.net/ncurses/ncurses.html'
license=(MIT)
depends=(glibc gcc-libs)
makedepends=(autoconf-archive)
license=(MIT-open-group)
depends=(
glibc
gcc-libs
)
makedepends=(
autoconf-archive
git
)
optdepends=('bash: for ncursesw6-config')
provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so)
provides=(
libncurses++w.so
libformw.so
libmenuw.so
libpanelw.so
libncursesw.so
)
replaces=(alacritty-terminfo)
source=(
https://invisible-mirror.net/archives/$pkgname/current/$pkgname-${pkgver/_/-}.tgz{,.asc}
$pkgname::git+https://github.com/ThomasDickey/ncurses-snapshots.git?signed#commit=$_commit
$pkgname-6.3-libs.patch
$pkgname-6.3-pkgconfig.patch
)
sha512sums=('bbb1dd33f4c701165b7612657a7577d3175b94c5815a89eaab3a8774510feb9322d284896dba8d3896f6dd89a8b98031829a76f7e3397aebb6cf2a71e989f93c'
'SKIP'
sha512sums=('94fd092907471539fbf8f8e65e353a870fca5b35af06803b111dfca193a7b3112f1a9b659e7876d5d58f3008bae45aa0f5d43f4ab805b45ec063ed1930629c10'
'adb02b838c40f1e58a1b31c26d5cd0f2a1c43f3b6d68e839981764c0f6c905a9eb51dd36ff018628fdeb20747cc7467727d57135408ab4848259384077a52b28'
'2d2c0ec3c880e638ab4aa3dbff5e28e4cd233153e24816bd87e077f848aa3edd5114cd0f2a7f6e8869dd1861a2746e512886c18264ff1676927dcc320c5ef958')
b2sums=('d5e88198140ab6471a36bef08685e17ac2e43b4e66b53abaa961d5f8912eb3eae3784db194436c2b3e5f2deaeefaaed93e0550bcab0456f1486fc35d0cdac440'
'SKIP'
b2sums=('7df6d10b7807cebd5706e730b783ae2405aaba1958488edf3c9c17c6bbeac1c9d259ec27aa6ea1a57cd4e997eab7e58ea52351b19dbfeb32ee045d19e9f6ca01'
'31bb10e82dd018a75e57252052650d9f0f5eb5e7e887118c2ea40032b11f59ec6aa4d9bae804c615cbecdf3382f3434e0c9e9e8440fdefe66a507be020b8965c'
'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>
pkgver() {
cd $pkgname
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g;s/_/./'
}
prepare() {
# do not link against test libraries
patch -Np1 -d $pkgname-${pkgver/_/-} -i ../$pkgname-6.3-libs.patch
patch -Np1 -d $pkgname -i ../$pkgname-6.3-libs.patch
# do not leak build-time LDFLAGS into the pkgconfig files:
# https://bugs.archlinux.org/task/68523
patch -Np1 -d $pkgname-${pkgver/_/-} -i ../$pkgname-6.3-pkgconfig.patch
patch -Np1 -d $pkgname -i ../$pkgname-6.3-pkgconfig.patch
# NOTE: can't run autoreconf because the autotools setup is custom and ancient
}
@ -58,7 +74,7 @@ build() {
--without-ada
)
cd $pkgname-${pkgver/_/-}
cd $pkgname
./configure "${configure_options[@]}"
make
}
@ -66,8 +82,8 @@ build() {
package() {
local _pkgver=${pkgver/_*/}
make DESTDIR="$pkgdir" install -C $pkgname-${pkgver/_/-}
install -vDm 644 $pkgname-${pkgver/_/-}/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
make DESTDIR="$pkgdir" install -C $pkgname
install -vDm 644 $pkgname/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
# fool packages looking to link to non-wide-character ncurses libraries
for lib in ncurses ncurses++ form panel menu; do

View File

@ -1 +1 @@
rm -rf {src,pkg,*tar.gz*,*tgz*}
rm -rf {src,pkg,*tar.gz*,*tgz*,ncurses}

View File

@ -1,3 +1,4 @@
autoconf-archive
git

View File

@ -9,7 +9,7 @@ pkgbase=openldap
pkgname=('openldap' 'libldap')
pkgdesc='Lightweight Directory Access Protocol (LDAP) client, libraries, and server, w/o ipv6 & systemd'
pkgver=2.6.7
pkgrel=01
pkgrel=02
url='https://www.openldap.org'
source=($url/software/download/OpenLDAP/openldap-release/$pkgbase-$pkgver.tgz{,.asc}
openldap.tmpfiles
@ -177,6 +177,6 @@ sha256sums=(cd775f625c944ed78a3da18a03b03b08eea73c8aabc97b41bb336e9a10954930 #
0be46138e53ff2fa6d4b4c06bfbdd2100426e0bd2ed29bf3419ade6b5974e9a0 # openldap.tmpfiles
c6e3fa72138edfebb4ecb17f677e217c885ff9eef805b5c8ad1c09169bb0ff8e) # openldap.sysusers
## 8e6aef7928f691e5b65a198705de9a3e42d3ef01d6f8f3dd3ae8e0c072dc3fa6 libldap-2.6.7-01-x86_64.pkg.tar.lz
## 63ce83f747a259a0f2238f03b8b097f445596f182c56f04312d99a218848fdaa openldap-2.6.7-01-x86_64.pkg.tar.lz
## fe7c8c9b4011903c515c0f1062448e00ba6e7ea5c4d2b5e92900526ed2da33f4 libldap-2.6.7-02-x86_64.pkg.tar.lz
## 7ef55ecb6c88c493a43964234fd8b98d6c94e6293cdd83a25621043feb68b76e openldap-2.6.7-02-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
pkgbase=openldap
pkgname=('openldap' 'libldap')
pkgver=2.6.7
pkgrel=1
pkgrel=2
arch=('x86_64')
url="https://www.openldap.org/"
license=('custom')