net/asterisk: b2bua.org down, patch fails

Peter Beckman beckman at angryox.com
Thu Dec 11 10:34:49 PST 2008


Tried to upgrade asterisk today:

===>  Found saved configuration for asterisk-1.4.22
=> asterisk-1.4.22-codec-negotiation-20081110.diff.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://b2bua.org/chrome/site/.
fetch: http://b2bua.org/chrome/site/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: Internal Server Error
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.

Then with codec-negotiation patch turned off:

===>  Found saved configuration for asterisk-1.4.22
===>  Extracting for asterisk-1.4.22
=> MD5 Checksum OK for asterisk-1.4.22.tar.gz.
=> SHA256 Checksum OK for asterisk-1.4.22.tar.gz.
/bin/mkdir -p /usr/ports/net/asterisk/work/asterisk-1.4.22/codecs/ilbc
/usr/bin/find /usr/ports/net/asterisk/work/asterisk-1.4.22 -name '*.d' -delete
===>  Patching for asterisk-1.4.22
===>  Applying extra patch /usr/ports/net/asterisk/files/nocodecnego-patch-Makefile
===>  Applying extra patch /usr/ports/net/asterisk/files/dtmf_debug.diff
===>  Applying extra patch /usr/ports/net/asterisk/files/feature_disconnect.diff
===>  Applying extra patch /usr/ports/net/asterisk/files/sip_force_callid.diff
===>  Applying extra patch /usr/ports/net/asterisk/files/sip_set_auth.diff
===>  Applying extra patch /usr/ports/net/asterisk/files/rtp_force_dtmf-nocodecnego.diff
1 out of 1 hunks failed--saving rejects to configs/sip.conf.sample.rej

Looks like the sip.conf.sample changed in the slightest of ways:

-; See doc/README.tos for a description of these parameters.
+; See doc/ip-tos.txt for a description of these parameters.

Even then, it doesn't compile...

cc -o chan_dahdi.o -c chan_dahdi.c -D_THREAD_SAFE -pthread -I/usr/ports/net/asterisk/work/asterisk-1.4.22/include -O2 -fno-strict-aliasing -pipe  -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /usr/ports/net/asterisk/work/asterisk-1.4.22/include/asterisk/autoconfig.h -I/usr/local/include   -fPIC -DAST_MODULE=\"chan_dahdi\"       -MD -MT chan_dahdi.o -MF .chan_dahdi.o.d -MP
chan_dahdi.c: In function `get_alarms':
chan_dahdi.c:3693: error: structure has no member named `chan_alarms'
gmake[1]: *** [chan_dahdi.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.22/channels'
gmake: *** [channels] Error 2

---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman at angryox.com                                 http://www.angryox.com/
---------------------------------------------------------------------------


More information about the freebsd-ports mailing list