From 2a621119c3af4cb1a2988d65efa30b61397df7a5 Mon Sep 17 00:00:00 2001 From: parazyd Date: Tue, 25 Oct 2016 12:08:09 +0200 Subject: [PATCH] add blend try --- extra/blends/dowse.blend | 105 +++++++++++++++++++++++++++++++++++++++ sdk | 16 ++++-- 2 files changed, 117 insertions(+), 4 deletions(-) create mode 100644 extra/blends/dowse.blend diff --git a/extra/blends/dowse.blend b/extra/blends/dowse.blend new file mode 100644 index 0000000..415ce4e --- /dev/null +++ b/extra/blends/dowse.blend @@ -0,0 +1,105 @@ +#!/usr/bin/env zsh +# Copyright (c) 2016 Dyne.org Foundation +# arm-sdk is written and maintained by Ivan J. +# +# This file is part of arm-sdk +# +# This source code is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this source code. If not, see . + +## build script for Dowse + +blend=dowse + +extra_packages+=( + zsh + iptables + ebtables + sqlite3 + procps + gettext-base + procps + net-tools + autoconf + automake + libssl-dev + libbind-dev + libpcap-dev + unzip + wget + gcc + g++ + make + cmake + libtool + liblo-dev + libnetfilter-conntrack3 + libnetfilter-queue-dev + libsqlite3-dev + sqlite3 + libjemalloc-dev + libseccomp2 + libsodium-dev + libhiredis-dev + libkmod-dev + bind9-host + bison + gawk + libevent-dev + libjansson-dev + asciidoc + uuid-dev + libldns-dev + python-redis + python-hiredis +) + +preinst() { + fn preinst + req=(strapdir blend) + ckreq || return 1 + + notice "executing $blend preinst" + + install_extra_pkgs + + cat <