Compare commits

..

10 Commits

Author SHA1 Message Date
LEdoian 7b98878ac8 Fix directories 5 months ago
LEdoian 58855e9105 Update hashes 5 months ago
LEdoian cc4a941704 Initial tweaks: use official source 5 months ago
David Runge 3aa7424cd6
upgpkg: 6.4_20230520-3: Rebuild against gcc >= 13.2.1-6 5 months ago
David Runge dc2058c1b8
upgpkg: 6.4_20230520-2
Rebuild with a reproducible pacman.
Switch to snapshot repository https://github.com/ThomasDickey/ncurses-snapshots/ as upstream deleted the source tarball
we were building from.
5 months ago
David Runge 7b53a17ce7
Switch to correct SPDX license identifier
Signed-off-by: David Runge <dvzrv@archlinux.org>
5 months ago
David Runge e90965903a
Switch to locked signed commit in snapshot sources
Upstream has deleted the signed source tarball for `6.4-20230520`, so we
are building from signed snapshot sources.

Signed-off-by: David Runge <dvzrv@archlinux.org>
5 months ago
David Runge b339173d63
Use bash arrays with one entry per line for easier handling
Signed-off-by: David Runge <dvzrv@archlinux.org>
5 months ago
David Runge 7ecaadbd0b
Add nvchecker integration
Signed-off-by: David Runge <dvzrv@archlinux.org>
5 months ago
David Runge 3c2606603a
Update to 6.4-20230520 and disable root environ/access to (hopefully) fix CVE-2023-29491 1 year ago

@ -0,0 +1,30 @@
pkgbase = ncurses
pkgdesc = System V Release 4.0 curses emulation library
pkgver = 6.4_20230520
pkgrel = 3
url = https://invisible-island.net/ncurses/ncurses.html
arch = x86_64
license = MIT-open-group
makedepends = autoconf-archive
makedepends = git
depends = glibc
depends = gcc-libs
optdepends = bash: for ncursesw6-config
provides = libncurses++w.so
provides = libformw.so
provides = libmenuw.so
provides = libpanelw.so
provides = libncursesw.so
replaces = alacritty-terminfo
source = ncurses::git+https://github.com/ThomasDickey/ncurses-snapshots.git?signed#commit=c74a1c4202f4524076da8be8554dacec391c84b2
source = ncurses-6.3-libs.patch
source = ncurses-6.3-pkgconfig.patch
validpgpkeys = 19882D92DDA4C400C22C0D56CC2AF4472167BE03
sha512sums = 94fd092907471539fbf8f8e65e353a870fca5b35af06803b111dfca193a7b3112f1a9b659e7876d5d58f3008bae45aa0f5d43f4ab805b45ec063ed1930629c10
sha512sums = adb02b838c40f1e58a1b31c26d5cd0f2a1c43f3b6d68e839981764c0f6c905a9eb51dd36ff018628fdeb20747cc7467727d57135408ab4848259384077a52b28
sha512sums = 2d2c0ec3c880e638ab4aa3dbff5e28e4cd233153e24816bd87e077f848aa3edd5114cd0f2a7f6e8869dd1861a2746e512886c18264ff1676927dcc320c5ef958
b2sums = 7df6d10b7807cebd5706e730b783ae2405aaba1958488edf3c9c17c6bbeac1c9d259ec27aa6ea1a57cd4e997eab7e58ea52351b19dbfeb32ee045d19e9f6ca01
b2sums = 31bb10e82dd018a75e57252052650d9f0f5eb5e7e887118c2ea40032b11f59ec6aa4d9bae804c615cbecdf3382f3434e0c9e9e8440fdefe66a507be020b8965c
b2sums = fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3
pkgname = ncurses

@ -0,0 +1,4 @@
[ncurses]
source = "regex"
regex = 'ncurses-([\d.]+)\.tar\.gz?'
url = "https://invisible-mirror.net/archives/ncurses/"

@ -4,28 +4,42 @@
# Contributor: judd <jvinet@zeroflux.org>
pkgname=ncurses
pkgver=6.4
pkgrel=2
pkgver=6.5
#_commit=c74a1c4202f4524076da8be8554dacec391c84b2 # refs/tags/v6_4_20230520
pkgrel=1
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/$pkgname-$pkgver.tar.gz{,.asc}
$pkgname::https://invisible-island.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz
$pkgname.asc::https://invisible-island.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz.asc
$pkgname-6.3-libs.patch
$pkgname-6.3-pkgconfig.patch
)
sha512sums=('1c2efff87a82a57e57b0c60023c87bae93f6718114c8f9dc010d4c21119a2f7576d0225dab5f0a227c2cfc6fb6bdbd62728e407f35fce5bf351bb50cf9e0fd34'
'SKIP'
sha512sums=('fc5a13409d2a530a1325776dcce3a99127ddc2c03999cfeb0065d0eee2d68456274fb1c7b3cc99c1937bc657d0e7fca97016e147f93c7821b5a4a6837db821e8'
'96a9cb7b3e8a0c4d058129d4aadbc4388b4f022eee6605cca8d270f31c54d1f06429a7c1af09e7de13f2bfeee71fc33d9581b0773830914c8a431be7e7f0e6ba'
'adb02b838c40f1e58a1b31c26d5cd0f2a1c43f3b6d68e839981764c0f6c905a9eb51dd36ff018628fdeb20747cc7467727d57135408ab4848259384077a52b28'
'2d2c0ec3c880e638ab4aa3dbff5e28e4cd233153e24816bd87e077f848aa3edd5114cd0f2a7f6e8869dd1861a2746e512886c18264ff1676927dcc320c5ef958')
b2sums=('47fd9c2d27f44fa9942552881a471e5067465dbace40bf68b28998dded0556127a1d8662b96de4de4fd76c1c8b98bdae796036553ab4b05ca9f160839d841ba3'
'SKIP'
b2sums=('d0a05c218b5f320ba9abe2f322787baef1d15d764e503c81d49772b54b2927d28ecbeb500c8e514996226b41f69445b4de44ff423cec25b61847307fe61682ec'
'079233fb8f52ec596182b69d9a44dd59982d4925715c817d21b5d2f4fc9ef7aa4c9ac2b4e14694ac177e49913a75f46e914fec64136620c5be891ee8c2c1710d'
'31bb10e82dd018a75e57252052650d9f0f5eb5e7e887118c2ea40032b11f59ec6aa4d9bae804c615cbecdf3382f3434e0c9e9e8440fdefe66a507be020b8965c'
'fb6cf606cf3db7f6b306272696a63bce83d52cfa91e850f9a7bdb9d3d8455a26943529a9cf79731dddc7f763c27211a9afab9c4c31dbb6d12fd720eb390eb0a3')
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dickey@invisible-island.net>
@ -42,6 +56,8 @@ prepare() {
build() {
local configure_options=(
--prefix=/usr
--disable-root-access
--disable-root-environ
--disable-setuid-environ
--enable-widec
--enable-pc-files
@ -62,6 +78,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/"
@ -78,8 +96,8 @@ package() {
# tic and ticinfo functionality is built in by default
# make sure that anything linking against it links against libncursesw.so instead
for lib in tic tinfo; do
printf "INPUT(libncursesw.so.%s)\n" "${pkgver:0:1}" > "$pkgdir/usr/lib/lib${lib}.so"
ln -sv libncursesw.so.${pkgver:0:1} "$pkgdir/usr/lib/lib${lib}.so.${pkgver:0:1}"
printf "INPUT(libncursesw.so.%s)\n" "${_pkgver:0:1}" > "$pkgdir/usr/lib/lib${lib}.so"
ln -sv libncursesw.so.${pkgver:0:1} "$pkgdir/usr/lib/lib${lib}.so.${_pkgver:0:1}"
ln -sv ncursesw.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
done
}

Loading…
Cancel
Save