ca-certificates from alpine linux
This commit is contained in:
1 parent
f9a5bb995a
commit
e1496f06cf
4 files changed
+108
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
current=$(date +%s -r /usr/share/ca-certificates)
|
||||
last=$(cat /var/lib/ymp/sysconf/ca-certificates/update-crt.date 2>/dev/null)
|
||||
if [ "$current" != "$last" ] ; then
|
||||
echo "# Automatically generated. Do Not Edit." > /etc/ca-certificates.conf
|
||||
for dir in $(ls /usr/share/ca-certificates) ; do
|
||||
ls /usr/share/ca-certificates/$dir/ | sed "s|^|$dir/|g" >> /etc/ca-certificates.conf
|
||||
done
|
||||
date +%s -r /etc/ssl/ > /var/lib/ymp/sysconf/ca-certificates/update-crt.date
|
||||
fi
|
||||
|
||||
current=$(date +%s -r /etc/ssl/)
|
||||
last=$(cat /var/lib/ymp/sysconf/ca-certificates/update.date 2>/dev/null)
|
||||
if [ "$current" != "$last" ] ; then
|
||||
mkdir -p /etc/ssl/local
|
||||
mkdir -p /etc/ssl/certs
|
||||
mkdir -p /etc/ca-certificates/update.d/
|
||||
update-ca-certificates
|
||||
date +%s -r /etc/ssl/ > /var/lib/ymp/sysconf/ca-certificates/update.date
|
||||
fi
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
name='ca-certificates'
|
||||
release='1'
|
||||
version='20230106'
|
||||
url='https://salsa.debian.org/debian/ca-certificates'
|
||||
description='Common CA certificates'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.alpinelinux.org/alpine/ca-certificates/-/archive/$version/ca-certificates-$version.tar.gz"
|
||||
"ca-certificates.sysconf")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('c5e091fdedb5eb24babfe6e2e0bb5142'
|
||||
'SKIP')
|
||||
group=(app.misc)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
# openssl conflict fix
|
||||
rm -f ${DESTDIR}/usr/bin/c_rehash
|
||||
# install sysconf file
|
||||
mkdir -p ${DESTDIR}/etc/sysconf.d/
|
||||
install ../ca-certificates.sysconf ${DESTDIR}/etc/sysconf.d/ca-certificates
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-cffi'
|
||||
release='1'
|
||||
version='1.15.1'
|
||||
url='https://pypi.org/project/cffi/'
|
||||
description='Foreign Function Interface for Python calling C code.'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=("https://files.pythonhosted.org/packages/2b/a8/050ab4f0c3d4c1b8aaa805f70e26e84d0e27004907c5b8ecc1d31815f92a/cffi-1.15.1.tar.gz")
|
||||
depends=(python py3-cparser libffi)
|
||||
makedepends=()
|
||||
md5sums=('f493860a6e98cd0c4178149568a6b4f6')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd cffi-$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-cparser'
|
||||
release='1'
|
||||
version='2.21'
|
||||
url='https://github.com/eliben/pycparser'
|
||||
description='A super-fast templating language that borrows the best ideas from the existing templating languages.'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/eliben/pycparser/archive/refs/tags/release_v$version.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=()
|
||||
md5sums=('cf4b60f0beca2a25bb599e9e858a8223')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd pycparser-release_v$version
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user