Commit graph

64 commits

Author SHA1 Message Date
sborrill
459999bf0a Add reload command to rc.d script.
Remove sudo from rc.d - it should not be a requirement to stop your VoIP
server.
2008-07-10 08:23:20 +00:00
wiz
f0e85b41ce Add missing file to PLIST. Bump PKGREVISION. 2008-06-19 08:14:29 +00:00
wiz
35f9ffa755 pkgsrc-users, not packages (hi riz!) 2008-06-18 11:12:53 +00:00
mjl
31c7e00215 Update to 1.2.29. Security update.
* channels/chan_sip.c: Copy the From header into a variable so that
          pedantic SIP handling does not try to mess with a NULL pointer.
          (AST-2008-008)
* channels/chan_iax2.c: When we receive a full frame that is
          supposed to contain our call number, ensure that it has the
          correct one. (closes issue #10078) (AST-2008-006)
2008-06-13 10:10:33 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
riz
0940c02f91 Stop pretending like I have time to maintain packages that I don't
even really use anymore.
2008-06-07 17:28:11 +00:00
wiz
eff6f440a2 Add INSTALLATION_DIRS so that installation is successful even in a bulk
build.
2008-05-26 12:29:24 +00:00
wiz
acc3a4bb42 Another try at fixing installation of the pkgconfig file under pbulk. 2008-04-24 09:04:55 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
mjl
4fefd9c6d3 Update asterisk to 1.2.27
Update for several critical security issues:

   * astobj.h: Fix character string being treated as format string
   * chan_sip.c: Do not return with a successful
     authentication if the From header ends up empty. (AST-2008-003)
   * chan_iax2.c: Fix another potential seg fault (closes issue #11606)
   * chan_iax2.c: Fix a couple of places where it's possible
     to dereference a NULL pointer.
   * chan_sip.c, channels/chan_iax2.c: Fixing AST-2007-027
   * cdr_pgsql.c: Properly escape src and dst fields (Fixes AST-2007-026)
2008-03-19 10:32:02 +00:00
wiz
913964248d Use REPLACE_BASH to make sure right bash is found for mkpkgconfig. 2008-02-28 08:53:31 +00:00
wiz
5d077f8e34 Add bash to tools for mkpkgconfig. 2008-02-27 12:31:12 +00:00
wiz
d1a422fd46 Create pkgconfig file in correct location. Add it to PLIST.
Bump PKGREVISION.
2008-02-20 10:14:19 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
mjl
dcad3941ff Update asterisk to 1.2.24.
Version 1.2.24 is the final 1.2 release that contains normal bug fixes.
The 1.2 branch will only be maintained with security fix releases from
now until it is completely deprecated.
2007-08-10 00:03:27 +00:00
mjl
3b7c6e9d8f Update asterisk to 1.2.23
* channels/chan_iax2.c: Don't create the Asterisk channel until we
          are starting the PBX on it. (ASA-2007-018)
        * channels/chan_agent.c: (closes issue #5866) Reported by: tyler Do
          not force channel format changes when a generator is present. The
          generator may have changed the formats itself and changing them
          back would cause issues.
        * channels/chan_sip.c: (closes issue #10236) Reported by: homesick
          Patches: rpid_1.4_75840.patch uploaded by homesick (license 91)
          Accept Remote Party ID on guest calls.
        * include/asterisk/app.h: We should not use C++ reserved words in
          API headers (closes issue #10266)
        * channels/chan_sip.c: Backport a fix for a memory leak that was
          fixed in trunk in reivision 76221 by rizzo. The memory used for
          the localaddr list was not freed during a configuration reload.
        * channels/chan_sip.c: (closes issue #10247) Reported by:
          fkasumovic Patches: chan_sip.patch uploaded by fkasumovic
          (license #101) Drop any peer realm authentication entries when
          reloading so multiple entries do not get added to the peer.
        * channels/chan_iax2.c: When processing full frames, take sequence
          number wraparound into account when deciding whether or not we
          need to request retransmissions by sending a VNAK. This code
          could cause VNAKs to be sent erroneously in some cases, and to
          not be sent in other cases when it should have been. (closes
          issue #10237, reported and patched by mihai)
        * channels/chan_iax2.c: When traversing the queue of frames for
          possible retransmission after receiving a VNAK, handle sequence
          number wraparound so that all frames that should be retransmitted
          actually do get retransmitted. (issue #10227, reported and
          patched by mihai)
        * apps/app_voicemail.c: Store prior to copy (closes issue #10193)
        * apps/app_queue.c: removed the word 'pissed' from ast_log(...)
2007-08-03 22:40:00 +00:00
mjl
b4f03815b0 Update to 1.2.22
* channels/chan_skinny.c: Properly check for the length in the
	  skinny packet to prevent an invalid memcpy. (ASA-2007-016)

	* channels/iax2-parser.h, channels/chan_iax2.c,
	  channels/iax2-parser.c: Ensure that when encoding the contents of
	  an ast_frame into an iax_frame, that the size of the destination
	  buffer is known in the iax_frame so that code won't write past
	  the end of the allocated buffer when sending outgoing frames.
	  (ASA-2007-014)

	* channels/chan_iax2.c: After parsing information elements in IAX
	  frames, set the data length to zero, so that code later on does
	  not think it has data to copy. (ASA-2007-015)

	* res/res_musiconhold.c: Fix a couple potential minor memory leaks.
	  load_moh_classes() could return without destroying the loaded
	  configuration.

	* apps/app_chanspy.c: Fixed an issue where chanspy flags were
	  uninitialized if no options were passed.

	* res/res_musiconhold.c: Ensure that adding a user to the list of
	  users of a specific music on hold class is not done at the same
	  time as any of the other operations on this list to prevent list
	  corruption.

	* channels/chan_iax2.c: The function make_trunk() can fail and
	  return -1 instead of a valid new call number. Fix the uses of
	  this function to handle this instead of treating it as the new
	  call number. This would cause a deadlock and memory corruption.

	* channels/chan_agent.c: The cli command "agent logoff Agent/x
	  soft" did not work...at all. Now it does.

	* res/res_config_odbc.c: Make sure that the ESCAPE immediately
	  follows the condition that uses LIKE. This fixes realtime
	  extensions with ODBC.

	* apps/app_queue.c: Fix an issue where it was possible to have a
	  service level of over 100% Between the time recalc_holdtime and
	  update_queue was called, it was possible that the call could have
	  been hungup.

	* dns.c: Use res_ndestroy on systems that have it. Otherwise, use
	  res_nclose. This prevents a memleak on NetBSD - and possibly
	  others.
2007-07-19 09:39:57 +00:00
mjl
4c7740d821 Update asterisk to 1.2.21.1. 2007-07-11 14:28:46 +00:00
mjl
e3b7ca68cc Updated asterisk to 1.2.20
This release is a regular maintenance release. It has been made just
a couple of weeks after the previous set of releases because the
development team has been working especially hard on fixing bugs
lately. There has been a large volume of issues fixed in just two weeks.
2007-07-08 12:02:18 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
mjl
b97aebd7a2 Updated asterisk to 1.2.19. 2007-06-24 07:52:47 +00:00
mjl
7afbb31e11 Updated asterisk to 1.2.18
This release contains a large number of fixes, including:

- A recently published security vulnerability in the manager
  interface (ASA-2007-012)
- Another recently published security vulnerability in the
  SIP channel driver (ASA-2007-011)
2007-04-26 09:43:14 +00:00
mjl
b230222083 Upgrade to 1.2.17.
Along with minor bug fixes, this release incorporates a fix for the
SIP DoS vulnerability recently discovered by INRIA Lorraine.

All users of Asterisk 1.2 with the SIP channel driver loaded and
connected to an untrusted network are urged to update to this release
to avoid the possibility of experiencing this problem.


Note that the option "zaptel" won't compile any more since version 1.2.16.
This needs an upgrade of the netbsd zaptel driver.
2007-03-22 12:57:26 +00:00
drochner
da2211b7ef update to 1.2.16
changes:
1.2.15: This release contains a significant Astribank (XPP) driver update,
 support for Digium's TE120P card, and various bug fixes.
1.2.16: This release contains a number of bug fixes, including a fix for
 a recently discovered security vulnerability. All Asterisk 1.2 users are
 urged to update to this release as soon as possible.

This is in response to PR pkg/35924 by David Wetzel. The PR suggests
to update to 1.4.1, but since I'm not using Asterisk myself I prefer
to do just the minor update (which also fixes the security vulnerability)
for now.
2007-03-07 12:10:29 +00:00
mjl
969b8680ae Update asterisk to 1.2.14. 2006-12-20 11:34:55 +00:00
mjl
1c5ff0e77e Make stopping asterisk actually work. 2006-11-01 18:59:16 +00:00
mjl
54d7eb748f Update to asterisk 1.2.13
This release contains a fix for a security vulnerability recently
found in the chan_skinny channel driver (for Cisco SCCP phones).
This vulnerability would enable an attacker to remotely execute
code as the system user running Asterisk (frequently 'root').
The exploit does not require that the skinny.conf contain any
valid phone entries, only that chan_skinny is loaded and operational.

This release also contains a number of bug fixes, and some improvements
to the chan_sip channel driver (for SIP devices) to mitigate the impacts
of a certain class of denial-of-service attacks that have recently been
published.

All Asterisk 1.2 users are urged to update to this release if they use
the chan_skinny channel driver, or to stop loading it if it is not
needed ('noload=>chan_skinny.so' in modules.conf will cause this behavior).
2006-10-19 14:02:07 +00:00
hira
1447455984 Add missing RCS Id. 2006-09-16 15:29:35 +00:00
mjl
95f22f4468 Update asterisk to 1.2.12.1. 2006-09-13 09:28:35 +00:00
mjl
19501d67ed Update to asterisk 1.2.12
Asterisk 1.2.11 includes a number of bug fixes, along with an update
to the chan_misdn driver for mISDN devices.
Asterisk 1.2.12 includes a number of bug fixes, including fixes for
two regressions that occurred in the 1.2.11 release. Specifically,
the AGI 'GET VARIABLE' command has now gone back to its previous
behavior, and CDR records now reflect the CallerID number instead
of ANI in the situations that this was the case in earlier 1.2 releases.
2006-09-13 09:08:55 +00:00
adam
affab6627a Changes 1.2.10:
* Number of bug fixes
* New option to help to avoid a potential denial of service in IAX2 channel driver
* Support for TE407P and TE412P quad T1/E1 interface cards
2006-08-18 11:32:51 +00:00
riz
ac9528406e Update asterisk to 1.2.9.1 - fixes a vulnerability in the IAX2 channel
driver most importantly.
2006-07-01 13:26:50 +00:00
minskim
c146031600 This package needs zlib to build. 2006-06-20 23:32:36 +00:00
joerg
685489cb85 Ensure that PROC is set on DragonFly. 2006-06-12 14:35:35 +00:00
dsainty
9fdf8ad4e1 Add a slash to the end of the old-releases URL. Fixes downloads for current package version 1.2.8, which is now old due to Asterisk release 1.2.9. 2006-06-10 23:56:18 +00:00
adam
a2733d4d64 Changes 1.2.8:
* Number of bug fixes, including IAX2 channel driver fixes.
2006-05-31 18:43:15 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
mjl
a22592c284 Update to asterisk 1.2.7.1
* apps/app_page.c: oops... let's not set a variable and then
    immediately overwrite it while assuming its old value will
    magically return
  * pbx.c: Bug 6957 - variable names beginning with CALLERID weren't
    substituted correctly
2006-04-13 18:36:58 +00:00
adam
42697baf6a Changes 1.2.7:
* Important bug fixes
* SIP handling
* MixMonitor call recording
2006-04-13 08:47:06 +00:00
jlam
1ec59ed085 USE_PKGINSTALL isn't needed here to make these packagse use the
pkginstall framework.  In the case of libtool-base, avoid using
FILES_SUBST_SED where it isn't needed.
2006-03-14 20:43:23 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
mjl
2cb4bb2909 Update to asterisk 1.2.4. This is a bugfix release.
* channels/chan_zap.c: disable buggy PRI user-user code until it
	  can be fixed
	* channels/chan_sip.c: Issue 6182 - Don't remove scheduled event
	  until it's really done.
	* channels/chan_sip.c: Issue 6362 - Register without Contact: and
	  Expires: fails
	* ast_expr2.h, ast_expr2f.c, ast_expr2.c: Bug 6072 - Revisions to
	  the source bison and flex files don't auto-regenerate these files
	* channels/chan_zap.c: fix problem with dtmf on e&m (issue #6364)
	* channels/chan_sip.c: Issue 5898: Registrations does not get
	  deleted if there's an active SIP dialog
	* channels/chan_sip.c: don't call ast_update_realtime with
	  uninitialized variables if we get a registration with an expirey
	  of 0 seconds (issue #6173)
	* channels/chan_features.c: fix memory leak (inspired by issue
	  #6351)
2006-02-01 01:45:29 +00:00
rillig
70d8e3cece Fixed the remaining pkglint -Wall warnings. 2006-01-29 01:30:20 +00:00
rillig
fab1e7860e - Fixed some pkglint warnings.
- Replaced absolute directories like /usr/pkg and /var with ${PREFIX} and
  ${VARBASE}.
- USE_TOOLS+=perl:run, since there is one Perl program installed with the
  package.
- Bumped PKGREVISION.
2006-01-29 01:21:45 +00:00
riz
917b9c38f1 Update to asterisk 1.2.3 - bugfixes only. 2006-01-25 17:48:43 +00:00
riz
72255e472d Patch the default path for music-on-hold files. 2006-01-24 02:09:38 +00:00
mjl
062d71c80f Update to asterisk 1.2.2
Changes are bugfixes only.
2006-01-18 11:39:54 +00:00
riz
28723e33e3 Update asterisk to version 1.2.1. Many, many bugfixes, and some
new features, including support for DUNDi.  (http://www.dundi.com/ for
more information)

The initial framework and porting of this package upgrade was done by
Martin J. Laubach, with lots of feature/PLIST fixes by me.  DragonFly
support added by Joerg Sonnenberger.
2006-01-13 20:32:38 +00:00
rillig
734218ea9a The script interpreter of libdata/asterisk/agi-bin/agi-test.agi had been
/usr/bin/perl -- added the file to REPLACE_PERL. Because the binary
package changed, bump PKGREVISION.
2006-01-12 19:30:15 +00:00
rillig
2ca458613c Fixed a whole lot of pkglint warnings regarding the use of backslashes
in double quoted strings, variable definition alignments, variable names
starting with an underscore and other quoting issues.
2006-01-12 19:11:55 +00:00