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,16 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index fb0f230..3c101bd 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -35,10 +35,8 @@ OBJS= blocksort.o \
|
||||
bzlib.o
|
||||
|
||||
all: $(OBJS)
|
||||
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
|
||||
+ $(CC) -shared -o libbz2.so.1.0.8 $(OBJS)
|
||||
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.8
|
||||
- rm -f libbz2.so.1.0
|
||||
- ln -s libbz2.so.1.0.8 libbz2.so.1.0
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) bzip2.o libbz2.so.1.0.8 libbz2.so.1.0 bzip2-shared
|
||||
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env bash
|
||||
name=bzip2
|
||||
version=1.0.8
|
||||
release=1
|
||||
url='https://sourceware.org/bzip2'
|
||||
description='lzma compression utilities and library'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
source=("https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz"
|
||||
'makefile.patch')
|
||||
md5sums=('67e051268d0c475ea773822f7500d0e5'
|
||||
'SKIP')
|
||||
group=(app.arch)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
mkdir -p $name-shared
|
||||
cp *.c *.h $name-shared
|
||||
cp Makefile-libbz2_so $name-shared/Makefile
|
||||
cd $name-shared
|
||||
patch -Np1 < ../../makefile.patch
|
||||
}
|
||||
build(){
|
||||
export CFLAGS="-Winline -D_FILE_OFFSET_BITS=64 ${CFLAGS}"
|
||||
make -e -j$(nproc) bzip2recover libbz2.a
|
||||
make -j$(nproc) -C $name-shared CFLAGS="-fpic -fPIC ${CFLAGS}"
|
||||
}
|
||||
package(){
|
||||
install -dm755 ${DESTDIR}/usr/{bin,lib64,include,share/man/man1}
|
||||
|
||||
install -m755 $name-shared/bzip2-shared "${DESTDIR}"/usr/bin/bzip2
|
||||
install -m755 bzip2recover bzdiff bzgrep bzmore "${DESTDIR}"/usr/bin
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bunzip2
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bzcat
|
||||
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64/
|
||||
install -m755 $name-shared/libbz2.so.${version} "${DESTDIR}"/usr/lib64
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so.1.0
|
||||
|
||||
install -m644 bzlib.h "${DESTDIR}"/usr/include/
|
||||
|
||||
install -m644 bzip2.1 "${DESTDIR}"/usr/share/man/man1/
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bunzip2.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzcat.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzip2recover.1
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env bash
|
||||
name=libarchive
|
||||
version=3.6.1
|
||||
release=1
|
||||
url='https://www.libarchive.org'
|
||||
description='Multi-format archive and compression library'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
source=("https://www.libarchive.org/downloads/libarchive-${version}.tar.xz")
|
||||
md5sums=('9465f7995649c9ea84854a7fd8c76f30')
|
||||
license=('BSD')
|
||||
group=(app.arch)
|
||||
|
||||
uses=(bzip2 lzma iconv acl lz4 lzo)
|
||||
uses_extra=(blake2 libxml2 nettle zstd expat )
|
||||
depends=(openssl zlib)
|
||||
bzip2_depends=(bzip2)
|
||||
lzma_depends=(xz-utils)
|
||||
acl_depends=(acl)
|
||||
blake2_depends=(libb2)
|
||||
libxml2_depends=(libxml2)
|
||||
lz4_depends=(lz4)
|
||||
lzo_depends=(lzo)
|
||||
nettle_depends=(nettle)
|
||||
zstd_depends=(zstd)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup() {
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--enable-xattr \
|
||||
$(use_opt iconv --with-iconv --without-iconv) \
|
||||
$(use_opt bzip2 --with-bz2lib --without-bz2lib) \
|
||||
$(use_opt lzma --with-lzma --without-lzma) \
|
||||
$(use_opt acl --enable-acl --disable-acl) \
|
||||
$(use_opt nettle --with-nettle --without-nettle) \
|
||||
$(use_opt libxml2 --with-xml2 --without-xml2) \
|
||||
$(use_opt expat --with-expat --without-expat) \
|
||||
$(use_opt zstd --with-zstd --without-zstd) \
|
||||
$(use_opt lz4 --with-lz4 --without-lz4) \
|
||||
$(use_opt blake2 --with-libb2 --without-libb2) \
|
||||
--without-cng
|
||||
}
|
||||
build() {
|
||||
make -j$(nproc)
|
||||
}
|
||||
package() {
|
||||
make -j$(nproc) install
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lz4'
|
||||
release='1'
|
||||
version='1.9.4'
|
||||
url='https://lz4.github.io/lz4/'
|
||||
description='Extremely fast compression algorithm'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GPLv2')
|
||||
source=('https://github.com/lz4/lz4/archive/refs/tags/v1.9.4.tar.gz')
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('e9286adb64040071c5e23498bf753261')
|
||||
group=(app.arch)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make -j`nproc` PREFIX=/usr
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc` PREFIX=/usr
|
||||
mv ${DESTDIR}/usr/{lib,lib64}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lzo'
|
||||
release='1'
|
||||
version='2.10'
|
||||
url='https://www.oberhumer.com/opensource/lzo/'
|
||||
description='Portable lossless data compression library'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GPL')
|
||||
source=('https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz')
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('39d3f3f9c55c87b1e5d6888e1420f4b5')
|
||||
arch=('x86_64')
|
||||
group=(app.arch)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
gcc $CXXFLAGS $CFLAGS -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
||||
gcc $LDFLAGS -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64
|
||||
install -p -m 644 minilzo/minilzo.h ${DESTDIR}/usr/include/lzo
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/libminilzo.so
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name=xz-utils
|
||||
version=5.2.7
|
||||
release=1
|
||||
homepage='https://tukaani.org/xz/'
|
||||
description='lzma compression utilities'
|
||||
maintainer='kurth4cker'
|
||||
email='kurth4cker@tutanota.com'
|
||||
license=('GPLv2+')
|
||||
source=("https://tukaani.org/xz/xz-${version}.tar.gz")
|
||||
md5sums=('66f82a9fa24623f5ea8a9ee6b4f808e2')
|
||||
group=(app.arch)
|
||||
|
||||
uses=(doc nls)
|
||||
|
||||
cd xz-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_opt doc --enable-doc --disable-doc) \
|
||||
$(use_opt nls --enable-nls --disable-nls)
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
name=zlib
|
||||
release=1
|
||||
version=1.2.13
|
||||
url='https://zlib.net'
|
||||
description='A compression/decompression library'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('zlib')
|
||||
source=("https://zlib.net/zlib-$version.tar.gz")
|
||||
md5sums=('9b8aa094c4e5765dabf4da391f00d15c')
|
||||
arch=(x86_64)
|
||||
group=(app.arch)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib --shared
|
||||
cd contrib/minizip
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
cd contrib/minizip
|
||||
make -j$(nproc)
|
||||
}
|
||||
package(){
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
cd contrib/minizip
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/zlib/" > ${DESTDIR}/etc/ld.so.conf.d/zlib.conf
|
||||
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='p11-kit'
|
||||
release='1'
|
||||
version='0.24.1'
|
||||
url='https://github.com/p11-glue/p11-kit'
|
||||
description='Library for loading and sharing PKCS#11 modules'
|
||||
email=' aliriza.keskin@pardus.org.tr'
|
||||
maintainer=' aliriza'
|
||||
license=('BSD-3-Clause')
|
||||
source=('https://github.com/p11-glue/p11-kit/releases/download/0.24.1/p11-kit-0.24.1.tar.xz')
|
||||
depends=(libtasn1)
|
||||
makedepends=( )
|
||||
md5sums=('67b2539bdca6b4bedaeecc12864d2796')
|
||||
arch=('x86_64')
|
||||
group=(app.crypt)
|
||||
uses=(libffi lto)
|
||||
libffi_depends=(libffi)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr \
|
||||
$(use_opt lto "-Db_lto=true" "-Db_lto=false") \
|
||||
$(use_opt libffi "-Dlibffi=enabled" "-Dlibffi=disabled") \
|
||||
-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja install -C build
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='hello'
|
||||
release='1'
|
||||
version='2.12'
|
||||
url='https://example.org'
|
||||
description='Hello world Package'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=("https://ftp.gnu.org/gnu/hello/hello-2.12.tar.gz")
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('SKIP')
|
||||
arch=(x86_64)
|
||||
group=(app.misc)
|
||||
dontstrip="1"
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make install
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
if [ ! -d /etc/ssl/local ] ; then
|
||||
mkdir -p /etc/ssl/local
|
||||
mkdir -p /etc/ssl/certs
|
||||
/sbin/make-ca -g
|
||||
fi
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
name=make-ca
|
||||
release=1
|
||||
version=1.10
|
||||
url='https://github.com/lfs-book/make-ca'
|
||||
description='Ssl certificates'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=(https://github.com/lfs-book/make-ca/releases/download/v1.10/make-ca-1.10.tar.xz
|
||||
make-ca.sysconf)
|
||||
md5sums=('74f1ad16d7a086ac76e0424fd4dfe67b'
|
||||
'SKIP')
|
||||
arch=(x86_64)
|
||||
group=(app.misc)
|
||||
|
||||
cd "$name-$version"
|
||||
|
||||
build(){
|
||||
sed -i "s|/usr/bin/cut|/bin/cut|g" make-ca
|
||||
sed -i "s|/usr/bin/md5sum|/bin/md5sum|g" make-ca
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make install SBINDIR="/sbin/"
|
||||
mkdir -p "$DESTDIR"/etc/sysconf.d
|
||||
install ../make-ca.sysconf "$DESTDIR"/etc/sysconf.d/make-ca
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
name=bash
|
||||
version=5.1
|
||||
release=1
|
||||
url='https://www.gnu.org/software/bash/'
|
||||
description="Bash is the GNU Project's shell—the Bourne Again SHell."
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
arch=(x86_64)
|
||||
depends=(readline ncurses)
|
||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||||
md5sums=(bb91a17fd6c9032c26d0b2b78b50aff5)
|
||||
group=(app.shell)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64 \
|
||||
--bindir=/bin \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc
|
||||
}
|
||||
build(){
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR=${DESTDIR} install
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
name=dash
|
||||
version=0.5.11
|
||||
release=1
|
||||
|
||||
url='https://salsa.debian.org/debian/dash'
|
||||
description="The Debian Almquist Shell (dash) is a POSIX-compliant shell derived from ash. "
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv2')
|
||||
depends=()
|
||||
arch=(x86_64)
|
||||
ver=$version+git20210903+057cd650a4ed-8
|
||||
replaces=("/bin/sh")
|
||||
source=(https://salsa.debian.org/debian/dash/-/archive/debian/$ver/dash-debian-$ver.zip)
|
||||
md5sums=(fa7d340bd8968e10f8097667cfdd1c18)
|
||||
group=(app.shell)
|
||||
|
||||
cd $name-debian-$ver
|
||||
|
||||
setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64 \
|
||||
--bindir=/bin
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package(){
|
||||
make install
|
||||
ln -s dash ${DESTDIR}/bin/sh
|
||||
}
|
||||
Reference in new issue
Block a user