Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Sep 2000 05:11:19 -0700 (PDT)
From:      dyfet@ostel.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21113: New port; voicetronix unified telephony API
Message-ID:  <20000908121119.C3F5737B422@hub.freebsd.org>

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

>Number:         21113
>Category:       ports
>Synopsis:       New port; voicetronix unified telephony API
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 08 05:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Sugar
>Release:        4.0
>Organization:
>Environment:
>Description:
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2000-09-08 08:05 EDT by <dyfet@home.sys>.
# Source directory was `/home/dyfet/src/vpb2/freebsd'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    583 -rw-r--r-- Makefile
#     52 -rw-r--r-- files/md5
#     64 -rw-r--r-- pkg/COMMENT
#    397 -rw-r--r-- pkg/DESCR
#     93 -rw-r--r-- pkg/PLIST
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if mkdir _sh15814; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= Makefile ==============
if test -f 'Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Makefile' &&
# Generated automatically from Makefile.in by configure.
# New ports collection makefile for:    vpb2
# Date created:                         07 Sept 2000
# Whom:                                 David Sugar <dyfet@gnu.org>
#
X
PORTNAME=       vpb2
PORTVERSION=    2.0.2
CATEGORIES=     comms
MASTER_SITES=   ftp://www.voxilla.org/pub/vpb/
X
MAINTAINER=     dyfet@gnu.org
X
USE_GMAKE=      yes
USE_LIBTOOL=    yes
USE_AUTOCONF=   yes
INSTALLS_SHLIB= yes
X
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib"
X
post-extract:
X       @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
X               's|-release \$$\(LT_RELEASE\)||g'
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 09080805100 'Makefile' &&
  chmod 0644 'Makefile' ||
  $echo 'restore of' 'Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'Makefile:' 'MD5 check failed'
2cf4147cfa875fde124c5b71c96b2198  Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'Makefile'`"
    test 583 -eq "$shar_count" ||
    $echo 'Makefile:' 'original size' '583,' 'current size' "$shar_count!"
  fi
fi
# ============= files/md5 ==============
if test ! -d 'files'; then
  $echo 'x -' 'creating directory' 'files'
  mkdir 'files'
fi
if test -f 'files/md5' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'files/md5' '(file already exists)'
else
  $echo 'x -' extracting 'files/md5' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'files/md5' &&
3bbf1c4f963f43c85cf16735e417f71b  vpb2-2.0.2.tar.gz
SHAR_EOF
  $shar_touch -am 09080805100 'files/md5' &&
  chmod 0644 'files/md5' ||
  $echo 'restore of' 'files/md5' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'files/md5:' 'MD5 check failed'
5817fe1d2c9150747152fc6c64bee840  files/md5
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'files/md5'`"
    test 52 -eq "$shar_count" ||
    $echo 'files/md5:' 'original size' '52,' 'current size' "$shar_count!"
  fi
fi
# ============= pkg/COMMENT ==============
if test ! -d 'pkg'; then
  $echo 'x -' 'creating directory' 'pkg'
  mkdir 'pkg'
fi
if test -f 'pkg/COMMENT' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'pkg/COMMENT' '(file already exists)'
else
  $echo 'x -' extracting 'pkg/COMMENT' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'pkg/COMMENT' &&
user mode API for Voicetronix 4 port analog DSP telephony cards
SHAR_EOF
  $shar_touch -am 09080708100 'pkg/COMMENT' &&
  chmod 0644 'pkg/COMMENT' ||
  $echo 'restore of' 'pkg/COMMENT' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'pkg/COMMENT:' 'MD5 check failed'
702b2b527bf79d40d7be33338892c3ca  pkg/COMMENT
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'pkg/COMMENT'`"
    test 64 -eq "$shar_count" ||
    $echo 'pkg/COMMENT:' 'original size' '64,' 'current size' "$shar_count!"
  fi
fi
# ============= pkg/DESCR ==============
if test -f 'pkg/DESCR' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'pkg/DESCR' '(file already exists)'
else
  $echo 'x -' extracting 'pkg/DESCR' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'pkg/DESCR' &&
The Voicetronix API allows one to write applications for the Voicetronix
4 port analog DSP telephony cards.  These cards are generally available
from Voictronix in Australia and will soon be made available for sales
in the United States.  The API provides a single user mode library for
developing telephony applications under both FreeBSD and
GNU/Linux.  Several test applications are included.
X
SHAR_EOF
  $shar_touch -am 09080712100 'pkg/DESCR' &&
  chmod 0644 'pkg/DESCR' ||
  $echo 'restore of' 'pkg/DESCR' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'pkg/DESCR:' 'MD5 check failed'
ecc54d12ad0b49a89da3349c7c3200d0  pkg/DESCR
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'pkg/DESCR'`"
    test 397 -eq "$shar_count" ||
    $echo 'pkg/DESCR:' 'original size' '397,' 'current size' "$shar_count!"
  fi
fi
# ============= pkg/PLIST ==============
if test -f 'pkg/PLIST' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'pkg/PLIST' '(file already exists)'
else
  $echo 'x -' extracting 'pkg/PLIST' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'pkg/PLIST' &&
include/vpbapi.h
lib/libvpb2.a
lib/libvpb2.so
lib/libvpb2.so.0
bin/tvpb
bin/tload
bin/mtisa
X
SHAR_EOF
  $shar_touch -am 09080738100 'pkg/PLIST' &&
  chmod 0644 'pkg/PLIST' ||
  $echo 'restore of' 'pkg/PLIST' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'pkg/PLIST:' 'MD5 check failed'
179b96f88e86dcd0533af4d6e5931014  pkg/PLIST
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'pkg/PLIST'`"
    test 93 -eq "$shar_count" ||
    $echo 'pkg/PLIST:' 'original size' '93,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh15814
exit 0

>How-To-Repeat:

>Fix:


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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