Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 20:53:02 GMT
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125939: New Port: misc/wanpipe drivers for various sangoma cards
Message-ID:  <200807242053.m6OKr2rU078050@www.freebsd.org>
Resent-Message-ID: <200807242100.m6OL0B3g078884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125939
>Category:       ports
>Synopsis:       New Port: misc/wanpipe  drivers for various sangoma cards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 24 21:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Josh Paetzel
>Release:        7.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD homebase.tcbug.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Thu Jul  3 23:44:41 UTC 2008     jpaetzel@homebase.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE  i386

>Description:
wanpipe drivers for various sangoma telephony and T1 cards
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       .
#       ./distinfo
#       ./Makefile
#       ./pkg-message
#       ./pkg-descr
#       ./pkg-plist
#       ./pkg-deinstall
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (wanpipe-3.3.1.tar.gz) = ffea176480cd19355feb4145f692a9a0
XSHA256 (wanpipe-3.3.1.tar.gz) = 45e434d836f02f90eb1358a7be7f7f94492de1dbe095297f74e195f8c7389cae
XSIZE (wanpipe-3.3.1.tar.gz) = 2822953
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X
X# Ports collection makefile for: wanpipe
X# Date created:                  Tue Jul 15 14:27:31 UTC 2008
X# Whom:                          Alex Feldman <al.feldman@sangoma.com>
X#
X# $
X#
X
XPORTNAME=      wanpipe
XPORTVERSION=   3.3.1
XPORTREVISION=
XCATEGORIES=    misc net
XMASTER_SITES=  ftp://ftp.sangoma.com/FreeBSD/wanpipe/ports/
XDISTNAME=      ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=      josh@tcbug.org
XCOMMENT=         A FreeBSD Driver for Sangoma AFT/S51x Series Cards
X
XONLY_FOR_ARCHS= i386 amd64
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include \
X                LDFLAGS="-L${LOCALBASE}/lib"
XCPPFLAGS=       -I${LOCALBASE}/include
X
XKMODDIR=         /boot/modules
XMAKE_ENV=       KMODDIR="${KMODDIR}" \
X                MKDIR="${MKDIR}" \
X                OSVERSION=${OSVERSION} \
X                CXX="${CXX}"
X
XPKGCONFIG=      ${WRKSRC}/configure_port.sh
XPKGPOSTINSTALL= ${WRKSRC}/postinstall_port.sh
XPKGPOSTDEINSTALL= ${WRKSRC}/post-deinstall
XOPTIONS=        TDM_VOICE "Enable TDM Voice support" off           \
X                WAN_PROTOCOL "Enable Wanpipe Protocol support" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_TDM_VOICE)
XEXTRACT_DEPENDS=   ${PORTSDIR}/misc/zaptel/work:${PORTSDIR}/misc/zaptel
XRUN_DEPENDS=       pidof:${PORTSDIR}/sysutils/pidof
X.endif
X
XEXTRA_ARGS=      ${PREFIX}
X
X.if defined(WITH_TDM_VOICE)
XEXTRA_ARGS+=     WITH_TDM_VOICE
X.endif
X.if defined(WITH_WAN_PROTOCOL)
XEXTRA_ARGS+=     WITH_WAN_PROTOCOL
X.endif
X
Xdo-configure:
X       @${SH} ${PKGCONFIG} ${DISTNAME} do-configure ${EXTRA_ARGS}
X
Xpost-install:
X       @${SH} ${PKGPOSTINSTALL} ${DISTNAME} POST-INSTALL ${PREFIX} ${WRKDIR}
X       @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-./Makefile
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << 'END-of-./pkg-message'
X
X-------------------------------------------------------------------------------
XIMPORTANT! MAKE SURE TO READ THE FOLLOWING!
X
END-of-./pkg-message
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
X
XThis package contains the latest Sangoma drivers that supports following
XSangoma cards under FreeBSD OS:
Xo AFT Series PCI/PCI Express cards
Xo S51x PCI cards:
XThe current version wanpipe-3.3.1 supports following protocols:
Xo Asterisk/Zaptel interface
Xo Cisco HDLC, Frame Relay and Point-to-Point
Xo PPPoE and PPPoA (for S518 ADSL card)
X
XRelease date: Tue Jul 15 14:27:03 UTC 2008
X
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xetc/rc.d/wanpipe
Xsbin/sdladump
Xsbin/wan_aftup
Xsbin/wan_ec_client
Xsbin/wan_plxup
Xsbin/wancfg
Xsbin/wancfg_legacy
Xsbin/wancfg_zaptel
Xsbin/wanconfig
Xsbin/wanpipe_ft1exec
Xsbin/wanpipe_cfgft1
Xsbin/wanpipe_lxdialog
Xsbin/wanpipemon
Xsbin/wanpipemon_legacy
Xsbin/wanrouter
X@cwd /boot/modules
Xsdladrv.ko
Xwan_aften.ko
Xwanec.ko
Xwanpipe.ko
Xwanpipe_lip.ko
Xwanrouter.ko
X@unexec kldxref %D
END-of-./pkg-plist
echo x - ./pkg-deinstall
sed 's/^X//' >./pkg-deinstall << 'END-of-./pkg-deinstall'
X#!/bin/sh
X
Xrm -rf /usr/local/etc/wanpipe
END-of-./pkg-deinstall
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807242053.m6OKr2rU078050>