Clean up final leftovers from Qt4. Submitted by: rene Reviewed by: mat, tcberner Differential Revision: https://reviews.freebsd.org/D20725d2eb50ab00
hplip -- hpssd Denial of Serviceentered 2008-11-29
Drivers and utilities for HP printers and All-in-One devices
# pkg install hplipinstalls 3.26.6 from latest; from quarterly (2026Q4) 3.26.6# cd /usr/ports/print/hplip && make install clean# make -C /usr/ports/print/hplip config # change options first
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.26.6 | 3.26.6 | – |
| FreeBSD 15 | 3.26.6 | 3.26.6 | – |
| FreeBSD 14 | 3.26.6 | 3.26.6 | 3.26.6 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.26.6 | 3.26.6 | – |
| FreeBSD 14 | 3.26.6 | 3.26.6 | 3.26.6 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
pkg audit for the packaged version 3.26.6.Clean up final leftovers from Qt4. Submitted by: rene Reviewed by: mat, tcberner Differential Revision: https://reviews.freebsd.org/D20725d2eb50ab00
print/hplip: Fix runtime with graphics/py-pillow 6.0.0 Fix a possible runtime error in installers/dcheck.py when graphics/py-pillow is updated to 6.0.0, which removed the previously deprecated constant Image.VERSION . PR: 238072, 237426 (related) Approved by: woodsb02 (maintainer)0c4024a80b
Bump a few PORTREVISIONs after r498529 With hat: portmgr63f5eeef8a
print/hplip: remove remnants of QT4 option Approved by: portmgr (implicit)fb845aaf8c
print/hplip: remove QT4 option (Qt4 deprecation) Approved by: portmgr (implicit)a489225ef6
Fix Qt5 symbol version scripts to put the catch-all clause first. When a symbol matches multiple clauses the last one takes precedence. If the catch-all is last it captures everything. In the case of Qt5 libraries this caused all symbols to have a Qt_5 label while some should have Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the catch-all lowest priority. Older versions of Qt5Webengine exported some memory allocation symbols from the bundled Chromium. Version 5.9 stopped exporting these [1] but the symbols were kept as weak wrappers for the standard allocation functions to maintain binary compatibility. [2][3] The problem is that the call to the standard function in these weak wrappers is only resolved to the standard function if there's a call to this standard function in other parts of Qt5Webengine, because only then is there a non-weak symbol that takes precedence over the weak one. If there's no such non-weak symbol the call in the weak wrapper resolves to the weak wrapper itself creating an infinite call loop that overflows the stack and causes a crash. Some of the allocation functions are variants of C++ new and delete and it probably depends on the compiler whether these variants are used in other parts of Qt5Webengine. Remove the weak wrappers (make them Linux specific). This isn't binary compatible but we are already breaking that with the changes to the symbol versions. [1] https://github.com/qt/qtwebengine/commit/5c2cbfccf9aafb547b0b30914c4056abd25942a4 [2] https://github.com/qt/qtwebengine/commit/2ed5054e3a800fa97c2c9e920ba1e6ea4b6ef2a5 [3] https://github.com/qt/qtwebengine/commit/009f5ebb4bd6e50188671e0815a5dae6afe39db5 Bump all ports that depend on Qt5. PR: 234070 Exp-run by: antoine Approved by: kde (adridg)1bf487d3e7
Mark QT4 ports/functionality for removal on 2019-03-15 While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D1774199d6d12a38
pyqt: Change install directories for Python flavor support * PyQt could not be installed for multiple Python versions at the same time, as there were conflicting files. This patch creates Python-version versioned directories for all these, and further installs binaries with a version number. * Note, there might be some hickups for software that depends on on of the .so's provided by PyQt5, which might not be found anymore autmotically, and maybe need some LD-flaggery. * Update PyQt5 to 5.10.1 * Mark www/py-qt5-webengine broken. It is unforuntately no longer compatible with the old qt5-webengine-5.9.4 we ship. PR: 232745 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D8714cc8a667aa2
Add PY_FLAVOR to Python module dependencies. Sponsored by: Absolight8dcaabcd6e
print/hplip: Fix pkg-plist when X11 disabled but QT4 or QT5 enabled PR: 222989 Reported by: freebsd@dreamchaser.org3f74c0178a
print/hplip and print/hplip-plugin: Update to 3.17.11 Changes this release: https://developers.hp.com/hp-linux-imaging-and-printing/release_notes89b406a398
print/hplip and print/hplip-plugin: Fix URL and LICENSE information. The URL change reflects a recent website change by HP, and was preventing print/hplip-plugin from fetching correctly. The LICENSE change reflects the fact that the introductory license to the python source files mention that a later version of the GPL can optionally be used. PR: 224435 PR: 224408 Submitted by: Mason Loring Bliss <mason@blisses.org> Reported by: jhb Reviewed by: jhb MFH: 2017Q4dc2e9866a1
print/hplip and print/hplip-plugin: Update to 3.17.9 Changes this release: http://hplipopensource.com/hplip-web/release_notes.html01e0be3f0e
print/hplip: Fix gui crash due to incorrect reference to /etc/hplip.conf Reported by: Keith <fischerking1905@yahoo.co.jp> MFH: 2017Q31d5b475d0f
print/hplip[-plugin]: Update to 3.17.7 Changes this release: http://hplipopensource.com/hplip-web/release_notes.htmlbef583da78
print/hplip: Update to 3.17.4 Changes this release: http://hplipopensource.com/hplip-web/release_notes.html0f1ce0f48c
print/hplip: Add runtime dependency on devel/py-sip Reported by: Manish Jain <bourne.identity@hotmail.com>44d4ec4bb8
print/hplip: Tidy up options ordering to be alphabetical2c1539af0b
print/hplip: Improve option logic for X11, QT4, QT5 If X11 option is disabled, the configure args should not enable QT4 or QT5, and their dependencies should not be added. PR: 218213 Reported by: Tom Francis <thomas.francis.jr@pobox.com> Reviewed by: Kevin Oberman <rkoberman@gmail.com>5e0d053d34
print/hplip: Add Qt5 support and make Qt5 the default GUI widget set PR: 217814 Submitted by: Kevin Oberman <rkoberman@gmail.com>b7aeb88b93
print/hplip: Apply shebangfix to hpps and pstotiff filters This was causing some print jobs to fail with this error in /var/log/cups/error_log: [Job XX] env: python: No such file or directory [Job XX] PID XXXXX (/usr/local/libexec/cups/filter/hpps) stopped with status 127 (File too large) Tidy up a few other items in the port Makefile whilst here. MFH: 2017Q1141526d5aa
Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports not yet using it to it. Reviewed by: rakuco, mat Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D92614c7d30bb70
- Spell `LICENSE_FILE' variable correctly - Fix some nearby bogosities (when noticed)a83aa892bb
print/hplip and print/hplip-plugin: Update to 3.16.11 Changes this release: http://hplipopensource.com/hplip-web/release_notes.html Approved by: adamw (mentor, implicit)121306ee2b
print/hplip and print/hplip-plugin: Update to 3.16.10 - FAX option now depends on py-reportlab v3 rather than v2 (deprecated) - Clean up RUN_DEPENDS syntax and OPTIONS whitespace - Remove line which set unused variable PYTHON_SITELIBDIR_REL Changes this release: http://hplipopensource.com/hplip-web/release_notes.html Approved by: adamw (mentor, implicit)9f467b36d1
print/hplip: Revert r424931 - do not install static CUPS ppd drivers This was specifically disabled in r410825. The PPD files are generated automatically when you setup a printer and the bundled PPDs are generated for an older version of CUPS. Reported by: tijl Approved by: adamw (mentor, implicit)8227569076
print/hplip: Bump PORTREVISION after r424931 Approved by: adamw (mentor, implicit) MFH: 2016Q4159562ffc0
print/hplip: Enable install of static CUPS ppd drivers This is as per the upstream recommendations here: http://hplipopensource.com/hplip-web/install/manual/distros/freebsd.html Reported by: Michael Wagner <mikepwagner@mikepwagner.net> Approved by: adamw (mentor, implicit) MFH: 2016Q455d10894dd
print/hplip and print/hplip-plugin: Take maintainership Approved by: adamw (mentor, implicit)2ea128e160
Reassign makc's ports back to the pool. See "Maintainer Reset" in https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit was in March 31st (r412218), and his ports have been timing out since at least July (r418155). I also emailed him 2 weeks ago and have received no response so far.366a97ec37
Fix build with CUPS 2.2.x.fb92e8597c
print/hplip and print/hplip-plugin: Update to 3.16.9 Changes this release: http://hplipopensource.com/hplip-web/release_notes.html Approved by: makc (maintainer timeout), mat (mentor) Differential Revision: https://reviews.freebsd.org/D8031a8ac872b69
print/hplip and print/hplip-plugin: Update to 3.16.8
print/hplip:
- Add LICENSE details
- Changes USE_OPENSSL=yes to USES=ssl
- Create empty directories for pkg-plist @dir entries
- Reformat patches with makepatch (pet portlint)
- Move ${PREFIX}/etc/sane.d/dll.conf to ${PREFIX}/etc/sane.d/dll.d/hpaio
during post-install, rather than editing ${PREFIX}/etc/sane.d/dll.conf
during @exec and @unexec during pkg-plist
print/hplip-plugin:
- Re-order LICENSE block (pet portlint)
Changes this release:
http://hplipopensource.com/hplip-web/release_notes.html
Reviewed by: mat (mentor)
Approved by: makc (maintainer timeout), adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D78128d850ed6c5Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight8d6597e0bbRemove pkg-message. It's no longer needed and causing confusion. PR: 2079204ccfcd4411
Fix pkg-plist when FAX option is on.abe394d3ce
Add a patch to print/cups and print/hplip to disable detaching of ulpt(4). This isn't needed on FreeBSD and it always fails because the process doesn't have the required privileges. Add a sample devd configuration file to print/cups that gives users in group cups access to USB printers. [1] Submitted by: hselasky, Alexander Zagrebin <alex@zagrebin.ru> [1]420c6d6b94
Fix plist when SNMP is off PR: 207921 Reviewed by: tijl Approved by: Portmgr blanket approval4cf4b55217
Combine print/cups-base, print/cups-client and print/cups-image into print/cups and update it to 2.1.3. Also remove print/cups-pstoraster, improve print/cups-filters, print/foomatic-* and update print/hplip to 3.16.2. Long description: First some background. When you hand a file to cups it sets up a chain of filter programs that converts the file to something a printer understands. Each filter has a cost associated with it and cups tries to find the cheapest chain. Costs used to be configured in such a way that files were first converted to PostScript. This could then be manipulated further (e.g. putting multiple pages on one sheet) before finally being sent to a PostScript printer or another filter like pstoraster which produces a raster format understood by non-PostScript printer drivers. Nowadays most filters have been moved from cups to cups-filters and they have been configured to use PDF as an intermediate format instead of PostScript. Merging of cups-base, cups-client and cups-image into print/cups: - cups-image provides a library to work with the cups raster format. It is only used to implement filters and printer drivers and these only exist in the context of a cups server so there's no need to separate this from cups-base. - cups-client provides a library that allows applications to print via cups. It is possible to use the library to access a remote cups server without running a local cups server, but such a setup is discouraged and the configuration file to set this up has been marked deprecated. It is better to run a local cups server and let that talk to the remote cups server because then you have the benefits of local job queuing in case the remote server is down or busy. Given this and the fact that without filters cups-base is now smaller than it used to be it makes sense to merge the ports. The patch also adds options IPPTOOL, DOCS and NLS which when disabled make the new cups package smaller than the current cups-client package. Merging the ports also prevents problems with options like ZEROCONF being configured differently in both ports. - print/cups was a metaport that depended on cups-base and some filters. There isn't really a need for such a metaport so cups-base can be renamed to cups. The filters can be depended on by printer drivers such as hplip if they need them. Additional changes to the new print/cups: - Clean up the patches. They seem to have been regenerated with post-patch changes included. - Add a patch to prevent intermediate conversion to PDF when a PostScript file is sent to a PostScript printer when cups-filters is installed. - Fix the PAM configuration file. - Add a patch to let the server search /usr/local/share/ppd like on Linux so other ports don't have to add links to it. - Remove ulpt(4) helper scripts. The port uses libusb with ugen(4). - Remove support for mDNSResponder. cups-filters only supports Avahi. - Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11. - Optionally depend on colord for ICC profile support. - Various smaller changes. Changes to print/cups-filters: - Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead of LOGIN. - Development of foomatic-filters has been moved to cups-filters so let this port install foomatic related files and add foomatic-filters to CONFLICTS. - Fix location of liblouis tables. - Add patch to fix ICC support. Changes to print/cups-pstoraster: This port is essentially an old version of Ghostscript plus a cups filter. It's no longer developed. This commit removes it and changes existing dependencies to print/cups-filters which depends on print/ghostscript* and includes a gstoraster filter that can handle both PostScript and PDF. Changes to print/foomatic-db*: Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX. Changes to print/foomatic-filters: Install beh backend with its original name again and add cups-filters to CONFLICTS. Changes to print/hplip: - Stop installing hpijs/foomatic-rip support. This is no longer supported upstream. - Stop installing hpcups PPDs. These are now automatically generated. The bundled PPDs are generated for an older version of cups. - Rename the QT option to X11 to support WITHOUT_X11. - Simplify the patches now that ports are installed in a staging area. - Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket like avahi-daemon does. This fixes Zeroconf support for HP network printers. PR: 207746 Exp-run by: antoine Approved by: portmgr (antoine)59272d1017
Convert my ports to new options helpersc7c32639cc
- Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base
Installs Ghostscript binary, libgs, and related files.
These ports do not depend on X11 libraries (i.e. x11* devices
are not available). USES=ghostscript will set dependency on
one of them depending on GHOSTSCRIPT_DEFAULT.
The default device is set to "display" or "bbox".
* print/ghostscript{7,8,9,9-agpl}-x11
Installs a shared library which provides X11 support to
the installed Ghostscript binaries. x11* devices will be
enabled when the library is available.
This depends on *-base (RUN_DEPENDS). USES=ghostscript:x11
will set dependency on one of them.
- Fix integer overflow reported as CVE-2015-3228.
- Update Uses/ghostscript.mk:
* Add x11 keyword. nox11 keyword is now obsolete.
* Use packagename in *_DEPENDS line to prevent relationship between
-base and -x11 packages from being broken.
- Fix x11/nox11 keyword and bump PORTREVISION in ports using
USES=ghostscript to update dependency of pre-compiled packages.27470e1676Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript. Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection. Arguments supported: <empty>, build, run, nox11 and agpl PR: 201201 (exp-run) Approved by: portmgr (mat@) Exp run by: antione@ (previous patch) Differential Revision: https://reviews.freebsd.org/D293868f883edfc
Convert to USES=jpeg6e5719ca80
print/hplip: - Update to 3.14.10 [1] - Fix detection of libusb v1.0 and build with it now - Enable JetDirect and scanning support by default (requested by pkg users) - hplip modifies etc/sane.d/dll.conf witch belongs to sane-backends port, and writes to this file in staging area. Add commented entry for it in plist to pacify staging checks.
print/hplip-plugin:
- Update to 3.14.10
- Add missing entry to plist
- Pass MAKE_ENV for installer to prevent writing to ${HOME}
PR 197245 [1]
Submitted by: chris@bsdjunk.come3804536c7Cleanup plist115aba45f3
print/hplip: switch from py-imaging to py-pillow - USES python With hat: python Approved by: portmgr (bdrewery, implicit)665bdeccca
Update the default version of GCC in the Ports Collection from GCC 4.7.4 to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)15945f8122
- Convert to USES=libtool and INSTALL_TARGET=install-strip - Remove references to PTHREAD_LIBSab02e2b2c5
Use foomatic-rip (from print/foomatic-filters) as foomatic-rip-hplip. Discussed at: freebsd-ports@ Tested by: O. Hartmann <ohartman@zedat.fu-berlin.de> Approved by: makc (maintainer) MFH: 2014Q243bfd9dd57
print/hplip: - Update to 3.14.4 - Install statically generated cups ppd files - Add patch to fix ioctl warning print/hplip-plugin: - Update to 3.14.4 - Add stage support via fake hplip installationb584a9b615