OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 23-Mar-2008 12:55:25
Branch: HEAD Handle: 2008032311552500
Modified files:
openpkg-src/asterisk asterisk.spec
Log:
document the essential hint that /dev/zap/pseudo has to be writeable
by the Asterisk process under FreeBSD
Summary:
Revision Changes Path
1.68 +15 -0 openpkg-src/asterisk/asterisk.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/asterisk/asterisk.spec
============================================================================
$ cvs diff -u -r1.67 -r1.68 asterisk.spec
--- openpkg-src/asterisk/asterisk.spec 23 Mar 2008 10:41:00 -0000
1.67
+++ openpkg-src/asterisk/asterisk.spec 23 Mar 2008 11:55:25 -0000
1.68
@@ -450,6 +450,21 @@
rm -rf $RPM_BUILD_ROOT
%post
+%if "%{with_zaptel}" == "yes"
+ if [ $1 -eq 1 ]; then
+ case "%{l_platform -t}" in
+ *-freebsd* )
+ ( echo "To allow Asterisk to use the Zaptel /dev/zap/pseudo
device(s)"
+ echo "you have add the following entry to
/etc/devfs.rules:"
+ echo ""
+ echo "[openpkg_asterisk=10]"
+ echo "add path 'zap/pseudo*' mode 0664 user %{l_rusr}
group %{l_rgrp}"
+ echo ""
+ ) | %{l_rpmtool} msg -b -t notice
+ ;;
+ esac
+ fi
+%endif
%if "%{with_odbc}" == "yes"
# after install, optionally link into ODBC and create database
if $RPM_INSTALL_PREFIX/bin/odbcinst -q -s -n "asterisk-sqlite"
>/dev/null 2>&1; then
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]