From 1084afc3c4d9c83e61620de60ba59a4393a33cb0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 20 Apr 2022 22:40:49 +0000 Subject: fixed create to work within env --- repo/skip/alsa-oss.xibuild | 18 --------- repo/skip/audit.xibuild | 41 -------------------- repo/skip/broadcom-wl.xibuild | 43 --------------------- repo/skip/cacert-utils.xibuild | 36 ------------------ repo/skip/fakechroot.xibuild | 14 ------- repo/skip/fakeroot.xibuild | 13 ------- repo/skip/icecream-sundae.xibuild | 24 ------------ repo/skip/polybar.xibuild | 24 ------------ repo/skip/ppp.xibuild | 78 --------------------------------------- repo/skip/test.xibuild | 24 ------------ repo/skip/xf86-video-vga.xibuild | 18 --------- 11 files changed, 333 deletions(-) delete mode 100644 repo/skip/alsa-oss.xibuild delete mode 100644 repo/skip/audit.xibuild delete mode 100644 repo/skip/broadcom-wl.xibuild delete mode 100644 repo/skip/cacert-utils.xibuild delete mode 100644 repo/skip/fakechroot.xibuild delete mode 100644 repo/skip/fakeroot.xibuild delete mode 100644 repo/skip/icecream-sundae.xibuild delete mode 100644 repo/skip/polybar.xibuild delete mode 100644 repo/skip/ppp.xibuild delete mode 100644 repo/skip/test.xibuild delete mode 100644 repo/skip/xf86-video-vga.xibuild (limited to 'repo/skip') diff --git a/repo/skip/alsa-oss.xibuild b/repo/skip/alsa-oss.xibuild deleted file mode 100644 index 48d9672..0000000 --- a/repo/skip/alsa-oss.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make" -DEPS="alsa-lib musl-legacy-compat" - -DESC="OSS compatibility library" - -PKG_VER=1.1.8 -SOURCE=https://www.alsa-project.org/files/pub/oss-lib/alsa-oss-$PKG_VER.tar.bz2 - -build () { - ./configure --disable-static && - make -} - -package () { - make DESTDIR=$PKG_DEST install -} diff --git a/repo/skip/audit.xibuild b/repo/skip/audit.xibuild deleted file mode 100644 index fcfd2ec..0000000 --- a/repo/skip/audit.xibuild +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make swig" -DEPS="sbase libcap-ng musl" - -PKG_VER=3.0.6 -SOURCE=https://people.redhat.com/sgrubb/audit/audit-$PKG_VER.tar.gz -ADDITIONAL=" - 0003-all-get-rid-of-strndupa.patch - 0004-fix-path-in-au-remote-conf.patch - auditd.initd - auditd.confd - " - -DESC="User space tools for 2.6 kernel auditing" - -prepare () { - apply_patches -} - -build () { - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --disable-zos-remote \ - --enable-shared=audit - make -} - -check () { - make -j1 check -} - -package () { - make DESTDIR="$PKG_DEST" install - install -Dm755 /auditd.initd "$PKG_DEST"/etc/init.d/auditd - install -Dm644 /auditd.confd "$PKG_DEST"/etc/conf.d/auditd - -} diff --git a/repo/skip/broadcom-wl.xibuild b/repo/skip/broadcom-wl.xibuild deleted file mode 100644 index 948c9bd..0000000 --- a/repo/skip/broadcom-wl.xibuild +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -MAKEDEPS="linux-src linux-headers" -DEPS="linux" - -PKG_VER=6.30.223.271 -SOURCE=https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$(echo $PKG_VER | sed "s,\.,_,g").tar.gz - -DESC="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" -ADDITIONAL=" - 001-null-pointer-fix.patch - 002-rdtscl.patch - 003-linux47.patch - 004-linux48.patch - 005-debian-fix-kernel-warnings.patch - 006-linux411.patch - 007-linux412.patch - 008-linux415.patch - 009-fix_mac_profile_discrepancy.patch - 010-linux56.patch - 011-linux59.patch - 012-linux517.patch -" - -prepare () { - apply_patches - sed -i -e '/BRCM_WLAN_IFNAME/s/eth/wlan/' src/wl/sys/wl_linux.c - sed -i -e "/EXTRA_LDFLAGS/s|\$(src)/lib|/usr/lib/broadcom-wl|" Makefile - sed -i '/GE_49 :=/s|:= .*|:= 1|' Makefile -} - -build () { - KVER=$(cat /usr/src/linux/version) - #KBASE=/lib/modules/$KVER - make -C /usr/src/linux timeconst-file - make -C /usr/src/linux M=$PWD -} - - -package () { - ls - read wait -} diff --git a/repo/skip/cacert-utils.xibuild b/repo/skip/cacert-utils.xibuild deleted file mode 100644 index 2f21aeb..0000000 --- a/repo/skip/cacert-utils.xibuild +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -MAKEDEPS="" -DEPS="bash sbase findutils libp11-kit" - -SOURCE=https://src.fedoraproject.org/rpms/ca-certificates -DESC="CA certificate utilities" - -build() { - asciidoc.py -v -d manpage -b docbook update-ca-trust.8.txt - xsltproc --nonet -o update-ca-trust.8 /etc/asciidoc/docbook-xsl/manpage.xsl update-ca-trust.8.xml -} - -package () { - rm update-ca-trust - wget https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/ca-certificates/trunk/update-ca-trust - - install -Dt "$PKG_DEST/usr/bin" update-ca-trust - install -Dt "$PKG_DEST/usr/share/man/man8" -m644 update-ca-trust.8 - install -Dt "$PKG_DEST/usr/share/libalpm/hooks" -m644 *.hook - - # Trust source directories - # Upstream also adds "blocklist" but that's useless without support in p11-kit - install -d "$PKG_DEST"/{etc,usr/share}/ca-certificates/trust-source/{anchors,blocklist} - - # Directories used by update-ca-trust (aka "trust extract-compat") - install -d "$PKG_DEST"/etc/{ssl/certs/{edk2,java},ca-certificates/extracted} - - # Compatibility link for OpenSSL using /etc/ssl as CAdir - # Used in preference to the individual links in /etc/ssl/certs - ln -sr "$PKG_DEST/etc/ca-certificates/extracted/tls-ca-bundle.pem" "$PKG_DEST/etc/ssl/cert.pem" - - # Compatiblity link for legacy bundle - ln -sr "$PKG_DEST/etc/ca-certificates/extracted/tls-ca-bundle.pem" "$PKG_DEST/etc/ssl/certs/ca-certificates.crt" - -} diff --git a/repo/skip/fakechroot.xibuild b/repo/skip/fakechroot.xibuild deleted file mode 100644 index 9a6f715..0000000 --- a/repo/skip/fakechroot.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make " -DEPS="sh perl" - -SOURCE=https://github.com/dex4er/fakechroot -DESC="Gives a fake chroot environment" - -build () { - ./autogen.sh - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/skip/fakeroot.xibuild b/repo/skip/fakeroot.xibuild deleted file mode 100644 index c824193..0000000 --- a/repo/skip/fakeroot.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make " -DEPS="musl filesystem sed sh util-linux" - -SOURCE=https://github.com/mackyle/fakeroot -DESC="Tool for simulating a superuser environment" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/skip/icecream-sundae.xibuild b/repo/skip/icecream-sundae.xibuild deleted file mode 100644 index 58f08aa..0000000 --- a/repo/skip/icecream-sundae.xibuild +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -MAKEDEPS="meson ninja" -DEPS="ncurses glib icecream" - -PKG_VER=1.0.0 -SOURCE=https://github.com/JPEWdev/icecream-sundae - -DESC="A build distribution service based on distcc" - - -build () { - mkdir builddir - cd builddir - - meson .. --buildtype release - ninja - -} - - -package () { - DESTDIR=$PKG_DEST ninja install -} diff --git a/repo/skip/polybar.xibuild b/repo/skip/polybar.xibuild deleted file mode 100644 index 9c07012..0000000 --- a/repo/skip/polybar.xibuild +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make" -DEPS="cairo xcb-util-image xcb-util-wm xcb-util-xrm xcb-util-cursor alsa-lib libpulse libmpdclient libnl jsoncpp curl" - -PKG_VER=3.5.7 -SOURCE=https://github.com/polybar/polybar/releases/download/$PKG_VER/polybar-$PKG_VER.tar.gz - -DESC="A fast and easy status bar" - -build () { - mkdir build && - cd build - - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 .. - cmake --build . - - cd .. -} - -package () { - cmake --build "build" --target install -- DESTDIR=$PKG_DEST - -} diff --git a/repo/skip/ppp.xibuild b/repo/skip/ppp.xibuild deleted file mode 100644 index b6db516..0000000 --- a/repo/skip/ppp.xibuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -MAKEDEPS="linux-headers libpcap" -DEPS="musl" - -PKG_VER=2.4.9 -SOURCE=https://github.com/paulusmack/ppp/archive/ppp-$PKG_VER.tar.gz - -ADDITIONAL=" -0011-build-sys-don-t-put-connect-errors-log-to-etc-ppp.patch -fix-paths.patch -fix-pppd-magic.h.patch -musl-fix-headers.patch -pppd.initd - -" - -DESC="A daemon which implements the PPP protocol for dial-up networking" - -prepare () { - apply_patches - # bug about missing sys/cdefs.h - find ./ -name "*.c" -o -name "*.h" | xargs sed -i "s/__BEGIN_DECLS/#ifdef __cplusplus\nextern \"C\" {\n#endif/g" - find ./ -name "*.c" -o -name "*.h" | xargs sed -i "s/__END_DECLS/#ifdef __cplusplus\n}\n#endif/g" - find ./ -name "*.c" -o -name "*.h" | xargs sed -i "s,#include ,,g" -} - -build () { - # fix CFLAGS - # -D_GNU_SOURCE is needed for IPv6 to work apparently - export CFLAGS="$CFLAGS -D_GNU_SOURCE" - sed -i "s:-O2 -pipe -Wall -g:${CFLAGS}:" pppd/Makefile.linux - sed -i "s:-g -O2:${CFLAGS}:" pppd/plugins/Makefile.linux - sed -i "s:-O2:${CFLAGS}:" pppstats/Makefile.linux - sed -i "s:-O2 -g -pipe:${CFLAGS}:" chat/Makefile.linux - sed -i "s:-O:${CFLAGS}:" pppdump/Makefile.linux - # enable active filter - sed -i "s:^#FILTER=y:FILTER=y:" pppd/Makefile.linux - # enable ipv6 support - sed -i "s:^#HAVE_INET6=y:HAVE_INET6=y:" pppd/Makefile.linux - # Enable Microsoft proprietary Callback Control Protocol - sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux - sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux - sed -i "s:^#USE_CRYPT=y:USE_CRYPT=y:" pppd/Makefile.linux - ./configure \ - --prefix=/usr \ - --localstatedir=/var - make COPTS="$CFLAGS" - -} - -package () { - make INSTROOT=$PKG_DEST install - install -Dm644 include/net/ppp_defs.h \ - $PKG_DEST/usr/include/net/ppp_defs.h - install -D -m755 ip-up $PKG_DEST/etc/ppp/ip-up - install -D -m755 ip-down $PKG_DEST/etc/ppp/ip-down - install -D -m755 pppd.initd $PKG_DEST/etc/init.d/pppd - install -D -m644 etc.ppp/options $PKG_DEST/etc/ppp/options - install -D -m600 etc.ppp/pap-secrets $PKG_DEST/etc/ppp/pap-secrets - install -D -m600 etc.ppp/chap-secrets $PKG_DEST/etc/ppp/chap-secrets - - # busybox ifup/ifdown needs pon/poff - install -D -m644 scripts/pon.1 $PKG_DEST/usr/share/man/man1/pon.1 - install -D -m755 scripts/pon $PKG_DEST/usr/bin/pon - install -D -m755 scripts/poff $PKG_DEST/usr/bin/poff - - install -d $PKG_DEST/usr/share/doc/ppp - for i in scripts/*; do - case $i in - pon|poff|*.1) continue; - esac - if [ -f "$i" ]; then - cp $i $PKG_DEST/usr/share/doc/ppp/ - fi - done - install -d $PKG_DEST/etc/ppp/peers -} diff --git a/repo/skip/test.xibuild b/repo/skip/test.xibuild deleted file mode 100644 index 8a8902f..0000000 --- a/repo/skip/test.xibuild +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -NAME="test" -DESC="no description" - -MAKEDEPS="make " -DEPS="musl -openrc" - -PKG_VER=1.7 -SOURCE="https://test.com/test-$PKG_VER.tar.gz" -ADDITIONAL="libev-4.11-Add-pkgconfig-support.patch " -build () { - ./configure \ - --prefix=/usr - --bindir=/usr/bin \ - --sysconfdir=/etc \ - --disable-static - make -} - -package () { - make DESTDIR=$PKG_DEST install -} diff --git a/repo/skip/xf86-video-vga.xibuild b/repo/skip/xf86-video-vga.xibuild deleted file mode 100644 index f6cb712..0000000 --- a/repo/skip/xf86-video-vga.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make" -DEPS="xorg-server" - -DESC="X.org framebuffer video driver" - -PKG_VER=4.1.0 -SOURCE=https://www.x.org/pub/individual/driver/xf86-video-vga-$PKG_VER.tar.bz2 - -build () { - ./configure $XORG_CONFIG - make -} - -package () { - make DESTDIR=$PKG_DEST install -} -- cgit v1.2.1