upg gmp licences perl openldap

This commit is contained in:
joborun linux 2023-07-31 03:14:06 +03:00
parent c7bdd6c24f
commit a325b700a5
10 changed files with 183 additions and 197 deletions

View file

@ -6,10 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gmp
pkgver=6.2.1
pkgrel=02
pkgver=6.3.0
pkgrel=01
pkgdesc='A free library for arbitrary precision arithmetic'
arch=(x86_64)
url='https://gmplib.org/'
#options=(debug) ## uncomment this line to have the debug pkg produced
depends=(gcc-libs sh)
@ -35,16 +34,19 @@ package() {
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key sha256sums ----
arch=(x86_64)
license=(LGPL3 GPL)
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
md5sums=('03a31d8cbaf29d136252f8f38875ed82'
'SKIP')
sha256sums=(''
'SKIP')
sha256sums=(2c7f4f0d370801b2849c48c9ef3f59553b5f1d3791d070cffb04599f9fc67b41 # gmp-6.2.1.tar.lz
1e01bee28a3ac6ccce3d7b91eaa62c07f43f572565729ed0e0c50948b81c2b14) # gmp-6.2.1.tar.lz.sig
sha256sums=(be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c # gmp-6.3.0.tar.lz
ecc20ea069574880a8d482653e4dc2262a92021281c3fcb2c8bb55c44054fe7c) # gmp-6.3.0.tar.lz.sig
## f182b5e8b77c7386fa3141a6073db438ab4a6003a7398ba29176fb0a8ff57604 gmp-6.3.0-01-x86_64.pkg.tar.lz

View file

@ -1,19 +1,19 @@
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gmp
pkgver=6.2.1
pkgrel=2
pkgver=6.3.0
pkgrel=1
pkgdesc='A free library for arbitrary precision arithmetic'
arch=(x86_64)
url='https://gmplib.org/'
depends=(gcc-libs sh)
license=(LGPL3 GPL)
source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig})
md5sums=('03a31d8cbaf29d136252f8f38875ed82'
'SKIP')
sha256sums=('be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c'
'SKIP')
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
options=(debug)
build() {
cd $pkgname-$pkgver

View file

@ -1,3 +1,6 @@
real 1m41.039s
user 5m8.967s
sys 0m22.200s
real 4m0.121s
user 3m43.487s
sys 0m22.909s

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=licenses
pkgver=20220125
pkgrel=02
pkgver=20230729
pkgrel=01
pkgdesc="A set of common license files"
url="https://www.archlinux.org/"
source=(
@ -38,7 +38,7 @@ source=(
php-3.01.txt::https://www.php.net/license/3_01.txt
python-2.txt
ruby-license.txt
unlicense.txt::https://unlicense.org/UNLICENSE
unlicense.txt
w3c.txt
ZopePublicLicense.txt
)
@ -130,7 +130,7 @@ sha256sums=(0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0 #
3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 # gpl-3.0.txt
dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 # lgpl-2.1.txt
e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 # lgpl-3.0.txt
5f05fcf6ef25a6c31bccd2df7c0c46b23107bbeb2ce5cdba74efb5cc357f4dbb # lppl.txt
3d262cdf34dafa6955f703c634a8c238ec44109bc8dd6ef34fb7aa54809f7e66 # lppl.txt
f849fc26a7a99981611a3a370e83078deb617d12a45776d6c4cada4d338be469 # mpl-1.1.txt
3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04 # mpl-2.0.txt
5e8219a37b4c1a146096f17862ef7d6ce689b2137c0161a3936c358a28014169 # perlartistic.txt
@ -141,6 +141,5 @@ sha256sums=(0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0 #
ec2f99fa32da2236c60b1054f8967ccce5175370de5215e8f018cb7be397512e # w3c.txt
281c83248297ed2070a2e61ac140e707697511a6a065ba3808cbfa6de5bb5611) # ZopePublicLicense.txt
## 56d29fa7d59c14b7b11e7acf3a02bd24b9a23b1e8ed74af1c0d48be4cc46be05 licenses-20220125-02-x86_64.pkg.tar.lz
## db3e2425fa84b02139b978437d0a02d45dec96604bd455e415731512bf56af1b licenses-20230729-01-x86_64.pkg.tar.lz

View file

@ -3,8 +3,8 @@
# Contributor: Dan McGee <dan@archlinux.org>
pkgname=licenses
pkgver=20220125
pkgrel=2
pkgver=20230729
pkgrel=1
pkgdesc="A set of common license files"
arch=(any)
license=(custom:none)
@ -37,7 +37,7 @@ source=(
php-3.01.txt::https://www.php.net/license/3_01.txt
python-2.txt
ruby-license.txt
unlicense.txt::https://unlicense.org/UNLICENSE
unlicense.txt
w3c.txt
ZopePublicLicense.txt
)
@ -56,14 +56,14 @@ sha512sums=('3568a76677f3d55dbbc7fc33c4073b4714cc6f68d92cd842a9ca2b230e8bd2140e5
'51a43c9de1a8ef92264655118e053b4a2dd1e1fe4a8680cfe90a6a1a87c2c2c5253a1a70f8b12b18aa5ab33756e8a7a9a86fc67701edccd05156bc38ea2cd79c'
'861e7f297c4df79b4f218876b850ce1f70687edb7029898e8bfa4255a321ba7e48a82f6b3a9f56779d29b214cce4ce81f0e36c44462065d3b848f3fd30375eb6'
'22d2414762188840be68198978b9ece122813d1cac522632b8fa8315749335b43b1b58a6475fec0ef593a7bc568368526a90e199999808a118a7c6bb55906ac1'
'bea1788b2bdc84f470e459114b871cf4ee991718964a63e18adde65116806d7676484cb30857cf74dece5eef5f96a015ee4a21900e019623e5d3484868b28b7f'
'22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb'
'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957'
'd361e5e8201481c6346ee6a886592c51265112be550d5224f1a7a6e116255c2f1ab8788df579d9b8372ed7bfd19bac4b6e70e00b472642966ab5b319b99a2686'
'1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c'
'6a21e9f6706dacb99162dd4c70ec704e3fdf283b93ca2cc1521e08e55e0727db4c7384d027d54739f100cd26c8d3d5be717715c6b21086a9bb22efb893c34fcf'
'4c84834dc54cb6e4d88ad9907ab6a541c038a389954679453f372d9481dd45e64733b7189aca34a06e44171f5327d957735677db9ce72d2d2d60136a302680a9'
'12336a106ce751169af566210cbd7f542172e175f49c4a37345aaf39fea1663dd847e87e3ab1f21e8642ccb0532395f95acd03643a8fddd0e40a75cba9887b21'
'4d54a4a55189e36134fd8af9e0800a037d360dc05246dd2cd942e809f95db305cdf39b89d0e9732318075afd0e1ed2f90856eaa66a67a98ccbe8cfde99750af3'
'9eda310d0d71a8d7d4e07ae801f1c3309a46cd59b9ee566a8d0ae98dcfdebc93dcf9f399ba1e5ff5f43e932ec21078de2be88b0699dfd3ec4828061011216389'
'239dbc27d68e0a03e92c68fb746602d8183084c9624a533fe92a991b8a4658d5154c901ff64826992eabcf89a5b52cb32f9cf29fd25a42bef2b5d3932010d806'
'dc6efc925c7ef8df903d7f7f66b6d3ab17e73e5037bc12c50109925f12c6011e18d873d081d4da1ff2d52669584b7168239132ff2f665ca6d5178f7efe1beaf6'
'f6acda74831a984baf170b1e423bbea8fdeb41c5e7266614e203bc4265dcfd56a78740c2369d6408dadcec7835a52dd80efa0a0f5466cac55491d99cfe0ec075'
'f9d70fce91b44721124b2e1249a93ac902318c294da182a53ef0cf2e8f2f47c19f6b4abf964b598798ecbb954810cf66192a52ec3ace00ea5aacbbfcf8c22363'
@ -86,14 +86,14 @@ b2sums=('b6829320f725e3e45c4807ef5deb4738a691fb3ab146d8531b81fdbccd8376a826c8ec7
'c1f8c0a7c2596a9e8db61505b63f5b7ea54d7c0c86f4e8821bd27160a3976cc3876baef386bfecfc21816a2230a539bf54ae333c6c9241e392312e910ba9f342'
'113530ed800ced04cc82a7424577f1edc3234601068ab485c9aaf1ca3f45fe43fed01eee6b2642cba9618a11ab33ac73a3beefbbd6f0de879905df5109935992'
'a580eceb4f7514964ef00e8c5130b9568fb2cf99d9bef0222662fa994af7b1634c1034c846eac9d63c21b67c4f94f91b79d144b1d3b4a856ca10243548407b84'
'5ac1e0794bd70d6820efacd36b8885a37e5364ce6bfee9382d10d37631edf88c7c3b05e35913cdadc687837adc942d907975cf53e21b4a65e9f711114f1a3b3d'
'85947e91ba1da3f15c1d2c55f592aaaa1ede964ca8f48c9a68799c7a405a8f43b927ce9bac65c893e3b4c7925e879bdfcc852e46f03ae04e48b036fdff6c29f7'
'1e1e108a77d8676eb68467cdfbf95684f0bad991bfcc24e7bd3d1eec58d746f14d20798c3bcf64e9bdd1ff4a9c5ec02ccb4c06331bcf251a9d1d0f28b6875296'
'74915e048cf8b5207abf603136e7d5fcf5b8ad512cce78a2ebe3c88fc3150155893bf9824e6ed6a86414bbe4511a6bd4a42e8ec643c63353dc8eea4a44a021cd'
'b15551a6f0f0923dfb15912db9f6976898bc3d60ab3f5505e48d5e252341bb0855f4c7f23d66e9ce8809a23187b5f2ea08c99c8eb2c3d4d0407466c222cfdcca'
'4f97bb19f3d6aa5af71bec5a070b4317c0742069d23f591092e435ff8805788f7279524a1bb8a10e67a1013e0391e4a719bb8d89ccdae728b4eb134d7697a3c8'
'f95087f01083423ee41d47fed72799aee2a4837c3ebc378a13f7ace0a83d9132c76aa1c16eb00adcc98d048f4bc970be980d3e9e1f71df93ed721aa1583892b8'
'6ac73d500448fe0b62b5fcf4f8705720e987be7efaf3cb3f4eeb50e887edbfcd5aad307b42e355729631a757e76601dd953f75d803da51a58edd6e787f5369df'
'5d342f32a42b4563b5604b3101cc7122516c6a514b853eb3974b61ecb68ef0691b9da1742e5d0c688247e51c178b26d34957b01b357ec8a8be28b22554bac73a'
'e57391102771f85905986aac45cb923f1738fe96ec4a520bad9a79ce68e7a5b14898cdc97d17d84dc8aff7c5aa2aab853701ef8b27c6a5fe9c1f634c19ca9d9b'
'4b8113182ec7889743d2c3f153ae13a64c3ea0a2d1b9d6a5bd85be446e87882fddf70afea5d8acae413bbea00e258bd79d0c002ea29c7b6c21073cdbbeedbfdd'
'953343f375b14990dde1f51b9f9dc1f11d3c70a75f82575698390404af31e2983ba9acf03139e65026c737bf7afadd7b956e4ddd94fe303e1438041dc1667c79'
'144613d910215899c1183e7dc2588ca7272fbd3b92023704536f007feb0746b9c1ef9890a5245275623c20c14de45ef1514fab2dc6d62274db6a10c276a96681'
'9ff800831a5c1d3b45a98c56d513935dc5b1e50e285de658d499fdc6d52736998b58cc5a5ecca83b8c98d38869122f01633e8e3ed8b9771e5919ab0f61da2cc4'

View file

@ -1,2 +1,3 @@

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.5
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=(2e27a8d4f4c2af8fe840b573271c20aa163e24987f9765214644290f5beb38d9 #
0be46138e53ff2fa6d4b4c06bfbdd2100426e0bd2ed29bf3419ade6b5974e9a0 # openldap.tmpfiles
c6e3fa72138edfebb4ecb17f677e217c885ff9eef805b5c8ad1c09169bb0ff8e) # openldap.sysusers
## 47fc6e6ba87a15dadcf8836836c25ab7c1cf0c562d1d2c28ec7e6ea814b00797 libldap-2.6.5-01-x86_64.pkg.tar.lz
## 796a5b1544d281f3b31ca2002a7d03d927149801ff6232921ae097bffc5e794b openldap-2.6.5-01-x86_64.pkg.tar.lz
## bb13e8c33b4a3af614dc659f8bea96a2511f87eac7aa085784f7eb1dd39293c5 openldap-2.6.5-02-x86_64.pkg.tar.lz
## 14947728123c9acf60c96a5e216ea8fc6e9b6653510ce855737bd9f922db8e62 libldap-2.6.5-02-x86_64.pkg.tar.lz

View file

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

View file

@ -6,9 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=perl
pkgver=5.36.1
pkgver=5.38.0
_baseversion="${pkgver%.*}"
pkgrel=02
pkgrel=01
pkgdesc="A highly capable, feature-rich programming language"
groups=( jobbot )
url="https://www.perl.org"
@ -17,122 +17,122 @@ 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'
'perl-attribute-handlers=1.02'
'perl-autodie=2.34'
'perl-attribute-handlers=1.03'
'perl-autodie=2.36'
'perl-autoloader=5.74'
'perl-autouse=1.11'
'perl-base=2.27'
'perl-bignum=0.65'
'perl-carp=1.52'
'perl-compress-raw-bzip2=2.103'
'perl-compress-raw-zlib=2.105'
'perl-config-perl-v=0.33'
'perl-bignum=0.66'
'perl-carp=1.54'
'perl-compress-raw-bzip2=2.204_001'
'perl-compress-raw-zlib=2.204_001'
'perl-config-perl-v=0.36'
'perl-constant=1.33'
'perl-cpan-meta-requirements=2.140'
'perl-cpan-meta-yaml=0.018'
'perl-cpan-meta=2.150010'
'perl-cpan=2.33'
'perl-data-dumper=2.184'
'perl-db_file=1.857'
'perl-devel-ppport=3.68'
'perl-cpan=2.36'
'perl-data-dumper=2.188'
'perl-db_file=1.858'
'perl-devel-ppport=3.71'
'perl-devel-selfstubber=1.06'
'perl-digest-md5=2.58'
'perl-digest-sha=6.02'
'perl-digest-md5=2.58_01'
'perl-digest-sha=6.04'
'perl-digest=1.20'
'perl-dumpvalue=1.21'
'perl-encode=3.17'
'perl-encoding-warnings=0.13'
'perl-env=1.05'
'perl-experimental=0.028'
'perl-encode=3.19'
'perl-encoding-warnings=0.14'
'perl-env=1.06'
'perl-experimental=0.031'
'perl-exporter=5.77'
'perl-extutils-cbuilder=0.280236'
'perl-extutils-cbuilder=0.280238'
'perl-extutils-constant=0.25'
'perl-extutils-install=2.20'
'perl-extutils-makemaker=7.64'
'perl-extutils-install=2.22'
'perl-extutils-makemaker=7.70'
'perl-extutils-manifest=1.73'
'perl-extutils-parsexs=3.45'
'perl-extutils-pl2bat=0.004'
'perl-extutils-parsexs=3.51'
'perl-extutils-pl2bat=0.005'
'perl-file-fetch=1.04'
'perl-file-path=2.18'
'perl-file-temp=0.2311'
'perl-filter-simple=0.96'
'perl-filter-util-call=1.60'
'perl-filter-util-call=1.64'
'perl-findbin=1.53'
'perl-getopt-long=2.52'
'perl-http-tiny=0.080'
'perl-getopt-long=2.54'
'perl-http-tiny=0.086'
'perl-i18n-collate=1.02'
'perl-i18n-langtags=0.45'
'perl-if=0.0610'
'perl-io-compress=2.106'
'perl-io-socket-ip=0.41'
'perl-io-zlib=1.11'
'perl-io=1.50'
'perl-io-compress=2.204'
'perl-io-socket-ip=0.41_01'
'perl-io-zlib=1.14'
'perl-io=1.52'
'perl-ipc-cmd=1.04'
'perl-ipc-sysv=2.09'
'perl-json-pp=4.07'
'perl-json-pp=4.16'
'perl-lib=0.65'
'perl-libnet=3.13'
'perl-libnet=3.15'
'perl-locale-maketext-simple=0.21_01'
'perl-locale-maketext=1.31'
'perl-math-bigint-fastcalc=0.5012'
'perl-math-bigint=1.999830'
'perl-math-bigrat=0.2621'
'perl-math-complex=1.5902'
'perl-memoize=1.03_01'
'perl-mime-base64=3.16'
'perl-module-corelist=5.20230423'
'perl-locale-maketext=1.33'
'perl-math-bigint-fastcalc=0.5013'
'perl-math-bigint=1.999837'
'perl-math-bigrat=0.2624'
'perl-math-complex=1.62'
'perl-memoize=1.16'
'perl-mime-base64=3.16_01'
'perl-module-corelist=5.20230520'
'perl-module-load-conditional=0.74'
'perl-module-load=0.36'
'perl-module-loaded=0.08'
'perl-module-metadata=1.000037'
'perl-net-ping=2.74'
'perl-net-ping=2.76'
'perl-params-check=0.38'
'perl-parent=0.238'
'perl-pathtools=3.84'
'perl-parent=0.241'
'perl-pathtools=3.89'
'perl-perl-ostype=1.010'
'perl-perlfaq=5.20210520'
'perl-perlio-via-quotedprint=0.09'
'perl-pod-checker=1.74'
'perl-perlio-via-quotedprint=0.10'
'perl-pod-checker=1.75'
'perl-pod-escapes=1.07'
'perl-pod-perldoc=3.2801'
'perl-pod-simple=3.43'
'perl-pod-usage=2.01'
'perl-podlators=5.008'
'perl-safe=2.43'
'perl-scalar-list-utils=1.62'
'perl-pod-usage=2.03'
'perl-podlators=5.010'
'perl-safe=2.44'
'perl-scalar-list-utils=1.63'
'perl-search-dict=1.07'
'perl-selfloader=1.26'
'perl-socket=2.033'
'perl-storable=3.26'
'perl-socket=2.036'
'perl-storable=3.32'
'perl-sys-syslog=0.36'
'perl-term-ansicolor=5.01'
'perl-term-cap=1.17'
'perl-term-cap=1.18'
'perl-term-complete=1.403'
'perl-term-readline=1.17'
'perl-test-harness=3.44'
'perl-test-simple=1.302190'
'perl-test-simple=1.302194'
'perl-test=1.31'
'perl-text-abbrev=1.02'
'perl-text-balanced=2.04'
'perl-text-balanced=2.06'
'perl-text-parsewords=3.31'
'perl-text-tabs=2021.0814'
'perl-thread-queue=3.14'
'perl-thread-semaphore=2.13'
'perl-threads-shared=1.64'
'perl-threads=2.27'
'perl-tie-file=1.06'
'perl-threads-shared=1.68'
'perl-threads=2.36'
'perl-tie-file=1.07'
'perl-tie-refhash=1.40'
'perl-time-hires=1.9770'
'perl-time-hires=1.9775'
'perl-time-local=1.30'
'perl-time-piece=1.3401'
'perl-time-piece=1.3401_01'
'perl-unicode-collate=1.31'
'perl-unicode-normalize=1.31'
'perl-unicode-normalize=1.32'
'perl-version=0.9929'
'perl-xsloader=0.31')
'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/andk/cpanpm/commit/9c98370287.patch
# https://github.com/andk/cpanpm/commit/9c98370287.patch
sha256.txt::https://www.cpan.org/src/5.0/perl-$pkgver.tar.xz.sha256.txt
config.over
db_config.in
@ -144,30 +144,22 @@ source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
options=('makeflags' '!purge' 'emptydirs')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
# 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
# CVE-2023-31484
patch -Np1 -d cpan/CPAN -i "${srcdir}"/9c98370287.patch
# # CVE-2023-31484
# patch -Np1 -d cpan/CPAN -i "${srcdir}"/9c98370287.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
if [ "${CARCH}" = "x86_64" ]; then
# for x86_64
arch_opts="-Dcccdlflags='-fPIC'"
else
# for i686
arch_opts=""
fi
# reproducible builds overrides are only fully effective when loaded from file
# reproducible build overrides are only fully effective when loaded from file
cp ../config.over .
export TZ=UTC
@ -183,19 +175,20 @@ build() {
-Dsitescript=/usr/bin/site_perl \
-Dvendorscript=/usr/bin/vendor_perl \
-Dinc_version_list=none \
-Dman1ext=1perl -Dman3ext=3perl ${arch_opts} \
-Dman1ext=1perl -Dman3ext=3perl \
-Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}"
make
}
## Jul 30 23 One test failed so we commented this section and rerun, you may have to do the same ##
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
# TEST_JOBS=$(echo "$MAKEFLAGS" | sed 's/.*-j\([0-9][0-9]*\).*/\1/') make test_harness
make test
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
### Perl Settings ###
@ -246,8 +239,7 @@ license=('GPL' 'PerlArtistic')
# https://www.cpan.org/src/5.0/perl-$pkgver.tar.xz.sha256.txt
sha256sums=(bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 # perl-5.36.1.tar.xz
94a871188870c1686fb65ba2f97fd9e6c3d26cfdb47c2cc4792f870cfd7e61e1 # 9c98370287.patch
sha256sums=(eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e # perl-5.38.0.tar.xz
e74c62f22139dd92c1618399e5ec70cee08f33b67e6ee3c89f179fdc823d98fa # sha256.txt
84c7fae94f591f25d6568dd300f57bfe4924092559ab2d96f1038e67c353d190 # config.over
898dd20de9f9438cdcc0e5ca61fabea696a6eb0226647500f222dc4f8d8377af # db_config.in
@ -257,4 +249,6 @@ sha256sums=(bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 #
786f3c7938b0738337f7d47112ea7b84fd0e2d6c1af331b7d5e67b9865d6d2b4 # detect-old-perl-modules.hook
c5db3dcd1db71724fa4df5db34586688aa8db92ac6ffcbddaaa213c71cceff20) # detect-old-perl-modules.sh
## 225dbf847f7424801e5949d0826474a0c727b8c9fd44d6376d42e6fc8683b099 perl-5.36.1-02-x86_64.pkg.tar.lz
## b4793adf613944fff6d2517ea762efa58037b5591c2a0df698a113f8e8189ecb perl-5.38.0-01-x86_64.pkg.tar.lz

View file

@ -5,9 +5,9 @@
# Contributor: francois <francois.archlinux.org>
pkgname=perl
pkgver=5.36.1
pkgver=5.38.0
_baseversion="${pkgver%.*}"
pkgrel=2
pkgrel=1
pkgdesc="A highly capable, feature-rich programming language"
arch=(x86_64)
license=('GPL' 'PerlArtistic')
@ -17,122 +17,121 @@ 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'
'perl-attribute-handlers=1.02'
'perl-autodie=2.34'
'perl-attribute-handlers=1.03'
'perl-autodie=2.36'
'perl-autoloader=5.74'
'perl-autouse=1.11'
'perl-base=2.27'
'perl-bignum=0.65'
'perl-carp=1.52'
'perl-compress-raw-bzip2=2.103'
'perl-compress-raw-zlib=2.105'
'perl-config-perl-v=0.33'
'perl-bignum=0.66'
'perl-carp=1.54'
'perl-compress-raw-bzip2=2.204_001'
'perl-compress-raw-zlib=2.204_001'
'perl-config-perl-v=0.36'
'perl-constant=1.33'
'perl-cpan-meta-requirements=2.140'
'perl-cpan-meta-yaml=0.018'
'perl-cpan-meta=2.150010'
'perl-cpan=2.33'
'perl-data-dumper=2.184'
'perl-db_file=1.857'
'perl-devel-ppport=3.68'
'perl-cpan=2.36'
'perl-data-dumper=2.188'
'perl-db_file=1.858'
'perl-devel-ppport=3.71'
'perl-devel-selfstubber=1.06'
'perl-digest-md5=2.58'
'perl-digest-sha=6.02'
'perl-digest-md5=2.58_01'
'perl-digest-sha=6.04'
'perl-digest=1.20'
'perl-dumpvalue=1.21'
'perl-encode=3.17'
'perl-encoding-warnings=0.13'
'perl-env=1.05'
'perl-experimental=0.028'
'perl-encode=3.19'
'perl-encoding-warnings=0.14'
'perl-env=1.06'
'perl-experimental=0.031'
'perl-exporter=5.77'
'perl-extutils-cbuilder=0.280236'
'perl-extutils-cbuilder=0.280238'
'perl-extutils-constant=0.25'
'perl-extutils-install=2.20'
'perl-extutils-makemaker=7.64'
'perl-extutils-install=2.22'
'perl-extutils-makemaker=7.70'
'perl-extutils-manifest=1.73'
'perl-extutils-parsexs=3.45'
'perl-extutils-pl2bat=0.004'
'perl-extutils-parsexs=3.51'
'perl-extutils-pl2bat=0.005'
'perl-file-fetch=1.04'
'perl-file-path=2.18'
'perl-file-temp=0.2311'
'perl-filter-simple=0.96'
'perl-filter-util-call=1.60'
'perl-filter-util-call=1.64'
'perl-findbin=1.53'
'perl-getopt-long=2.52'
'perl-http-tiny=0.080'
'perl-getopt-long=2.54'
'perl-http-tiny=0.086'
'perl-i18n-collate=1.02'
'perl-i18n-langtags=0.45'
'perl-if=0.0610'
'perl-io-compress=2.106'
'perl-io-socket-ip=0.41'
'perl-io-zlib=1.11'
'perl-io=1.50'
'perl-io-compress=2.204'
'perl-io-socket-ip=0.41_01'
'perl-io-zlib=1.14'
'perl-io=1.52'
'perl-ipc-cmd=1.04'
'perl-ipc-sysv=2.09'
'perl-json-pp=4.07'
'perl-json-pp=4.16'
'perl-lib=0.65'
'perl-libnet=3.13'
'perl-libnet=3.15'
'perl-locale-maketext-simple=0.21_01'
'perl-locale-maketext=1.31'
'perl-math-bigint-fastcalc=0.5012'
'perl-math-bigint=1.999830'
'perl-math-bigrat=0.2621'
'perl-math-complex=1.5902'
'perl-memoize=1.03_01'
'perl-mime-base64=3.16'
'perl-module-corelist=5.20230423'
'perl-locale-maketext=1.33'
'perl-math-bigint-fastcalc=0.5013'
'perl-math-bigint=1.999837'
'perl-math-bigrat=0.2624'
'perl-math-complex=1.62'
'perl-memoize=1.16'
'perl-mime-base64=3.16_01'
'perl-module-corelist=5.20230520'
'perl-module-load-conditional=0.74'
'perl-module-load=0.36'
'perl-module-loaded=0.08'
'perl-module-metadata=1.000037'
'perl-net-ping=2.74'
'perl-net-ping=2.76'
'perl-params-check=0.38'
'perl-parent=0.238'
'perl-pathtools=3.84'
'perl-parent=0.241'
'perl-pathtools=3.89'
'perl-perl-ostype=1.010'
'perl-perlfaq=5.20210520'
'perl-perlio-via-quotedprint=0.09'
'perl-pod-checker=1.74'
'perl-perlio-via-quotedprint=0.10'
'perl-pod-checker=1.75'
'perl-pod-escapes=1.07'
'perl-pod-perldoc=3.2801'
'perl-pod-simple=3.43'
'perl-pod-usage=2.01'
'perl-podlators=5.008'
'perl-safe=2.43'
'perl-scalar-list-utils=1.62'
'perl-pod-usage=2.03'
'perl-podlators=5.010'
'perl-safe=2.44'
'perl-scalar-list-utils=1.63'
'perl-search-dict=1.07'
'perl-selfloader=1.26'
'perl-socket=2.033'
'perl-storable=3.26'
'perl-socket=2.036'
'perl-storable=3.32'
'perl-sys-syslog=0.36'
'perl-term-ansicolor=5.01'
'perl-term-cap=1.17'
'perl-term-cap=1.18'
'perl-term-complete=1.403'
'perl-term-readline=1.17'
'perl-test-harness=3.44'
'perl-test-simple=1.302190'
'perl-test-simple=1.302194'
'perl-test=1.31'
'perl-text-abbrev=1.02'
'perl-text-balanced=2.04'
'perl-text-balanced=2.06'
'perl-text-parsewords=3.31'
'perl-text-tabs=2021.0814'
'perl-thread-queue=3.14'
'perl-thread-semaphore=2.13'
'perl-threads-shared=1.64'
'perl-threads=2.27'
'perl-tie-file=1.06'
'perl-threads-shared=1.68'
'perl-threads=2.36'
'perl-tie-file=1.07'
'perl-tie-refhash=1.40'
'perl-time-hires=1.9770'
'perl-time-hires=1.9775'
'perl-time-local=1.30'
'perl-time-piece=1.3401'
'perl-time-piece=1.3401_01'
'perl-unicode-collate=1.31'
'perl-unicode-normalize=1.31'
'perl-unicode-normalize=1.32'
'perl-version=0.9929'
'perl-xsloader=0.31')
'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/andk/cpanpm/commit/9c98370287.patch
config.over
db_config.in
perlbin.sh
@ -141,8 +140,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=('8d1ec654c59d078bfc477f11c9526233199a85e4d4f6f5a55bf9eb7802cd355189c669cc6785d2d5e741c1de4d740b7a0cfd3c0198122586a07ac7f527fb14af'
'59b90a61efb0ddc81ef2cea2b2b845f85b09402ae1778ea8de64a99b9e4274cca73a00dd9fe9879bcca7447929d23e10ce65dc1e551452cbe68792d08d1bce21'
sha512sums=('71beff7f6daa22a967972f5805daf2d4ff837a17e5ab808780f815d5914a67acf4f2e92acac0f2d8b24bdde4ceec0c2f7cb3029b5eadeeb30191f757e1bf0f9d'
'1c924b5bf7413d097f62638a574d7decf36d98598b84cdb5fb31ff633b6f953371e14b004a2558a1a0b74b6b60b90b481af0f68555a49208fe6b226381fed79f'
'444e03c9a6040c1b4f19872d849e93322ffad40262339edb0b7961d2de47a161f01074f2d5418a057fd62e900ff1fbf5ea8ba4e3384aaa86fda84c80d0550a2b'
'6ed5bc6dbdc47bc7f4c0fedbe18deaf35ab02a2e6700988beb545954bb1d0fe20ff1a4de39d6d9fc882ef1741f7bf6d85ba165d0cd8dc0d9939b789c894f48a1'
@ -159,23 +157,12 @@ prepare() {
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH patchlevel.h
cp -f ../db_config.in ./cpan/DB_File/config.in
# CVE-2023-31484
patch -Np1 -d cpan/CPAN -i "${srcdir}"/9c98370287.patch
}
build() {
cd "${pkgname}-${pkgver}"
if [ "${CARCH}" = "x86_64" ]; then
# for x86_64
arch_opts="-Dcccdlflags='-fPIC'"
else
# for i686
arch_opts=""
fi
# reproducible builds overrides are only fully effective when loaded from file
# reproducible build overrides are only fully effective when loaded from file
cp ../config.over .
export TZ=UTC
@ -191,7 +178,7 @@ build() {
-Dsitescript=/usr/bin/site_perl \
-Dvendorscript=/usr/bin/vendor_perl \
-Dinc_version_list=none \
-Dman1ext=1perl -Dman3ext=3perl ${arch_opts} \
-Dman1ext=1perl -Dman3ext=3perl \
-Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}"
make
}