aboutsummaryrefslogtreecommitdiffstats
path: root/community/sngrep
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-02-07 13:49:06 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-02-07 13:49:06 +0000
commit84116e5f8b03452ebedbd5646f898eeb60f98cac (patch)
tree43df9b34ad1a53b50dca8f339548971b3ba82262 /community/sngrep
parent4067f644c7dcec17dce39a1fb56acdb9dcc04514 (diff)
downloadaports-84116e5f8b03452ebedbd5646f898eeb60f98cac.tar.bz2
aports-84116e5f8b03452ebedbd5646f898eeb60f98cac.tar.xz
community/sngrep: upgrade to 1.4.5
Diffstat (limited to 'community/sngrep')
-rw-r--r--community/sngrep/APKBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/community/sngrep/APKBUILD b/community/sngrep/APKBUILD
index cbf19e6099..c7820f9594 100644
--- a/community/sngrep/APKBUILD
+++ b/community/sngrep/APKBUILD
@@ -1,36 +1,43 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sngrep
-pkgver=1.4.3
-pkgrel=1
+pkgver=1.4.5
+pkgrel=0
pkgdesc="A tool for displaying SIP call message flows from a terminal"
url="https://github.com/irontec/sngrep"
arch="all"
license="GPL"
depends="sed"
-makedepends="autoconf automake ncurses-dev libpcap-dev pcre-dev libressl-dev"
+makedepends="autoconf automake ncurses-dev libpcap-dev
+ pcre-dev gnutls-dev libgcrypt-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/irontec/$pkgname/archive/v$pkgver.zip"
builddir="$srcdir"/$pkgname-$pkgver
-check() {
+prepare() {
+ default_prepare
cd "$builddir"
- make check
+ ./bootstrap.sh
}
build() {
cd "$builddir"
- ./bootstrap.sh
- ./configure --prefix=/usr \
- --with-openssl \
+ ./configure \
+ --prefix=/usr \
+ --with-gnutls \
--with-pcre \
--enable-ipv6
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
-sha512sums="8eb9c4f4efd128803cbf01b211591d25c652aaac7f3346c9a8b3e0c4932b0c82e73508e6244acd78bfb6c55a0e2d9c86ad5c5642139e7e92f228a38acf093425 sngrep-1.4.3.zip"
+sha512sums="2b5ce618ff6f876ec340361c5d674524eb8f56fc84325a13d714bd96b4e249ac7fa56cfd442654ea57aef489f07862260896fcfb16955c759a7cf91e6654c8af sngrep-1.4.5.zip"