diff options
| author | Jaco Kroon <jaco@uls.co.za> | 2021-03-13 21:59:24 +0200 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-19 10:51:49 +0200 |
| commit | c21e28747944f84b98359b37cfe4d2f2e0b7bb0b (patch) | |
| tree | 3239cac8d9503b1d41ddbac51a7f8b2b2e12682b /net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch | |
| parent | 2c7d0aa6515bffacdaed2237cd28231100465422 (diff) | |
| download | gentoo-c21e28747944f84b98359b37cfe4d2f2e0b7bb0b.tar.gz gentoo-c21e28747944f84b98359b37cfe4d2f2e0b7bb0b.tar.bz2 gentoo-c21e28747944f84b98359b37cfe4d2f2e0b7bb0b.zip | |
net-misc/asterisk: rev bump for 16.
Same changes as for 13, except that format_ogg_speex isn't being dropped
since it it was introduced in 16.
Closes: https://bugs.gentoo.org/772821
Introduce USE=deprecated to enable deprecated apps/funcs/features. For
now, this is only app_macro.
Closes: https://bugs.gentoo.org/775005
net-misc/asterisk: injects some CFLAGS. Thanks Sam.
Closes: https://bugs.gentoo.org/767262
systemd automagic dependency.
Closes: https://bugs.gentoo.org/775353
Make asterisk depend on the pjproject SUBSLOT. Ie, rebuild if pjproject
gets updated.
Closes: https://bugs.gentoo.org/761442
Repair "security" issue in that /var/lib/asterisk can now be root:root.
The problem with having it asterisk: is that any arbitrary code vuln
becomes a data modification one. So with this as root:root we can at
least prevent modifications to /var/lib/asterisk whilst still allowing
/var/lib/asterisk/astdb to be modified as required.
Repair default voicemail selection. Thank you pkgcheck scan.
Drop ASTCFLAGS= and ASTLDFLAGS since ./configure already imports these.
I believe Tony added this as a hammer to deal with 775005 above since
these got re-added again after the asterisk injected ones. By setting
DEBUG= and OPTIMIZE= this problem should now be something of the past.
Introduce GENTOO_ASTERISK_CUSTOM_MENUSELECT= environment variable that
can be set from make.conf and takes a string similar to USE flags,
except that these gets passed to menuselect one by one, if -option as
--disable option, else --enable option. Prefixes + and - is supported,
and will be stripped before passing to menuselect.
menuselect has been patched to exit non-zero in case of invalid option
passed to --enable or --disable, resulting in above being reliable (if
you have something invalid in there, it will die).
Accordingly drop format_ogg_speex which doesn't exist in asterisk 13.
Drop no longer required ncurses dependencies (system libedit).
Explicitly pass ASTCACHEDIR=/var/cache/asterisk, and update install
patch to not install this path, handle in tmpfiles and initd since we're
not supposed to install into /var/cache either ...
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch')
| -rw-r--r-- | net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch b/net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch index 63b2896bb097..cde9ea0e15ae 100644 --- a/net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch +++ b/net-misc/asterisk/files/asterisk-16.16.2-no-var-run-install.patch @@ -5,7 +5,7 @@ NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h)) OLDHEADERS=$(filter-out $(NEWHEADERS) $(notdir $(DESTDIR)$(ASTHEADERDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) -INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTCACHEDIR)" "$(ASTETCDIR)" "$(ASTVARRUNDIR)" \ -+INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTCACHEDIR)" "$(ASTETCDIR)" \ ++INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTETCDIR)" \ "$(ASTSPOOLDIR)" "$(ASTSPOOLDIR)/dictate" "$(ASTSPOOLDIR)/meetme" \ "$(ASTSPOOLDIR)/monitor" "$(ASTSPOOLDIR)/system" "$(ASTSPOOLDIR)/tmp" \ "$(ASTSPOOLDIR)/voicemail" "$(ASTSPOOLDIR)/recording" \ |
