Update net/erlang-p1_stun to 0.9.0.

Change to use erlang/module.mk.
No upstream changes since last revision.
This commit is contained in:
fhajny 2016-01-16 18:42:25 +00:00
parent 30bad26db0
commit 295e866001
4 changed files with 34 additions and 41 deletions

View file

@ -1,33 +1,25 @@
# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $
# $NetBSD: Makefile,v 1.2 2016/01/16 18:42:25 fhajny Exp $
DISTNAME= p1_stun-0.20150916
PKGNAME= erlang-${DISTNAME}
DISTNAME= p1_stun-0.9.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/processone/stun/
COMMENT= STUN for ejabberd
LICENSE= gnu-gpl-v2
LICENSE= apache-2.0
BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
DEPENDS+= erlang-p1_tls-[0-9]*:../../security/erlang-p1_tls
DEPENDS+= erlang-p1_utils-[0-9]*:../../misc/erlang-p1_utils
DEPENDS+= erlang-p1_tls>=1.0.0:../../security/erlang-p1_tls
DEPENDS+= erlang-p1_utils>=1.0.2:../../misc/erlang-p1_utils
GITHUB_PROJECT= stun
GITHUB_TAG= 061bdae484268cbf0457ad4797e74b8516df3ad1
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
NO_CONFIGURE= yes
USE_TOOLS+= pax
BUILD_TARGET= src
INSTALLATION_DIRS+= lib/erlang/lib/p1_stun
# Leave a non-versioned symlink in place for net/erlang-p1_sip to find
post-install:
${LN} -sf ${DISTNAME} ${DESTDIR}${PREFIX}/lib/erlang/lib/p1_stun
do-install:
cd ${WRKSRC} && ${PAX} -rw -pp ebin include \
${DESTDIR}${PREFIX}/lib/erlang/lib/p1_stun/
.include "../../lang/erlang/buildlink3.mk"
.include "../../lang/erlang/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,14 +1,15 @@
@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $
lib/erlang/lib/p1_stun/ebin/p1_stun.app
lib/erlang/lib/p1_stun/ebin/stun.beam
lib/erlang/lib/p1_stun/ebin/stun_app.beam
lib/erlang/lib/p1_stun/ebin/stun_codec.beam
lib/erlang/lib/p1_stun/ebin/stun_listener.beam
lib/erlang/lib/p1_stun/ebin/stun_shaper.beam
lib/erlang/lib/p1_stun/ebin/stun_sup.beam
lib/erlang/lib/p1_stun/ebin/stun_test.beam
lib/erlang/lib/p1_stun/ebin/stun_tmp_sup.beam
lib/erlang/lib/p1_stun/ebin/turn.beam
lib/erlang/lib/p1_stun/ebin/turn_sm.beam
lib/erlang/lib/p1_stun/ebin/turn_tmp_sup.beam
lib/erlang/lib/p1_stun/include/stun.hrl
@comment $NetBSD: PLIST,v 1.2 2016/01/16 18:42:25 fhajny Exp $
lib/erlang/lib/p1_stun
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/p1_stun.app
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_app.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_codec.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_listener.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_shaper.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_sup.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_test.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/stun_tmp_sup.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/turn.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/turn_sm.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/ebin/turn_tmp_sup.beam
lib/erlang/lib/p1_stun-${PKGVERSION}/include/stun.hrl

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1 2015/11/04 13:45:45 fhajny Exp $
$NetBSD: distinfo,v 1.2 2016/01/16 18:42:25 fhajny Exp $
SHA1 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 13465e3f206a5b43856a80f63f299fd9ba82f27c
RMD160 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 681ee4fa4c716730c667aa8be9ce7ccfadd527fc
SHA512 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = b0fb6d02ef872a7bd3128416e23e44ab6e67f10b8d3ece50d220021f85b9ca0ac5b9d47e05e9943bef4e9ca9d4455526ede0ffc82edfd1a571f08a7a6634dffa
Size (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 28085 bytes
SHA1 (patch-rebar.config) = e71502fe60caa9e2da9e236f40f8af4f570e2d32
SHA1 (p1_stun-0.9.0.tar.gz) = c3590e2e511a4a6db32c109941a93b3445981e26
RMD160 (p1_stun-0.9.0.tar.gz) = e2ea9ce767264118a2599efb872f240be3749694
SHA512 (p1_stun-0.9.0.tar.gz) = 131e4904ce19d6a4ad2ea365651f64df34f156204534ad2207e6f255d65298ea057a90191cf476cb58a4c0d0c9c19bd1df42b05548c8ffd85a72099ee6131e37
Size (p1_stun-0.9.0.tar.gz) = 28099 bytes
SHA1 (patch-rebar.config) = 930be190e8cfb62243fc897e885b7182e3075092

View file

@ -1,14 +1,14 @@
$NetBSD: patch-rebar.config,v 1.1 2015/11/04 13:45:45 fhajny Exp $
$NetBSD: patch-rebar.config,v 1.2 2016/01/16 18:42:25 fhajny Exp $
Deps are handled by pkgsrc.
--- rebar.config.orig 2015-09-16 15:23:03.000000000 +0000
--- rebar.config.orig 2016-01-05 14:06:45.000000000 +0000
+++ rebar.config
@@ -1,8 +1,5 @@
{erl_opts, [debug_info, {i, "include"}]}.
-{deps, [{p1_tls, ".*", {git, "https://github.com/processone/tls"}},
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils"}}]}.
-{deps, [{p1_tls, ".*", {git, "https://github.com/processone/tls", {tag, "1.0.0"}}},
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.2"}}}]}.
-
%% Local Variables:
%% mode: erlang