relocate all packages with new group names from gentoo
This commit is contained in:
1 parent
20645c750a
commit
e133dbe26f
54 files changed
+42
-40
No files matched your search
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libidn2'
|
||||
release='1'
|
||||
version='2.3.4'
|
||||
url='https://example.org'
|
||||
description='Libidn2 is a free software implementation of IDNA2008, Punycode and Unicode TR46'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GPLv3')
|
||||
source=('https://ftp.gnu.org/gnu/libidn/libidn2-2.3.4.tar.gz')
|
||||
depends=(libunistring)
|
||||
makedepends=( )
|
||||
md5sums=('a12109804fc9c5d7fb31f068c66655b8')
|
||||
arch=('x86_64')
|
||||
group=(net.dns)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/env bash
|
||||
name='gnutls'
|
||||
release='1'
|
||||
version='3.7.8'
|
||||
url='https://example.org'
|
||||
description='The GnuTLS Transport Layer Security Library'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GplV2')
|
||||
source=('https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.8.tar.xz')
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('c7b749bae243c341e6be717baf7ffbad')
|
||||
arch=('x86_64')
|
||||
group=(net.libs)
|
||||
|
||||
uses_extra=(zstd brotli libidn2)
|
||||
|
||||
brotli_depends=(brotli)
|
||||
zstd_depends=(zstd)
|
||||
libidn2_depends=(libind2)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--disable-guile \
|
||||
--enable-ssl3-support \
|
||||
--enable-openssl-compatibility \
|
||||
--with-included-unistring \
|
||||
--with-included-libtasn1 \
|
||||
$(use_opt zstd --with-zstd --without-zstd) \
|
||||
$(use_opt brotli --with-brotli --without-brotli) \
|
||||
$(use_opt libidn2 --with-libidn2 --without-libidn2)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libnghttp2'
|
||||
release='1'
|
||||
version='1.51.0'
|
||||
url='https://github.com/nghttp2/nghttp2'
|
||||
description='Package description missing'
|
||||
email=' aliriza.keskin@pardus.org.tr'
|
||||
maintainer=' aliriza'
|
||||
license=('MIT')
|
||||
source=("https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-${version}.tar.gz")
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('d8c534bbdd84297afa4f6576896a3d76')
|
||||
arch=('x86_64')
|
||||
group=(net.libs)
|
||||
uses=(libxml2)
|
||||
libxml2_depends=(libxml2)
|
||||
|
||||
cd nghttp2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--without-neverbleed \
|
||||
--without-jemalloc \
|
||||
--disable-examples \
|
||||
--enable-static \
|
||||
--enable-lib-only\
|
||||
$(use_opt libxml2 --with-libxml2 --without-libxml2)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libpsl'
|
||||
release='1'
|
||||
version='0.21.1'
|
||||
url='https://github.com/rockdaboot/libpsl'
|
||||
description='C library for the Public Suffix List'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=('https://github.com/rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz')
|
||||
depends=(libidn2)
|
||||
makedepends=( )
|
||||
md5sums=('ad40b970dcb5117d559b62a1e0d8d827')
|
||||
arch=('x86_64')
|
||||
group=(net.libs)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
name=libseccomp
|
||||
version=2.5.4
|
||||
release=1
|
||||
homepage='https://github.com/seccomp/libseccomp'
|
||||
description='high level interface to linux seccomp filter'
|
||||
maintainer='kurth4cker'
|
||||
email='kurth4cker@tutanota.com'
|
||||
license=('LGPL-2.1')
|
||||
source=("https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz")
|
||||
md5sums=('74008bb33234e0c2a0d998e7bee5c625')
|
||||
group=(net.libs)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-silent-rules \
|
||||
--disable-python \
|
||||
--disable-code-coverage
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
name=libssh
|
||||
version=0.10.4
|
||||
release=1
|
||||
url='https://libssh.org'
|
||||
description='C library implenting the SSHv2 protocol on client and server side'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
depends=()
|
||||
source=("https://www.libssh.org/files/0.10/libssh-${version}.tar.xz")
|
||||
md5sums=('cb2e47ac2de59eefa31a57ae53b44363')
|
||||
license=('LGPL-2.1' 'BSD')
|
||||
group=(net.libs)
|
||||
|
||||
depends=(openssl)
|
||||
uses=(server sftp zlib)
|
||||
zlib_depends=(zlib)
|
||||
|
||||
setup() {
|
||||
cmake -S $name-$version -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
|
||||
-DWITH_EXAMPLES=NO \
|
||||
-DBUILD_SHARED_LIBS=YES \
|
||||
-DBUILD_STATIC_LIB=YES \
|
||||
-DWITH_NACL=OFF \
|
||||
-DWITH_GCRYPT=OFF \
|
||||
-DWITH_MBEDTLS=OFF \
|
||||
-DWITH_GSSAPI=OFF \
|
||||
-DWITH_PCAP=OFF \
|
||||
-DWITH_SERVER=$(use_opt server ON OFF) \
|
||||
-DWITH_SFTP=$(use_opt sftp ON OFF) \
|
||||
-DWITH_ZLIB=$(use_opt zlib ON OFF)
|
||||
}
|
||||
build() {
|
||||
make -C build -j$(nproc)
|
||||
}
|
||||
package() {
|
||||
make -C build install
|
||||
install build/src/libssh.a ${DESTDIR}/usr/lib64/
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
#!/usr/bin/env bash
|
||||
name='curl'
|
||||
release='1'
|
||||
version='7.86.0'
|
||||
url='https://example.org'
|
||||
description='An URL retrieval utility and library'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('MIT')
|
||||
source=('https://curl.se/download/curl-7.86.0.zip')
|
||||
depends=(zlib openssl libnghttp2)
|
||||
makedepends=( )
|
||||
md5sums=('76bca98cadf12ecd71acd31bf171c27d')
|
||||
arch=('x86_64')
|
||||
group=(net.misc)
|
||||
|
||||
uses=(zlib libssh)
|
||||
uses_extra=(zstd brotli libidn2 gnutls)
|
||||
|
||||
gnutls_depends=(gnutls)
|
||||
zlib_depends=(zlib)
|
||||
libssh_depends=(libssh)
|
||||
|
||||
brotli_depends=(brotli)
|
||||
zstd_depends=(zstd)
|
||||
libidn2_depends=(libind2)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare(){
|
||||
if use gnutls ; then
|
||||
cp -r ../$name-$version ../curl-gnutls
|
||||
fi
|
||||
}
|
||||
|
||||
setup(){
|
||||
opts=(
|
||||
--prefix=/usr
|
||||
--libdir=/usr/lib64
|
||||
--disable-ldap
|
||||
--disable-ldaps
|
||||
--disable-versioned-symbols
|
||||
--enable-doh
|
||||
--enable-ftp
|
||||
--enable-ipv6
|
||||
--with-ca-path=/etc/ssl/certs
|
||||
--enable-threaded-resolverl
|
||||
--enable-websockets
|
||||
$(use_opt zstd --with-zstd --without-zstd)
|
||||
$(use_opt zlib --with-zlib --without-zlib)
|
||||
$(use_opt brotli --with-brotli --without-brotli)
|
||||
$(use_opt libssh --with-libssh --without-libssh)
|
||||
$(use_opt libidn2 --with-libidn2 --without-libidn2)
|
||||
)
|
||||
./configure ${opts[@]} --with-openssl
|
||||
if use gnutls ; then
|
||||
cd ../curl-gnutls
|
||||
./configure ${opts[@]} --without-openssl --with-gnutls
|
||||
fi
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
if use gnutls ; then
|
||||
cd ../curl-gnutls
|
||||
make -C lib -j`nproc`
|
||||
fi
|
||||
}
|
||||
|
||||
package(){
|
||||
if use gnutls ; then
|
||||
cd ../curl-gnutls
|
||||
make install -j`nproc`
|
||||
mv "${DESTDIR}"/usr/lib64/libcurl{,-gnutls}.so.4.8.0
|
||||
mv "${DESTDIR}"/usr/lib64/libcurl{,-gnutls}.a
|
||||
mv "${DESTDIR}"/usr/lib64/pkgconfig/libcurl{,-gnutls}.pc
|
||||
sed -i "s/-lcurl/-lcurl-gnutls/g" "${DESTDIR}"/usr/lib64/pkgconfig/libcurl-gnutls.pc
|
||||
ln -s libcurl-gnutls.so.4 "${DESTDIR}"/usr/lib64/libcurl-gnutls.so
|
||||
for ver in 3 4 4.0.0 4.1.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0; do
|
||||
ln -s libcurl-gnutls.so.4.8.0 "${DESTDIR}"/usr/lib64/libcurl-gnutls.so.${ver}
|
||||
done
|
||||
fi
|
||||
cd ../$name-$version
|
||||
make install -j`nproc`
|
||||
for ver in 3 4.0.0 4.1.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0; do
|
||||
ln -s libcurl.so.4.8.0 "${DESTDIR}"/usr/lib64/libcurl.so.${ver}
|
||||
done
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user