Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
leot acf973ae7f cups-filters: Update to 1.27.4
pkgsrc changes:
 - Remove patches/patch-configure: applied uptsream
 - Convert the CHECK_PORTABILITY_SKIP to a REPLACE_BASH: it is more consistent
   with other REPLACE_BASHes (there are several files that are not installed
   then) and complaining about `==' test(1) operator in a bash script is
   not correct.

Changes:
1.27.4
------
- libcupsfilters, cups-browsed: Fix memory issues in
  ppdgenerator and cups-browsed (Pull request #226).
- pdftops: Mention cups-filters README, CUPS README in debug
  log (Pull request #225).
- pdftopdf, gstoraster, foomatic-rip: Use "-dSAFER"
  Ghostscript option, instead of the deprecated
  "-dPARANOIDSAFER" (Pull request #224).
- Build System: Replace '==' in configure.ac test with '=', as
  the former is a bashism (Pull request #222).

1.27.3
------
- cups-browsed: Allow sharing local queues pointing to remote
  CUPS queues and re-sharing printers discovered via
  BrowsePoll by default, using
  AllowResharingRemoteCUPSPrinters and
  NewBrowsePollQueuesShared directives in cups-browsed.conf
  (Issue #101, Pull request #218).
- driverless: Correctly unlink temporary file when generating
  PPD file (Pull request #220).
- cups-browsed: Fixed memory leaks (Pull request #219).
- foomatic-rip: PDF page count side-loads the PDF file to
  count the pages in, so it cannot be run in -dSAFER mode. Run
  even in -dNOSAFER mode to override the -dSAFER default of
  newer Ghostscript versions. This should not cause a security
  problem as we do not take an input file which could do
  arbitrary side-loads but we run hard-coded PostScript
  commands instead (Issue #216).
- libfontembed: Add checks to the test programs to not
  segfault if the test font file is not found (Pull request
  #214).
- Build System: Let ./configure fail if the supplied test font
  file path (or the default) does not exist (Pull request
  #214), also use the "find" command to find the test font
  file DejaVuSans.ttf under /usr/share/fonts, as every
  distribution has it somewhere else.

1.27.2
------
- foomatic-rip: In some PostScript input files it was possible
  that option settings did not get inserted or lines inserted
  on the wron place (Issue #208, Pull request #210).
- foomatic-rip: For the PDF page count call Ghostscript in
  sandbox mode and fix pointer arithmetics (Pull request
  #212).
- foomatic-rip: Zero-page-job handling changes made the last
  page of PostScript files not printed, also turning one-page
  jobs into zero-page jobs (Issue #200, Issue #206, Issue
  #208, Pull request #209, Pull request #210, Pull request
  #211).
- cups-browsed: check_printer_with_option() function:
  Initialize the value, add further checks, freeing memory and
  stop allocating magic numbers (Pull request #204).
- cups-browsed: Additional checks against crashes in the
  is_local_hostname() function (Ubuntu bug #1863716)

1.27.1
------
- libcupsfilters: Let the PPD generator not put any dashes
  into the PPD option and choice names when translating them
  from IPP attribute names, to avoid that on the
  back-translation by CUPS no double-dashes are
  generated. This broke paper tray selections with tray names
  like "tray-1", "tray-2", ... (Issue #192, Issue #201, Debian
  bug #949315).
- foomatic-rip: Fixed segfault when PRINTER environment
  variable is not supplied.
- pdftopdf, pdftops, gstoraster, gstopdf, gstopxl,
  rastertoescpx, rastertopclx, foomatic-rip: Handle zero-page
  jobs (Issue #117, Pull request #196, Pull request #197, Pull
  request #198, Pull request #200).
- texttopdf: Added support for CJK (double-width) fonts (Issue
  #135, Pull request #199).
- cups-browsed: Switched default for "CreateIPPPrinterQueues"
  from "local-only" to "All". The configure script options
  "--enable-auto-setup-local-only" and
  "--enable-auto-setup-driverless-only" can be used to change
  this default (Debian bug #921252).
- rastertoescpx: Fixed wrong freeing of a buffer.
- pdftops: Added options "crop-to-fit" and "fill" to the
  pdftopdf options which the pstops called by pdftops should
  not apply a second time.
- pdftops: Added missing "-sstdout=%stderr" to Ghostscript
  command line, to assure that all messages are redirected to
  stderr and do not mix up with the output data.

1.27.0
------
- cups-browsed: Eliminate the use of the local CUPS daemon's
  (the CUPS we are attached to) port number completely, so
  that for attaching to an arbitrary local CUPS daemon
  listening on an arbitrary port (or even not listening on
  localhost at all) it is enough to tell cups-browsed the
  domain socket the CUPS daemon is listening on.
- cups-browsed, libcupsfilters: Identify DNS-SD-reported
  printers as of the local CUPS daemon via UUID and not via
  the port on which the local CUPS is listening, as we do not
  always have this port available.
- cups-browsed: Leave the port for legacy CUPS browsing and
  broadcasting on 631, do not use a possible alternative port
  of the CUPS we are attached to. The legacy CUPS servers we
  communicate with are always remote ones.
- libcupsfilters: in the PPD generator prioritize
  print-color-mode-supported against
  pwg-raster-document-type-supported (Issue #186, Pull request
  #188)
- rastertopdf, rastertops, texttopdf, pdftoraster,
  mupdftoraster: Handle zero-page jobs, corrections on
  zero-page job handling (Issue #117)
- cups-browsed: When restarting after a crash make sure that
  local queue names have same upper/lower case as before.
- cups-browsed: Small code improvements to reduce crash
  probability.

1.26.2
------
- cups-browsed: Added crash guards to avoid crashes in case
  the dummy printer entry for a deleted master entry is used.
- cups-browsed: Set the port of the local CUPS daemon to be
  used according to the IPP_PORT environment variable.
- cups-browsed: Eliminated the use of the cupsGetPPD2()
  function of libcups completely, also the remaining calls
  in the record_printer_options() and update_cups_queues()
  functions, the former causing incomplete recording of
  option settings and the latter use of CUPS-generated
  PPDs not working when CUPS is running on a non-standard
  port.
- cups-browsed: Eliminated the use of the cupsGetPPD2()
  function of libcups in queue_overwritten(). The function
  actually loads the queue's PPD file if the queue is on a
  local CUPS on port 631. Due to a bug the function fails if
  an alternative port is used. This lets queue_overwritten()
  always assume that the PPD got removed and therefore the
  queue got overwritten. So queues got released from
  cups-browsed if it was printed on them or if they were
  supposed to be removed on shutdown.
- foomatic-rip: Fixed compilation with -fno-common. Starting
  from the upcoming GCC 10, the default of the -fcommon option
  will change to -fno-common. This causes compilation errors
  in foomatic-rip due to missing "external" declarations.
  (Pull request #184).
2020-05-02 12:04:44 +00:00
archivers archivers/py-lz4: fix path to py-test 2020-04-26 13:29:50 +00:00
audio audio/libopus: remove unknown configure option --enable-ambisonics 2020-05-02 09:58:36 +00:00
benchmarks fio: Couple of SunOS fixes. 2020-04-30 09:42:27 +00:00
biology py-mol: use buildlink for py-numpy 2020-04-27 18:33:18 +00:00
bootstrap bootstrap: fix PR pkg/55217 2020-04-29 20:27:03 +00:00
cad py-gds: updated to 1.5.2 2020-04-27 18:50:26 +00:00
chat (chat/ekg) Fix build by adding .include ../../devel/ncurses/buildlink3.mk 2020-05-02 01:35:20 +00:00
comms asterisk16: Update to 16.10.0 2020-05-01 07:57:36 +00:00
converters converters: Add py-unicode-slugify 2020-05-01 17:50:59 +00:00
cross cross/*-binutils: allow unknown --enable-nls configure option 2020-04-26 09:47:39 +00:00
databases databases/mongodb: remove no-op file from SUBST_FILES 2020-05-01 22:17:18 +00:00
devel tex-luatexbase: tex-luatexbase 2020-05-02 03:01:51 +00:00
distfiles
doc doc: Updated print/cups-base to 2.3.3 2020-05-02 11:48:13 +00:00
editors editors/fileobj: Update to v0.7.97 2020-04-28 15:25:57 +00:00
emulators emulators/caprice32: remove no-op file patterns from SUBST_FILES 2020-05-01 20:11:47 +00:00
filesystems fuse-curlftpfs: Update to 0.9.2 2020-04-21 13:56:25 +00:00
finance finance/ledger: Update to 3.2.0 2020-05-01 11:48:26 +00:00
fonts unifont: update to 13.0.02. 2020-04-28 18:05:52 +00:00
games games/doom2-pwad-struggle: Use DIST_SUBDIR for source archive without version 2020-04-30 16:11:37 +00:00
geography libgeotiff: Update to 1.6.0 2020-04-30 00:11:59 +00:00
graphics graphics/py-cairocffi: remove no-op SUBST block 2020-05-02 10:33:25 +00:00
ham add requisite blank line 2020-04-30 04:55:38 +00:00
inputmethod Needs pkg-config 2020-04-17 13:34:11 +00:00
lang lang/ruby: disable check for unknown configure options 2020-05-02 10:07:53 +00:00
licenses add afl-3.0 (Academic Free License) 2020-04-30 08:40:06 +00:00
mail mail/qmail: doesn't need the errno hack anymore 2020-05-02 10:47:38 +00:00
math R: dependency tex-ifluatex,tex-xetex -> tex-iftex (commented out) 2020-05-02 03:15:56 +00:00
mbone vic: avoid version checking for netbsd 2020-04-29 20:25:46 +00:00
meta-pkgs texlive-collection-basic: remove tex-if{luatex,xetex} 2020-05-02 06:44:26 +00:00
misc Mark as BROKEN since it modifies PREFIX when run as root. 2020-04-30 23:47:20 +00:00
mk sysutils/qlogtools: skip nonexistent error.h when fixing errno 2020-05-02 11:49:40 +00:00
multimedia vlc: Update to 3.0.10 2020-05-01 13:51:54 +00:00
net synergy: update to 1.11.1 2020-05-02 11:36:41 +00:00
news news/cleanscore: Update to 0.9.8.1nb10 2020-04-21 11:16:56 +00:00
packages
parallel openmp: updated to 10.0.0 2020-04-18 08:05:11 +00:00
pkgtools don't need a wildcard here 2020-05-02 10:43:44 +00:00
print cups-filters: Update to 1.27.4 2020-05-02 12:04:44 +00:00
regress regress/tools: reduce the number of backslashes in the code 2020-05-02 08:07:28 +00:00
security security/fail2ban: clean up SUBST block 2020-05-01 20:43:49 +00:00
shells shells/bash-completion: remove no-op SUBST block 2020-05-01 19:59:48 +00:00
sysutils sysutils/qlogtools: skip nonexistent error.h when fixing errno 2020-05-02 11:49:40 +00:00
templates
textproc textproc/py-4Suite: remove no-op pattern from SUBST_FILES 2020-05-02 10:28:42 +00:00
time py-pytz: updated to 2020.1 2020-04-29 07:44:54 +00:00
wm wmx: Remove editor backup file. 2020-04-30 08:03:43 +00:00
www www/py-werkzeug: remove examples/cookieauth.py from SUBST_FILES 2020-05-02 10:14:41 +00:00
x11 put parentheses around more memcpy arguments that trip up GCC 2020-05-02 11:42:13 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +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.

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