SoX (also known as Sound eXchange) translates sound samples between
different file formats, and optionally applies various sound effects.
SoX is intended as the Swiss Army knife of sound processing tools.
It doesn't do anything very well, but sooner or later it comes in
very handy.
===> The following configuration options are available for sox-14.4.2.20210509_7:
AMR=off: AMR 3GPP speech codec support (opencore)
FLAC=on: FLAC lossless audio codec support
GSM=on: GSM codec support
ID3TAG=on: ID3 v1/v2 tags support
LADSPA=off: LADSPA audio plugins support
OPUS=on: Opus audio codec support
PNG=on: PNG spectrogram creation
SNDFILE=on: Audio conversion support via libsndfile
SYMLINK=on: Create soxi/play/rec links
VORBIS=on: Ogg Vorbis audio codec support
WAVPACK=off: WavPack lossless audio format support
====> MP3 audio format support
LAME=on: LAME MP3 audio encoder support
MAD=on: MAD MP3 audio decoder support
TWOLAME=off: TwoLAME MP2 audio encoder support
====> Sound (audio) support
ALSA=off: ALSA audio architecture support
AO=on: libao audio library support
OSS=on: Open Sound System support
PULSEAUDIO=off: PulseAudio sound server support
SNDIO=off: Sndio audio support
===> Use 'make config' to modify these settings
audio/sox: Unbreak build when no audio devices are selected
Upstream allows this configuration so the port should as well.
PR: 297173
Approved by: Dan Nelson (maintainer)
audio/sox: Clean up port Makefile and switch AMR dependencies to
audio/opencore-amr
* Clean up OPTIONS
* Add SYMLINK option to not install the play and rec commands which may
conflict with other ports
* Some additional minor cleanup and rearragement of port Makefile
(post review by committer)
PR: 277754
Reviewed by: Dan Nelson <dnelson_1901@yahoo.com>
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888
audio/sox: Update to latest commit (20210509)
Since development seems to progress very slowly just follow other distros
and update to latest commit. We're using Gentoo's distfile as source since
there's no way to download arbitrary git hashes in tar/zip format without
using a browser and there's no need for us to roll our own.
This fixes following CVEs:
CVE-2019-13590
CVE-2019-8357
CVE-2019-8356
CVE-2019-8355
CVE-2019-8354
CVE-2017-18189
CVE-2017-15642
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
audio: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <dmagda+libsamplerate@ee.ryerson.ca>
* <trasz@FreeBSD.org>
* Adam Weinberger
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aleksander Fafula <alex@bsdguru.org>
* Alex Allan <alex@kamaz.org.uk>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kojevnikov <alexander@kojevnikov.com>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexander Vereeken <Alexander88207@protonmail.com>
(Only the first 15 lines of the commit message are shown above )
audio/libmad: Set SONAME to libmad.so.0 instead of libmad.so.0.16.2
- Bump PORTREVISION of dependent ports for shlib change
- Bump PORTREVISION for package change
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
audio/sox: Fix segfault in the OSS backend
sox currently crashes when it finishes playing a file.
PR: 213262
Approved by: Dan Nelson <dnelson@allantgroup.com> (maintainer)
Reported by: Alexandros Perdikomatis <alexandrosperdikomatis@gmail.com>
Obtained from: Pkgsrc
MFH: 2017Q4
- Add SNDIO option and make enabling the sndio backend explicit. It's
currently automatically enabled when sndio is available in the build
environment.
- Add a OSS default option, so that the OSS backend can be turned off
if desired.
- Since there are a lot of audio backend options, group them to make
the config dialog more readable.
- USES=localbase:ldflags
PR: 219998
Approved by: mat (mentor), Dan Nelson <dnelson@allantgroup.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D11227
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.
Approved by: portmgr (bapt)
- Add option PULSEADUIO default to off, package links to
libpulse when availble on system
- Don't reset options to just LAME when not building
on package server
- Convert to new LID_DEPENDS format, use option helpers
PR: ports/182838
Submitted by: me
Approved by: maintainer timeout
multimedia/ffmpeg: update to 2.0.1
- Update main ffmpeg port to 2.0.1
- Bump and update dependent ports when necessary (API change)
Approved by: portmgr (bapt)
Convert to new options framework left un converted ports in a* categories
While here trim headers
Convert some gnomehack to pathfix
Convert some pkgconfig to USE_PKGCONFIG=build
- Fix FFMPEG option when ffmpeg-devel is installed
While here:
- Move LICENSE to proper location
- Convert to USE_PKGCONFIG
PR: ports/171813
Submitted by: Dan Nelson <dnelson at allantgroup.com> (maintainer)
Approved by: makc (mentor)
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Update to 14.3.2.
- Add LICENSE.
- Add a patch to fix build if ffmpeg-devel is installed.
PR: ports/157673
Submitted by: Ryan Steinmetz <rpsfa@rit.edu>
Approved by: Dan Nelson <dnelson@allantgroup.com> (maintainer)
Add optinal dependency on alsa-lib
Remove md5 checksum while I'm here
PR: ports/153159
Reported by: Anatoly Borodin <anatoly.borodin at gmail.com>
Patched by: Dan Nelson (maintainer)
- update audio/lame to 3.98.4
- use ?= for the portrevision of a master port to make it possible to
change it in a slave port which depends upon lame
- bump portrevisions of ports which depend upon lame
- done via a semi-automated way (manual review and fixup)
- I tried to take care to not bump ports which only depend optionaly on
lame (with a default of no dependency)
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
- Update to 14.2.0
PR: 128849
Submitted by: Peter Beckman <beckman at angryox dot com>
Final patch by: Dan Nelson <dnelson at allantgroup dot com> (maintainer)
Approved by: Dan Nelson <dnelson at allantgroup dot com> (maintainer)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
Update to FLAC 1.2.1. This version includes two and a half years
worth of changes and an altered API.
Bump the revision of all ports that depend on libFLAC and adapt to
the new API where necessary. Some patches from Debian, Gentoo,
OpenBSD, and upstream repositories.
PR: 119476
- Update to 14.0.1
- Add PTHREAD_LIBS to LDFLAGS
Bring sox up to the latest release. It can now decode any format
recognized by ffmpeg or flac.
PR: ports/120418
Submitted by: Dan Nelson <dnelson@allantgroup.com> (maintainer)
Fix SoX buffer overflows when handling .WAV files (CAN-2004-0557)
Buffer overflow when parsing .wav file headers in sox. The IFF chunks
concerned have a 2-byte size field, but sox reads them into a 256-byte
buffer.
portaudit reference:
<http://www.freebsd.org/ports/portaudit/3e4ffe76-e0d4-11d8-9b0a-000347a4fa7d.html>
PR: 69725
Submitted by: Dan Nelson <dnelson@allantgroup.com> (maintainer)