Return to Makefile CVS log | Up to [cvs.NetBSD.org] / pkgsrc / comms / asterisk13 |
File: [cvs.NetBSD.org] / pkgsrc / comms / asterisk13 / Makefile (download)
Revision 1.15, Thu Oct 27 01:08:17 2016 UTC (7 years, 5 months ago) by jnemeth
Update to Asterisk 13.12.0: this is mostly a bug fix release. The Asterisk Development Team has announced the release of Asterisk 13.12.0. The release of Asterisk 13.12.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: New Features made in this release: ----------------------------------- * ASTERISK-26277 - Add dialplan function PJSIP_SEND_SESSION_REFRESH that sends a session refresh to update formats on a channel after session establishment (Reported by Matt Jordan) Bugs fixed in this release: ----------------------------------- * ASTERISK-26477 - pjproject: SEGV during SSL operations (Reported by George Joseph) * ASTERISK-17470 - [patch] - When videosupport=yes, asterisk allows one end peer to send video, even though the other end supports only audio. (Reported by effie mouzeli) * ASTERISK-26416 - pjproject-bundled: configure fails to check for all required utilities (Reported by Corey Farrell) * ASTERISK-26466 - core: Be forgiving on external callerid that may be flawed so we don't drop events (Reported by Richard Mudgett) * ASTERISK-26362 - res_config_mysql: Broken after 13.10 (Reported by Carlos Chavez) * ASTERISK-26446 - app_dial: There's no way to override the hangupcause on unanswered channels (Reported by George Joseph) * ASTERISK-24311 - Populating database via Alembic fails when using same database for multiple schema sets (Reported by Dafi Ni) * ASTERISK-26438 - [patch] chan_sip: auto_force_rport: No NAT = No Symmetric Response. (Reported by Alexander Traud) * ASTERISK-26426 - format_ogg_opus: remove from source (Reported by Kevin Harwell) * ASTERISK-18232 - Broken REGISTER sent to IPv4 server when bindaddr=[::] (Reported by Jacek) * ASTERISK-25468 - Deadlock in chan_sip - core show locks shows do_monitor lock (Reported by Barry Flanagan) * ASTERISK-26397 - manager: PresenceState action crashes Asterisk 14 (Reported by Andrew Nagy) * ASTERISK-26389 - res_odbc: Clean up pooling options (Reported by Joshua Colp) * ASTERISK-26359 - [patch] cdr_mysql: fails to use UTC if so instructed (Reported by Tzafrir Cohen) * ASTERISK-26273 - core: Won't compile when LOW_MEMORY is enabled (Reported by Anthony Messina) * ASTERISK-26263 - SQL error when using realtime and registering extension / inserting into ps_contacts (Reported by Jeppe Ryskov Larsen) * ASTERISK-26374 - res_pjsip_multihomed: Contact port is rewritten for connectionful protocols (Reported by Joshua Colp) * ASTERISK-26367 - rtp: Timestamps broken when video frame is across multiple RTP packets (Reported by Joshua Colp) * ASTERISK-26375 - res_pjsip_transport_management: Log message states seconds, but time value is milliseconds (Reported by Joshua Colp) * ASTERISK-19968 - TCP Session-Timers not dropping call (Reported by Aaron Hamstra) * ASTERISK-26360 - app_queue: "queue show" output gets "failed to extend from 240 to 327" msgs. (Reported by Richard Mudgett) * ASTERISK-26316 - res_pjsip_callerid: Irregular URI causes unexpected callerid (Reported by Kevin Harwell) * ASTERISK-26349 - 13.11.1 res_pjsip/pjsip_distributor.c: Request 'REGISTER' failed (Reported by Dmitry Melekhov) * ASTERISK-26272 - chan_sip: File descriptors leak (UDP sockets) (Reported by Etienne Lessard) * ASTERISK-26264 - res_pjsip: Crash when applying ACL from non-existent endpoint (Reported by nappsoft) * ASTERISK-26288 - followme: fails to reset config items to default values on reload (Reported by Tzafrir Cohen) * ASTERISK-25691 - Crash occurs when screening mode (Dial's 'p' argument) is enabled and callee rejects a call or hangs up. (Reported by Etienne Lessard) * ASTERISK-26331 - Crash on "core show channeltype Surrogate" in ast_format_cap_get_names (Reported by CGI.NET) * ASTERISK-26282 - AEL: macro-call in Dial application, macro "lacks 's' extension" (Reported by chris de rock) * ASTERISK-26226 - pbx: Asterisk crash on AMI action "ShowDialplan" when there's a circular dependency between contexts (Reported by Etienne Lessard) * ASTERISK-26279 - pjproject-bundled: Fails to compile on Debian 6 (Reported by George Joseph) * ASTERISK-26306 - channel: Hang-up crashes, chan_pjsip not cleaning up properly (Reported by Alexander Traud) * ASTERISK-26299 - app_queue: Queue application sometimes stops calling members with Local interface (Reported by Etienne Lessard) * ASTERISK-26203 - res_fax: Deadlock when using FAXOPT(gateway)=yes with Local channels (Reported by Etienne Lessard) * ASTERISK-24822 - Deadlock: Fax Gateway framehook creates locking inversion in T.38 query option with features bridging code (Reported by David Brillert) * ASTERISK-22732 - Deadlock potential in res_fax and CCSS with local channels. (Reported by Richard Mudgett) * ASTERISK-26269 - res_pjsip: Wrong state for aors without registered contacts after startup (Reported by nappsoft) * ASTERISK-22374 - Finish mapping the sip.conf parameters to res_sip.conf parameters (Reported by Matt Jordan) * ASTERISK-24425 - [patch] jabber/xmpp to use TLS instead of SSLv3, security fix POODLE (CVE-2014-3566) (Reported by abelbeck) * ASTERISK-25472 - Swagger scripts are not replacing format variable in file brief (Reported by Corey Farrell) * ASTERISK-26228 - res_pjsip_sdp_rtp: G729A does not include annexb=no attribute. (Reported by Ali Ghavidel) * ASTERISK-25984 - res_odbc relies on res_odbc_transaction, but it's not mandatory to compile it (Reported by József Dudás) * ASTERISK-26303 - [patch] BuildSystem: ca_list_path capabilities not detected in PJProject. (Reported by Alexander Traud) * ASTERISK-25492 - ARI: Path parameters are case sensitive (Reported by Joshua Colp) * ASTERISK-26233 - pbx: Failure to remove inconsistent extension names (Reported by Corey Farrell) * ASTERISK-26164 - XMPP no longer triggers NOTIFY to device via chan_pjsip (Reported by Ross Beer) * ASTERISK-26246 - Security: Privilege escalation by AMI adding dialplan extensions. (Reported by Richard Mudgett) * ASTERISK-26267 - ast_register_atexit callbacks should be run on failed startup. (Reported by Corey Farrell) * ASTERISK-26241 - res_pjsip: When using compact headers, rpid and pai are incorrectly generated (Reported by George Joseph) * ASTERISK-26239 - res_pjsip_logger: An empty global/debug option is treated as a "match all" hostname (Reported by George Joseph) * ASTERISK-26238 - res_pjsip: Empty global default_from_user causes crash (Reported by Joshua Colp) * ASTERISK-25797 - app_queue: Crash when calling a queue with a member with a forward to an nonexistent extension (Reported by Etienne Lessard) * ASTERISK-26268 - alembic: 'auth_username' not in PJSIP 'identify_by' enum (Reported by Joshua Colp) * ASTERISK-26145 - pjsip: Deadlock with suspend + masquerade + indicate (Reported by Ross Beer) * ASTERISK-26183 - alembic: error when using sqlalchemy version 1.1.0b2 (Reported by Kevin Harwell) * ASTERISK-26280 - DNS lookups can block channel media paths (Reported by Mark Michelson) * ASTERISK-25217 - [patch]res_pjsip_outbound_publish.c needs a similar treatment for module unloading as res_pjsip_outbound_registration.c (Reported by Richard Mudgett) * ASTERISK-26265 - Errors ignored from some parts of system initialization. (Reported by Corey Farrell) * ASTERISK-26206 - [patch] res_pjsip: Use more compatible regex for get all (Reported by Dmitry) * ASTERISK-26256 - [patch] SIP/SDP origin (o=) contains brackets with IP6 (Reported by Alexander Traud) * ASTERISK-25996 - Remove "live_dangerously" requirement on DB(read) (Reported by Andrew Nagy) * ASTERISK-26148 - pjsip: Cannot compile 13.10.0-rc1: "libasteriskpj.so: undefined reference to..." (Reported by Hans van Eijsden) Improvements made in this release: ----------------------------------- * ASTERISK-26409 - codec_opus: Update Asterisk to support the translation codec. (Reported by Kevin Harwell) * ASTERISK-26289 - Announcer channels in ConfBridges cause inefficiencies (Reported by Mark Michelson) * ASTERISK-25980 - [patch]res_fax: set FAXMODE variable to let dialplan know what fax transport was used (Reported by Alexei Gradinari) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13.12.0 Thank you for your continued support of Asterisk! |
# $NetBSD: Makefile,v 1.15 2016/10/27 01:08:17 jnemeth Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile # to find out the current sound file versions DISTNAME= asterisk-13.12.0 CATEGORIES= comms net audio MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ http://downloads.asterisk.org/pub/telephony/sounds/releases/ DIST_SUBDIR= ${PKGNAME_NOREV} DISTFILES= ${DEFAULT_DISTFILES} COMMENT= The Asterisk Software PBX LICENSE= gnu-gpl-v2 EXTRACT_ONLY= ${DISTNAME}.tar.gz OWNER= jnemeth@NetBSD.org HOMEPAGE= http://www.asterisk.org/ MAKE_JOBS_SAFE= NO # known to have issues on i386, block the package until the bug is fixed BROKEN_ON_PLATFORM= NetBSD-*-i386 CONFLICTS+= asterisk-sounds-extra-[0-9]* .include "../../mk/bsd.prefs.mk" USE_TOOLS+= bison gmake perl:run pkg-config tar bash:run USE_LANGUAGES= c c++ REPLACE_BASH+= contrib/scripts/astversion REPLACE_PERL+= agi/DialAnMp3.agi agi/agi-test.agi REPLACE_PERL+= agi/fastagi-test agi/jukebox.agi agi/numeralize REPLACE_PERL+= contrib/scripts/vmail.cgi GNU_CONFIGURE= yes CONFIGURE_ARGS+= --datarootdir=${PREFIX}/libdata CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --without-gtk2 # XXX remove when lang/lua gets builtin.mk CONFIGURE_ARGS+= --without-lua .if (${OPSYS} == "NetBSD" && \ (empty(OS_VERSION:M6.99.[4-9]?) && empty(OS_VERSION:M[7-9].*))) CONFIGURE_ARGS+= --without-srtp .else CONFIGURE_ARGS+= --with-srtp PLIST.srtp= YES .include "../../comms/srtp/buildlink3.mk" .endif INSTALL_TARGET= install samples INSTALLATION_DIRS+= lib/pkgconfig share/doc/${PKGBASE} INSTALLATION_DIRS+= share/examples/asterisk share/examples/rc.d INSTALLATION_DIRS+= ${ASTDATADIR}/sounds/en ${ASTDATADIR}/moh BUILD_DEFS+= VARBASE ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk PKG_GROUPS= ${ASTERISK_GROUP} PKG_USERS= ${ASTERISK_USER}:${ASTERISK_GROUP} PKG_GECOS.${ASTERISK_USER}= Asterisk PBX PKG_GROUPS_VARS= ASTERISK_GROUP PKG_USERS_VARS= ASTERISK_USER FILES_SUBST+= ASTERISK_USER=${ASTERISK_USER} FILES_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP} MESSAGE_SUBST+= ASTERISK_USER=${ASTERISK_USER} MESSAGE_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP} # Various path settings for Asterisk PKG_SYSCONFSUBDIR= asterisk PKG_SYSCONFDIR_PERMS= ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 ASTETCDIR= ${PKG_SYSCONFDIR} ASTEXAMPLEDIR= ${PREFIX}/share/examples/asterisk ASTDBDIR= ${VARBASE}/db/asterisk ASTSPOOLDIR= ${VARBASE}/spool/asterisk ASTLOGDIR= ${VARBASE}/log/asterisk MESSAGE_SUBST+= ASTDBDIR=${ASTDBDIR} MESSAGE_SUBST+= ASTSPOOLDIR=${ASTSPOOLDIR} MESSAGE_SUBST+= ASTLOGDIR=${ASTLOGDIR} ASTVARRUNDIR= ${VARBASE}/run/asterisk FILES_SUBST+= ASTVARRUNDIR=${ASTVARRUNDIR} ASTDATADIR= ${PREFIX}/libdata/asterisk MAKE_FLAGS+= ASTLIBDIR=${PREFIX}/lib/asterisk MAKE_FLAGS+= ASTVARLIBDIR=${ASTDATADIR} MAKE_FLAGS+= ASTKEYDIR=${ASTDATADIR} MAKE_FLAGS+= ASTDATADIR=${ASTDATADIR} MAKE_FLAGS+= ASTSPOOLDIR=${ASTSPOOLDIR} MAKE_FLAGS+= ASTLOGDIR=${ASTLOGDIR} MAKE_FLAGS+= ASTHEADERDIR=${PREFIX}/include/asterisk MAKE_FLAGS+= ASTCONFPATH=${ASTETCDIR}/asterisk.conf MAKE_FLAGS+= ASTBINDIR=${PREFIX}/bin MAKE_FLAGS+= ASTSBINDIR=${PREFIX}/sbin MAKE_FLAGS+= ASTVARRUNDIR=${ASTVARRUNDIR} MAKE_FLAGS+= ASTMANDIR=${PREFIX}/${PKGMANDIR} MAKE_FLAGS+= ASTETCDIR=${ASTETCDIR} MAKE_FLAGS+= ASTDBDIR=${ASTDBDIR} MAKE_FLAGS+= AGI_DIR=${PREFIX}/libexec/agi-bin MAKE_FLAGS+= ASTEXAMPLEDIR=${ASTEXAMPLEDIR} MAKE_FLAGS+= WRKSRC=${WRKSRC} MAKE_FLAGS+= LDOPTS=${LDFLAGS:M*:Q} MAKE_FLAGS+= HTTP_DOCSDIR=${PREFIX}/share/httpd/htdocs MAKE_FLAGS+= HTTP_CGIDIR=${PREFIX}/libexec/cgi-bin MAKE_FLAGS+= OPTIMIZE=-O3 .if !empty(MACHINE_PLATFORM:MSunOS-*-i386) BUILDLINK_TRANSFORM+= rm:-march=i386 .endif PLIST_VARS+= kqueue .if exists(/usr/include/sys/event.h) PLIST.kqueue= yes .endif PLIST_VARS+= mgcp # NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined # if the grep fails NOSIGPIPE!= ${GREP} SO_NOSIGPIPE /usr/include/sys/socket.h || echo "" .if ${NOSIGPIPE} != "" PLIST.mgcp= yes .endif .include "options.mk" # check sounds/Makefile for current version when upgrading package DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.tar.gz # Override default paths in config files SUBST_CLASSES+= configs SUBST_STAGE.configs= pre-configure SUBST_FILES.configs= configs/samples/cli_aliases.conf.sample SUBST_FILES.configs+= configs/samples/festival.conf.sample SUBST_FILES.configs+= configs/samples/http.conf.sample SUBST_FILES.configs+= configs/samples/iax.conf.sample SUBST_FILES.configs+= configs/samples/musiconhold.conf.sample SUBST_FILES.configs+= configs/samples/osp.conf.sample SUBST_FILES.configs+= configs/samples/phoneprov.conf.sample SUBST_FILES.configs+= configs/samples/res_config_sqlite.conf.sample SUBST_FILES.configs+= configs/samples/sla.conf.sample SUBST_SED.configs+= -e 's|doc/|${PREFIX}/share/doc/${PKGBASE}/|' SUBST_SED.configs+= -e 's|/etc/asterisk|${ASTETCDIR}|' SUBST_SED.configs+= -e 's|/var/lib/asterisk|${ASTVARLIBDIR}|' SUBST_SED.configs+= -e "s|/usr/local/man|${ASTMANDIR}|" SUBST_SED.configs+= -e "s|/usr/local|${PREFIX}|" SUBST_SED.configs+= -e "s|/var|${VARBASE}|" # XXX gross hack, remove when item is fixed SUBST_CLASSES.NetBSD+= autoconfig SUBST_STAGE.autoconfig= post-configure SUBST_FILES.autoconfig= include/asterisk/autoconfig.h SUBST_SED.autoconfig= -e "s|^\#define HAVE_GCC_ATOMICS 1|\#undef HAVE_GCC_ATOMICS|" SUBST_SED.autoconfig+= -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|" # XXX gross hack, IP_PKTINFO in NetBSD isn't compatible with anything else SUBST_CLASSES.NetBSD+= pktinfo SUBST_STAGE.pktinfo= post-configure SUBST_FILES.pktinfo= include/asterisk/autoconfig.h SUBST_SED.pktinfo= -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|" # XXX gross hack, gethostbyname_r on NETBSD is for internal use only SUBST_CLASSES.NetBSD+= gethostbyname_r SUBST_STAGE.gethostbyname_r= post-configure SUBST_FILES.gethostbyname_r= include/asterisk/autoconfig.h SUBST_SED.gethostbyname_r= -e "s|^\#define HAVE_GETHOSTBYNAME_R_5 1|\#undef HAVE_GETHOSTBYNAME_R_5|" SUBST_SED.gethostbyname_r+= -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|" RCD_SCRIPTS= asterisk OWN_DIRS_PERMS+= ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/dictate ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/meetme ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/monitor ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/outgoing ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/system ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/tmp ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234 ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/INBOX ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 SPECIAL_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en/busy.gsm ${ASTERISK_USER} ${ASTERISK_GROUP} 0644 SPECIAL_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en/unavail.gsm ${ASTERISK_USER} ${ASTERISK_GROUP} 0644 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/INBOX ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/en ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTLOGDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTLOGDIR}/cdr-csv ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 OWN_DIRS_PERMS+= ${ASTLOGDIR}/cdr-custom ${ASTERISK_USER} ${ASTERISK_GROUP} 0755 CONF_FILES_PERMS= # empty .for f in asterisk.conf extensions.conf CONF_FILES_PERMS+= ${ASTEXAMPLEDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} ${ASTERISK_USER} ${ASTERISK_GROUP} 0644 .endfor .if !empty(PKG_OPTIONS:Masterisk-config) # if we put all the files in $CONF_FILES, the message is _way_ too long. . for f in acl.conf adsi.conf agents.conf alarmreceiver.conf alsa.conf \ amd.conf app_mysql.conf app_skel.conf ari.conf asterisk.adsi \ calendar.conf ccss.conf cdr.conf cdr_adaptive_odbc.conf \ cdr_custom.conf cdr_manager.conf cdr_mysql.conf cdr_odbc.conf \ cdr_pgsql.conf cdr_sqlite3_custom.conf cdr_syslog.conf \ cdr_tds.conf cel.conf cel_custom.conf cel_odbc.conf \ cel_pgsql.conf cel_sqlite3_custom.conf cel_tds.conf \ chan_dahdi.conf chan_mobile.conf cli.conf cli_aliases.conf \ cli_permissions.conf codecs.conf confbridge.conf console.conf \ dbsep.conf dnsmgr.conf dsp.conf dundi.conf enum.conf \ extconfig.conf extensions.ael extensions.conf extensions.lua \ extensions_minivm.conf features.conf festival.conf \ followme.conf func_odbc.conf hep.conf http.conf iax.conf \ iaxprov.conf indications.conf logger.conf manager.conf \ meetme.conf mgcp.conf minivm.conf misdn.conf modules.conf \ motif.conf musiconhold.conf muted.conf ooh323.conf osp.conf \ oss.conf phone.conf phoneprov.conf pjproject.conf pjsip.conf \ pjsip_notify.conf pjsip_wizard.conf queuerules.conf queues.conf \ res_config_mysql.conf res_config_sqlite.conf \ res_config_sqlite3.conf res_corosync.conf res_curl.conf \ res_fax.conf res_ldap.conf res_odbc.conf res_parking.conf \ res_pgsql.conf res_pktccops.conf res_snmp.conf \ res_stun_monitor.conf rtp.conf say.conf sip.conf \ sip_notify.conf skinny.conf sla.conf smdi.conf sorcery.conf \ ss7.timers stasis.conf statsd.conf telcordia-1.adsi udptl.conf \ unistim.conf users.conf voicemail.conf vpb.conf xmpp.conf CONF_FILES_PERMS+= ${ASTEXAMPLEDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} ${ASTERISK_USER} ${ASTERISK_GROUP} 0644 . endfor .endif PTHREAD_OPTS+= require native .if (${OPSYS} == "Darwin" && exists(/usr/include/sys/poll.h)) post-patch: ${ECHO} "#include <sys/poll.h>" > ${WRKSRC}/include/asterisk/poll-compat.h .endif post-install: # check sounds directory for current versions when upgrading package ${TAR} xzf ${WRKSRC}/sounds/asterisk-core-sounds-en-gsm-1.5.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en ${TAR} xzf ${WRKSRC}/sounds/asterisk-moh-opsound-wav-2.03.tar.gz -C ${DESTDIR}${ASTDATADIR}/moh ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/asterisk-extra-sounds-en-gsm-1.5.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en ${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/README-SERIOUSLY.bestpractices.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.2.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.4.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.6.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.8.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-10.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-11.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE-12.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/UPGRADE.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/Zaptel-to-DAHDI.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/Asterisk-13-Reference.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/Asterisk-Admin-Guide.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/README.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/doc/api-1.6.2-changes.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} cp -r ${WRKSRC}/doc/Asterisk-Admin-Guide ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/Asterisk-Admin-Guide .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/libuuid/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/jansson/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/curses.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"