telephony/baresip/restund: update to a new github fork

This commit is contained in:
landry 2021-06-15 06:52:47 +00:00
parent 37d078891d
commit 4107389d14
5 changed files with 32 additions and 44 deletions

View File

@ -1,16 +1,18 @@
# $OpenBSD: Makefile,v 1.9 2019/04/24 16:26:57 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2021/06/15 06:52:47 landry Exp $
COMMENT = modular and flexible STUN and TURN Server
V = 0.4.12
GH_ACCOUNT = otalk
GH_PROJECT = restund
GH_COMMIT = c0ad4cc81fe534f9fbd9cf738a645a6e50120c69
V = 0.4.12.0.20170302
DISTNAME = restund-${V}
REVISION = 2
WANTLIB = c crypto mysqlclient pthread re ssl z
WANTLIB = c crypto mariadb pthread re ssl z
LIB_DEPENDS = telephony/baresip/re \
databases/mariadb,-main
MAKE_FLAGS += USE_MYSQL=1 LIBS="-lc -lre -lpthread"
MAKE_FLAGS += USE_MYSQL=1 LIBS="-lcrypto -lssl -lz -lc -lre -lpthread"
NO_TEST = Yes

View File

@ -1,2 +1,2 @@
SHA256 (restund-0.4.12.tar.gz) = MXBEHciCNSqwJ1VWtvyImzixQgPZNgcbX6EvOaXIbUc=
SIZE (restund-0.4.12.tar.gz) = 183127
SHA256 (restund-0.4.12.0.20170302-c0ad4cc8.tar.gz) = dEIenGmBWiOy/JFnSTVDwWlias9XRtr5IQuFtazuBDM=
SIZE (restund-0.4.12.0.20170302-c0ad4cc8.tar.gz) = 179379

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-Makefile,v 1.2 2014/12/11 13:48:42 sthen Exp $
--- Makefile.orig Wed Dec 10 09:39:12 2014
+++ Makefile Thu Dec 11 08:25:18 2014
@@ -97,16 +97,14 @@ all: $(MOD_BINS) $(BIN)
$OpenBSD: patch-Makefile,v 1.3 2021/06/15 06:52:47 landry Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -79,16 +79,14 @@ all: $(MOD_BINS) $(BIN)
# GPROF requires static linking
$(BIN): $(OBJS)

View File

@ -1,10 +1,11 @@
$OpenBSD: patch-mk_mod_mk,v 1.1 2014/12/11 13:48:42 sthen Exp $
--- mk/mod.mk.orig Thu Dec 11 08:26:15 2014
+++ mk/mod.mk Thu Dec 11 08:27:30 2014
@@ -19,15 +19,13 @@ ifeq ($(STATIC),)
#
$OpenBSD: patch-mk_mod_mk,v 1.2 2021/06/15 06:52:47 landry Exp $
Index: mk/mod.mk
--- mk/mod.mk.orig
+++ mk/mod.mk
@@ -9,11 +9,9 @@ $(MOD)_OBJS := $(patsubst %.c,$(BUILD)/modules/$(M
-include $($(MOD)_OBJS:.o=.d)
$(MOD)$(MOD_SUFFIX): $($(MOD)_OBJS)
$(MOD).so: $($(MOD)_OBJS)
- @echo " LD [M] $@"
- @$(LD) $(LFLAGS) $(SH_LFLAGS) $(MOD_LFLAGS) $($(basename $@)_OBJS) \
+ $(LD) $(LFLAGS) $(SH_LFLAGS) $(MOD_LFLAGS) $($(basename $@)_OBJS) \
@ -13,21 +14,5 @@ $OpenBSD: patch-mk_mod_mk,v 1.1 2014/12/11 13:48:42 sthen Exp $
$(BUILD)/modules/$(MOD)/%.o: modules/$(MOD)/%.c $(BUILD) Makefile mk/mod.mk \
modules/$(MOD)/module.mk
- @echo " CC [M] $@"
- @mkdir -p $(dir $@)
- @$(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
+ mkdir -p $(dir $@)
+ $(CC) $(CFLAGS) -c $< -o $@ $(DFLAGS)
else
@@ -41,8 +39,7 @@ APP_LFLAGS := $(APP_LFLAGS) $($(MOD)_LFLAGS)
$(BUILD)/modules/$(MOD)/%.o: modules/$(MOD)/%.c $(BUILD) Makefile mk/mod.mk \
modules/$(MOD)/module.mk
- @echo " CC [m] $@"
- @mkdir -p $(dir $@)
- @$(CC) $(CFLAGS) -DMOD_NAME=\"$(MOD)\" -c $< -o $@ $(DFLAGS)
+ mkdir -p $(dir $@)
+ $(CC) $(CFLAGS) -DMOD_NAME=\"$(MOD)\" -c $< -o $@ $(DFLAGS)
endif

View File

@ -1,17 +1,18 @@
@comment $OpenBSD: PLIST,v 1.2 2014/12/11 13:48:42 sthen Exp $
@comment $OpenBSD: PLIST,v 1.3 2021/06/15 06:52:47 landry Exp $
@newgroup _restund:742
@newuser _restund:742:742:daemon:restund user:/var/empty:/sbin/nologin
@rcscript ${RCDIR}/restund
lib/restund/
lib/restund/modules/
lib/restund/modules/auth.so
lib/restund/modules/binding.so
lib/restund/modules/filedb.so
lib/restund/modules/mysql_ser.so
lib/restund/modules/restauth.so
lib/restund/modules/stat.so
lib/restund/modules/status.so
lib/restund/modules/syslog.so
lib/restund/modules/turn.so
@so lib/restund/modules/auth.so
@so lib/restund/modules/binding.so
@so lib/restund/modules/cpuusage.so
@so lib/restund/modules/influxdb.so
@so lib/restund/modules/mysql_ser.so
@so lib/restund/modules/stat.so
@so lib/restund/modules/status.so
@so lib/restund/modules/syslog.so
@so lib/restund/modules/turn.so
@bin sbin/restund
share/doc/restund/
share/doc/restund/README
@ -23,4 +24,3 @@ share/examples/restund/munin/restund_turn_allocs
share/examples/restund/munin/restund_turn_bytes
share/examples/restund/restund.conf
@sample ${SYSCONFDIR}/restund.conf
@rcscript ${RCDIR}/restund