head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.20 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.18 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2023.12.10.06.40.20; author ryoon; state Exp; branches; next ; commitid CNRuW2PvXbUcXSPE; desc @@ 1.1 log @comms/asterisk20: import asterisk-20.5.0 Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services, ADSI, SIP and H.323 (as both client and gateway). This is a long term support version, 20. It is scheduled to go to security fixes only on 2026-10-19, and EOL on 2027-10-19. For more information about Asterisk versions, see https://docs.asterisk.org/About-the-Project/Asterisk-Versions/ @ text @$NetBSD: patch-build__tools_mkpkgconfig,v 1.1 2019/08/20 13:47:42 ryoon Exp $ --- build_tools/mkpkgconfig.orig 2015-10-09 21:48:48.000000000 +0000 +++ build_tools/mkpkgconfig @@@@ -22,11 +22,14 @@@@ else fi ## Clean out CFLAGS for the spec file. +## pkgsrc -- the regex below isn't sed compatible, so always use perl +EXTREGEX="perl -pe" LOCAL_CFLAGS=`echo $CFLAGS | ${EXTREGEX} 's/-pipe\s*//g' | ${EXTREGEX} 's/-[Wmp]\S*\s*//g' | \ ${EXTREGEX} 's/\s+-I(include|\.\.\/include)\s+/ /g' | \ ${EXTREGEX} 's/-DINSTALL_PREFIX=\S* //g' | \ ${EXTREGEX} 's/-DASTERISK_VERSION=\S* //g' | \ ${EXTREGEX} 's/-DAST(ETCDIR|LIBDIR|VARLIBDIR|VARRUNDIR|SPOOLDIR|LOGDIR|CONFPATH|MODDIR|AGIDIR)=\S* //g' | \ + ${EXTREGEX} "s;${WRKSRC};${PREFIX};g" | \ ${EXTREGEX} 's/^\s|\s$//g'` cat < "$PPATH/asterisk.pc" @