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 1DB5FDC036B for ; Thu, 23 Apr 2015 17:13:59 +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 CB924DCCDF6 for ; Thu, 23 Apr 2015 17:13:53 +0000 (UTC) Received: from [81.4.121.188] (port=51803 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1YlKhC-003uKb-FJ; Thu, 23 Apr 2015 18:13:50 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH 3/6] testing/libndp: new aport Date: Thu, 23 Apr 2015 17:13:34 +0000 Message-Id: <1429809217-72263-4-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1429809217-72263-1-git-send-email-developer@it-offshore.co.uk> References: <1429809217-72263-1-git-send-email-developer@it-offshore.co.uk> 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-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Required by networkmanager Library for Neighbor Discovery Protocol http://libndp.org/ --- testing/libndp/APKBUILD | 55 +++++++++++++++++++++++++++++++++++++++++ testing/libndp/fix-fd_set.patch | 10 ++++++++ 2 files changed, 65 insertions(+) create mode 100644 testing/libndp/APKBUILD create mode 100644 testing/libndp/fix-fd_set.patch diff --git a/testing/libndp/APKBUILD b/testing/libndp/APKBUILD new file mode 100644 index 0000000..556ffb4 --- /dev/null +++ b/testing/libndp/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=libndp +pkgver=1.4 +pkgrel=0 +pkgdesc="Library for IPv6 Neighbor Discovery Protocol" +url="http://libndp.org" +arch="all" +license="GPL2.1" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://libndp.org/files/$pkgname-$pkgver.tar.gz + fix-fd_set.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 \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static \ + --libexecdir=/usr/lib \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="52c708d4b8729ae6e3781b3737a85e16 libndp-1.4.tar.gz +7b1e885680e9677de2f25707850db7dd fix-fd_set.patch" +sha256sums="3a0be247ec024bd72fe5b40ea9491519c4023c7faf078311196fab817b2fd55f libndp-1.4.tar.gz +401a6d2601790f136e9c7b51b49003c3994df93136c6acdb289ce377d7068942 fix-fd_set.patch" +sha512sums="a84d4d6672bf83bcf865eef8986e7bbcc49587686c5085a5ce5f346791223ede0e60db3b990055afc4f0005182aa1b5546c459306d2955f95d00ffb68bd58766 libndp-1.4.tar.gz +291503b1a9b21ae3e75d0048fadaa0bace989c6091ddb7238ed7920d4daa968bbd66608432de341fa2cde33d440dcd1b679bc590c7b8d91a68363f5469abc92b fix-fd_set.patch" diff --git a/testing/libndp/fix-fd_set.patch b/testing/libndp/fix-fd_set.patch new file mode 100644 index 0000000..7797418 --- /dev/null +++ b/testing/libndp/fix-fd_set.patch @@ -0,0 +1,10 @@ +--- libndp-1.4/utils/ndptool.c ++++ libndp-1.4/utils/ndptool.c.new +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- 2.3.5 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---