head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.10.27.06.58.37; author jnemeth; state Exp; branches; next ; commitid cQXB8JNvDKKmYagG; desc @@ 1.1 log @comms/asterisk23: import asterisk-23.0.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 standard version. It is scheduled to go to security fixes only on October 15th, 2026, and EOL on October 15th, 2027. See here for more information about Asterisk versions: https://docs.asterisk.org/About-the-Project/Asterisk-Versions/ @ text @$NetBSD: patch-build__tools_mkpkgconfig,v 1.1 2024/10/21 05:12:45 jnemeth 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" @