X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-it1-f172.google.com (mail-it1-f172.google.com [209.85.166.172]) by lists.alpinelinux.org (Postfix) with ESMTP id 01DC65C5C3F for ; Thu, 22 Nov 2018 23:14:52 +0000 (GMT) Received: by mail-it1-f172.google.com with SMTP id m15so15754898itl.4 for ; Thu, 22 Nov 2018 15:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dMv+1wXbZCQV9o9jg+nknNRO+AfrHjdwLONTRIjrF4Y=; b=enyyIiUGkzkeP/20/mlkqQH2oKxIt34olk6b/ROA0YS3Asso76s+zRePbHqB5iRekC Kt0ryjcLLzkDSOPXqUz2m8vmw+sreAGt2mDn0yOmPIH+BzeLUk7PDrTsFHvVfSVn6rRN q+P9JpP/6xponbqsdh+D/a3a8nmFIaVzCZ8Lq4QaBwiHRmssmZnBdsTOPn8+iP6bGyBP AY1elc7fgH4sUjdrxEdkeY/IFqMgtnadCtctoKlzeYHTQbKaZii5qYUdPLOLzLYN1ws1 jk8DBS7TRty/nkqBs0nG0bn6YHGk1FVX5sAIFWijN1crcpMTYAHAyKkIsHezjcbmDUAc ofYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dMv+1wXbZCQV9o9jg+nknNRO+AfrHjdwLONTRIjrF4Y=; b=pEQT9qz4D+kj2DxBbIi5rm/IbAG2LpDYCH5n+R2rn1sZe87u+mhqPp2hIwwmhefOiV jNZhN5f/d6gtebNycc3tfYNHGNPf+jbJiX8BskXgEbliQbVU5DzXFOYji1deEOKbJ3Rf GxJygDXgjhQu5uXm8uEqryFYRY6K8V18ItphibIarppJDR2TFlt0MH2B/EZI3brbi+XY t22Nyg32RF0JWYbiVnlZA1b1077a6CtvqKw8brwFgNxX1ZHOAPepmccf33bunUmDhkI3 9vDUymMF/kE9O+DdxJXksPVmBI6kFIVpMgzR1vDeWa1ZuEhVqCWbWdrDHBVsvYXe2S08 4Xhg== X-Gm-Message-State: AA+aEWbGLde209lkin4SyKFTx3t+bnftkUfctFObI54pXMYaV8fxvm/R 1FYYtb/l3fI8/t+p0Qpc1hSJyoJxeT8= X-Google-Smtp-Source: AJdET5dX4Q4LT1Tcta8R/8nquicoCDN7mIyCS3y+hko2ukUKW/GEk681TaKbiH7saLZWXQkw59A6jw== X-Received: by 2002:a02:4c55:: with SMTP id a82mr11218248jab.29.1542928491156; Thu, 22 Nov 2018 15:14:51 -0800 (PST) Received: from localhost.localdomain ([2601:280:8100:fa97:9dd5:5561:b68c:d012]) by smtp.gmail.com with ESMTPSA id i77-v6sm3012270itb.22.2018.11.22.15.14.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 15:14:50 -0800 (PST) From: Nathan Caldwell To: alpine-aports@lists.alpinelinux.org Cc: Nathan Caldwell Subject: [alpine-aports] [PATCH] testing/llmnrd: new aport Date: Thu, 22 Nov 2018 16:14:33 -0700 Message-Id: <20181122231434.21105-1-saintdev@gmail.com> X-Mailer: git-send-email 2.19.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/tklauser/llmnrd Link-Local Multicast Resolution (LLMNR) Daemon --- testing/llmnrd/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ testing/llmnrd/llmnrd.initd | 12 ++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 testing/llmnrd/APKBUILD create mode 100644 testing/llmnrd/llmnrd.initd diff --git a/testing/llmnrd/APKBUILD b/testing/llmnrd/APKBUILD new file mode 100644 index 0000000000..89d395bfcb --- /dev/null +++ b/testing/llmnrd/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Nathan Caldwell +# Maintainer: Nathan Caldwell +pkgname=llmnrd +pkgver=0.5 +pkgrel=0 +pkgdesc="Link-Local Multicast Resolution (LLMNR) Daemon for Linux" +url="https://github.com/tklauser/llmnrd" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="linux-headers" +subpackages="$pkgname-doc $pkgname-openrc" +# llmnrd has no test suite +options="!check" +source="https://github.com/tklauser/llmnrd/releases/download/v$pkgver/llmnrd-$pkgver.tar.bz2 + llmnrd.initd + " +builddir="$srcdir/llmnrd-$pkgver" + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + make prefix=/usr DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname +} + +sha512sums="e7d179bf7c0417974e39c225957f17d57a4bb00fcc74d0e3c66a05b9da2f88928f2867624b9f9193a4438be4d658bfe8474fd7fa637feaa5a406df5f98e8074e llmnrd-0.5.tar.bz2 +393643c9a051aeb3ba283bfe2845c0480b0eba93ef89705ef9e3162a7ecff37d1733ab16482b6be09d89eed263a9c83323762c6dbc573b7a94c8a7cbfd1d10ef llmnrd.initd" diff --git a/testing/llmnrd/llmnrd.initd b/testing/llmnrd/llmnrd.initd new file mode 100644 index 0000000000..fdf48a73e3 --- /dev/null +++ b/testing/llmnrd/llmnrd.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run + +name=llmnrd +command="/usr/sbin/llmnrd" +command_background="yes" + +pidfile="/run/$name.pid" + +depend() { + need net + after firewall +} -- 2.19.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---