diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-08-18 12:58:33 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 21:11:39 +0000 |
commit | fad19051951129081c94d9ca641af6bbb1389e20 (patch) | |
tree | 4f6fac56923653086b9db2df0052a834b70b6966 /community | |
parent | 5df6fbc76284929c44d2db7db6d12f675a91958c (diff) | |
download | aports-fad19051951129081c94d9ca641af6bbb1389e20.tar.bz2 aports-fad19051951129081c94d9ca641af6bbb1389e20.tar.xz |
testing/[various]: move to community
Moves the following packages to community after successful build and testing.
bogofilter
corebird
fbpanel
hermes
libdbi-drivers
luufs
netsurf
opencpn
py-sensehat
rng-tools
volumeicon
Diffstat (limited to 'community')
-rw-r--r-- | community/bogofilter/APKBUILD | 33 | ||||
-rw-r--r-- | community/corebird/APKBUILD | 43 | ||||
-rw-r--r-- | community/corebird/disable-gst-check.diff | 14 | ||||
-rw-r--r-- | community/fbpanel/APKBUILD | 35 | ||||
-rw-r--r-- | community/gammu/APKBUILD | 65 | ||||
-rw-r--r-- | community/hermes/APKBUILD | 50 | ||||
-rw-r--r-- | community/hermes/Utils.cpp.patch | 19 | ||||
-rw-r--r-- | community/libdbi-drivers/APKBUILD | 50 | ||||
-rw-r--r-- | community/luufs/APKBUILD | 39 | ||||
-rw-r--r-- | community/netsurf/APKBUILD | 42 | ||||
-rw-r--r-- | community/netsurf/netsurf | 8 | ||||
-rw-r--r-- | community/opencpn/APKBUILD | 40 | ||||
-rw-r--r-- | community/opencpn/CMakeList.txt.patch | 13 | ||||
-rw-r--r-- | community/py-sensehat/APKBUILD | 32 | ||||
-rw-r--r-- | community/rng-tools/APKBUILD | 52 | ||||
-rw-r--r-- | community/rng-tools/fix-textrels-on-PIC-x86.patch | 50 | ||||
-rw-r--r-- | community/rng-tools/rngd.confd | 1 | ||||
-rw-r--r-- | community/rng-tools/rngd.initd | 14 | ||||
-rw-r--r-- | community/volumeicon/APKBUILD | 36 |
19 files changed, 636 insertions, 0 deletions
diff --git a/community/bogofilter/APKBUILD b/community/bogofilter/APKBUILD new file mode 100644 index 0000000000..508c165196 --- /dev/null +++ b/community/bogofilter/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=bogofilter +pkgver=1.2.4 +pkgrel=0 +pkgdesc="A Bayesian mail filter that classifies mail by statistical analysis of the message's header and content." +url="http://bogofilter.sourceforge.net/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="sqlite-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/bogofilter/bogofilter-stable/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2" + +builddir=${srcdir}/${pkgname}-${pkgver} +build() { + cd "$builddir" + ./configure --prefix=/usr \ + --with-included-gsl \ + --with-database=sqlite3 || return 1 + make +} + +package() { + cd "$builddir" + make DESTDIR=${pkgdir} install +} + +md5sums="d0a5eebb3274b23ceabe766a6443a1c5 bogofilter-1.2.4.tar.bz2" +sha256sums="e10287a58d135feaea26880ce7d4b9fa2841fb114a2154bf7da8da98aab0a6b4 bogofilter-1.2.4.tar.bz2" +sha512sums="e8c0b6bcc14f12fbbb2752e697a6d9065e17abfca3f70045ce9fe668d01c1cfad4adaa35c81546ecdd3639b0c28f3f4776bb5ed4699f21e9e2a5b19ca33479db bogofilter-1.2.4.tar.bz2" diff --git a/community/corebird/APKBUILD b/community/corebird/APKBUILD new file mode 100644 index 0000000000..e8c5c86463 --- /dev/null +++ b/community/corebird/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=corebird +pkgver=1.3 +pkgrel=0 +pkgdesc="Corebird is a modern, easy and fun Twitter client" +url="http://corebird.baedert.org/" +arch="all" +license="GPL3" +depends="" +depends_dev="" +makedepends="gtk+3.0-dev rest-dev json-glib-dev sqlite-dev libsoup-dev libgee-dev + vala tiff automake autoconf libtool intltool glib-dev libxml2-utils file" +install="" +options="libtool" +subpackages="$pkgname-lang $pkgname-doc" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/baedert/$pkgname/archive/$pkgver.tar.gz + disable-gst-check.diff" +builddir=${srcdir}/${pkgname}-${pkgver} + +build() { + cd "$builddir" + NOCONFIGURE=yes ./autogen.sh + patch -p1 < "$srcdir"/disable-gst-check.diff + ./configure \ + --prefix=/usr \ + --disable-video \ + --disable-gst-check \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="800dbda002a28ae78eb6932fc403d3fb corebird-1.3.tar.gz +353d6deeeccc22a835c731fb5ef0de4f disable-gst-check.diff" +sha256sums="f4f86a2e898342297c2379c25b6274598d81d8983f185d98753725552f670860 corebird-1.3.tar.gz +2537af03e67d3cec8a1b8ea8d86af2783070d38aab79c31ff75cc11c7c253101 disable-gst-check.diff" +sha512sums="b938213812c7c31877798e80cad5485d09a9f3640722e924d35662613ed0651f4df6f915839d43eb18c0752df355fac152f3c28fc765b98afd21ae57dab5c03b corebird-1.3.tar.gz +ce31141924a58b9081453b4c9490b22f2d039624a8f06d8f9418c5b8581cb8443a57db304d1112331dda547905cbe3df0c26f08f62ff78a2b210465fc3506e94 disable-gst-check.diff" diff --git a/community/corebird/disable-gst-check.diff b/community/corebird/disable-gst-check.diff new file mode 100644 index 0000000000..a6b9d2cde2 --- /dev/null +++ b/community/corebird/disable-gst-check.diff @@ -0,0 +1,14 @@ +diff --git a/configure b/configure +index 1be799c..8f9dd8b 100755 +--- a/configure ++++ b/configure +@@ -12935,7 +12935,8 @@ fi + + if test "$disable_gst_check" = "no"; then + # Check for gtksink +- GST_ELEMENT_CHECK(gtksink, 1.0, , ) ++ # GST_ELEMENT_CHECK(gtksink, 1.0, , ) ++ return 0 + fi + + diff --git a/community/fbpanel/APKBUILD b/community/fbpanel/APKBUILD new file mode 100644 index 0000000000..0cae568507 --- /dev/null +++ b/community/fbpanel/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=fbpanel +pkgver=7.0 +pkgrel=0 +pkgdesc="A lightweight, NETWM compliant desktop panel." +url="http://aanatoly.github.io/fbpanel/" +arch="all" +license="Other" +depends="" +depends_dev="" +makedepends="coreutils linux-headers gtk+2.0-dev bash" +install="" +subpackages="$pkgname-doc" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/aanatoly/$pkgname/archive/${pkgver}.tar.gz" + +builddir=${srcdir}/${pkgname}-${pkgver} +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/fbpanal \ + --mandir=/usr/share/man + make +} + +package() { + cd "$builddir" + make DESTDIR=$pkgdir install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="8a15ac4e0f23a72b9d6be5151df712e5 fbpanel-7.0.tar.gz" +sha256sums="711570954f8f99235d6afb7ec3226dede20b832eb712a5bd00e4f793b75ac5bb fbpanel-7.0.tar.gz" +sha512sums="9706a96569c41241de4dbd250c9d6a473b53a5e26e880f4c782041b2b91c7570046e1bee3070059fd2d333fb7159490732ef397b86701c72d4c65c0784948874 fbpanel-7.0.tar.gz" diff --git a/community/gammu/APKBUILD b/community/gammu/APKBUILD new file mode 100644 index 0000000000..ac77fe4615 --- /dev/null +++ b/community/gammu/APKBUILD @@ -0,0 +1,65 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=gammu +pkgver=1.33.0 +pkgrel=0 +pkgdesc="Gammu provides an abstraction layer for cell phones access" +url="http://wammu.eu/" +arch="all" +license="GPLv2+" +depends="dialog bluez" +depends_dev="" +makedepends="$depends_dev unixodbc-dev libdbi-dev postgresql-dev + bluez-dev mysql-dev libusb-dev curl-dev cmake doxygen linux-headers + python2-dev" +install="" +subpackages="$pkgname-smsd:_smsd $pkgname-doc $pkgname-dev py-$pkgname:_py + $pkgname-libs" +source="http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + cmake . -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DWITH_NOKIA_SUPPORT=ON \ + -DWITH_Bluez=ON \ + -DWITH_IrDA=On \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +_py() { + cd "$_builddir" + pkgdesc="Python gammu module" + mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/ || return 1 + mv "$pkgdir"/usr/lib/python2.7/site-packages/"$pkgname" "$subpkgdir"/usr/lib/python2.7/site-packages/ +} + +_smsd() { + cd "$_builddir" + pkgdesc="Gammu SMS daemon" + mkdir -p "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/usr/bin/gammu-smsd \ + "$pkgdir"/usr/bin/gammu-smsd-monitor \ + "$pkgdir"/usr/bin/gammu-smsd-inject "$subpkgdir"/usr/bin +} + +md5sums="3f46afcc16829175d2d9060ac15813e8 gammu-1.33.0.tar.bz2" +sha256sums="b326223e36a334dbaed68252a9cf2d90fd898d6de4d1085dcf9c2320881aece3 gammu-1.33.0.tar.bz2" +sha512sums="42252a36c7ad5a2945fcf23fcb1b5bb0201d27e8830d3b4a7f4c36bf00f12f5a0f7797e17098bda8d526d4ddc3b1808c0786dfae0feef9424516fa68bf2f3f1e gammu-1.33.0.tar.bz2" diff --git a/community/hermes/APKBUILD b/community/hermes/APKBUILD new file mode 100644 index 0000000000..f57a03428f --- /dev/null +++ b/community/hermes/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=hermes +pkgver=1.9 +pkgrel=0 +pkgdesc="Hermes is an anti-spam transparent SMTP proxy" +url="http://hermes-project.com/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="libspf2-dev sqlite-dev perl gettext-dev openssl-dev doxygen" +install="" +subpackages="$pkgname-doc" +source="http://hermes-project.com/files/${pkgname}-${pkgver}.tar.bz2 + Utils.cpp.patch" + +_builddir=${srcdir}/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-spf \ + --enable-openssl || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="61358b37c13f127632269b230a3eb382 hermes-1.9.tar.bz2 +95c21d75b4d5591ff3bb69f9f9d74587 Utils.cpp.patch" +sha256sums="3c1691d70588f1ac373c0395512f2bba14a2e6870d77901f3e2a578610bee696 hermes-1.9.tar.bz2 +545253d8c1e0c368b73dab0cbd740de3853114327d61b0fe5a1018d0935f8b35 Utils.cpp.patch" +sha512sums="9861177cee7d4936e2221f3ff9f60c030385d6c2ab1cbc320f4e03880220117c580a11188e011f9051c79691e1ab8399c03be8cbbc4f18519a1a9b966bf767b9 hermes-1.9.tar.bz2 +ac5859bed41c5b484adf8b42d66d69cf49966df84e664f9f6978d3c4fa6200858ea024c6631c2f1fd02c09d7f95e6102b3fce68b3f92f5223c4f8a253fd57d0c Utils.cpp.patch" diff --git a/community/hermes/Utils.cpp.patch b/community/hermes/Utils.cpp.patch new file mode 100644 index 0000000000..d5b5c16354 --- /dev/null +++ b/community/hermes/Utils.cpp.patch @@ -0,0 +1,19 @@ +--- hermes-1.9/src/Utils.cpp ++++ ../Utils.cpp.modified +@@ -418,9 +418,15 @@ + { + char buf[2048]=""; + char *strerr; +-// if(strerror_r(errnum,strerr,1024)!=-1) + #ifndef WIN32 ++ #ifdef __GLIBC__ + strerr=strerror_r(errnum,buf,2048); ++ #else ++ int retval = strerror_r(errnum, buf, sizeof buf); ++ strerr = buf; ++ if(retval != 0) ++ strcpy(buf, "error fetching error description"); ++ #endif + #else + strerr="Error "; + #endif //WIN32 diff --git a/community/libdbi-drivers/APKBUILD b/community/libdbi-drivers/APKBUILD new file mode 100644 index 0000000000..b64ebfaf4e --- /dev/null +++ b/community/libdbi-drivers/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: +pkgname=libdbi-drivers +pkgver=0.9.0 +pkgrel=0 +pkgdesc="Provides the database-specific drivers for the libdbi framework" +url="http://libdbi-drivers.sourceforge.net/" +arch="all" +license="LGPL2+" +depends="" +depends_dev="" +makedepends="libdbi-dev freetds-dev mysql-dev postgresql-dev sqlite-dev + $depends_dev" +install="" +subpackages="" +options="libtool" +source="http://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" + +_builddir=${srcdir}/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --localstatedir=/usr \ + --with-mysql \ + --with-pgsql \ + --with-sqlite3 \ + --disable-docs \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + chmod -R o-w "$pkgdir"/usr/lib/libdbi +} + +md5sums="9f47b960e225eede2cdeaabf7d22f59f libdbi-drivers-0.9.0.tar.gz" +sha256sums="43d2eacd573a4faff296fa925dd97fbf2aedbf1ae35c6263478210c61004c854 libdbi-drivers-0.9.0.tar.gz" +sha512sums="f4d3aaa71014697c53012a10bf9f0af398bcf5ee5872af165f8f43a682d2fb3045a9172ffea0e068dcbfcad52494878c037d8d90fadfaf176936e42f7f1e85c1 libdbi-drivers-0.9.0.tar.gz" diff --git a/community/luufs/APKBUILD b/community/luufs/APKBUILD new file mode 100644 index 0000000000..93dcb490d8 --- /dev/null +++ b/community/luufs/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=luufs +pkgver=05012015 +pkgrel=0 +pkgdesc="Lazy man's, user-mode union file system" +url="http://rlsd.dimakrasner.com/" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="fuse-dev zlib-dev" +install="" +subpackages="$pkgname-doc" +source="${pkgname}-${pkgver}.zip::http://dimkr.insomnia247.nl/sources/luufs/luufs-git05012015.zip" +_builddir=${srcdir}/${pkgname}-master +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make +} + +package() { + cd "$_builddir" + make DESTDIR=$pkgdir install +} + +md5sums="a78cc6eaa65892994e39336584631dd3 luufs-05012015.zip" +sha256sums="719b4af200e55d97224b0427378f3a06829325355863a5201944482827930d30 luufs-05012015.zip" +sha512sums="c93b59286f422aba32958b8ff147e9b1055fd145cabc5adcb6fefe9a4c9ad532e918734b34d84ef407440353f43278ef826c9ef400c1ee6d3082e30ea47e04bb luufs-05012015.zip" diff --git a/community/netsurf/APKBUILD b/community/netsurf/APKBUILD new file mode 100644 index 0000000000..5187dc5c52 --- /dev/null +++ b/community/netsurf/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=netsurf +pkgver=3.5 +pkgrel=0 +pkgdesc="NetSurf is a free, open source web browser." +url="http://www.netsurf-browser.org" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="curl-dev openssl-dev doxygen flex bison libwebp-dev lcms2-dev \ + libmng-dev gperf libglade-dev gtk+-dev libcurl libpng-dev \ + check-dev libidn-dev libharu-dev librsvg-dev libjpeg-turbo-dev" +install="" +subpackages="$pkgname-doc" +source="http://download.netsurf-browser.org/netsurf/releases/source-full/${pkgname}-all-${pkgver}.tar.gz + netsurf" + +builddir=${srcdir}/${pkgname}-all-${pkgver} +build() { + cd "$builddir" + sed 's:-Werror::' -i libsvgtiny/Makefile + make PREFIX=/usr TARGET=gtk + + } + +package() { + cd "$builddir" + make PREFIX=/usr TARGET=gtk DESTDIR="${pkgdir}" install + mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf" + install -Dm755 "$srcdir/netsurf" "$pkgdir/usr/bin/$pkgname" + mkdir -p "$pkgdir"/usr/share/man/man1/ + install -Dm644 netsurf/Docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/ + } + +md5sums="a52270702637273f4ca3ea8b2347115d netsurf-all-3.5.tar.gz +59f2a4c36945cb339d8acd6e4f798338 netsurf" +sha256sums="09184f8901a30b98b3e37e82d1d723a4f9e000c56b235ea59a9e0bb2d96fb4ed netsurf-all-3.5.tar.gz +0c35bcc46a16b8fa3a30289666c44506887f1a32520cf9cf522e71e0e4b5c38b netsurf" +sha512sums="a39eb8c11b394e4d5c1164da46d74f283f489057f70c192277d94e511a3716c86474a07a7c80ce602a53e41959f75e82312ad9f5cb365953c24445af4456e1ce netsurf-all-3.5.tar.gz +98d2319e31368b63afc01c82647e6d7bbc868775f8a26f0e65283509fb73f36b248a884d22822486402fb38fdf6cb463b2743d806c1edff32e358b4b444fde45 netsurf" diff --git a/community/netsurf/netsurf b/community/netsurf/netsurf new file mode 100644 index 0000000000..1a7d693e21 --- /dev/null +++ b/community/netsurf/netsurf @@ -0,0 +1,8 @@ +#!/bin/sh +shortname=`echo $LANG | cut -b1-2` +if [[ -d /usr/share/netsurf/$shortname ]]; then + /usr/bin/netsurf.elf "$@" +else + LANG=en /usr/bin/netsurf.elf "$@" +fi + diff --git a/community/opencpn/APKBUILD b/community/opencpn/APKBUILD new file mode 100644 index 0000000000..db6d4bb385 --- /dev/null +++ b/community/opencpn/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=opencpn +pkgver=4.4.0 +pkgrel=0 +pkgdesc="OpenCPN is a cross platform electronic navigation system" +url="http://opencpn.org" +arch="x86 x86_64" +license="GPL2" +depends="" +makedepends="wxgtk-dev libexecinfo-dev linux-headers curl-dev cmake gpsd + portaudio-dev tinyxml-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="$pkgname-$pkgver.tar.gz::https://github.com/OpenCPN/OpenCPN/archive/v${pkgver}.tar.gz +CMakeList.txt.patch" + +builddir="$srcdir/OpenCPN-${pkgver}" + +build() { + cd "$builddir" + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUNDLE_GSHHS=CRUDE \ + -DBUNDLE_TCDATA=ON \ + -DBUNDLE_DOCS=ON || return 1 + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="d991b49373c45f9756fa79c3b3a0f215 opencpn-4.4.0.tar.gz +ed2a9317525fd5e06c3e51e582d86e40 CMakeList.txt.patch" +sha256sums="577ae0fa44d31840e268b22c50b78130695fdfc796420514c93b238d5bde39b9 opencpn-4.4.0.tar.gz +2f653299f09312c4218febf66855c1b56d8b0278163e3dd5868bf28b725b4df0 CMakeList.txt.patch" +sha512sums="ebe4c3518d2addbbba36cec78719cb1c853969923e7ade4f6df78a8520224fef9f421b809f573cfa770acc9b9d31a90341d6114edc02a307682d0fca5c62b26b opencpn-4.4.0.tar.gz +79daf622a5a9a54db81a09bc1004819bb4d20ce2959a4d3204e8ff09d4669e55ebb85b37961397cc6c8a00b87e081126685c51f6bdb78d9d324ce4f7c8b2f2ef CMakeList.txt.patch" diff --git a/community/opencpn/CMakeList.txt.patch b/community/opencpn/CMakeList.txt.patch new file mode 100644 index 0000000000..8a1341d424 --- /dev/null +++ b/community/opencpn/CMakeList.txt.patch @@ -0,0 +1,13 @@ +index 967e558..27bad69 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -489,6 +489,9 @@ IF(OCPN_USE_CRASHREPORT) + IF(CMAKE_BUILD_TYPE MATCHES "Rel*") + MESSAGE (STATUS "Using Linux crash reporting") + ADD_DEFINITIONS(-DLINUX_CRASHRPT) ++ IF(EXISTS /etc/alpine-release) ++ SET(EXTRA_LIBS ${EXTRA_LIBS} "execinfo") ++ ENDIF(EXISTS alpine-release) + ENDIF(CMAKE_BUILD_TYPE MATCHES "Rel*") + ENDIF(NOT APPLE AND NOT QT_ANDROID AND NOT MINGW) + ENDIF(MSVC diff --git a/community/py-sensehat/APKBUILD b/community/py-sensehat/APKBUILD new file mode 100644 index 0000000000..bfad9a50a7 --- /dev/null +++ b/community/py-sensehat/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=py-sensehat +_pkgname=python-sense-hat +pkgver=2.1.0 +pkgrel=0 +pkgdesc="Python module to control the Raspberry Pi Sense HAT" +url="https://www.raspberrypi.org/products/sense-hat/" +arch="armhf" +license="BSD-3" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/RPi-Distro/${_pkgname}/archive/v${pkgver}.tar.gz" + +_builddir=${srcdir}/${_pkgname}-${pkgver} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="eec4a6d9d718232f69475f17cd3864c2 python-sense-hat-2.1.0.tar.gz" +sha256sums="fdc26c296955b7b7cca9279e4cbe309b835afbd4912e0b46cbeac20051ff84e5 python-sense-hat-2.1.0.tar.gz" +sha512sums="f1d6e1d152ec226702f63cd2ce72e76994bb2106eda5a0d22ea04bdc3021640a45f82c2f927fc24bda6de572bd328f72d3632dd73e05ddd1ccfbc1ee39d3f61b python-sense-hat-2.1.0.tar.gz" diff --git a/community/rng-tools/APKBUILD b/community/rng-tools/APKBUILD new file mode 100644 index 0000000000..83d0de3d84 --- /dev/null +++ b/community/rng-tools/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Dennis Przytarski <dennis@przytarski.com> +# Maintainer: ScrumpyJack <scrumypjack@st.ilet.to> +pkgname=rng-tools +pkgver=5 +pkgrel=3 +pkgdesc="a random number generator daemon" +url="http://sourceforge.net/projects/gkernel/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="argp-standalone linux-headers" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/gkernel/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz + fix-textrels-on-PIC-x86.patch + rngd.confd + rngd.initd + " + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + export LIBS="-largp" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/rng-tools \ + --sysconfdir=/etc \ + --disable-silent-rules + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="${pkgdir}" install || return 1 + + install -m644 -D "${srcdir}/rngd.confd" "${pkgdir}/etc/conf.d/rngd" || return 1 + install -m755 -D "${srcdir}/rngd.initd" "${pkgdir}/etc/init.d/rngd" || return 1 +} + +md5sums="6726cdc6fae1f5122463f24ae980dd68 rng-tools-5.tar.gz +327ecc26d50a4a93f8cdec4a24fa837c fix-textrels-on-PIC-x86.patch +2652d9515601d09291f66f8c352d3034 rngd.confd +e0dbde536f506707cb11594fc947607d rngd.initd" +sha256sums="60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e rng-tools-5.tar.gz +15072f76a7198859a08de56fc6c438a1c393a31e4a119200a7c8c63c5b15f0b6 fix-textrels-on-PIC-x86.patch +bcd519614980323554c1db08aea876dff4f0f1cee10e86d4826443aaa81b489d rngd.confd +7ccc1b605a7a861bed8b032010aaad4d745b2e8a8d1800840e1f7063f128599c rngd.initd" +sha512sums="58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 rng-tools-5.tar.gz +5c8196c3e70c093215fc0720cd3f58f339f74293a7eb35d95b914591d783472119dcc34fb27ab6a4c3ce5359e050b4987d1e7ddf213a7445fc0b70d9fae5eae5 fix-textrels-on-PIC-x86.patch +ce82f583ab06580f038f17d4ecc84655cfc001abf344f9a50d12b8c1a5a6c4b74c386fbbc8b130201e4c34a7d99da75a4e64bcc41b2aebd381e74a352b5531c4 rngd.confd +46abb31d575854a51fc5ee1d31eb436e153cf969435d5b835d6fb44f4bdce549378ca9abcd81142abeb650312bd62133552eed2bec4eb9035f9456f739f1a3b7 rngd.initd" diff --git a/community/rng-tools/fix-textrels-on-PIC-x86.patch b/community/rng-tools/fix-textrels-on-PIC-x86.patch new file mode 100644 index 0000000000..88d0a7f905 --- /dev/null +++ b/community/rng-tools/fix-textrels-on-PIC-x86.patch @@ -0,0 +1,50 @@ +--- rng-tools/rdrand_asm.S ++++ rng-tools/rdrand_asm.S +@@ -49,6 +49,7 @@ + ret + ENDPROC(x86_rdrand_nlong) + ++#define INIT_PIC() + #define SETPTR(var,ptr) leaq var(%rip),ptr + #define PTR0 %rdi + #define PTR1 %rsi +@@ -84,7 +85,16 @@ + ret + ENDPROC(x86_rdrand_nlong) + ++#if defined(__PIC__) ++#undef __i686 /* gcc builtin define gets in our way */ ++#define INIT_PIC() \ ++ call __i686.get_pc_thunk.bx ; \ ++ addl $_GLOBAL_OFFSET_TABLE_, %ebx ++#define SETPTR(var,ptr) leal (var)@GOTOFF(%ebx),ptr ++#else ++#define INIT_PIC() + #define SETPTR(var,ptr) movl $(var),ptr ++#endif + #define PTR0 %eax + #define PTR1 %edx + #define PTR2 %ecx +@@ -101,6 +111,7 @@ + movl 8(%ebp), %eax + movl 12(%ebp), %edx + #endif ++ INIT_PIC() + + SETPTR(aes_round_keys, PTR2) + +@@ -166,6 +177,17 @@ + #endif + ret + ENDPROC(x86_aes_mangle) ++ ++#if defined(__i386__) && defined(__PIC__) ++ .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits ++.globl __i686.get_pc_thunk.bx ++ .hidden __i686.get_pc_thunk.bx ++ .type __i686.get_pc_thunk.bx,@function ++__i686.get_pc_thunk.bx: ++ movl (%esp), %ebx ++ ret ++#endif ++ diff --git a/community/rng-tools/rngd.confd b/community/rng-tools/rngd.confd new file mode 100644 index 0000000000..c065e7e3b9 --- /dev/null +++ b/community/rng-tools/rngd.confd @@ -0,0 +1 @@ +RNGD_OPTS="--no-drng=1 --no-tpm=1" diff --git a/community/rng-tools/rngd.initd b/community/rng-tools/rngd.initd new file mode 100644 index 0000000000..b91412ddf8 --- /dev/null +++ b/community/rng-tools/rngd.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run + +name="rngd" +command="/usr/sbin/${name}" +command_args="-f ${RNGD_OPTS}" +command_background="yes" +start_stop_daemon_args="--wait 5" +pidfile="/var/run/${name}.pid" + +depend() { + need localmount + after urandom + provide entropy +} diff --git a/community/volumeicon/APKBUILD b/community/volumeicon/APKBUILD new file mode 100644 index 0000000000..15163466d2 --- /dev/null +++ b/community/volumeicon/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=volumeicon +pkgver=0.5.1 +pkgrel=0 +pkgdesc="Volume Icon is a lightweight volume control that sits in your systray" +url="http://softwarebakery.com/maato/volumeicon.html" +arch="all" +license="GPL3" +depends="" +depends_dev="" +makedepends="gtk+3.0-dev intltool alsa-lib-dev libnotify-dev" +install="" +subpackages="${pkgname}-lang" +source="http://softwarebakery.com/maato/files/${pkgname}/${pkgname}-${pkgver}.tar.gz" + +builddir=${srcdir}/${pkgname}-${pkgver} +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-notify || return 1 + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="48230f3a1843fa4cc4ec97d0da35c3f5 volumeicon-0.5.1.tar.gz" +sha256sums="24b8c1d0a81d708b201ce6e67301fc175d65588d892d01859f667b8db8a05da0 volumeicon-0.5.1.tar.gz" +sha512sums="a96c79f91a8a0ec96f3297af659cf738547bb33e5908edb6b499bcc5081c61339ceaccc3a854a2f953a6f177fe6d8be1578cacab522d8be63a9dda8cf7c7a452 volumeicon-0.5.1.tar.gz" |