FreeBSD Bugzilla – Attachment 213971 Details for
Bug 246074
print/cups-filters: cups-browsed.conf is overwritten on installation/update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Install cups-browsed.conf with @sample mechanism
cups-filters_handle-browsed-config.diff (text/plain), 2.93 KB, created by
Felix Palmen
on 2020-05-01 07:44:45 UTC
(
hide
)
Description:
Install cups-browsed.conf with @sample mechanism
Filename:
MIME Type:
Creator:
Felix Palmen
Created:
2020-05-01 07:44:45 UTC
Size:
2.93 KB
patch
obsolete
>Index: print/cups-filters/Makefile >=================================================================== >--- print/cups-filters/Makefile (revision 533316) >+++ print/cups-filters/Makefile (working copy) >@@ -44,12 +44,12 @@ > --with-test-font-path=/dev/null > INSTALL_TARGET= install-strip > >-OPTIONS_DEFINE= BRAILLE COLORD DOCS >+OPTIONS_DEFINE= BRAILLE COLORD DOCS > OPTIONS_GROUP= FILTERS CUPS_BROWSED > OPTIONS_GROUP_FILTERS= GHOSTSCRIPT IMAGES MUPDF POPPLER > OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP >-OPTIONS_SINGLE= PDFTOPS >-OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER >+OPTIONS_SINGLE= PDFTOPS >+OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER > OPTIONS_DEFAULT= COLORD GHOSTSCRIPT IMAGES AVAHI LDAP PSHYBRID > OPTIONS_SUB= yes > >@@ -84,7 +84,7 @@ > > MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf > MUPDF_RUN_DEPENDS= mutool:graphics/mupdf >-MUPDF_CONFIGURE_ENABLE= mutool >+MUPDF_CONFIGURE_ENABLE= mutool > MUPDF_DESC= PDF-to-raster using MuPDF > > POPPLER_CONFIGURE_ENABLE= poppler >@@ -95,12 +95,12 @@ > > CUPS_BROWSED_DESC= cups-browsed(8) options > >-AVAHI_CONFIGURE_ENABLE= avahi >+AVAHI_CONFIGURE_ENABLE= avahi > AVAHI_CONFIGURE_OFF= --with-browseremoteprotocols=cups > AVAHI_CONFIGURE_ON= --with-browseremoteprotocols="dnssd cups" > AVAHI_DESC= Discover Zeroconf/Bonjour network printers > AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app >-AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon >+AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon > AVAHI_SUB_LIST_OFF= AVAHI_DAEMON= > > LDAP_CONFIGURE_ENABLE= ldap >@@ -115,7 +115,7 @@ > PSGHOSTSCRIPT_DESC= Ghostscript gs(1) > PSGHOSTSCRIPT_IMPLIES= GHOSTSCRIPT > >-PSHYBRID_BUILD_DEPENDS= pdftops:graphics/poppler-utils >+PSHYBRID_BUILD_DEPENDS= pdftops:graphics/poppler-utils > PSHYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils > PSHYBRID_CONFIGURE_ON= --with-pdftops=hybrid > PSHYBRID_DESC= Ghostscript or Poppler depending on printer >@@ -127,8 +127,8 @@ > > PSPOPPLER_BUILD_DEPENDS= pdftops:graphics/poppler-utils > PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils >-PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops >-PSPOPPLER_DESC= Poppler pdftops(1) >+PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops >+PSPOPPLER_DESC= Poppler pdftops(1) > > post-patch: > @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ >@@ -137,4 +137,8 @@ > ${WRKSRC}/utils/cups-browsed.conf.5 \ > ${WRKSRC}/utils/driverless.1 > >+post-install: >+ @${MV} ${STAGEDIR}${LOCALBASE}/etc/cups/cups-browsed.conf \ >+ ${STAGEDIR}${LOCALBASE}/etc/cups/cups-browsed.conf.sample >+ > .include <bsd.port.mk> >Index: print/cups-filters/pkg-plist >=================================================================== >--- print/cups-filters/pkg-plist (revision 533316) >+++ print/cups-filters/pkg-plist (working copy) >@@ -1,7 +1,7 @@ > bin/driverless > bin/foomatic-rip > bin/ttfread >-etc/cups/cups-browsed.conf >+@sample etc/cups/cups-browsed.conf.sample > include/cupsfilters/colord.h > include/cupsfilters/colormanager.h > include/cupsfilters/driver.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246074
: 213971