---
name: openr2
version: 1.3.2
origin: misc/openr2
comment: MFC/R2 call setup library
arch: freebsd:9:x86:64
www: http://libopenr2.org/
maintainer: fjoe@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 1162494
desc: "OpenR2 is a library that implements the MFC/R2 signalling over E1 lines using\nthe
  Zapata Telephony interface (or DAHDI). The MF R2 tones required for the\nsignaling
  are generated by code borrowed from the LGPL library SpanDSP\nwritten by Steve Underwood,
  the user has the option to provide a MF interface\nto use his own MF R2 tone generation
  and detection so the library will use\nthem when needed, that's why this library
  does not depend directly on spandsp,\nlibteletone or zaptel for tone generation
  and detection (depends on zaptel\nfor CAS bits and general media transmission though)\n\nWWW:\thttp://libopenr2.org/\n"
categories: [misc]
files:
  /usr/local/bin/r2dtmf_detect: 32630ff113ea08036dd09b402e5dfe538e1b9940202be9b0bb85caf610ce3802
  /usr/local/bin/r2test: c88f92a07cceea8fea5e911d9f0555986fa4ed6245728444e8dd988f1dfe0288
  /usr/local/etc/r2proto.conf-dist: 1daa4f0dedc8acaac9eedada52b74c6096e42cc6771e54d8e2829bfa41497fab
  /usr/local/etc/r2test.conf-dist: 3ec777f8d786cb924ca10b31f13bfd0ef9e2cc5fa757f6d4df9660af572da3aa
  /usr/local/include/openr2.h: f776fd31f702763afc8a890ef2db7697eea43dd12915f8a2aac3ed2d5a6d52f4
  /usr/local/include/openr2/r2chan.h: 35e507c445fb0d34472d181295af0b03b92422f85b6d77abeb8f58da5031bf75
  /usr/local/include/openr2/r2context.h: 973d95984b305e3f281790ab161dc21d45924c6c459e62b51df09e5d8a111f75
  /usr/local/include/openr2/r2log.h: 92f5a3d16d6b257a85b3a153519497a79abbe7a79ef0a34ef872fd9b3cfe2313
  /usr/local/include/openr2/r2proto.h: e2829beb8c7e76b2ff7fae6544be7b99d862968c5d689db3b65bb20c7e8e5b87
  /usr/local/include/openr2/r2utils.h: 29effbf560f21975f3b162356338c843d7765fbefecd9b73e50cce490e0083f3
  /usr/local/lib/libopenr2.a: 7cc2a513293fc5ccf6c6a819c5f8dd7611505809d0ff5736f5fb493f42aa1021
  /usr/local/lib/libopenr2.la: d173d3bde5a093de2cd863254380601b1bcffc0bf5afbc10067f523161945d13
  /usr/local/lib/libopenr2.so: '-'
  /usr/local/lib/libopenr2.so.4: 8bca4cd0736873e131a1d2b63d129b59d8f52211eba8b9355ae48f39aa93b1d1
  /usr/local/man/man5/r2test.conf.5.gz: 1a7be4b4bb6ee5f326601613e0174fc0c28c6379e6d9e3fd51d6834067c61c8c
  /usr/local/man/man8/r2test.8.gz: f4b303b4a51e39f45c6846184f43585b54e182ca3fe28a6109bcecaea5bedd73
directories:
  /usr/local/include/openr2/: n
scripts:
  post-install: |
    if test ! -e /usr/local/etc/r2proto.conf; then cp -p /usr/local/etc/r2proto.conf-dist /usr/local/etc/r2proto.conf; fi
    if test ! -e /usr/local/etc/r2test.conf; then cp -p /usr/local/etc/r2test.conf-dist /usr/local/etc/r2test.conf; fi
    false
    /sbin/ldconfig -m /usr/local/lib
  pre-deinstall: |
    if cmp -s /usr/local/etc/r2proto.conf /usr/local/etc/r2proto.conf-dist; then rm -f /usr/local/etc/r2proto.conf; fi
    if cmp -s /usr/local/etc/r2test.conf /usr/local/etc/r2test.conf-dist; then rm -f /usr/local/etc/r2test.conf; fi
    /sbin/ldconfig -R
