Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
ryoon 7742dd454a alsa-utils: Update to 1.2.4
Changelog:
1.2.4
Core

    Release v1.2.4

ALSA Control (alsactl)

    alsactl: 00main - fix typo in goto label
    alsactl: add new -U argument text to man page
    alsactl: init - add -U option to disable UCM based init
    alsactl: fix the syslog message - add : delimiter after function:line

Audio Transfer utility

    treewide: fix typos in manual pages

alsa-info.sh

    alsa-info: provide DMI system sku
    alsa-info.sh: command -v cleanups
    alsa-info.sh: declare variables separately from the assign (coverity)

alsaloop

    alsaloop: Fix the silence generation in xrun_sync

alsamixer

    alsamixer: remove wrong free(buf) call in read_file()
    alsamixer: small optimizations
    alsamixer: added configuration file parser
    alsamixer: Use a struct for storing color attributes
    alsamixer: added mouse support
    alsamixer: Replaced hardcoded keys by binding arrays
    alsamixer: Fix window_size_changed()

alsatplg (topology)

    topology: check for the remove() error (coverity)
    topology: fix the error path in load()

alsaucm

    alsaucm: Fix ending with quotes commands

aplay/arecord

    aplay: fix the wrong count in compute_max_peak() for 16bit+ sample widths
    minor aplay man page correction
    aplay: Fix typo in error message
    treewide: fix typos in manual pages
    aplay: capture: write only the amount of read frames
    aplay: pcm_read(): return read samples instead of requested upon abort
    aplay: pcm_readv(): return read samples instead of requested upon abort
    aplay: fix possible string overflow (coverity)

bat (basic audio tester)

    alsabat: fix typo

1.2.3
Core

    Release v1.2.3
    github actions: ubuntu - fix the non-interactive build
    github workflow: fix tag fetch

ALSA Control (alsactl)

    alsactl: ucm - rename _once command to _boot command
    alsactl: allow to compile alsactl without UCM support
    alsactl: use the right priority for syslog messages
    alsactl: add -D argument to execute also the UCM defaults section
    alsactl: redirect alsa-lib errors
    alsactl: add initial support for UCM init
    alsactl: init - iterate through all cards for the initial settings
    alsactl: daemon.c - fix gcc warning in write_pid_file()
    alsactl: fix error handling for sched_setscheduler() call
    alsactl: avoid needless wakeups in monitor loop.
    alsactl: don't exit on EINTR from epoll_wait().

alsa-info.sh

    alsa-info.sh: increase version to 0.4.65
    alsa-info: initial rpm/deb package info
    alsa-info.sh: add ALT to DISTRO list

alsaloop

    alsaloop: reduce cumulative error caused by non-atomic samples calculation

alsamixer

    alsamixer: suppress _XOPEN_SOURCE compile warning

alsaucm

    alsaucm: remove custom rules, alsactl is UCM aware now
    alsactl: ucm - rename _once command to _boot command

amixer

    amixer: retype to double in convert_prange1() like in convert_prange()
    amixer: improve the raw percentual volume rounding

1.1.9
Core

    Release v1.1.9
    axfer: add an entry of axfer to README

ALSA Control (alsactl)

    alsactl: monitor - remove dead code in run_dispatcher() (coverity)
    alsactl: simple coverity fix

Audio Transfer utility

    axfer/test: fix uninitialized warning
    axfer/test: fix uninitialized warning
    axfer: Declare global variables as 'extern' in header
    axfer: Fix creation of v1.2 headers on big-endian systems
    xfer: fix possible minor memory leak in xfer_options_parse_args() (coverity)
    axfer: return back unsigned avail variable, do proper retype in xfer-libasound-irq-mmap.c
    axfer: coverity fixes
    axfer: add missing header file of unit test to distribution
    axfer: allow to be compiled with glibc-2.11 or former
    axfer: correct invalid usage of escape of itaric text
    axfer: supplement value of options for the manual of transfer subcommand
    axfer: correct message to notice that help text is implemented
    axfer: correct description about snoop mode of libffado
    axfer: fulfill section for backward compatibitity for chmap option
    axfer: add a section about unit test

alsa-info.sh

    alsa-info.sh: cleanups

alsaloop

    alsaloop: remove unused assignment warning (coverity)

alsamixer

    alsamixer: define _GNU_SOURCE to get exp10

amixer

    amixer: define _GNU_SOURCE to get exp10

aplay/arecord

    aplay: check the return value for snd_pcm_sw_params_current() (coverity)
    aplay: fix the multiple open file descriptors for the raw capture

aplaymidi/arecordmidi

    arecordmidi: simple coverity fix
    seq: arecordmidi: Add num-events option

1.1.8
Core

    Release v1.1.8
    Makefile.am: add README.md to EXTRA_DIST
    axfer: add support for libffado transmission backend
    axfer: add unit test for container interface
    axfer: add an entry point for this command
    initial version of .travis.yml
    rename and update README.md

Audio Transfer utility

    axfer: add an explanation about advantages/issues of Timer-based scheduling model
    axfer: add an explanation about Timer-based scheduling model
    axfer: add an explanation about IRQ-based scheduling model
    axfer: add text for compatibility loss of sw parameter in libasound backend
    axfer: fulfill manual section for libasound backend
    axfer: print help for libasound backend
    axfer: fulfill manual section for libffado backend
    axfer: print help for libffado backend
    axfer: correct description about signal handling
    axfer: fix typo in axfer(1) manual
    axfer: fix no return statement in print_help() function
    axfer: enable each backend to print own help
    axfer: print help text of transfer subcommand just for common options
    axfer: print help text of list subcommand
    axfer: print help text of command entry
    axfer: add a section about design of transfer subcommand
    axfer: add a section to describe compatibility to aplay(1)
    axfer: add a manual for transfer subcommand
    axfer: add a manual for list subcommand
    axfer: add a manual for entry point
    axfer: check whether a terminal is referred for stdio
    axfer: truncate parsed arguments before operating subcommand
    axfer: use transfer subcommand as a default for compatibility mode to aplay(1)
    axfer: use second argument in command line for transmission direction
    axfer: apply refactoring in list subcommand for new command system
    axfer: apply refactoring to list subcommand for backward compatibility to aplay(1)
    axfer: add support for libffado transmission backend
    axfer: obsolete some unimplemented options
    axfer: add support for timer-based scheduling model with MMAP operation
    axfer: add an implementation of waiter for epoll(7)
    axfer: add an implementation of waiter for select(2)
    axfer: add an implementation of waiter for poll(2)
    axfer: add an option for waiter type
    axfer: add a common interface of waiter for I/O event notification
    axfer: add options for plugins in alsa-lib
    axfer: add options for software parameters of PCM substream
    axfer: add options for buffer arrangement
    axfer: add an option to suppress event waiting
    axfer: add support for MMAP PCM operation
    axfer: add support for non-blocking operation
    axfer: add an option to finish transmission at XRUN
    axfer: add options related to duration and obsolete '--max-file-size' option
    axfer: add an option to dump available hardware parameters
    axfer: add informative output and an option to suppress it
    axfer: add a sub-command to transfer data frames
    axfer: add support for blocking data transmission operation of alsa-lib PCM API
    axfer: add support to transfer data frames by alsa-lib PCM APIs
    axfer: add a parser for command-line options
    axfer: add a common interface to transfer data frames
    axfer: add a unit test for mapper interface
    axfer: add support for a mapper for multiple target
    axfer: add support for a mapper for single target
    axfer: add a common interface to align data frames on different layout
    axfer: add unit test for container interface
    axfer: add support for a container of raw data
    axfer: add support for a container of Creative Tech. voice format
    axfer: add support for a container of Sparc AU format
    axfer: add support for a container of Microsoft/IBM RIFF/Wave format
    axfer: add a common interface to handle a file with audio-specific data format
    axfer: add a sub-command to print list of PCMs/devices
    axfer: add an entry point for this command

alsaloop

    alsaloop: more avail_min cleanups

alsatplg (topology)

    topology/topology.c: drop unneeded <dlfcn.h> include

aplay/arecord

    aplay: improve available conditions for '--samples' and '--duration' options
    aplay: add a paragraph for '--samples' ('-s') option to aplay manual
    aplay: delete paragraph for obsoleted '--sleep-min' ('-s') option from aplay manual

1.1.7
Core

    Release v1.1.7
    Release v1.1.6

ALSA Control (alsactl)

    alsactl: lock - fix the array size (gcc warning)
    alsactl: use signalfd to catch UNIX signal
    alsactl: handle detection of new sound card
    alsactl: handle disconnection of sound card
    alsactl: obsolete array for maintenance of handlers
    alsactl: use a list of source for event dispatcher instead of an array of source
    alsactl: use link list to maintain source of events
    alsactl: use epoll(7) instead of poll(2)
    alsactl: add an iterator of registered instances of sound card
    alsactl: split event loop code to a function

Speaker Test

    speaker-test: Allow sampling rates up to 768000
    speaker-test: Remove unused variable
    speaker-test: Support S24_3LE sample format

alsaloop

    alsaloop: pcmjob - fix few warnings

alsamixer

    alsamixer: fix gcc warnings

alsatplg (topology)

    alsatplg: add man file

alsaucm

    alsatplg: add man file
    alsaucm: add alsa-ucm udev rules for PAZ00 (Toshiba AC100/Dynabook AZ).

aplay/arecord

    aplay: add missing block brackets
    aplay: Fix invalid file size check for non-regular files

bat (basic audio tester)

    alsabat: Allow custom sample format for round trip latency test
    bat: alsa.c - move the thread cleanup pop before goto exit3

1.1.6
Core

    Release v1.1.6

ALSA Control (alsactl)

    alsactl: Only start restore service when asoundrc file exists
    Change FSF address (Franklin Street)

ALSA RawMidi Utility (amidi)

    Change FSF address (Franklin Street)

Speaker Test

    speaker-test: Refactor the tone-generator codes

alsaloop

    alsaloop: fix a typo in the comparison
    Change FSF address (Franklin Street)

amixer

    Change FSF address (Franklin Street)

aplay/arecord

    aplay: Fix wav file not being split on 32 bit platforms
    aplay: Adjust sample rate limits to support newer hardware

bat (basic audio tester)

    bat: alsa.c - move the thread cleanup pop before goto exit3

1.1.5
Core

    Release v1.1.5
    alsactl: Move systemd unit start-up from basic.target to sound.target

ALSA Control (alsactl)

    alsactl: Move systemd unit start-up from basic.target to sound.target

alsatplg (topology)

    alsatplg: fix topology compiler long option parsing
    topology: delete output file if parsing fails.

aplay/arecord

    aplay: Fix playback for small raw files
    aplay: Refactor playback code
    aplay: Add samples argument for playing/recording a given number of samples
    aplay: interrupt streaming via signal in voc_pcm_write
    aplay: Fix --max-file-time option 32 bits overflow

bat (basic audio tester)

    alsabat: fix one uninitialized warning issue

1.1.4
 Core

    Release v1.1.4

ALSA Control (alsactl)

    alsactl: Remove standard output definition in systemd unit

ALSA RawMidi Utility (amidi)

    amidi: optarg might be NULL, fix 't' argument parsing

alsa-info.sh

    alsa-info: add ACPI device status
    alsa-info: provide more DMI information

alsaucm

    alsaucm: Add alsaucm.rst to EXTRA_DIST

aplay/arecord

    aplay: Introduce and use xwrite helper


1.1.3
Core

    Release v1.1.3
    INSTALL: document how to configure a build for installation in a local dir
    configure.ac: add a check for rst2man, a reStructuredText man page generator
    configure.ac: fix the check for xmlto availability
    alsabat: add amixer config files
    alsabat: automation test scripts

ALSA Control (alsactl)

    alsactl: Fix potential NULL dereferences in daemon mode

ALSA RawMidi Utility (amidi)

    amidi: add sysex-interval option
    amidi: fix timeout handling
    amidi: ignore not only Active Sensing but also Clock bytes

Speaker Test

    speaker-test: Fix chmap wav file selection.

alsaloop

    alsaloop: try adapt avail_min for playback to avoid 100% CPU usage

alsaucm

    alsaucm: add a man page, generated from reStructuredText
    alsaucm: mention the "list1" command in the usage output

aplay/arecord

    aplay: Fix to handle pause when system is suspended/Resumed

bat (basic audio tester)

    alsabat: add system power management S3 test
    alsabat: fix alsabat -86 error
    alsabat: add amixer config files
    alsabat: automation test scripts

1.1.2
Core

    Release v1.1.2
    alsabat: align the data type on float

aplay/arecord

    aplay: fix lurking capture file overwrite bug

bat (basic audio tester)

    alsabat: make snr_is_valid static
    alsabat: fix a missing break in switch
    alsabat: add noise detection
    alsabat: add a single channel sine wave generator
    alsabat: add channels parameter for adjust_waveform()
    alsabat: align the data type on float
    alsabat: add round trip audio latency test
    alsabat: fix a possible memory leak
    alsabat: add buffer size and period size settings
    alsabat: add terminate status check for capture thread
2021-05-12 14:13:21 +00:00
archivers Revbump all Go packages after go116 update 2021-05-08 15:02:22 +00:00
audio alsa-utils: Update to 1.2.4 2021-05-12 14:13:21 +00:00
benchmarks google-benchmark: update to 1.5.3. 2021-04-26 15:23:37 +00:00
biology various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
bootstrap Don't reject dash as /bin/sh. 2021-04-28 11:14:51 +00:00
cad revbump for boost-libs 2021-04-21 13:24:06 +00:00
chat Revbump all Go packages after go116 update 2021-05-08 15:02:22 +00:00
comms revbump for boost-libs 2021-04-21 13:24:06 +00:00
converters *: Bump PKGREVISION for ghc-9.0.1 2021-05-03 19:00:52 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases mariadb104-client: ensure mysql_upgrade gets installed 2021-05-12 11:20:29 +00:00
devel py-autopep8: updated to 1.5.7 2021-05-12 09:33:29 +00:00
distfiles
doc doc: Updated audio/alsa-lib to 1.2.4 2021-05-12 14:12:46 +00:00
editors xfce4-mousepad: update to 0.5.4 2021-05-12 00:10:58 +00:00
emulators Add FreeBSD-{i386,x86_64} to supported platforms. 2021-05-11 14:57:56 +00:00
filesystems fuse-ntfs-3g: add MESSAGE.NetBSD 2021-05-09 14:22:33 +00:00
finance py-braintree: updated to 4.9.0 2021-05-06 04:34:47 +00:00
fonts fonts/recursive-ttf: update to 1.078. 2021-04-30 18:03:21 +00:00
games taisei: Update to 1.3.2 2021-05-05 14:14:56 +00:00
geography geography/qgis: Mark as not for python 2.7 2021-05-04 16:27:38 +00:00
graphics graphics: + gimp-create-spritesheet 2021-05-12 09:03:29 +00:00
ham math/fftw and dependents: merge math/fftwf backin and add MPI and OpenMP 2021-04-29 23:30:12 +00:00
inputmethod fcitx5-gtk: fix building with gcc10 2021-04-25 18:24:43 +00:00
lang py-parso: updated to 0.8.2 2021-05-12 08:13:54 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail exim: Fix hardcoded CFLAGS breaking SunOS build. 2021-05-11 09:53:20 +00:00
math py-sympy: updated to 1.8 2021-05-12 08:42:42 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs xfce4: remove reference to xfce4-mixer in comment 2021-05-06 20:40:49 +00:00
misc misc/ruby-ohai: update to 16.13.0 2021-05-09 14:56:01 +00:00
mk Set SUSE_PREFER explicitly for recent FreeBSD releases. 2021-05-12 10:14:24 +00:00
multimedia Fix the assimp pkgconfig file 2021-05-10 08:18:53 +00:00
net coilmq: updated to 1.0.1 2021-05-12 04:56:54 +00:00
news news/leafnode: Update to 1.11.12 2021-05-07 11:09:35 +00:00
packages
parallel py-billiard: updated to 3.6.4.0 2021-05-06 10:36:08 +00:00
pkgtools plist-utils: remove __RCS_Id to increase portability 2021-05-11 09:24:17 +00:00
print electrix: Fix PDF support with recent print/poppler 2021-05-07 17:41:49 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security security/heimdal: provide krb5-gssapi.pc as symlink 2021-05-09 16:04:34 +00:00
shells Update shells/bash to 5.1 patch 8. 2021-05-05 11:02:59 +00:00
sysutils sysutils/broot: update to 1.4.0 2021-05-11 14:06:43 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc Add csview 2021-05-12 12:25:56 +00:00
time py-cftime: updated to 1.4.1 2021-05-07 18:16:51 +00:00
wm wm/sowm: update DESCR 2021-05-08 19:30:51 +00:00
www firefox: Update nodejs output to 88.0.1 2021-05-12 13:31:44 +00:00
x11 mate-screensaver: update to 1.24.2 2021-05-11 00:15:26 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md *: fix a bunch of typos in README and various documentation files. 2020-12-12 10:42:47 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git