X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id D1A23DC022E for ; Sun, 13 Mar 2016 13:19:15 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 711EBDC01B9 for ; Sun, 13 Mar 2016 13:19:14 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id n186so74266139wmn.1 for ; Sun, 13 Mar 2016 06:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meszarovics-name.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=Fkbn14an36dTiSyp1th0abih3sQY6j1QwxqBgAvlVs8=; b=Hb/2pHWt0jVhN61iu30guwOlTpzW3tRbFKR6Oeb1+UnwTLv7qfRr+aTKfW5ua/nKRd M4K2ZG0VNgJK63xmKdX6xT6x4NCEveNxJk7bYWaiE6IbVNVtIuXFxMx3N7J/8AEr5uIm Xo1vgfx2SplkFsbzmtfKQfXu/hF7GJuF8cd7rDNO6nUH1VaHMM5DOE3KuK/SUar4zW4v zUQrwNOwaLd5scZeu2yWBundXp2cOP1xH6rDjJej1BY8J8A61BC9GQ81oiCz2ffoaMab bltiJ1A2BvXKLcexF6EIpzgknC8l4QgMe+qPFXpfCZHvTGO9zr+qNXn1WxGYqcrJSewu 6hmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Fkbn14an36dTiSyp1th0abih3sQY6j1QwxqBgAvlVs8=; b=dTOi4VOMZrsuSCIsg05he7ibKTxny9gK1tRklBarQ83YRmLOlhYgyE9Mk6LMNfNV0p eWLT6pq+7c86e1naMoyn4Biwx1MIjNYFfUgIFv5dxNf3Z10kxrjvnkQ+oK2GhoEQZF9e l71h7oaUVBmRATEq9qSAE7XLeHLmXUyf2Cht5yvo4k8PlQkX/vl4Jx0MkqznPcRG8au+ j5DDf4r1egaaDNHFdhtSyDPp75eylJn8fPps/1OipjLOc8oPIsst1rrQQfYVVQTrHsy4 Ysg8NmpxoB18H8O/cqHNDqt/qGXhozNoJXS8+bdWWleYoe/9ASZcLzRWJPWykpNCqDHm LnIw== X-Gm-Message-State: AD7BkJJk5WvsuoAO69I1BwS3ejZHHywdjsU1ssJ+zZgKCM/a6zK/9BiE+nb/9kuQrokbDg== X-Received: by 10.28.129.213 with SMTP id c204mr13232840wmd.89.1457874713747; Sun, 13 Mar 2016 06:11:53 -0700 (PDT) Received: from a1afbdfc3b92.h.mapelabs.eu (212-51-154-172.fiber7.init7.net. [212.51.154.172]) by smtp.gmail.com with ESMTPSA id za6sm17705801wjc.18.2016.03.13.06.11.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Mar 2016 06:11:53 -0700 (PDT) Sender: =?UTF-8?Q?Zsolt_M=C3=A9sz=C3=A1rovics?= From: Zsolt M To: alpine-aports@lists.alpinelinux.org Cc: Zsolt M Subject: [alpine-aports] [PATCH] testing/mhddfs: new aport Date: Sun, 13 Mar 2016 13:11:46 +0000 Message-Id: <1457874706-2957-1-git-send-email-zsolt@meszarovics.me> X-Mailer: git-send-email 2.6.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://mhddfs.uvw.ru/ A fuse-based file system for unifying several mount points into one. --- testing/mhddfs/APKBUILD | 48 +++++++++++++++++++++++++++++++++++++++ testing/mhddfs/local-uthash.patch | 21 +++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 testing/mhddfs/APKBUILD create mode 100644 testing/mhddfs/local-uthash.patch diff --git a/testing/mhddfs/APKBUILD b/testing/mhddfs/APKBUILD new file mode 100644 index 0000000..5d662cf --- /dev/null +++ b/testing/mhddfs/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Zsolt M +# Maintainer: +pkgname=mhddfs +pkgver=0.1.39 +pkgrel=0 +pkgdesc="A fuse-based file system for unifying several mount points into one." +url="http://mhddfs.uvw.ru" +arch="all" +license="GPL3" +depends="fuse" +depends_dev="fuse-dev attr-dev" +makedepends="$depends_dev" +install="" +subpackages="" +_uthashver=1.9.9 +source="http://mhddfs.uvw.ru/downloads/${pkgname}_${pkgver}.tar.gz + saveas-https://github.com/troydhanson/uthash/archive/v${_uthashver}.tar.gz/uthash-v${_uthashver}.tar.gz + local-uthash.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" + srcdir=${srcdir} make +} + +package() { + cd "$_builddir" + install -Dsm755 mhddfs "$pkgdir"/usr/bin/${pkgname} +} +md5sums="efc43fa9b4c1437bb233149bd624a459 mhddfs_0.1.39.tar.gz +c3ce9197c818dcb7ca85b59912f310a4 uthash-v1.9.9.tar.gz +79f1cbe1b25e9e7d096614959aa5d420 local-uthash.patch" +sha256sums="702fc5486460c1828898426b1935179ce60bc1ed16fc8bc575c9ec1d12acef91 mhddfs_0.1.39.tar.gz +f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c uthash-v1.9.9.tar.gz +8243c699e243da20f8cb03ebf43548a069fe4b5737bc1e5841c816383708cfea local-uthash.patch" +sha512sums="cf1952e665e82a92ccfef9215d4faf78cd235566b67e6ebc3a60ab53089d9391bc41a08e6b203ad052e4a08bdd14428f2d9abe48f341aeb0c80ae1da80f83f89 mhddfs_0.1.39.tar.gz +40b888529db6baba7bdb0a11c3f782719c40470f6b8e4d75ed480c4c465606e990abf65786156a93f4e2f9c8805cbc098550cc3c62e33b7345fa5bf6d146a8c4 uthash-v1.9.9.tar.gz +e288ab2efad8955e621460e46dc6ec7c14f6471498ec3df6900fad00bfbb91d3ba9cabed10f17257c6aa15f5be6558c75d4220e57b935beb1cef0893d7a9bbab local-uthash.patch" diff --git a/testing/mhddfs/local-uthash.patch b/testing/mhddfs/local-uthash.patch new file mode 100644 index 0000000..d9322d4 --- /dev/null +++ b/testing/mhddfs/local-uthash.patch @@ -0,0 +1,21 @@ +--- mhddfs-0.1.39/Makefile.orig ++++ mhddfs-0.1.39/Makefile +@@ -9,7 +9,7 @@ + # This program 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. ++ # GNU General Public License for more details. + + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . +@@ -24,6 +24,9 @@ + + CFLAGS = -Wall $(shell pkg-config fuse --cflags) \ + -DFUSE_USE_VERSION=26 -MMD ++ ++CFLAGS += -I${srcdir}/uthash-1.9.9/src ++ + ifdef WITHOUT_XATTR + CFLAGS += -DWITHOUT_XATTR + endif -- 2.6.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---