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 04B31DCA552 for ; Fri, 1 May 2015 16:59:02 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C29F9DCA292 for ; Fri, 1 May 2015 16:58:56 +0000 (UTC) Received: from [81.4.121.188] (port=53427 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1YoEH6-003aHI-TU; Fri, 01 May 2015 17:58:53 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/entr: new aport Date: Fri, 1 May 2015 16:58:38 +0000 Message-Id: <1430499518-2406-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.3.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Event Notify Test Runner: Run arbitrary commands when files change http://entrproject.org 41k binary --- testing/entr/APKBUILD | 43 ++++++++++++++++++++++++++++++ testing/entr/remove-strlcpy-compat.h.patch | 14 ++++++++++ 2 files changed, 57 insertions(+) create mode 100644 testing/entr/APKBUILD create mode 100644 testing/entr/remove-strlcpy-compat.h.patch diff --git a/testing/entr/APKBUILD b/testing/entr/APKBUILD new file mode 100644 index 0000000..4a1f568 --- /dev/null +++ b/testing/entr/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=entr +_srcdir=eradman-$pkgname-c20e34ec153a +pkgver=3.2 +pkgrel=0 +pkgdesc="Event Notify Test Runner: Run arbitrary commands when files change" +url="http://entrproject.org" +arch="all" +license="ISC / BSD" +subpackages="$pkgname-doc" +source="http://entrproject.org/code/$pkgname-$pkgver.tar.gz + remove-strlcpy-compat.h.patch + " + +_builddir="$srcdir"/$_srcdir +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 || return 1 + CFLAGS="-static" make test || return 1 +} + +package() { + cd "$_builddir" + PREFIX="$pkgdir/usr" make install || return 1 +} + +md5sums="efd379cf5bd08d7086bb94e41c4846c8 entr-3.2.tar.gz +5ae5aa6f2b8de9747312b32b17c56d0b remove-strlcpy-compat.h.patch" +sha256sums="b1eee00afbeccf03010c1c557436854be6aaf0ef9b72ab8d44b94affdd7d7146 entr-3.2.tar.gz +2bc42c8c154acf0aaa876b4395c2e0e7b20773e48d50b0c8a15e90ca2e8db472 remove-strlcpy-compat.h.patch" +sha512sums="7287dfe86b829a73049dfbac78c76e06e69b1172bece80120977f03492ff325d0c026cb58d1ab56a10897beebbcfb0c2130aaf5167ad68fdbc5daa0959cc22b7 entr-3.2.tar.gz +9d0f4e06cd5c312788f5ff2efa13f55f78a3491de3ddf64612a6c731072e8514deb1cea48c630194cbda71c58c57e9a6b937172eca58be0b1fb4f0f7a1652e2d remove-strlcpy-compat.h.patch" diff --git a/testing/entr/remove-strlcpy-compat.h.patch b/testing/entr/remove-strlcpy-compat.h.patch new file mode 100644 index 0000000..ae2d271 --- /dev/null +++ b/testing/entr/remove-strlcpy-compat.h.patch @@ -0,0 +1,14 @@ +--- eradman-entr-c20e34ec153a/missing/compat.h ++++ eradman-entr-c20e34ec153a/missing/compat.h.new +@@ -4,11 +4,6 @@ + #define NOTE_TRUNCATE 0 + #endif + +-#if defined(_LINUX_PORT) +-#include +-size_t strlcpy(char *to, const char *from, int l); +-#endif +- + #if defined(_MACOS_PORT) + #include + FILE *fmemopen(void *buf, size_t size, const char *mode); -- 2.3.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---