1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

New ports:

- net/libfb - foneBRIDGE configuration library
- net/fonulator - foneBRIDGE configuration utility
This commit is contained in:
Max Khon 2010-06-05 09:40:21 +00:00
parent ea4274f712
commit 48fe8edf3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255757
8 changed files with 102 additions and 0 deletions

View File

@ -143,6 +143,7 @@
SUBDIR += etunnel
SUBDIR += findmtu
SUBDIR += flowgrep
SUBDIR += fonulator
SUBDIR += forg
SUBDIR += fpc-pcap
SUBDIR += fping
@ -308,6 +309,7 @@
SUBDIR += libdnet
SUBDIR += libevnet
SUBDIR += libexosip2
SUBDIR += libfb
SUBDIR += libfixbuf
SUBDIR += libgnetwork
SUBDIR += libgweather

47
net/fonulator/Makefile Normal file
View File

@ -0,0 +1,47 @@
# New ports collection makefile for: fonulator
# Date created: 12 Jan 2010
# Whom: Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fonulator
PORTVERSION= 2.0.1
CATEGORIES= net-mgmt
MASTER_SITES= http://support.red-fone.com/fonulator/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= A foneBRIDGE configuration utility
GNU_CONFIGURE= yes
CONFIGURE_ENV=\
CPPFLAGS="-I${LOCALBASE}/include ${LIBNET_CPPFLAGS}"\
LDFLAGS="${LIBNET_LIBS:N-l*}"
CONFIGURE_ARGS= --disable-shared
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet\
${LOCALBASE}/lib/libargtable2.a:${PORTSDIR}/devel/argtable\
${LOCALBASE}/lib/libfb.a:${PORTSDIR}/net/libfb
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
PLIST_FILES= bin/fonulator
MAN1= fonulator.1
post-patch:
@${REINPLACE_CMD}\
-e 's,/usr/lib/libargtable2.a,${LOCALBASE}/lib/libargtable2.a,'\
-e 's,/usr/lib/libnet.a,${LIBNET_LIBS:N-l*:S,-L,,}/libnet.a,'\
${WRKSRC}/Makefile.in ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,/etc/redfone.conf,${LOCALBASE}/etc/redfone.conf,'\
${WRKSRC}/fonulator.c ${WRKSRC}/fonulator.1
.if 0
# this does not work when LIBNET_CONFIG does not exist prior to building this port
LIBNET_CPPFLAGS!= ${LIBNET_CONFIG} --cflags --defines
LIBNET_LIBS!= ${LIBNET_CONFIG} --libs
.else
LIBNET_CPPFLAGS= -I${LOCALBASE}/include/libnet11
LIBNET_LIBS= -L${LOCALBASE}/lib/libnet11
.endif
.include <bsd.port.mk>

3
net/fonulator/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (fonulator-2.0.1.tar.gz) = c834ebbd77d3bb253c60c57b22623f74
SHA256 (fonulator-2.0.1.tar.gz) = 4a550b2e4e413183f97585c2ef54ee752cd94bcc277c15faeceb46f1b2be3dfb
SIZE (fonulator-2.0.1.tar.gz) = 661549

3
net/fonulator/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
A foneBRIDGE configuration utility.
WWW: http://red-fone.com/

34
net/libfb/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: libfb
# Date created: 12 Jan 2010
# Whom: Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libfb
PORTVERSION= 2.0.0
CATEGORIES= net-mgmt
MASTER_SITES= http://support.red-fone.com/downloads/fonulator/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= A foneBRIDGE configuration library
GNU_CONFIGURE= yes
CONFIGURE_ENV=\
CPPFLAGS="${LIBNET_CPPFLAGS}"\
LDFLAGS="${LIBNET_LIBS:N-l*}"
CONFIGURE_ARGS= --disable-shared
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
.if 0
# this does not work when LIBNET_CONFIG does not exist prior to building this port
LIBNET_CPPFLAGS!= ${LIBNET_CONFIG} --cflags --defines
LIBNET_LIBS!= ${LIBNET_CONFIG} --libs
.else
LIBNET_CPPFLAGS= -I${LOCALBASE}/include/libnet11
LIBNET_LIBS= -L${LOCALBASE}/lib/libnet11
.endif
.include <bsd.port.mk>

3
net/libfb/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (libfb-2.0.0.tar.gz) = fa5b3afc6e5e0d90078f681654fae0f8
SHA256 (libfb-2.0.0.tar.gz) = a31c05b74ee5b8896314629d00c95e22622ecdacc157ac2c83714b330c066af9
SIZE (libfb-2.0.0.tar.gz) = 923533

3
net/libfb/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
A foneBRIDGE configuration library.
WWW: http://red-fone.com/

7
net/libfb/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
include/libfb/fb_config.h
include/libfb/fb_context.h
include/libfb/fb_lib.h
include/libfb/sha1.h
lib/libfb.a
lib/libfb.la
@dirrm include/libfb