X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from st11p00mm-asmtp002.mac.com (st11p00mm-asmtpout002.mac.com [17.172.81.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id CB6ABDC01CB for ; Thu, 26 Mar 2015 21:00:36 +0000 (UTC) Received: from st.ilet.to (weisshorn.alpinelinux.uk [31.193.133.175]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NLU003LN7OYUO10@st11p00mm-asmtp002.mac.com> for alpine-devel@lists.alpinelinux.org; Thu, 26 Mar 2015 21:00:35 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-26_04:2015-03-26,2015-03-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1503260199 Date: Thu, 26 Mar 2015 21:00:34 +0000 (GMT) From: ScrumpyJack X-X-Sender: nicholas@st.ilet.to To: Alpine Devel List Subject: [alpine-devel] [PATCH] testing/darkstat: new aport Message-id: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Captures network traffic, calculates statistics about usage, and serves reports over HTTP https://unix4lyfe.org/darkstat/ --- testing/darkstat/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/darkstat/APKBUILD diff --git a/testing/darkstat/APKBUILD b/testing/darkstat/APKBUILD new file mode 100644 index 0000000..c8cb95f --- /dev/null +++ b/testing/darkstat/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: ScrumpyJack +# Maintainer: +pkgname=darkstat +pkgver=3.0.718 +pkgrel=0 +pkgdesc="Captures network traffic, calculates statistics about usage, and serves reports over HTTP" +url="https://unix4lyfe.org/darkstat/" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="zlib-dev libpcap-dev" +install="" +subpackages="$pkgname-doc" +source="https://unix4lyfe.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + +_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 --prefix=/usr + make + + } + +package() { + cd "$_builddir" + make DESTDIR=${pkgdir} install +} + +md5sums="1fb31ac01d4689493c917fa622a002e7 darkstat-3.0.718.tar.bz2" +sha256sums="682f3e53f4e89ea6ad08236b4225a5e0859428299765d8d995374cd7fa22adff darkstat-3.0.718.tar.bz2" +sha512sums="73ed670a9c684b2f0b087da3f238c2828407c82201d1bff945a3d711bbaa231b9d87ddc9e21aa855abcd7d63c27f8f529f5a2c6fb48f52a3f0b6e88c49d33969 darkstat-3.0.718.tar.bz2" -- 2.3.4 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---