summaryrefslogtreecommitdiff
path: root/skip
diff options
context:
space:
mode:
Diffstat (limited to 'skip')
-rw-r--r--skip/alsa-oss.xibuild18
-rw-r--r--skip/audit.xibuild41
-rw-r--r--skip/broadcom-wl.xibuild43
-rw-r--r--skip/cacert-utils.xibuild36
-rw-r--r--skip/fakechroot.xibuild14
-rw-r--r--skip/fakeroot.xibuild13
-rw-r--r--skip/icecream-sundae.xibuild24
-rw-r--r--skip/polybar.xibuild24
-rw-r--r--skip/ppp.xibuild78
-rw-r--r--skip/test.xibuild24
-rw-r--r--skip/xf86-video-vga.xibuild18
11 files changed, 333 insertions, 0 deletions
diff --git a/skip/alsa-oss.xibuild b/skip/alsa-oss.xibuild
new file mode 100644
index 0000000..48d9672
--- /dev/null
+++ b/skip/alsa-oss.xibuild
@@ -0,0 +1,18 @@
+#!/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/skip/audit.xibuild b/skip/audit.xibuild
new file mode 100644
index 0000000..fcfd2ec
--- /dev/null
+++ b/skip/audit.xibuild
@@ -0,0 +1,41 @@
+#!/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/skip/broadcom-wl.xibuild b/skip/broadcom-wl.xibuild
new file mode 100644
index 0000000..948c9bd
--- /dev/null
+++ b/skip/broadcom-wl.xibuild
@@ -0,0 +1,43 @@
+#!/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/skip/cacert-utils.xibuild b/skip/cacert-utils.xibuild
new file mode 100644
index 0000000..2f21aeb
--- /dev/null
+++ b/skip/cacert-utils.xibuild
@@ -0,0 +1,36 @@
+#!/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/skip/fakechroot.xibuild b/skip/fakechroot.xibuild
new file mode 100644
index 0000000..9a6f715
--- /dev/null
+++ b/skip/fakechroot.xibuild
@@ -0,0 +1,14 @@
+#!/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/skip/fakeroot.xibuild b/skip/fakeroot.xibuild
new file mode 100644
index 0000000..c824193
--- /dev/null
+++ b/skip/fakeroot.xibuild
@@ -0,0 +1,13 @@
+#!/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/skip/icecream-sundae.xibuild b/skip/icecream-sundae.xibuild
new file mode 100644
index 0000000..58f08aa
--- /dev/null
+++ b/skip/icecream-sundae.xibuild
@@ -0,0 +1,24 @@
+#!/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/skip/polybar.xibuild b/skip/polybar.xibuild
new file mode 100644
index 0000000..9c07012
--- /dev/null
+++ b/skip/polybar.xibuild
@@ -0,0 +1,24 @@
+#!/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/skip/ppp.xibuild b/skip/ppp.xibuild
new file mode 100644
index 0000000..b6db516
--- /dev/null
+++ b/skip/ppp.xibuild
@@ -0,0 +1,78 @@
+#!/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 <sys/cdefs.h>,,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/skip/test.xibuild b/skip/test.xibuild
new file mode 100644
index 0000000..8a8902f
--- /dev/null
+++ b/skip/test.xibuild
@@ -0,0 +1,24 @@
+#!/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/skip/xf86-video-vga.xibuild b/skip/xf86-video-vga.xibuild
new file mode 100644
index 0000000..f6cb712
--- /dev/null
+++ b/skip/xf86-video-vga.xibuild
@@ -0,0 +1,18 @@
+#!/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
+}