Ravenports generated: 15 Apr 2020 06:14
[ravenports.git] / bucket_BA / cups
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               cups
4 VERSION=                2.3.1
5 REVISION=               1
6 KEYWORDS=               print
7 VARIANTS=               standard
8 SDESC[standard]=        Common UNIX Printing System
9 HOMEPAGE=               https://www.cups.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GITHUB/apple:cups:v2.3.1
14 DISTFILE[1]=            generated:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         docs
19                         examples
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 BUILDRUN_DEPENDS=       gnutls:single:standard
25                         libpaper:single:standard
26                         dbus:single:standard
27
28 USERS=                  cups
29 GROUPS=                 cups
30 USERGROUP_SPKG=         primary
31
32 USES=                   cpe gmake iconv pkgconfig
33
34 LICENSE=                APACHE20:primary
35 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
36 LICENSE_FILE=           APACHE20:{{WRKSRC}}/LICENSE.txt
37 LICENSE_AWK=            TERMS:"^$$"
38 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/cups/cups.h
39 LICENSE_SCHEME=         solo
40
41 CPE_VENDOR=             apple
42 FPC_EQUIVALENT=         print/cups
43
44 MUST_CONFIGURE=         gnu
45 CONFIGURE_ARGS=         --enable-libpaper
46                         --enable-gnutls
47                         --enable-dbus
48                         --disable-dnssd
49                         --disable-gssapi
50                         --disable-launchd
51                         --disable-systemd
52                         --disable-avahi
53                         --with-cups-user=cups
54                         --with-cups-group=cups
55                         --with-dbusdir="{{PREFIX}}/etc/dbus-1"
56                         --with-icondir="{{PREFIX}}/share/icons"
57                         --with-menudir="{{PREFIX}}/share/applications"
58                         --with-printcap="{{PREFIX}}/etc/printcap"
59                         --with-rcdir=no
60                         --with-optim=" "
61                         --with-pam-module="unix"
62 CONFIGURE_ENV=          ac_cv_path_JAVA=
63                         ac_cv_path_PERL=
64                         ac_cv_path_PHPCGI=
65                         ac_cv_path_PHP=
66                         ac_cv_path_PYTHON=
67
68 DESTDIRNAME=            DSTROOT
69
70 RC_SUBR=                cupsd:primary
71
72 VAR_OPSYS[freebsd]=     CONFIGURE_ARGS=--with-system-groups=wheel
73 VAR_OPSYS[sunos]=       CONFIGURE_ARGS=LSB_BUILD=y
74                         LDFLAGS=-lrt
75 VAR_OPSYS[dragonfly]=   CONFIGURE_ARGS=--with-system-groups=wheel
76
77 post-patch:
78         ${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in
79         ${REINPLACE_CMD} 's/usblp/ulpt/g' ${WRKSRC}/backend/usb-libusb.c
80         ${REINPLACE_CMD} -e 's|/usr/local/etc/pam.d|${LOCALBASE}/etc/pam.d|' \
81                 -e 's/-fstack-protector//' ${WRKSRC}/configure
82         ${FIND} ${WRKSRC}/doc ${WRKSRC}/templates -type f -exec ${SED} -i'' \
83                 's|http://www.cups.org|https://www.cups.org|g' {} +
84         ${REINPLACE_CMD} '/stripopt=/s/-x//' ${WRKSRC}/install-sh
85         ${GREP} -l '/etc/cups/' ${WRKSRC}/man/*.[1-7] | ${XARGS} \
86                 ${REINPLACE_CMD} 's|/etc/cups|${LOCALBASE}/etc/cups|g'
87         ${REINPLACE_CMD} -e 's|\.default|.sample|'\
88                 -e 's|-g .(.*_GROUP)||g' \
89                 ${WRKSRC}/cgi-bin/admin.c\
90                 ${WRKSRC}/conf/Makefile \
91                 ${WRKSRC}/notifier/Makefile \
92                 ${WRKSRC}/scheduler/Makefile
93
94 post-install:
95         ${LN} -sf lpr ${STAGEDIR}${PREFIX}/bin/lpr-cups
96         @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam.d \
97                 ${STAGEDIR}${PREFIX}/etc/devd \
98                 ${STAGEDIR}${STD_EXAMPLESDIR}
99         ${INSTALL_DATA} ${FILESDIR}/cups.conf.sample \
100                 ${STAGEDIR}${PREFIX}/etc/devd
101         ${INSTALL_DATA} ${FILESDIR}/cups ${STAGEDIR}${PREFIX}/etc/pam.d
102         ${MV} ${STAGEDIR}${PREFIX}/share/cups/examples/* \
103                 ${STAGEDIR}${STD_EXAMPLESDIR}
104         ${RMDIR} ${STAGEDIR}${PREFIX}/share/cups/examples
105         ${RM} ${STAGEDIR}${PREFIX}/etc/cups/*.conf
106
107 post-patch-sunos:
108         ${REINPLACE_CMD} -e '/-o .. ippeveprinter.o/ s/$$/ -lsocket/' \
109                 ${WRKSRC}/tools/Makefile
110         ${REINPLACE_CMD} \
111                 -e '/-o lpd/ s/$$/ -lsocket/' \
112                 -e '/-o ipp/ s/$$/ -lsocket/' \
113                 -e '/-o .* socket\.o/ s/socket\.o/socket.o -lsocket/' \
114                 -e '/snmp \\$$/d' \
115                 ${WRKSRC}/backend/Makefile
116         ${REINPLACE_CMD} \
117                 -e '/-o cups-lpd/ s/$$/ -lsocket/' \
118                 ${WRKSRC}/scheduler/Makefile
119
120 [FILE:228:descriptions/desc.primary]
121 CUPS is the standards-based, open source printing system developed by
122 Apple Inc. for macOS and other UNIX-like operating systems. CUPS uses
123 the Internet Printing Protocol (IPP) to support printing to local and
124 network printers.
125
126
127 [FILE:102:distinfo]
128 c4fb4cb0f56d811166c64eab27661336a9b7cc64a128638e0efb1cbfed5b5d00      8141287 apple-cups-2.3.1.tar.gz
129
130
131 [FILE:13559:manifests/plist.primary]
132 @sample etc/cups/cups-files.conf.sample
133 @sample etc/cups/cupsd.conf.sample
134 @sample etc/cups/snmp.conf.sample
135 @sample etc/devd/cups.conf.sample
136 %%ONLY-DARWIN%%libexec/cups/backend/snmp
137 %%ONLY-DRAGONFLY%%libexec/cups/backend/snmp
138 %%ONLY-DRAGONFLY%%share/cups/usb/org.cups.usb-quirks
139 %%ONLY-FREEBSD%%libexec/cups/backend/snmp
140 %%ONLY-FREEBSD%%share/cups/usb/org.cups.usb-quirks
141 %%ONLY-LINUX%%libexec/cups/backend/snmp
142 bin/
143  cancel
144  cups-config
145  cupstestppd
146  ippeveprinter
147  ipptool
148  lp
149  lpoptions
150  lpq
151  lpr
152  lpr-cups
153  lprm
154  lpstat
155  ppdc
156  ppdhtml
157  ppdi
158  ppdmerge
159  ppdpo
160 etc/dbus-1/system.d/cups.conf
161 etc/pam.d/cups
162 include/cups/
163  adminutil.h
164  array.h
165  backend.h
166  cups.h
167  dir.h
168  file.h
169  http.h
170  ipp.h
171  language.h
172  ppd.h
173  pwg.h
174  raster.h
175  sidechannel.h
176  transcode.h
177  versioning.h
178 lib/
179  libcups.so
180  libcups.so.2
181  libcupsimage.so
182  libcupsimage.so.2
183 libexec/cups/backend/
184  http
185  https
186  ipp
187  ipps
188  lpd
189  socket
190  usb
191 libexec/cups/cgi-bin/
192  admin.cgi
193  classes.cgi
194  help.cgi
195  jobs.cgi
196  printers.cgi
197 libexec/cups/command/
198  ippevepcl
199  ippeveps
200 libexec/cups/daemon/
201  cups-deviced
202  cups-driverd
203  cups-exec
204  cups-lpd
205 libexec/cups/filter/
206  commandtops
207  gziptoany
208  pstops
209  rastertoepson
210  rastertohp
211  rastertolabel
212  rastertopwg
213 libexec/cups/monitor/
214  bcp
215  tbcp
216 libexec/cups/notifier/
217  dbus
218  mailto
219  rss
220 sbin/
221  cupsaccept
222  cupsctl
223  cupsd
224  cupsdisable
225  cupsenable
226  cupsfilter
227  cupsreject
228  lpadmin
229  lpc
230  lpinfo
231  lpmove
232 share/applications/cups.desktop
233 share/cups/drv/sample.drv
234 share/cups/ipptool/
235  cancel-current-job.test
236  color.jpg
237  create-job-format.test
238  create-job-sheets.test
239  create-job-timeout.test
240  create-job.test
241  create-printer-subscription.test
242  cups-create-local-printer.test
243  document-a4.pdf
244  document-a4.ps
245  document-letter.pdf
246  document-letter.ps
247  fax-job.test
248  get-completed-jobs.test
249  get-devices.test
250  get-job-attributes.test
251  get-job-attributes2.test
252  get-job-template-attributes.test
253  get-jobs.test
254  get-notifications.test
255  get-ppd-printer.test
256  get-ppd.test
257  get-ppds-drv-only.test
258  get-ppds-language.test
259  get-ppds-make-and-model.test
260  get-ppds-make.test
261  get-ppds-product.test
262  get-ppds-psversion.test
263  get-ppds.test
264  get-printer-attributes-suite.test
265  get-printer-attributes.test
266  get-printer-description-attributes.test
267  get-printers-printer-id.test
268  get-printers.test
269  get-subscriptions.test
270  gray.jpg
271  identify-printer-display.test
272  identify-printer-multiple.test
273  identify-printer.test
274  ipp-1.1.test
275  ipp-2.0.test
276  ipp-2.1.test
277  ipp-2.2.test
278  ipp-backend.test
279  ipp-everywhere.test
280  onepage-a4.pdf
281  onepage-a4.ps
282  onepage-letter.pdf
283  onepage-letter.ps
284  print-job-and-wait.test
285  print-job-deflate.test
286  print-job-gzip.test
287  print-job-hold.test
288  print-job-letter.test
289  print-job-manual.test
290  print-job-media-col.test
291  print-job-password.test
292  print-job.test
293  print-uri.test
294  set-attrs-hold.test
295  testfile.jpg
296  testfile.pcl
297  testfile.pdf
298  testfile.ps
299  testfile.txt
300  validate-job.test
301 share/cups/mime/
302  mime.convs
303  mime.types
304 share/cups/ppdc/
305  epson.h
306  font.defs
307  hp.h
308  label.h
309  media.defs
310  raster.defs
311 share/cups/templates/
312  add-class.tmpl
313  add-printer.tmpl
314  admin.tmpl
315  choose-device.tmpl
316  choose-make.tmpl
317  choose-model.tmpl
318  choose-serial.tmpl
319  choose-uri.tmpl
320  class-added.tmpl
321  class-confirm.tmpl
322  class-deleted.tmpl
323  class-jobs-header.tmpl
324  class-modified.tmpl
325  class.tmpl
326  classes-header.tmpl
327  classes.tmpl
328  command.tmpl
329  edit-config.tmpl
330  error-op.tmpl
331  error.tmpl
332  header.tmpl
333  help-header.tmpl
334  help-printable.tmpl
335  help-trailer.tmpl
336  job-cancel.tmpl
337  job-hold.tmpl
338  job-move.tmpl
339  job-moved.tmpl
340  job-release.tmpl
341  job-restart.tmpl
342  jobs-header.tmpl
343  jobs.tmpl
344  list-available-printers.tmpl
345  modify-class.tmpl
346  modify-printer.tmpl
347  norestart.tmpl
348  option-boolean.tmpl
349  option-conflict.tmpl
350  option-header.tmpl
351  option-pickmany.tmpl
352  option-pickone.tmpl
353  option-trailer.tmpl
354  pager.tmpl
355  printer-accept.tmpl
356  printer-added.tmpl
357  printer-cancel-jobs.tmpl
358  printer-configured.tmpl
359  printer-confirm.tmpl
360  printer-default.tmpl
361  printer-deleted.tmpl
362  printer-jobs-header.tmpl
363  printer-modified.tmpl
364  printer-reject.tmpl
365  printer-start.tmpl
366  printer-stop.tmpl
367  printer.tmpl
368  printers-header.tmpl
369  printers.tmpl
370  restart.tmpl
371  search.tmpl
372  set-printer-options-header.tmpl
373  set-printer-options-trailer.tmpl
374  test-page.tmpl
375  trailer.tmpl
376  users.tmpl
377 share/cups/templates/de/
378  add-class.tmpl
379  add-printer.tmpl
380  admin.tmpl
381  choose-device.tmpl
382  choose-make.tmpl
383  choose-model.tmpl
384  choose-serial.tmpl
385  choose-uri.tmpl
386  class-added.tmpl
387  class-confirm.tmpl
388  class-deleted.tmpl
389  class-jobs-header.tmpl
390  class-modified.tmpl
391  class.tmpl
392  classes-header.tmpl
393  classes.tmpl
394  command.tmpl
395  edit-config.tmpl
396  error-op.tmpl
397  error.tmpl
398  header.tmpl
399  help-header.tmpl
400  help-printable.tmpl
401  help-trailer.tmpl
402  job-cancel.tmpl
403  job-hold.tmpl
404  job-move.tmpl
405  job-moved.tmpl
406  job-release.tmpl
407  job-restart.tmpl
408  jobs-header.tmpl
409  jobs.tmpl
410  list-available-printers.tmpl
411  modify-class.tmpl
412  modify-printer.tmpl
413  norestart.tmpl
414  option-boolean.tmpl
415  option-conflict.tmpl
416  option-header.tmpl
417  option-pickmany.tmpl
418  option-pickone.tmpl
419  option-trailer.tmpl
420  pager.tmpl
421  printer-accept.tmpl
422  printer-added.tmpl
423  printer-cancel-jobs.tmpl
424  printer-configured.tmpl
425  printer-confirm.tmpl
426  printer-default.tmpl
427  printer-deleted.tmpl
428  printer-jobs-header.tmpl
429  printer-modified.tmpl
430  printer-reject.tmpl
431  printer-start.tmpl
432  printer-stop.tmpl
433  printer.tmpl
434  printers-header.tmpl
435  printers.tmpl
436  restart.tmpl
437  search.tmpl
438  set-printer-options-header.tmpl
439  set-printer-options-trailer.tmpl
440  test-page.tmpl
441  trailer.tmpl
442  users.tmpl
443 share/cups/templates/es/
444  add-class.tmpl
445  add-printer.tmpl
446  admin.tmpl
447  choose-device.tmpl
448  choose-make.tmpl
449  choose-model.tmpl
450  choose-serial.tmpl
451  choose-uri.tmpl
452  class-added.tmpl
453  class-confirm.tmpl
454  class-deleted.tmpl
455  class-jobs-header.tmpl
456  class-modified.tmpl
457  class.tmpl
458  classes-header.tmpl
459  classes.tmpl
460  command.tmpl
461  edit-config.tmpl
462  error-op.tmpl
463  error.tmpl
464  header.tmpl
465  help-header.tmpl
466  help-printable.tmpl
467  help-trailer.tmpl
468  job-cancel.tmpl
469  job-hold.tmpl
470  job-move.tmpl
471  job-moved.tmpl
472  job-release.tmpl
473  job-restart.tmpl
474  jobs-header.tmpl
475  jobs.tmpl
476  list-available-printers.tmpl
477  modify-class.tmpl
478  modify-printer.tmpl
479  norestart.tmpl
480  option-boolean.tmpl
481  option-conflict.tmpl
482  option-header.tmpl
483  option-pickmany.tmpl
484  option-pickone.tmpl
485  option-trailer.tmpl
486  pager.tmpl
487  printer-accept.tmpl
488  printer-added.tmpl
489  printer-cancel-jobs.tmpl
490  printer-configured.tmpl
491  printer-confirm.tmpl
492  printer-default.tmpl
493  printer-deleted.tmpl
494  printer-jobs-header.tmpl
495  printer-modified.tmpl
496  printer-reject.tmpl
497  printer-start.tmpl
498  printer-stop.tmpl
499  printer.tmpl
500  printers-header.tmpl
501  printers.tmpl
502  restart.tmpl
503  search.tmpl
504  set-printer-options-header.tmpl
505  set-printer-options-trailer.tmpl
506  test-page.tmpl
507  trailer.tmpl
508  users.tmpl
509 share/cups/templates/fr/
510  add-class.tmpl
511  add-printer.tmpl
512  admin.tmpl
513  choose-device.tmpl
514  choose-make.tmpl
515  choose-model.tmpl
516  choose-serial.tmpl
517  choose-uri.tmpl
518  class-added.tmpl
519  class-confirm.tmpl
520  class-deleted.tmpl
521  class-jobs-header.tmpl
522  class-modified.tmpl
523  class.tmpl
524  classes-header.tmpl
525  classes.tmpl
526  command.tmpl
527  edit-config.tmpl
528  error-op.tmpl
529  error.tmpl
530  header.tmpl
531  help-header.tmpl
532  help-printable.tmpl
533  help-trailer.tmpl
534  job-cancel.tmpl
535  job-hold.tmpl
536  job-move.tmpl
537  job-moved.tmpl
538  job-release.tmpl
539  job-restart.tmpl
540  jobs-header.tmpl
541  jobs.tmpl
542  list-available-printers.tmpl
543  modify-class.tmpl
544  modify-printer.tmpl
545  norestart.tmpl
546  option-boolean.tmpl
547  option-conflict.tmpl
548  option-header.tmpl
549  option-pickmany.tmpl
550  option-pickone.tmpl
551  option-trailer.tmpl
552  pager.tmpl
553  printer-accept.tmpl
554  printer-added.tmpl
555  printer-cancel-jobs.tmpl
556  printer-configured.tmpl
557  printer-confirm.tmpl
558  printer-default.tmpl
559  printer-deleted.tmpl
560  printer-jobs-header.tmpl
561  printer-modified.tmpl
562  printer-reject.tmpl
563  printer-start.tmpl
564  printer-stop.tmpl
565  printer.tmpl
566  printers-header.tmpl
567  printers.tmpl
568  restart.tmpl
569  search.tmpl
570  set-printer-options-header.tmpl
571  set-printer-options-trailer.tmpl
572  test-page.tmpl
573  trailer.tmpl
574  users.tmpl
575 share/cups/templates/ja/
576  add-class.tmpl
577  add-printer.tmpl
578  admin.tmpl
579  choose-device.tmpl
580  choose-make.tmpl
581  choose-model.tmpl
582  choose-serial.tmpl
583  choose-uri.tmpl
584  class-added.tmpl
585  class-confirm.tmpl
586  class-deleted.tmpl
587  class-jobs-header.tmpl
588  class-modified.tmpl
589  class.tmpl
590  classes-header.tmpl
591  classes.tmpl
592  command.tmpl
593  edit-config.tmpl
594  error-op.tmpl
595  error.tmpl
596  header.tmpl
597  help-header.tmpl
598  help-printable.tmpl
599  help-trailer.tmpl
600  job-cancel.tmpl
601  job-hold.tmpl
602  job-move.tmpl
603  job-moved.tmpl
604  job-release.tmpl
605  job-restart.tmpl
606  jobs-header.tmpl
607  jobs.tmpl
608  list-available-printers.tmpl
609  modify-class.tmpl
610  modify-printer.tmpl
611  norestart.tmpl
612  option-boolean.tmpl
613  option-conflict.tmpl
614  option-header.tmpl
615  option-pickmany.tmpl
616  option-pickone.tmpl
617  option-trailer.tmpl
618  pager.tmpl
619  printer-accept.tmpl
620  printer-added.tmpl
621  printer-cancel-jobs.tmpl
622  printer-configured.tmpl
623  printer-confirm.tmpl
624  printer-default.tmpl
625  printer-deleted.tmpl
626  printer-jobs-header.tmpl
627  printer-modified.tmpl
628  printer-reject.tmpl
629  printer-start.tmpl
630  printer-stop.tmpl
631  printer.tmpl
632  printers-header.tmpl
633  printers.tmpl
634  restart.tmpl
635  search.tmpl
636  set-printer-options-header.tmpl
637  set-printer-options-trailer.tmpl
638  test-page.tmpl
639  trailer.tmpl
640  users.tmpl
641 share/cups/templates/pt_BR/
642  add-class.tmpl
643  add-printer.tmpl
644  admin.tmpl
645  choose-device.tmpl
646  choose-make.tmpl
647  choose-model.tmpl
648  choose-serial.tmpl
649  choose-uri.tmpl
650  class-added.tmpl
651  class-confirm.tmpl
652  class-deleted.tmpl
653  class-jobs-header.tmpl
654  class-modified.tmpl
655  class.tmpl
656  classes-header.tmpl
657  classes.tmpl
658  command.tmpl
659  edit-config.tmpl
660  error-op.tmpl
661  error.tmpl
662  header.tmpl
663  help-header.tmpl
664  help-printable.tmpl
665  help-trailer.tmpl
666  job-cancel.tmpl
667  job-hold.tmpl
668  job-move.tmpl
669  job-moved.tmpl
670  job-release.tmpl
671  job-restart.tmpl
672  jobs-header.tmpl
673  jobs.tmpl
674  list-available-printers.tmpl
675  modify-class.tmpl
676  modify-printer.tmpl
677  norestart.tmpl
678  option-boolean.tmpl
679  option-conflict.tmpl
680  option-header.tmpl
681  option-pickmany.tmpl
682  option-pickone.tmpl
683  option-trailer.tmpl
684  pager.tmpl
685  printer-accept.tmpl
686  printer-added.tmpl
687  printer-cancel-jobs.tmpl
688  printer-configured.tmpl
689  printer-confirm.tmpl
690  printer-default.tmpl
691  printer-deleted.tmpl
692  printer-jobs-header.tmpl
693  printer-modified.tmpl
694  printer-reject.tmpl
695  printer-start.tmpl
696  printer-stop.tmpl
697  printer.tmpl
698  printers-header.tmpl
699  printers.tmpl
700  restart.tmpl
701  search.tmpl
702  set-printer-options-header.tmpl
703  set-printer-options-trailer.tmpl
704  test-page.tmpl
705  trailer.tmpl
706  users.tmpl
707 share/cups/templates/ru/
708  add-class.tmpl
709  add-printer.tmpl
710  admin.tmpl
711  choose-device.tmpl
712  choose-make.tmpl
713  choose-model.tmpl
714  choose-serial.tmpl
715  choose-uri.tmpl
716  class-added.tmpl
717  class-confirm.tmpl
718  class-deleted.tmpl
719  class-jobs-header.tmpl
720  class-modified.tmpl
721  class.tmpl
722  classes-header.tmpl
723  classes.tmpl
724  command.tmpl
725  edit-config.tmpl
726  error-op.tmpl
727  error.tmpl
728  header.tmpl
729  help-header.tmpl
730  help-printable.tmpl
731  help-trailer.tmpl
732  job-cancel.tmpl
733  job-hold.tmpl
734  job-move.tmpl
735  job-moved.tmpl
736  job-release.tmpl
737  job-restart.tmpl
738  jobs-header.tmpl
739  jobs.tmpl
740  list-available-printers.tmpl
741  modify-class.tmpl
742  modify-printer.tmpl
743  norestart.tmpl
744  option-boolean.tmpl
745  option-conflict.tmpl
746  option-header.tmpl
747  option-pickmany.tmpl
748  option-pickone.tmpl
749  option-trailer.tmpl
750  pager.tmpl
751  printer-accept.tmpl
752  printer-added.tmpl
753  printer-cancel-jobs.tmpl
754  printer-configured.tmpl
755  printer-confirm.tmpl
756  printer-default.tmpl
757  printer-deleted.tmpl
758  printer-jobs-header.tmpl
759  printer-modified.tmpl
760  printer-reject.tmpl
761  printer-start.tmpl
762  printer-stop.tmpl
763  printer.tmpl
764  printers-header.tmpl
765  printers.tmpl
766  restart.tmpl
767  search.tmpl
768  set-printer-options-header.tmpl
769  set-printer-options-trailer.tmpl
770  test-page.tmpl
771  trailer.tmpl
772  users.tmpl
773 share/icons/hicolor/128x128/apps/cups.png
774 share/icons/hicolor/16x16/apps/cups.png
775 share/icons/hicolor/32x32/apps/cups.png
776 share/icons/hicolor/64x64/apps/cups.png
777 share/locale/ca/cups_ca.po
778 share/locale/cs/cups_cs.po
779 share/locale/de/cups_de.po
780 share/locale/en/cups_en.po
781 share/locale/es/cups_es.po
782 share/locale/fr/cups_fr.po
783 share/locale/it/cups_it.po
784 share/locale/ja/cups_ja.po
785 share/locale/pt_BR/cups_pt_BR.po
786 share/locale/ru/cups_ru.po
787 share/locale/zh_CN/cups_zh_CN.po
788 share/man/man1/
789  cancel.1.gz
790  cups-config.1.gz
791  cups.1.gz
792  cupstestppd.1.gz
793  ippeveprinter.1.gz
794  ipptool.1.gz
795  lp.1.gz
796  lpoptions.1.gz
797  lpq.1.gz
798  lpr.1.gz
799  lprm.1.gz
800  lpstat.1.gz
801  ppdc.1.gz
802  ppdhtml.1.gz
803  ppdi.1.gz
804  ppdmerge.1.gz
805  ppdpo.1.gz
806 share/man/man5/
807  classes.conf.5.gz
808  client.conf.5.gz
809  cups-files.conf.5.gz
810  cups-snmp.conf.5.gz
811  cupsd-logs.5.gz
812  cupsd.conf.5.gz
813  ipptoolfile.5.gz
814  mailto.conf.5.gz
815  mime.convs.5.gz
816  mime.types.5.gz
817  ppdcfile.5.gz
818  printers.conf.5.gz
819  subscriptions.conf.5.gz
820 share/man/man7/
821  backend.7.gz
822  filter.7.gz
823  ippevepcl.7.gz
824  ippeveps.7.gz
825  notifier.7.gz
826 share/man/man8/
827  cups-deviced.8.gz
828  cups-driverd.8.gz
829  cups-exec.8.gz
830  cups-lpd.8.gz
831  cups-snmp.8.gz
832  cupsaccept.8.gz
833  cupsctl.8.gz
834  cupsd-helper.8.gz
835  cupsd.8.gz
836  cupsdisable.8.gz
837  cupsenable.8.gz
838  cupsfilter.8.gz
839  cupsreject.8.gz
840  lpadmin.8.gz
841  lpc.8.gz
842  lpinfo.8.gz
843  lpmove.8.gz
844 @dir /var/log/cups
845 @dir /var/run/cups
846 @dir libexec/cups/driver
847 @dir share/cups/banners
848 @dir share/cups/data
849 @dir share/cups/model
850 @dir share/cups/profiles
851 @dir(,cups,) etc/cups/ppd
852 @dir(,cups,1770) /var/spool/cups/tmp
853 @dir(,cups,700) etc/cups/ssl
854 @dir(,cups,775) /var/cache/cups/rss
855 @dir(cups,,511) /var/run/cups/certs
856 @postexec chmod 710 /var/spool/cups && chgrp cups /var/spool/cups
857 @postexec chmod 770 /var/cache/cups && chgrp cups /var/cache/cups
858
859
860 [FILE:1837:manifests/plist.docs]
861 share/doc/cups/
862  apple-touch-icon.png
863  cups-printable.css
864  cups.css
865  index.html
866  robots.txt
867 share/doc/cups/de/index.html
868 share/doc/cups/es/index.html
869 share/doc/cups/help/
870  accounting.html
871  admin.html
872  api-admin.html
873  api-filter.html
874  api-ppd.html
875  api-raster.html
876  cgi.html
877  cupspm.html
878  encryption.html
879  firewalls.html
880  glossary.html
881  kerberos.html
882  license.html
883  man-backend.html
884  man-cancel.html
885  man-classes.conf.html
886  man-client.conf.html
887  man-cups-config.html
888  man-cups-files.conf.html
889  man-cups-lpd.html
890  man-cups-snmp.html
891  man-cups.html
892  man-cupsaccept.html
893  man-cupsd-helper.html
894  man-cupsd-logs.html
895  man-cupsd.conf.html
896  man-cupsd.html
897  man-cupsenable.html
898  man-cupstestppd.html
899  man-filter.html
900  man-ippevepcl.html
901  man-ippeveprinter.html
902  man-ipptool.html
903  man-ipptoolfile.html
904  man-lp.html
905  man-lpadmin.html
906  man-lpc.html
907  man-lpinfo.html
908  man-lpmove.html
909  man-lpoptions.html
910  man-lpq.html
911  man-lpr.html
912  man-lprm.html
913  man-lpstat.html
914  man-mime.convs.html
915  man-mime.types.html
916  man-notifier.html
917  man-ppdc.html
918  man-ppdhtml.html
919  man-ppdi.html
920  man-ppdmerge.html
921  man-ppdpo.html
922  man-printers.conf.html
923  man-subscriptions.conf.html
924  network.html
925  options.html
926  overview.html
927  policies.html
928  postscript-driver.html
929  ppd-compiler.html
930  raster-driver.html
931  ref-ppdcfile.html
932  security.html
933  sharing.html
934  spec-banner.html
935  spec-command.html
936  spec-design.html
937  spec-ipp.html
938  spec-ppd.html
939  spec-raster.html
940  spec-stp.html
941  translation.html
942 share/doc/cups/images/
943  color-wheel.png
944  cups-block-diagram.png
945  cups-command-chain.png
946  cups-icon.png
947  cups-postscript-chain.png
948  cups-raster-chain.png
949  cups.png
950  generic.png
951  left.gif
952  raster-organization.png
953  raster.png
954  right.gif
955  sample-image.png
956  sel.gif
957  smiley.jpg
958  unsel.gif
959  wait.gif
960 share/doc/cups/ja/index.html
961 share/doc/cups/pt_BR/index.html
962 share/doc/cups/ru/index.html
963
964
965 [FILE:193:manifests/plist.examples]
966 share/examples/cups/
967  color.drv
968  constraint.drv
969  custom.drv
970  grouping.drv
971  laserjet-basic.drv
972  laserjet-pjl.drv
973  minimum.drv
974  postscript.drv
975  r300-basic.drv
976  r300-colorman.drv
977  r300-remote.drv
978
979
980 [FILE:1240:patches/patch-backend_socket.c]
981 --- backend/socket.c.orig       2019-12-13 14:44:10 UTC
982 +++ backend/socket.c
983 @@ -292,7 +292,6 @@ main(int  argc,                             /* I - Number of comm
984    */
985  
986    fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port);
987 -  _cupsLangPrintFilter(stderr, "INFO", _("Connecting to printer."));
988  
989    for (delay = 5;;)
990    {
991 @@ -372,7 +371,6 @@ main(int  argc,                             /* I - Number of comm
992    }
993  
994    fputs("STATE: -connecting-to-device\n", stderr);
995 -  _cupsLangPrintFilter(stderr, "INFO", _("Connected to printer."));
996  
997    fprintf(stderr, "DEBUG: Connected to %s:%d...\n",
998           httpAddrString(&(addr->addr), addrname, sizeof(addrname)),
999 @@ -403,7 +401,7 @@ main(int  argc,                             /* I - Number of comm
1000        tbytes = bytes;
1001  
1002      if (print_fd != 0 && tbytes >= 0)
1003 -      _cupsLangPrintFilter(stderr, "INFO", _("Print file sent."));
1004 +      fputs("DEBUG: Print file sent.\n", stderr);
1005    }
1006  
1007    fputs("STATE: +cups-waiting-for-job-completed\n", stderr);
1008 @@ -414,7 +412,7 @@ main(int  argc,                             /* I - Number of comm
1009      * Shutdown the socket and wait for the other end to finish...
1010      */
1011  
1012 -    _cupsLangPrintFilter(stderr, "INFO", _("Waiting for printer to finish."));
1013 +    fputs("DEBUG: Waiting for printer to finish.\n", stderr);
1014  
1015      shutdown(device_fd, 1);
1016  
1017
1018
1019 [FILE:362:patches/patch-backend_usb-libusb.c]
1020 --- backend/usb-libusb.c.orig   2019-12-13 14:44:10 UTC
1021 +++ backend/usb-libusb.c
1022 @@ -1436,7 +1436,7 @@ open_device(usb_printer_t *printer,       /* I
1023    * works without the module attached.
1024    */
1025  
1026 -  errcode = libusb_kernel_driver_active(printer->handle, printer->iface);
1027 +  errcode = 0;
1028    if (errcode == 0)
1029      printer->usblp_attached = 0;
1030    else if (errcode == 1)
1031
1032
1033 [FILE:582:patches/patch-conf_mime.convs.in]
1034 Lower PostScript-to-PostScript cost such that PostScript files are sent to
1035 PostScript printers directly without intermediate conversion to PDF, see
1036 http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_standard_print_job_format
1037
1038 --- conf/mime.convs.in.orig     2019-12-13 14:44:10 UTC
1039 +++ conf/mime.convs.in
1040 @@ -33,7 +33,7 @@
1041  # PostScript filters
1042  #
1043  
1044 -application/postscript         application/vnd.cups-postscript 66      pstops
1045 +application/postscript         application/vnd.cups-postscript 65      pstops
1046  
1047  ########################################################################
1048  #
1049
1050
1051 [FILE:3454:patches/patch-configure]
1052 --- configure.orig      2019-12-13 14:44:10 UTC
1053 +++ configure
1054 @@ -5691,7 +5691,7 @@ fi
1055  
1056  
1057  case $host_os_name in
1058 -        darwin* | *bsd*)
1059 +        darwin* | *bsd* | dragonfly* | solaris*)
1060                  ARFLAGS="-rcv"
1061                  ;;
1062          *)
1063 @@ -5775,7 +5775,6 @@ fi
1064  fi
1065  LIBS="$SAVELIBS"
1066  
1067 -DBUSDIR=""
1068  DBUS_NOTIFIER=""
1069  DBUS_NOTIFIERLIBS=""
1070  
1071 @@ -6358,7 +6357,7 @@ _ACEOF
1072  # Locale data
1073  if test "$localedir" = "\${datarootdir}/locale"; then
1074         case "$host_os_name" in
1075 -               linux* | gnu* | *bsd* | darwin*)
1076 +               linux* | gnu* | *bsd* | dragonfly*| darwin* | solaris*)
1077                         CUPS_LOCALEDIR="$datarootdir/locale"
1078                         ;;
1079  
1080 @@ -6412,11 +6411,15 @@ _ACEOF
1081  
1082  # Server executables...
1083  case "$host_os_name" in
1084 -       *bsd* | darwin*)
1085 +       *bsd* | dragonfly* | darwin* | solaris*)
1086                 # *BSD and Darwin (macOS)
1087                 INSTALL_SYSV=""
1088                 CUPS_SERVERBIN="$exec_prefix/libexec/cups"
1089                 ;;
1090 +       linux*)
1091 +               INSTALL_SYSV="install-sysv"
1092 +               CUPS_SERVERBIN="$exec_prefix/libexec/cups"
1093 +               ;;
1094         *)
1095                 # All others
1096                 INSTALL_SYSV="install-sysv"
1097 @@ -6473,7 +6476,7 @@ fi
1098  
1099  if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
1100         case "$host_os_name" in
1101 -               darwin* | linux* | gnu* | *bsd*)
1102 +               darwin* | linux* | gnu* | *bsd* | dragonfly* | solaris*)
1103                         # Darwin, macOS, Linux, GNU HURD, and *BSD
1104                         mandir="/usr/share/man"
1105                         ;;
1106 @@ -6511,7 +6514,7 @@ if test x$enable_shared != xno; then
1107                         DSOXX="\$(CXX)"
1108                         DSOFLAGS="$DSOFLAGS -Wl,-h\`basename \$@\` -G"
1109                         ;;
1110 -               linux* | gnu* | *bsd*)
1111 +               linux* | gnu* | *bsd* | dragonfly*)
1112                         LIBCUPS="lib$cupsbase.so.2"
1113                         if test "x$cupsimagebase" != x; then
1114                                 LIBCUPSIMAGE="lib$cupsimagebase.so.2"
1115 @@ -6585,12 +6588,11 @@ if test "$DSO" != ":"; then
1116                                 EXPORT_LDFLAGS="-R$libdir"
1117                         fi
1118                         ;;
1119 -                *bsd*)
1120 +                *bsd* | dragonfly*)
1121                          # *BSD...
1122                         if test $exec_prefix != /usr; then
1123                                 DSOFLAGS="-Wl,-R$libdir $DSOFLAGS"
1124                                 LDFLAGS="$LDFLAGS -Wl,-R$libdir"
1125 -                               EXPORT_LDFLAGS="-Wl,-R$libdir"
1126                         fi
1127                         ;;
1128                  linux* | gnu*)
1129 @@ -6806,13 +6808,13 @@ if test -n "$GCC"; then
1130                 OPTIM="-fPIC $OPTIM"
1131         fi
1132  
1133 -       # The -fstack-protector option is available with some versions of
1134 +       # The  option is available with some versions of
1135         # GCC and adds "stack canaries" which detect when the return address
1136         # has been overwritten, preventing many types of exploit attacks.
1137 -       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fstack-protector" >&5
1138 -$as_echo_n "checking whether compiler supports -fstack-protector... " >&6; }
1139 +       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports " >&5
1140 +$as_echo_n "checking whether compiler supports ... " >&6; }
1141         OLDCFLAGS="$CFLAGS"
1142 -       CFLAGS="$CFLAGS -fstack-protector"
1143 +       CFLAGS="$CFLAGS "
1144         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1145  /* end confdefs.h.  */
1146  
1147 @@ -6829,7 +6831,7 @@ if ac_fn_c_try_link "$LINENO"; then :
1148                         # Can't use stack-protector with LSB binaries...
1149                         OPTIM="$OPTIM -fno-stack-protector"
1150                 else
1151 -                       OPTIM="$OPTIM -fstack-protector"
1152 +                       OPTIM="$OPTIM "
1153                 fi
1154                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1155  $as_echo "yes" >&6; }
1156 @@ -8562,13 +8564,7 @@ fi
1157                         PAMLIBS="-lpam"
1158                 fi
1159  
1160 -               # Find the PAM configuration directory, if any...
1161 -               for dir in /private/etc/pam.d /etc/pam.d; do
1162 -                       if test -d $dir; then
1163 -                               PAMDIR=$dir
1164 -                               break;
1165 -                       fi
1166 -               done
1167 +               PAMDIR=/raven/etc/pam.d
1168         fi
1169  
1170         LIBS="$SAVELIBS"
1171
1172
1173 [FILE:487:patches/patch-cups_getifaddrs-internal.h]
1174 --- cups/getifaddrs-internal.h.orig     2019-12-13 14:44:10 UTC
1175 +++ cups/getifaddrs-internal.h
1176 @@ -28,6 +28,14 @@
1177  #    define CUPS_SOCAST
1178  #  endif /* _WIN32 */
1179  
1180 +#  if defined(__DragonFly__) || defined(__FreeBSD__)
1181 +#    include <netinet/in.h>
1182 +#  endif
1183 +
1184 +#  if !defined(_WIN32) && !defined(HAVE_GETIFADDRS)
1185 +#    include <cups/versioning.h>
1186 +#  endif
1187 +
1188  #  if defined(__APPLE__) && !defined(_SOCKLEN_T)
1189  /*
1190   * macOS 10.2.x does not define socklen_t, and in fact uses an int instead of
1191
1192
1193 [FILE:775:patches/patch-scheduler_auth.c]
1194 --- scheduler/auth.c.orig       2019-12-13 14:44:10 UTC
1195 +++ scheduler/auth.c
1196 @@ -441,7 +441,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I
1197  
1198      peersize = sizeof(peercred);
1199  
1200 -#  ifdef __APPLE__
1201 +#  if defined(__APPLE__) || defined(__FreeBSD__)
1202      if (getsockopt(httpGetFd(con->http), 0, LOCAL_PEERCRED, &peercred, &peersize))
1203  #  else
1204      if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred, &peersize))
1205 @@ -839,7 +839,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I
1206  
1207        peersize = sizeof(peercred);
1208  
1209 -#    ifdef __APPLE__
1210 +#    if defined(__APPLE__) || defined(__FreeBSD__)
1211        if (getsockopt(httpGetFd(con->http), 0, LOCAL_PEERCRED, &peercred, &peersize))
1212  #    else
1213        if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred,
1214
1215
1216 [FILE:468:patches/patch-scheduler_client.c]
1217 --- scheduler/client.c.orig     2019-12-13 14:44:10 UTC
1218 +++ scheduler/client.c
1219 @@ -3519,8 +3519,8 @@ pipe_command(cupsd_client_t *con, /* I -
1220    * Then execute the command...
1221    */
1222  
1223 -  if (cupsdStartProcess(command, argv, envp, infile, fds[1], CGIPipes[1],
1224 -                       -1, -1, root, DefaultProfile, NULL, &pid) < 0)
1225 +  if (!cupsdStartProcess(command, argv, envp, infile, fds[1], CGIPipes[1],
1226 +                        -1, -1, root, DefaultProfile, NULL, &pid))
1227    {
1228     /*
1229      * Error - can't fork!
1230
1231
1232 [FILE:683:patches/patch-scheduler_cups-driverd.cxx]
1233 --- scheduler/cups-driverd.cxx.orig     2019-12-13 14:44:10 UTC
1234 +++ scheduler/cups-driverd.cxx
1235 @@ -909,7 +909,7 @@ get_file(const char *name,          /* I - Name
1236    }
1237    else
1238  
1239 -#elif defined(__linux)
1240 +#elif defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__)
1241    if (!strncmp(name, "lsb/usr/", 8))
1242    {
1243     /*
1244 @@ -1089,7 +1089,7 @@ list_ppds(int        request_id,  /* I -
1245    load_ppds("/System/Library/Printers/PPDs/Contents/Resources/en.lproj",
1246              "System/Library/Printers/PPDs/Contents/Resources/en.lproj", 0);
1247  
1248 -#elif defined(__linux)
1249 +#elif defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__)
1250   /*
1251    * Load PPDs from LSB-defined locations...
1252    */
1253
1254
1255 [FILE:462:patches/patch-scheduler_subscriptions.c]
1256 --- scheduler/subscriptions.c.orig      2019-12-13 14:44:10 UTC
1257 +++ scheduler/subscriptions.c
1258 @@ -1527,8 +1527,8 @@ cupsd_start_notifier(
1259    * Create the notifier process...
1260    */
1261  
1262 -  if (cupsdStartProcess(command, argv, envp, fds[0], -1, NotifierPipes[1],
1263 -                       -1, -1, 0, DefaultProfile, NULL, &pid) < 0)
1264 +  if (!cupsdStartProcess(command, argv, envp, fds[0], -1, NotifierPipes[1],
1265 +                        -1, -1, 0, DefaultProfile, NULL, &pid))
1266    {
1267     /*
1268      * Error - can't fork!
1269
1270
1271 [FILE:118:files/cups]
1272 # $FreeBSD: head/print/cups/files/cups 410825 2016-03-11 11:53:42Z tijl $
1273
1274 auth    include system
1275 account include system
1276
1277
1278 [FILE:318:files/cups.conf.sample]
1279 # Allow members of group cups to access generic USB printer devices
1280
1281 notify 100 {
1282         match "system"          "USB";
1283         match "subsystem"       "INTERFACE";
1284         match "type"            "ATTACH";
1285         match "intclass"        "0x07";
1286         match "intsubclass"     "0x01";
1287         match "intprotocol"     "(0x01|0x02|0x03)";
1288         action "chgrp cups /dev/$cdev; chmod g+rw /dev/$cdev";
1289 };
1290
1291
1292 [FILE:435:files/cupsd.in]
1293 #!/bin/sh
1294 #
1295 # PROVIDE: cupsd
1296 # REQUIRE: DAEMON dbus
1297 # KEYWORD: shutdown
1298 #
1299 # Add the following to /etc/rc.conf[.local] to enable this service
1300 #
1301 # cupsd_enable="YES"
1302 #
1303
1304 . /etc/rc.subr
1305
1306 name="cupsd"
1307 rcvar="cupsd_enable"
1308
1309 start_precmd="${name}_prestart"
1310
1311 command="%%PREFIX%%/sbin/cupsd"
1312 extra_commands="reload"
1313
1314 cupsd_prestart()
1315 {
1316         if [ -n "$TZ" ]; then
1317                 export TZ
1318         fi
1319 }
1320
1321 load_rc_config ${name}
1322
1323 : ${cupsd_enable=NO}
1324
1325 run_rc_command "$1"
1326