2013-01-23 07:14:46 +00:00
|
|
|
# Created by: Maxim Sobolev <sobomax@portaone.com>
|
2010-11-28 19:33:57 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= asterisk
|
2013-01-23 07:14:46 +00:00
|
|
|
PORTVERSION= 1.8.20.1
|
2010-11-28 19:33:57 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
|
|
|
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
|
|
|
PKGNAMESUFFIX= 18
|
|
|
|
|
2010-12-27 22:02:09 +00:00
|
|
|
MAINTAINER= flo@FreeBSD.org
|
2010-11-28 19:33:57 +00:00
|
|
|
COMMENT= An Open Source PBX and telephony toolkit
|
|
|
|
|
2011-12-10 14:40:37 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2010-11-28 19:33:57 +00:00
|
|
|
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
|
|
|
|
newt.52:${PORTSDIR}/devel/newt \
|
|
|
|
execinfo:${PORTSDIR}/devel/libexecinfo
|
|
|
|
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
|
|
|
|
2011-01-25 00:34:25 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64
|
2010-11-28 19:33:57 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2010-12-29 12:47:09 +00:00
|
|
|
CONFIGURE_ARGS= --with-gsm=${LOCALBASE}
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
|
2012-10-09 22:12:13 +00:00
|
|
|
USE_GCC= any
|
2010-11-28 19:33:57 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= libxml2
|
|
|
|
USE_BISON= build
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= asterisk
|
2010-11-28 19:33:57 +00:00
|
|
|
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
|
|
MKDIR="${MKDIR}" \
|
|
|
|
PWLIBDIR=${LOCALBASE}/share/pwlib \
|
|
|
|
OPENH323DIR=${LOCALBASE}/share/openh323 \
|
|
|
|
OSVERSION=${OSVERSION} \
|
|
|
|
NOISY_BUILD=YES \
|
|
|
|
DOCSDIR=${DOCSDIR} \
|
|
|
|
ASTCFLAGS="${CFLAGS}"
|
2012-07-16 17:27:31 +00:00
|
|
|
|
2010-11-28 19:33:57 +00:00
|
|
|
MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8
|
2012-07-16 17:27:31 +00:00
|
|
|
|
2011-02-20 00:40:14 +00:00
|
|
|
CONFLICTS_BUILD= linuxthreads-*
|
2012-06-04 22:04:32 +00:00
|
|
|
CONFLICTS_INSTALL= asterisk*-1.4* asterisk*-1.6* asterisk*-10*
|
2010-11-28 19:33:57 +00:00
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
OPTIONS_DEFINE= VORBIS PGSQL MYSQL RADIUS SNMP H323 FREETDS JABBER SQLITE GSM \
|
2012-12-12 01:44:43 +00:00
|
|
|
CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP OOH323
|
|
|
|
OPTIONS_DEFAULT= VORBIS UNIXODBC PGSQL RADIUS SNMP H323 FREETDS JABBER GSM \
|
2012-07-16 17:27:31 +00:00
|
|
|
SQLITE CURL
|
|
|
|
|
2012-12-12 01:44:43 +00:00
|
|
|
OPTIONS_RADIO= ODBC
|
|
|
|
OPTIONS_RADIO_ODBC= IODBC UNIXODBC
|
|
|
|
|
2012-09-13 09:39:53 +00:00
|
|
|
OPTIONS_DEFINE_i386= DAHDI
|
|
|
|
OPTIONS_DEFINE_amd64= DAHDI
|
|
|
|
OPTIONS_DEFINE_sparc64= DAHDI
|
|
|
|
|
|
|
|
OPTIONS_DEFAULT_i386= DAHDI
|
|
|
|
OPTIONS_DEFAULT_amd64= DAHDI
|
2012-12-06 21:46:45 +00:00
|
|
|
OPTIONS_DEFAULT_sparc64= DAHDI
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
EXCHANGE_DESC?= Exchange calendar support
|
|
|
|
NEWG711_DESC?= New G711 Codec
|
|
|
|
SRTP_DESC?= SecureRTP support
|
|
|
|
OOH323_DESC?= ooh323 support
|
2012-09-13 09:39:53 +00:00
|
|
|
DAHDI_DESC?= DAHDI support
|
2012-04-01 13:14:39 +00:00
|
|
|
|
|
|
|
PORTSCOUT= limit:^1\.8\.
|
2010-11-28 19:33:57 +00:00
|
|
|
|
|
|
|
ASTERISK_USER?= asterisk
|
|
|
|
ASTERISK_GROUP?= asterisk
|
|
|
|
|
|
|
|
USERS= ${ASTERISK_USER}
|
|
|
|
GROUPS= ${ASTERISK_GROUP} dahdi
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-12-29 12:47:09 +00:00
|
|
|
.if ${PREFIX} == ${LOCALBASE}
|
|
|
|
VARDIR=/var
|
|
|
|
.else
|
|
|
|
VARDIR=${PREFIX}/var
|
|
|
|
.endif
|
|
|
|
|
2010-11-28 19:33:57 +00:00
|
|
|
SUB_LIST+= ASTERISK_USER=${ASTERISK_USER}
|
|
|
|
PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER}
|
|
|
|
PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP}
|
2010-12-29 12:47:09 +00:00
|
|
|
PLIST_SUB+= VARDIR=${VARDIR}
|
2010-11-28 19:33:57 +00:00
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MH323}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_H323=""
|
|
|
|
CONFIGURE_ARGS+= --with-h323=${LOCALBASE}
|
|
|
|
LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \
|
|
|
|
h323_r.1:${PORTSDIR}/net/openh323
|
2012-07-18 22:57:42 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_H323="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-h323
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MDAHDI}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_DAHDI=""
|
2012-06-28 05:24:36 +00:00
|
|
|
CONFIGURE_ARGS+= --with-dahdi --with-openr2
|
2010-11-28 19:33:57 +00:00
|
|
|
BUILD_DEPENDS+= libpri>=1.4.10:${PORTSDIR}/misc/libpri \
|
|
|
|
${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
|
2012-06-28 05:24:36 +00:00
|
|
|
LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri\
|
|
|
|
openr2.4:${PORTSDIR}/misc/openr2
|
2012-07-18 22:57:42 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_DAHDI="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-dahdi --without-openr2
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV
|
|
|
|
# similarly
|
2012-07-16 17:27:31 +00:00
|
|
|
.if empty(PORT_OPTIONS:MUNIXODBC)
|
2010-11-28 19:33:57 +00:00
|
|
|
CONFIGURE_ARGS+= --without-unixodbc
|
2010-12-09 00:44:50 +00:00
|
|
|
.endif
|
2012-07-16 17:27:31 +00:00
|
|
|
.if empty(PORT_OPTIONS:MIODBC)
|
2010-12-09 00:44:50 +00:00
|
|
|
CONFIGURE_ARGS+= --without-iodbc
|
|
|
|
.endif
|
2012-07-16 17:27:31 +00:00
|
|
|
.if empty(PORT_OPTIONS:MUNIXODBC) && empty(PORT_OPTIONS:MIODBC)
|
2010-12-09 00:44:50 +00:00
|
|
|
PLIST_SUB+= WITH_ODBC="@comment "
|
|
|
|
.endif
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MUNIXODBC} || ${PORT_OPTIONS:MIODBC}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_ODBC=""
|
2010-12-09 00:44:50 +00:00
|
|
|
USE_AUTOTOOLS= libltdl
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MUNIXODBC}
|
2010-11-28 19:33:57 +00:00
|
|
|
CONFIGURE_ARGS+= --with-unixodbc --with-ltdl
|
2012-02-06 12:25:50 +00:00
|
|
|
LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC
|
2012-07-16 17:27:31 +00:00
|
|
|
.elif ${PORT_OPTIONS:MIODBC}
|
2010-12-09 00:44:50 +00:00
|
|
|
CONFIGURE_ARGS+= --with-iodbc --with-ltdl
|
|
|
|
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
|
|
|
|
.endif
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MFREETDS}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_FREETDS=""
|
|
|
|
CONFIGURE_ARGS+= --with-tds=${LOCALBASE}
|
|
|
|
LIB_DEPENDS+= tds.5:${PORTSDIR}/databases/freetds
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_FREETDS="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-tds
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
|
|
|
PLIST_SUB+= WITH_PGSQL=""
|
2010-11-28 19:33:57 +00:00
|
|
|
USE_PGSQL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-postgres
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_PGSQL="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-postgres
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2011-02-18 23:37:52 +00:00
|
|
|
PLIST_SUB+= WITH_MYSQL=""
|
|
|
|
USE_MYSQL= yes
|
2012-09-13 09:39:53 +00:00
|
|
|
CONFIGURE_ARGS+= --with-mysqlclient
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_MYSQL="@comment "
|
2012-09-13 09:39:53 +00:00
|
|
|
CONFIGURE_ARGS+= --without-mysqlclient
|
2011-02-18 23:37:52 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MVORBIS}
|
|
|
|
PLIST_SUB+= WITH_VORBIS=""
|
2010-11-28 19:33:57 +00:00
|
|
|
CONFIGURE_ARGS+= --with-ogg
|
|
|
|
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_VORBIS="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-ogg
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MRADIUS}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_RADIUS=""
|
|
|
|
CONFIGURE_ARGS+= --with-radius
|
|
|
|
LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_RADIUS="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-radius
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MSNMP}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_SNMP=""
|
|
|
|
CONFIGURE_ARGS+= --with-netsnmp
|
|
|
|
LIB_DEPENDS+= netsnmp:${PORTSDIR}/net-mgmt/net-snmp
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_SNMP="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-netsnmp
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MJABBER}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_JABBER=""
|
|
|
|
CONFIGURE_ARGS+= --with-iksemel
|
|
|
|
LIB_DEPENDS+= iksemel.4:${PORTSDIR}/textproc/iksemel
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_JABBER="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-iksemel
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_SQLITE=""
|
|
|
|
CONFIGURE_ARGS+= --with-sqlite
|
|
|
|
LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2 \
|
|
|
|
sqlite3:${PORTSDIR}/databases/sqlite3
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_SQLITE="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-sqlite \
|
|
|
|
--with-sqlite3=no
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MGSM}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_GSM=""
|
|
|
|
CONFIGURE_ARGS+= --with-gsm
|
|
|
|
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_GSM="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-gsm
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MCURL}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_CURL=""
|
|
|
|
CONFIGURE_ARGS+= --with-libcurl
|
|
|
|
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_CURL="@comment "
|
|
|
|
CONFIGURE_ARGS+= --with-libcurl=no
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MSPANDSP}
|
2010-11-28 19:33:57 +00:00
|
|
|
PLIST_SUB+= WITH_SPANDSP=""
|
|
|
|
CONFIGURE_ARGS+= --with-spandsp
|
|
|
|
LIB_DEPENDS+= spandsp.2:${PORTSDIR}/comms/spandsp-devel
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_SPANDSP="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-spandsp
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXCHANGE}
|
2010-11-28 19:33:57 +00:00
|
|
|
LIB_DEPENDS+= neon.27:${PORTSDIR}/www/neon29
|
|
|
|
PLIST_SUB+= WITH_EXCHANGE=""
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-neon --without-neon29
|
|
|
|
PLIST_SUB+= WITH_EXCHANGE="@comment "
|
2010-11-28 19:33:57 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MSRTP}
|
2011-05-24 19:38:10 +00:00
|
|
|
PLIST_SUB+= WITH_SRTP=""
|
|
|
|
BUILD_DEPENDS+= libsrtp>=1.4.4:${PORTSDIR}/net/libsrtp
|
|
|
|
CONFIGURE_ARGS+= --with-srtp
|
2012-07-16 17:27:31 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_SRTP="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-srtp
|
2011-05-10 21:19:34 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MLUA}
|
2011-05-10 21:19:34 +00:00
|
|
|
CONFIGURE_ARGS+= --with-lua
|
|
|
|
CFLAGS+= -I${LUA_INCDIR}
|
|
|
|
USE_LUA= yes
|
|
|
|
LDFLAGS+= -L${LUA_LIBDIR}
|
|
|
|
PLIST_SUB+= WITH_LUA=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-lua
|
|
|
|
PLIST_SUB+= WITH_LUA="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
2012-04-01 13:14:39 +00:00
|
|
|
CONFIGURE_ARGS+= --with-ldap
|
|
|
|
USE_OPENLDAP= yes
|
|
|
|
PLIST_SUB+= WITH_LDAP=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ldap
|
|
|
|
PLIST_SUB+= WITH_LDAP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MOOH323}
|
|
|
|
PLIST_SUB+= WITH_OOH323=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_OOH323="@comment "
|
|
|
|
.endif
|
|
|
|
|
2010-11-28 19:33:57 +00:00
|
|
|
post-extract:
|
|
|
|
${FIND} ${WRKSRC} -name '*.d' -delete
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
|
|
|
|
2011-07-19 17:34:27 +00:00
|
|
|
post-configure:
|
2012-07-16 17:27:31 +00:00
|
|
|
.if !empty(PORT_OPTIONS:MMYSQL) || !empty(PORT_OPTIONS:MNEWG711) || !empty(PORT_OPTIONS:MOOH323)
|
2011-07-19 17:34:27 +00:00
|
|
|
@cd ${WRKSRC} && make menuselect.makeopts
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2011-07-19 17:34:27 +00:00
|
|
|
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
|
|
|
|
@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts
|
|
|
|
@cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts
|
|
|
|
.endif
|
2012-07-16 17:27:31 +00:00
|
|
|
.if ${PORT_OPTIONS:MOOH323}
|
|
|
|
@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MNEWG711}
|
2011-07-19 17:34:27 +00:00
|
|
|
@cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2010-11-28 19:33:57 +00:00
|
|
|
post-install:
|
2010-12-29 12:47:09 +00:00
|
|
|
@${CHOWN} -R ${ASTERISK_USER}:${ASTERISK_GROUP} ${VARDIR}/db/asterisk ${VARDIR}/log/asterisk ${VARDIR}/spool/asterisk
|
2010-11-28 19:33:57 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|