upg libisl perl sudo

This commit is contained in:
joborun linux 2024-09-02 16:33:15 +03:00
parent 3dd0d3f760
commit 577f11fbb4
9 changed files with 141 additions and 205 deletions

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libisl
pkgver=0.26
pkgrel=02
pkgver=0.27
pkgrel=01
pkgdesc='Library for manipulating sets and relations of integer points bounded by linear constraints'
url='https://libisl.sourceforge.io'
depends=('gmp')
@ -44,7 +44,8 @@ arch=(x86_64)
license=('MIT')
sha256sums=(a0b5cb06d24f9fa9e77b55fabbe9a3c94a336190345c2555f9915bb38e976504) # isl-0.26.tar.xz
b2sums=('88a68de0b7952eb0038d10aa450b0ab25da4f4aa49fcdf70700ec4131d2686a2a2e9a64e5cb8ac0a53ef5d7cff034e60c449b201ba88a24001ad33f0dd17c732')
sha256sums=(6d8babb59e7b672e8cb7870e874f3f7b813b6e00e6af3f8b04f7579965643d5c) # isl-0.27.tar.xz
## dd9f8e4de297c80f3d85d99a2918d35857662c4ab01ca3e6f6a35f56bbafcb04 libisl-0.26-02-x86_64.pkg.tar.lz
## 74fcb2c645e9e0b73e3f3b03ea57a0c68557e4fe77edac7940f6cd383f95bc17 libisl-0.27-01-x86_64.pkg.tar.lz

View file

@ -5,8 +5,8 @@
# Contributor: Allan McRae <allan at archlinux dot org>
pkgname=libisl
pkgver=0.26
pkgrel=2
pkgver=0.27
pkgrel=1
pkgdesc='Library for manipulating sets and relations of integer points bounded by linear constraints'
arch=('x86_64')
url='https://libisl.sourceforge.io'
@ -16,7 +16,7 @@ provides=('isl' 'libisl.so')
replaces=('isl')
options=(staticlibs)
source=("https://libisl.sourceforge.io/isl-${pkgver}.tar.xz")
b2sums=('2cfe2e0774a991d2385e66f58490c5454382cabc82d74eb4bbe5a603293b7bdc34ca3b087f0884f9da319c447747edc76275ecaf2f171237939f9c7d3c52ced7')
b2sums=('88a68de0b7952eb0038d10aa450b0ab25da4f4aa49fcdf70700ec4131d2686a2a2e9a64e5cb8ac0a53ef5d7cff034e60c449b201ba88a24001ad33f0dd17c732')
build() {
cd "${srcdir}"/${pkgname#lib}-${pkgver}

2
perl/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/affected
/affected.ours

View file

@ -6,9 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=perl
pkgver=5.38.2
pkgver=5.40.0
_baseversion="${pkgver%.*}"
pkgrel=02
pkgrel=01
pkgdesc="A highly capable, feature-rich programming language"
groups=( jobbot )
url="https://www.perl.org"
@ -17,40 +17,40 @@ makedepends=('patchutils')
checkdepends=('procps-ng')
# NOTE: This array is automatically generated by `./patchprov`.
# If you want to add entries, do so in the next array.
provides=('perl-archive-tar=2.40'
provides=('perl-archive-tar=3.02_001'
'perl-attribute-handlers=1.03'
'perl-autodie=2.36'
'perl-autodie=2.37'
'perl-autoloader=5.74'
'perl-autouse=1.11'
'perl-base=2.27'
'perl-bignum=0.66'
'perl-bignum=0.67'
'perl-carp=1.54'
'perl-compress-raw-bzip2=2.204_001'
'perl-compress-raw-zlib=2.204_001'
'perl-compress-raw-bzip2=2.212'
'perl-compress-raw-zlib=2.212'
'perl-config-perl-v=0.36'
'perl-constant=1.33'
'perl-cpan-meta-requirements=2.140'
'perl-cpan-meta-requirements=2.143'
'perl-cpan-meta-yaml=0.018'
'perl-cpan-meta=2.150010'
'perl-cpan=2.36'
'perl-data-dumper=2.188'
'perl-db_file=1.858'
'perl-devel-ppport=3.71'
'perl-data-dumper=2.189'
'perl-db_file=1.859'
'perl-devel-ppport=3.72'
'perl-devel-selfstubber=1.06'
'perl-digest-md5=2.58_01'
'perl-digest-sha=6.04'
'perl-digest=1.20'
'perl-dumpvalue=1.21'
'perl-encode=3.19'
'perl-encode=3.21'
'perl-encoding-warnings=0.14'
'perl-env=1.06'
'perl-experimental=0.031'
'perl-exporter=5.77'
'perl-extutils-cbuilder=0.280238'
'perl-experimental=0.032'
'perl-exporter=5.78'
'perl-extutils-cbuilder=0.280240'
'perl-extutils-constant=0.25'
'perl-extutils-install=2.22'
'perl-extutils-makemaker=7.70'
'perl-extutils-manifest=1.73'
'perl-extutils-manifest=1.75'
'perl-extutils-parsexs=3.51'
'perl-extutils-pl2bat=0.005'
'perl-file-fetch=1.04'
@ -58,16 +58,16 @@ provides=('perl-archive-tar=2.40'
'perl-file-temp=0.2311'
'perl-filter-simple=0.96'
'perl-filter-util-call=1.64'
'perl-findbin=1.53'
'perl-getopt-long=2.54'
'perl-http-tiny=0.086'
'perl-findbin=1.54'
'perl-getopt-long=2.57'
'perl-http-tiny=0.088'
'perl-i18n-collate=1.02'
'perl-i18n-langtags=0.45'
'perl-if=0.0610'
'perl-io-compress=2.204'
'perl-io-socket-ip=0.41_01'
'perl-io-zlib=1.14'
'perl-io=1.52'
'perl-io-compress=2.212'
'perl-io-socket-ip=0.42'
'perl-io-zlib=1.15'
'perl-io=1.55'
'perl-ipc-cmd=1.04'
'perl-ipc-sysv=2.09'
'perl-json-pp=4.16'
@ -75,104 +75,79 @@ provides=('perl-archive-tar=2.40'
'perl-libnet=3.15'
'perl-locale-maketext-simple=0.21_01'
'perl-locale-maketext=1.33'
'perl-math-bigint-fastcalc=0.5013'
'perl-math-bigint=1.999837'
'perl-math-bigrat=0.2624'
'perl-math-bigint-fastcalc=0.5018'
'perl-math-bigint=2.003002'
'perl-math-complex=1.62'
'perl-memoize=1.16'
'perl-mime-base64=3.16_01'
'perl-module-corelist=5.20231129'
'perl-module-corelist=5.20240609'
'perl-module-load-conditional=0.74'
'perl-module-load=0.36'
'perl-module-loaded=0.08'
'perl-module-metadata=1.000037'
'perl-module-metadata=1.000038'
'perl-net-ping=2.76'
'perl-params-check=0.38'
'perl-parent=0.241'
'perl-pathtools=3.89'
'perl-pathtools=3.90'
'perl-perl-ostype=1.010'
'perl-perlfaq=5.20210520'
'perl-perlfaq=5.20240218'
'perl-perlio-via-quotedprint=0.10'
'perl-pod-checker=1.75'
'perl-pod-checker=1.77'
'perl-pod-escapes=1.07'
'perl-pod-perldoc=3.2801'
'perl-pod-simple=3.43'
'perl-pod-simple=3.45'
'perl-pod-usage=2.03'
'perl-podlators=5.010'
'perl-safe=2.44'
'perl-safe=2.46'
'perl-scalar-list-utils=1.63'
'perl-search-dict=1.07'
'perl-selfloader=1.26'
'perl-socket=2.036'
'perl-selfloader=1.27'
'perl-socket=2.038'
'perl-storable=3.32'
'perl-sys-syslog=0.36'
'perl-term-ansicolor=5.01'
'perl-term-cap=1.18'
'perl-term-complete=1.403'
'perl-term-readline=1.17'
'perl-test-harness=3.44'
'perl-test-simple=1.302194'
'perl-term-table=0.018'
'perl-test-harness=3.48'
'perl-test-simple=1.302199'
'perl-test2-suite=0.000162'
'perl-test=1.31'
'perl-text-abbrev=1.02'
'perl-text-balanced=2.06'
'perl-text-parsewords=3.31'
'perl-text-tabs=2021.0814'
'perl-text-tabs=2024.001'
'perl-thread-queue=3.14'
'perl-thread-semaphore=2.13'
'perl-threads-shared=1.68'
'perl-threads=2.36'
'perl-tie-file=1.07'
'perl-threads-shared=1.69'
'perl-threads=2.40'
'perl-tie-file=1.09'
'perl-tie-refhash=1.40'
'perl-time-hires=1.9775'
'perl-time-local=1.30'
'perl-time-hires=1.9777'
'perl-time-local=1.35'
'perl-time-piece=1.3401_01'
'perl-unicode-collate=1.31'
'perl-unicode-normalize=1.32'
'perl-version=0.9929'
'perl-version=0.9930'
'perl-xsloader=0.32')
# Add your own provides here
provides=("${provides[@]}")
source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
https://github.com/pjacklam/p5-Math-BigInt/commit/c8e5f82f10959085f7ce3ec74b3caaaf72497693.patch
https://github.com/pjacklam/p5-Math-BigInt/commit/441f53eb116a003c78acad32f133b16f2f4c0814.patch
https://github.com/pjacklam/p5-Math-BigInt/commit/5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5.patch
sha256.txt::https://www.cpan.org/src/5.0/perl-$pkgver.tar.xz.sha256.txt
config.over
# db_config.in
perlbin.sh
perlbin.csh
perlbin.fish
perlbin.sh
detect-old-perl-modules.hook
detect-old-perl-modules.sh)
detect-old-perl-modules.sh
detect-old-perl-modules.hook)
options=('makeflags' '!purge' 'emptydirs')
prepare() {
cd "${pkgname}-${pkgver}"
# Temporarily make files to be patched writable.
chmod +w cpan/Math-BigInt/{lib/Math/Big{Float,Int}.pm,t/{mbimbf.t,upgrade.{inc,t}}}
# p5-Math-BigInt:Improve handling of accuracy and precision
filterdiff -p1 ../5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5.patch \
-x xt/author/sparts-mbf.t | patch -Np1 -d cpan/Math-BigInt/
# p5-Math-BigInt:Instance methods should return instance variables
filterdiff -p1 ../441f53eb116a003c78acad32f133b16f2f4c0814.patch \
-x xt/author/sparts-mbf.t | patch -Np1 -d cpan/Math-BigInt/
# p5-Math-BigInt:Fix CPAN RT #146411
patch -Np1 -i "$srcdir"/c8e5f82f10959085f7ce3ec74b3caaaf72497693.patch \
-d cpan/Math-BigInt/
# Remove temporary write permission.
chmod -w cpan/Math-BigInt/{lib/Math/Big{Float,Int}.pm,t/{mbimbf.t,upgrade.{inc,t}}}
# reproducible patchlevel_date
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH patchlevel.h
# cp -f ../db_config.in ./cpan/DB_File/config.in
# Fix test error in 5.38.1
if [[ "$pkgver" == "5.38.1" ]]; then
sed 's#"release_status" : "testing",#"release_status" : "stable",#' -i META.json
fi
}
build() {
@ -197,11 +172,12 @@ build() {
-Dman1ext=1perl -Dman3ext=3perl \
-Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
-Dloclibpth="/usr/lib/db5.3" -Dlocincpth="/usr/include/db5.3"
make
}
## Jul 30 23 One test failed so we commented this section and rerun, you may have to do the same ##
## Sep 02 24 Failed 1 test out of 2738, 99.96% okay.
check() {
cd "${pkgname}-${pkgver}"
# TEST_JOBS=$(echo "$MAKEFLAGS" | sed 's/.*-j\([0-9][0-9]*\).*/\1/') make test_harness
@ -258,19 +234,26 @@ arch=(x86_64)
license=('GPL' 'PerlArtistic')
# https://www.cpan.org/src/5.0/perl-$pkgver.tar.xz.sha256.txt
sha512sums=('a2fb1a24c6367b4043f4e929b2d74fc3bad1415e53b791ed1f219f1701064ae21b2bd3164ba95fcf24eaf458bd54433024ccae43725c0bb82a1ec6a98dc7052d'
'a44687e5f47a085e35dd4c6a3734bf11d8d64787da9acc421bf351742fd41bfe07086e84e9dcd373249e49d9e683f2287974293f6e63e08d055789267d2744fc'
'1c924b5bf7413d097f62638a574d7decf36d98598b84cdb5fb31ff633b6f953371e14b004a2558a1a0b74b6b60b90b481af0f68555a49208fe6b226381fed79f'
'6ed5bc6dbdc47bc7f4c0fedbe18deaf35ab02a2e6700988beb545954bb1d0fe20ff1a4de39d6d9fc882ef1741f7bf6d85ba165d0cd8dc0d9939b789c894f48a1'
'53eb0cddfd637014f3d3a101665db8dcafe5ac5bf3d319a259974334eb89c1c405097518ae96b6d18e520194633c7be57c9b2cd9ae6398443eb08f1a2008d112'
'881e2efe05ba818cd7300f126800b56bb0685cb5c9c5fb7e67ef6aaf5abd17d2391a979d5d16d109c5111f4b35504ba83d19b0e6eda4431e8421fcbea19d2f1a'
'bd48af7a6209f2ad51aa1747a7238ecb11607a53f61460d873202bf14b55c3b7dd6f66f4a9f2cac8a24240313789a9a44dbc81b73587de46a6b1866bdfca5e26'
'063624b6fc3728339e4f352597e6913c476c4eaa8e1004b2a46c480b5cce9c42f3083d1e6960081202099acf2b7d0b5d13dc6b7ee0aa303c272826febdcd311e')
sha256sums=(d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8 # perl-5.38.2.tar.xz
0f3c63d553c9a82ad4b39d2e0cf410d713b0795a22f818455d81eb46c341fb85 # c8e5f82f10959085f7ce3ec74b3caaaf72497693.patch
8bfd02a6ce8d1949448f3d1592e2b2fc7063d0c1a3a371ab9f00404628f3ae28 # 441f53eb116a003c78acad32f133b16f2f4c0814.patch
1658523b8554a24bd82886659440faa890c63d4be57cc1e1ef92c88b075487aa # 5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5.patch
57bdfe28ad65b2c2953dfd36586b67bc524f72bd4b29028f26223c812ace0ef5 # sha256.txt
# https://www.cpan.org/src/5.0/perl-$pkgver.tar.xz.sha256.txt
# d5325300ad267624cb0b7d512cfdfcd74fa7fe00c455c5b51a6bd53e5e199ef9
sha256sums=(d5325300ad267624cb0b7d512cfdfcd74fa7fe00c455c5b51a6bd53e5e199ef9 # perl-5.40.0.tar.xz
07001c6a6dc90c32ea480616500e0519bd908804e3abdb6c19f294314e600b53 # sha256.txt
84c7fae94f591f25d6568dd300f57bfe4924092559ab2d96f1038e67c353d190 # config.over
# 898dd20de9f9438cdcc0e5ca61fabea696a6eb0226647500f222dc4f8d8377af # db_config.in
35491e903f0d93df995cda3c11a900a7e96df699d53f5ba49e1379150aaf0fbb # perlbin.sh
3834ddced7051fd6e2d189db48c9266efe21bad467d2c6700c9c232830f6bfd9 # perlbin.csh
9b49a13607df8966a3f86f698d25f4b577be66405cc08f98869a03295617d3d1 # perlbin.fish
35491e903f0d93df995cda3c11a900a7e96df699d53f5ba49e1379150aaf0fbb # perlbin.sh
786f3c7938b0738337f7d47112ea7b84fd0e2d6c1af331b7d5e67b9865d6d2b4 # detect-old-perl-modules.hook
c5db3dcd1db71724fa4df5db34586688aa8db92ac6ffcbddaaa213c71cceff20) # detect-old-perl-modules.sh
c5db3dcd1db71724fa4df5db34586688aa8db92ac6ffcbddaaa213c71cceff20 # detect-old-perl-modules.sh
786f3c7938b0738337f7d47112ea7b84fd0e2d6c1af331b7d5e67b9865d6d2b4) # detect-old-perl-modules.hook
## a05a122f915485a1688a2fe59466a148e606a82ac0df62b45ab03596d63a234e perl-5.40.0-01-x86_64.pkg.tar.lz
##

View file

@ -5,9 +5,9 @@
# Contributor: francois <francois.archlinux.org>
pkgname=perl
pkgver=5.38.2
pkgver=5.40.0
_baseversion="${pkgver%.*}"
pkgrel=2
pkgrel=1
pkgdesc="A highly capable, feature-rich programming language"
arch=(x86_64)
license=('GPL' 'PerlArtistic')
@ -17,40 +17,40 @@ makedepends=('patchutils')
checkdepends=('procps-ng')
# NOTE: This array is automatically generated by `./patchprov`.
# If you want to add entries, do so in the next array.
provides=('perl-archive-tar=2.40'
provides=('perl-archive-tar=3.02_001'
'perl-attribute-handlers=1.03'
'perl-autodie=2.36'
'perl-autodie=2.37'
'perl-autoloader=5.74'
'perl-autouse=1.11'
'perl-base=2.27'
'perl-bignum=0.66'
'perl-bignum=0.67'
'perl-carp=1.54'
'perl-compress-raw-bzip2=2.204_001'
'perl-compress-raw-zlib=2.204_001'
'perl-compress-raw-bzip2=2.212'
'perl-compress-raw-zlib=2.212'
'perl-config-perl-v=0.36'
'perl-constant=1.33'
'perl-cpan-meta-requirements=2.140'
'perl-cpan-meta-requirements=2.143'
'perl-cpan-meta-yaml=0.018'
'perl-cpan-meta=2.150010'
'perl-cpan=2.36'
'perl-data-dumper=2.188'
'perl-db_file=1.858'
'perl-devel-ppport=3.71'
'perl-data-dumper=2.189'
'perl-db_file=1.859'
'perl-devel-ppport=3.72'
'perl-devel-selfstubber=1.06'
'perl-digest-md5=2.58_01'
'perl-digest-sha=6.04'
'perl-digest=1.20'
'perl-dumpvalue=1.21'
'perl-encode=3.19'
'perl-encode=3.21'
'perl-encoding-warnings=0.14'
'perl-env=1.06'
'perl-experimental=0.031'
'perl-exporter=5.77'
'perl-extutils-cbuilder=0.280238'
'perl-experimental=0.032'
'perl-exporter=5.78'
'perl-extutils-cbuilder=0.280240'
'perl-extutils-constant=0.25'
'perl-extutils-install=2.22'
'perl-extutils-makemaker=7.70'
'perl-extutils-manifest=1.73'
'perl-extutils-manifest=1.75'
'perl-extutils-parsexs=3.51'
'perl-extutils-pl2bat=0.005'
'perl-file-fetch=1.04'
@ -58,16 +58,16 @@ provides=('perl-archive-tar=2.40'
'perl-file-temp=0.2311'
'perl-filter-simple=0.96'
'perl-filter-util-call=1.64'
'perl-findbin=1.53'
'perl-getopt-long=2.54'
'perl-http-tiny=0.086'
'perl-findbin=1.54'
'perl-getopt-long=2.57'
'perl-http-tiny=0.088'
'perl-i18n-collate=1.02'
'perl-i18n-langtags=0.45'
'perl-if=0.0610'
'perl-io-compress=2.204'
'perl-io-socket-ip=0.41_01'
'perl-io-zlib=1.14'
'perl-io=1.52'
'perl-io-compress=2.212'
'perl-io-socket-ip=0.42'
'perl-io-zlib=1.15'
'perl-io=1.55'
'perl-ipc-cmd=1.04'
'perl-ipc-sysv=2.09'
'perl-json-pp=4.16'
@ -75,67 +75,65 @@ provides=('perl-archive-tar=2.40'
'perl-libnet=3.15'
'perl-locale-maketext-simple=0.21_01'
'perl-locale-maketext=1.33'
'perl-math-bigint-fastcalc=0.5013'
'perl-math-bigint=1.999837'
'perl-math-bigrat=0.2624'
'perl-math-bigint-fastcalc=0.5018'
'perl-math-bigint=2.003002'
'perl-math-complex=1.62'
'perl-memoize=1.16'
'perl-mime-base64=3.16_01'
'perl-module-corelist=5.20231129'
'perl-module-corelist=5.20240609'
'perl-module-load-conditional=0.74'
'perl-module-load=0.36'
'perl-module-loaded=0.08'
'perl-module-metadata=1.000037'
'perl-module-metadata=1.000038'
'perl-net-ping=2.76'
'perl-params-check=0.38'
'perl-parent=0.241'
'perl-pathtools=3.89'
'perl-pathtools=3.90'
'perl-perl-ostype=1.010'
'perl-perlfaq=5.20210520'
'perl-perlfaq=5.20240218'
'perl-perlio-via-quotedprint=0.10'
'perl-pod-checker=1.75'
'perl-pod-checker=1.77'
'perl-pod-escapes=1.07'
'perl-pod-perldoc=3.2801'
'perl-pod-simple=3.43'
'perl-pod-simple=3.45'
'perl-pod-usage=2.03'
'perl-podlators=5.010'
'perl-safe=2.44'
'perl-safe=2.46'
'perl-scalar-list-utils=1.63'
'perl-search-dict=1.07'
'perl-selfloader=1.26'
'perl-socket=2.036'
'perl-selfloader=1.27'
'perl-socket=2.038'
'perl-storable=3.32'
'perl-sys-syslog=0.36'
'perl-term-ansicolor=5.01'
'perl-term-cap=1.18'
'perl-term-complete=1.403'
'perl-term-readline=1.17'
'perl-test-harness=3.44'
'perl-test-simple=1.302194'
'perl-term-table=0.018'
'perl-test-harness=3.48'
'perl-test-simple=1.302199'
'perl-test2-suite=0.000162'
'perl-test=1.31'
'perl-text-abbrev=1.02'
'perl-text-balanced=2.06'
'perl-text-parsewords=3.31'
'perl-text-tabs=2021.0814'
'perl-text-tabs=2024.001'
'perl-thread-queue=3.14'
'perl-thread-semaphore=2.13'
'perl-threads-shared=1.68'
'perl-threads=2.36'
'perl-tie-file=1.07'
'perl-threads-shared=1.69'
'perl-threads=2.40'
'perl-tie-file=1.09'
'perl-tie-refhash=1.40'
'perl-time-hires=1.9775'
'perl-time-local=1.30'
'perl-time-hires=1.9777'
'perl-time-local=1.35'
'perl-time-piece=1.3401_01'
'perl-unicode-collate=1.31'
'perl-unicode-normalize=1.32'
'perl-version=0.9929'
'perl-version=0.9930'
'perl-xsloader=0.32')
# Add your own provides here
provides=("${provides[@]}")
source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
https://github.com/pjacklam/p5-Math-BigInt/commit/c8e5f82f10959085f7ce3ec74b3caaaf72497693.patch
https://github.com/pjacklam/p5-Math-BigInt/commit/441f53eb116a003c78acad32f133b16f2f4c0814.patch
https://github.com/pjacklam/p5-Math-BigInt/commit/5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5.patch
config.over
perlbin.sh
perlbin.csh
@ -143,10 +141,7 @@ source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
detect-old-perl-modules.sh
detect-old-perl-modules.hook)
options=('makeflags' '!purge' 'emptydirs')
sha512sums=('0ca51e447c7a18639627c281a1c7ae6662c773745ea3c86bede46336d5514ecc97ded2c61166e1ac15635581489dc596368907aa3a775b34db225b76d7402d10'
'0327bb66f2cff72e0a81723b09204088afb558530f8b1a69dd50cb8f50fff138f14c5d02d7e7ffa69aafcffce3e8e3d34c44dc693b194ec8d8a7d3aded081865'
'a01b581b5af7899cafdc860d685741e782d97c7b56b3fc4bfb526ee0b3711f92f0ba4027fe2863190e6f10fa91a441b0185ad0a82174b254baacfbb9969bc9a6'
'470ae0f4624e6493ecb66aadbd282f1560e315dbe282264717c768d182cace4c23690b330c318821063155a6f2b1aa19c4fe7126ebf32e9e6953078990b81e9e'
sha512sums=('a2fb1a24c6367b4043f4e929b2d74fc3bad1415e53b791ed1f219f1701064ae21b2bd3164ba95fcf24eaf458bd54433024ccae43725c0bb82a1ec6a98dc7052d'
'1c924b5bf7413d097f62638a574d7decf36d98598b84cdb5fb31ff633b6f953371e14b004a2558a1a0b74b6b60b90b481af0f68555a49208fe6b226381fed79f'
'6ed5bc6dbdc47bc7f4c0fedbe18deaf35ab02a2e6700988beb545954bb1d0fe20ff1a4de39d6d9fc882ef1741f7bf6d85ba165d0cd8dc0d9939b789c894f48a1'
'53eb0cddfd637014f3d3a101665db8dcafe5ac5bf3d319a259974334eb89c1c405097518ae96b6d18e520194633c7be57c9b2cd9ae6398443eb08f1a2008d112'
@ -158,27 +153,8 @@ sha512sums=('0ca51e447c7a18639627c281a1c7ae6662c773745ea3c86bede46336d5514ecc97d
prepare() {
cd "${pkgname}-${pkgver}"
# Temporarily make files to be patched writable.
chmod +w cpan/Math-BigInt/{lib/Math/Big{Float,Int}.pm,t/{mbimbf.t,upgrade.{inc,t}}}
# p5-Math-BigInt:Improve handling of accuracy and precision
filterdiff -p1 ../5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5.patch \
-x xt/author/sparts-mbf.t | patch -Np1 -d cpan/Math-BigInt/
# p5-Math-BigInt:Instance methods should return instance variables
filterdiff -p1 ../441f53eb116a003c78acad32f133b16f2f4c0814.patch \
-x xt/author/sparts-mbf.t | patch -Np1 -d cpan/Math-BigInt/
# p5-Math-BigInt:Fix CPAN RT #146411
patch -Np1 -i "$srcdir"/c8e5f82f10959085f7ce3ec74b3caaaf72497693.patch \
-d cpan/Math-BigInt/
# Remove temporary write permission.
chmod -w cpan/Math-BigInt/{lib/Math/Big{Float,Int}.pm,t/{mbimbf.t,upgrade.{inc,t}}}
# reproducible patchlevel_date
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH patchlevel.h
# Fix test error in 5.38.1
if [[ "$pkgver" == "5.38.1" ]]; then
sed 's#"release_status" : "testing",#"release_status" : "stable",#' -i META.json
fi
}
build() {

View file

@ -1 +1 @@
6a82c7930563086e78cb84d9c265e6b212ee65d509d19eedcd23ab8c1ba3f046
d5325300ad267624cb0b7d512cfdfcd74fa7fe00c455c5b51a6bd53e5e199ef9

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=sudo
_sudover=1.9.15p5
pkgrel=02
_sudover=1.9.16
pkgrel=01
pkgver=${_sudover/p/.p}
pkgdesc="Give certain users the ability to run some commands as root w/o systemd"
url="https://www.sudo.ws/sudo/"
@ -19,22 +19,10 @@ backup=('etc/pam.d/sudo'
'etc/sudoers')
install=$pkgname.install
source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
# $pkgname-CVE-2022-43995.patch::https://github.com/sudo-project/sudo/commit/bd209b9f16fc.patch
# sudo_logsrvd.service
# $pkgname-configure-add-missing-bracket.patch::https://github.com/sudo-project/sudo/commit/defec5d46eec.patch
# $pkgname-tests-pick-first-utf-8-locale.patch::https://github.com/sudo-project/sudo/commit/2845ceafb06d.patch
$pkgname-preserve-editor-for-visudo.patch::https://github.com/sudo-project/sudo/commit/1db1453556e1.patch
$pkgname-enable-secure_path-by-default.patch::https://github.com/sudo-project/sudo/commit/e0e24456bc3f.patch
change-default-secure-path.patch
sudo.pam)
prepare() {
cd $pkgname-$_sudover
patch -Np1 -i ../$pkgname-preserve-editor-for-visudo.patch
patch -Np1 -F3 -i ../$pkgname-enable-secure_path-by-default.patch
# we cannot use --with-secure_path as it will enable it internally as well
# keeping it disabled in the sudo binary allows the user to comment it out
patch -Np1 -i ../change-default-secure-path.patch
}
@ -45,6 +33,7 @@ build() {
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--with-rundir=/run/sudo \
--with-secure-path-value=/usr/local/sbin:/usr/local/bin:/usr/bin \
--with-vardir=/var/db/sudo \
--with-logfac=auth \
--enable-tmpfiles.d \
@ -58,13 +47,11 @@ build() {
make
}
# # fails 2 checks and fails to build with check
# # again 1.10 fails 2 tests
#check() {
# cd "$srcdir/$pkgname-$_sudover"
# make check
#}
#
## one test fails run it over with makepkg -e --nocheck
check() {
cd "$srcdir/$pkgname-$_sudover"
make check
}
package() {
depends+=('libcrypto.so' 'libssl.so')
@ -93,12 +80,9 @@ license=('custom')
validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB') # "Todd C. Miller <Todd.Miller@sudo.ws>"
sha256sums=(558d10b9a1991fb3b9fa7fa7b07ec4405b7aefb5b3cb0b0871dbc81e3a88e558 # sudo-1.9.15p5.tar.gz
94ac50200cb00e82df1a76747166f90c4febdb5b45c4a8edbf0251029a559230 # sudo-1.9.15p5.tar.gz.sig
321aa5f1b482ffd5728c07477a51ce3de1e48b9db13f4578e662c227c705826c # sudo-preserve-editor-for-visudo.patch
baacece8e854bed47276925715ae8f3c2771ad72821006b3a26796fe154e1130 # sudo-enable-secure_path-by-default.patch
d062bab92a9fcd2fac0a4a9dca155c58efc0f942dd1ed7e37e7055455a4980d9 # change-default-secure-path.patch
sha256sums=(c0d84d797f06b732fc573d0b798ae83128c2bc33052057f05b560ec6bcbfa03d # sudo-1.9.16.tar.gz
ae9f83924ea7c79b2a388a9c0840272b072fe0261e660d75f99a3bf18cdd1b98 # sudo-1.9.16.tar.gz.sig
d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2) # sudo.pam
## 2eb19a42be92e8c41d1964d39cc1076c6461abd9a80d4cc63fc98e1798315370 sudo-1.9.15.p5-02-x86_64.pkg.tar.lz
## 5f51a22dde2cd1a603c9b04d8f697489e1056d4477b8995616a53c76d01b34b9 sudo-1.9.16-01-x86_64.pkg.tar.lz

View file

@ -3,8 +3,8 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sudo
_sudover=1.9.15p5
pkgrel=2
_sudover=1.9.16
pkgrel=1
pkgver=${_sudover/p/.p}
pkgdesc="Give certain users the ability to run some commands as root"
arch=('x86_64')
@ -17,28 +17,16 @@ backup=('etc/pam.d/sudo'
'etc/sudoers')
install=$pkgname.install
source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
$pkgname-preserve-editor-for-visudo.patch::https://github.com/sudo-project/sudo/commit/1db1453556e1.patch
$pkgname-enable-secure_path-by-default.patch::https://github.com/sudo-project/sudo/commit/e0e24456bc3f.patch
change-default-secure-path.patch
sudo_logsrvd.service
sudo.pam)
sha256sums=('558d10b9a1991fb3b9fa7fa7b07ec4405b7aefb5b3cb0b0871dbc81e3a88e558'
sha256sums=('c0d84d797f06b732fc573d0b798ae83128c2bc33052057f05b560ec6bcbfa03d'
'SKIP'
'321aa5f1b482ffd5728c07477a51ce3de1e48b9db13f4578e662c227c705826c'
'baacece8e854bed47276925715ae8f3c2771ad72821006b3a26796fe154e1130'
'd062bab92a9fcd2fac0a4a9dca155c58efc0f942dd1ed7e37e7055455a4980d9'
'bd4bc2f5d85cbe14d7e7acc5008cb4fe62c38de7d42dc6876c87bfaa273c0a6e'
'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB')
prepare() {
cd $pkgname-$_sudover
patch -Np1 -i ../$pkgname-preserve-editor-for-visudo.patch
patch -Np1 -F3 -i ../$pkgname-enable-secure_path-by-default.patch
# we cannot use --with-secure_path as it will enable it internally as well
# keeping it disabled in the sudo binary allows the user to comment it out
patch -Np1 -i ../change-default-secure-path.patch
}
build() {
@ -58,6 +46,7 @@ build() {
--with-ldap-conf-file=/etc/openldap/ldap.conf \
--with-env-editor \
--with-passprompt="[sudo] password for %p: " \
--with-secure-path-value=/usr/local/sbin:/usr/local/bin:/usr/bin \
--with-all-insults
make
}

View file

@ -1 +1,2 @@