Added avahi as an option so ippfind can be build; unified PLIST and cleanup for Darwindiff -r1.236 -r1.237 pkgsrc/print/cups/Makefile
(adam)
@@ -1,93 +1,90 @@ | @@ -1,93 +1,90 @@ | |||
1 | # $NetBSD: Makefile,v 1.236 2016/12/12 14:26:15 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.237 2016/12/30 07:08:34 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= cups-2.2.1-source | 3 | DISTNAME= cups-2.2.1-source | |
4 | PKGNAME= ${DISTNAME:S/-source//} | 4 | PKGNAME= ${DISTNAME:S/-source//} | |
5 | CATEGORIES= print | 5 | CATEGORIES= print | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=apple/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=apple/} | |
7 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | |||
8 | 7 | |||
9 | MAINTAINER= sbd@NetBSD.org | 8 | MAINTAINER= sbd@NetBSD.org | |
10 | HOMEPAGE= http://www.cups.org/ | 9 | HOMEPAGE= http://www.cups.org/ | |
11 | COMMENT= Common UNIX Printing System | 10 | COMMENT= Common UNIX Printing System | |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 | 11 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 | |
13 | 12 | |||
13 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | |||
14 | ||||
14 | CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]* | 15 | CONFLICTS+= LPRng-[0-9]* LPRng-core-[0-9]* | |
15 | 16 | |||
16 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | 17 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | |
17 | UNLIMIT_RESOURCES= datasize memorysize | 18 | UNLIMIT_RESOURCES= datasize memorysize | |
18 | USE_LANGUAGES= c c++ # pdftops is a C++ application | 19 | USE_LANGUAGES= c c++ # pdftops is a C++ application | |
19 | USE_PKGLOCALEDIR= yes | |||
20 | USE_TOOLS+= aclocal autoconf automake gmake | |||
21 | USE_LIBTOOL= yes | 20 | USE_LIBTOOL= yes | |
21 | USE_PKGLOCALEDIR= yes | |||
22 | USE_TOOLS+= aclocal autoconf automake gmake pkg-config | |||
22 | 23 | |||
23 | GNU_CONFIGURE= yes | 24 | GNU_CONFIGURE= yes | |
24 | CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale | 25 | CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale | |
25 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | 26 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | |
26 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 27 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
27 | CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q} | 28 | CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q} | |
28 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups | 29 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups | |
29 | CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups | 30 | CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups | |
30 | CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER} | 31 | CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER} | |
31 | CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP} | 32 | CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP} | |
32 | CONFIGURE_ARGS+= --with-system-groups=${CUPS_SYSTEM_GROUPS:Q} | 33 | CONFIGURE_ARGS+= --with-system-groups=${CUPS_SYSTEM_GROUPS:Q} | |
33 | CONFIGURE_ARGS+= --enable-libpaper | 34 | CONFIGURE_ARGS+= --enable-libpaper | |
34 | CONFIGURE_ARGS+= --enable-libtool | 35 | CONFIGURE_ARGS+= --enable-libtool | |
35 | CONFIGURE_ARGS+= --enable-ssl | 36 | CONFIGURE_ARGS+= --enable-ssl | |
36 | CONFIGURE_ARGS+= --with-manext=bsd | 37 | CONFIGURE_ARGS+= --with-manext=bsd | |
38 | CONFIGURE_ARGS+= --without-bundledir | |||
37 | CONFIGURE_ARGS+= --without-icondir | 39 | CONFIGURE_ARGS+= --without-icondir | |
38 | CONFIGURE_ARGS+= --without-menudir | 40 | CONFIGURE_ARGS+= --without-menudir | |
39 | CONFIGURE_ARGS+= --without-perl | 41 | CONFIGURE_ARGS+= --without-perl | |
40 | CONFIGURE_ARGS+= --without-php | 42 | CONFIGURE_ARGS+= --without-php | |
41 | CONFIGURE_ARGS+= --without-python | 43 | CONFIGURE_ARGS+= --without-python | |
42 | CONFIGURE_ARGS+= --without-java | 44 | CONFIGURE_ARGS+= --without-java | |
43 | CONFIGURE_ARGS+= --disable-gssapi | 45 | CONFIGURE_ARGS+= --disable-gssapi | |
44 | 46 | |||
45 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | 47 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | |
46 | 48 | |||
47 | .include "../../mk/bsd.prefs.mk" | 49 | .include "../../mk/bsd.prefs.mk" | |
48 | .include "options.mk" | 50 | .include "options.mk" | |
49 | 51 | |||
50 | .if ${OPSYS} == "SunOS" | 52 | .if ${OPSYS} == "SunOS" | |
51 | LIBS_SSP= -lssp_nonshared -lssp | 53 | LIBS_SSP= -lssp_nonshared -lssp | |
52 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | 54 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | |
53 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | 55 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | |
54 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | 56 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | |
55 | .endif | 57 | .endif | |
56 | LIBS+= ${BUILDLINK_LDADD.iconv} | 58 | LIBS+= ${BUILDLINK_LDADD.iconv} | |
57 | 59 | |||
58 | PLIST_VARS+= notmac | |||
59 | .if ${OPSYS} != "Darwin" | |||
60 | PLIST.notmac= yes | |||
61 | .endif | |||
62 | ||||
63 | # Avoid the following error when compiling with clang. | 60 | # Avoid the following error when compiling with clang. | |
64 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | 61 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | |
65 | # can not be used when making a shared object; recompile with -fPIC | 62 | # can not be used when making a shared object; recompile with -fPIC | |
66 | BUILDLINK_TRANSFORM.FreeBSD+= rm:-Wl,-pie | 63 | BUILDLINK_TRANSFORM.FreeBSD+= rm:-Wl,-pie | |
67 | 64 | |||
68 | # CUPS_USER user to run filter and CGI programs as | 65 | # CUPS_USER user to run filter and CGI programs as | |
69 | # CUPS_GROUP group to run filter and CGI programs as | 66 | # CUPS_GROUP group to run filter and CGI programs as | |
70 | # CUPS_SYSTEM_GROUPS group for system administration | 67 | # CUPS_SYSTEM_GROUPS group for system administration | |
71 | # | 68 | # | |
72 | CUPS_USER?= lp | 69 | CUPS_USER?= lp | |
73 | CUPS_GROUP?= lp | 70 | CUPS_GROUP?= lp | |
74 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | 71 | CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} | |
75 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | 72 | FILES_SUBST+= CUPS_USER=${CUPS_USER} | |
76 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | 73 | FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} | |
77 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | 74 | FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} | |
78 | 75 | |||
79 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS | 76 | PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS | |
80 | PKG_USERS_VARS+= CUPS_USER | 77 | PKG_USERS_VARS= CUPS_USER | |
81 | 78 | |||
82 | BUILD_DEFS+= CUPS_USER CUPS_GROUP CUPS_SYSTEM_GROUPS VARBASE | 79 | BUILD_DEFS+= CUPS_USER CUPS_GROUP CUPS_SYSTEM_GROUPS VARBASE | |
83 | 80 | |||
84 | DOCDIR= ${PREFIX}/share/doc/cups | 81 | DOCDIR= ${PREFIX}/share/doc/cups | |
85 | EGDIR= ${PREFIX}/share/examples/cups | 82 | EGDIR= ${PREFIX}/share/examples/cups | |
86 | MIMEDIR= ${PREFIX}/share/cups/mime | 83 | MIMEDIR= ${PREFIX}/share/cups/mime | |
87 | PKG_SYSCONFSUBDIR= cups | 84 | PKG_SYSCONFSUBDIR= cups | |
88 | CUPS_CONFDIR= ${PKG_SYSCONFDIR} | 85 | CUPS_CONFDIR= ${PKG_SYSCONFDIR} | |
89 | CUPS_LOGDIR= ${VARBASE}/log/cups | 86 | CUPS_LOGDIR= ${VARBASE}/log/cups | |
90 | CUPS_REQUESTS= ${VARBASE}/spool/cups | 87 | CUPS_REQUESTS= ${VARBASE}/spool/cups | |
91 | CUPS_CACHE= ${VARBASE}/cache/cups | 88 | CUPS_CACHE= ${VARBASE}/cache/cups | |
92 | CUPS_STATEDIR= ${VARBASE}/run/cups | 89 | CUPS_STATEDIR= ${VARBASE}/run/cups | |
93 | 90 | |||
@@ -123,30 +120,26 @@ SUBST_CLASSES+= rpathfix | @@ -123,30 +120,26 @@ SUBST_CLASSES+= rpathfix | |||
123 | SUBST_FILES.rpathfix= cups-config.in | 120 | SUBST_FILES.rpathfix= cups-config.in | |
124 | SUBST_MESSAGE.rpathfix= Adding rpath to cups-config. | 121 | SUBST_MESSAGE.rpathfix= Adding rpath to cups-config. | |
125 | SUBST_SED.rpathfix= -e 's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g' | 122 | SUBST_SED.rpathfix= -e 's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g' | |
126 | SUBST_STAGE.rpathfix= post-patch | 123 | SUBST_STAGE.rpathfix= post-patch | |
127 | 124 | |||
128 | .if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc) | 125 | .if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc) | |
129 | SUBST_CLASSES+= piefix | 126 | SUBST_CLASSES+= piefix | |
130 | SUBST_FILES.piefix= Makedefs.in | 127 | SUBST_FILES.piefix= Makedefs.in | |
131 | SUBST_MESSAGE.piefix= Removing PIE flags | 128 | SUBST_MESSAGE.piefix= Removing PIE flags | |
132 | SUBST_SED.piefix= -e 's|@PIEFLAGS@||g' | 129 | SUBST_SED.piefix= -e 's|@PIEFLAGS@||g' | |
133 | SUBST_STAGE.piefix= post-patch | 130 | SUBST_STAGE.piefix= post-patch | |
134 | .endif | 131 | .endif | |
135 | 132 | |||
136 | .if ${OPSYS} == "Darwin" | |||
137 | PLIST_SRC= PLIST.Darwin | |||
138 | .endif | |||
139 | ||||
140 | INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${MIMEDIR} ${CUPS_CONFDIR} | 133 | INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${MIMEDIR} ${CUPS_CONFDIR} | |
141 | INSTALL_ENV+= DSTROOT=${DESTDIR} | 134 | INSTALL_ENV+= DSTROOT=${DESTDIR} | |
142 | 135 | |||
143 | pre-configure: | 136 | pre-configure: | |
144 | .if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP}) | 137 | .if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP}) | |
145 | ${ERROR_MSG} "CUPS_SYSTEM_GROUPS may not contain the CUPS_GROUP" | 138 | ${ERROR_MSG} "CUPS_SYSTEM_GROUPS may not contain the CUPS_GROUP" | |
146 | exit 1 | 139 | exit 1 | |
147 | .endif | 140 | .endif | |
148 | cd ${WRKSRC} && aclocal && autoconf | 141 | cd ${WRKSRC} && aclocal && autoconf | |
149 | 142 | |||
150 | post-extract: | 143 | post-extract: | |
151 | ${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam | 144 | ${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam | |
152 | 145 | |||
@@ -161,19 +154,19 @@ post-install: | @@ -161,19 +154,19 @@ post-install: | |||
161 | done | 154 | done | |
162 | ${CHMOD} g-w ${DESTDIR}${PREFIX}/libexec/cups/cgi-bin | 155 | ${CHMOD} g-w ${DESTDIR}${PREFIX}/libexec/cups/cgi-bin | |
163 | .if !empty(PKG_OPTIONS:Mpam) | 156 | .if !empty(PKG_OPTIONS:Mpam) | |
164 | ${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR} | 157 | ${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR} | |
165 | .endif | 158 | .endif | |
166 | .if !empty(PKG_OPTIONS:Mdnssd) | 159 | .if !empty(PKG_OPTIONS:Mdnssd) | |
167 | ${LN} -sf ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns | 160 | ${LN} -sf ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns | |
168 | .endif | 161 | .endif | |
169 | 162 | |||
170 | .include "../../converters/libiconv/buildlink3.mk" | 163 | .include "../../converters/libiconv/buildlink3.mk" | |
171 | .include "../../devel/zlib/buildlink3.mk" | 164 | .include "../../devel/zlib/buildlink3.mk" | |
172 | .include "../../graphics/png/buildlink3.mk" | 165 | .include "../../graphics/png/buildlink3.mk" | |
173 | .include "../../graphics/tiff/buildlink3.mk" | 166 | .include "../../graphics/tiff/buildlink3.mk" | |
167 | .include "../../print/libpaper/buildlink3.mk" | |||
168 | .include "../../security/gnutls/buildlink3.mk" | |||
174 | .include "../../mk/curses.buildlink3.mk" | 169 | .include "../../mk/curses.buildlink3.mk" | |
175 | .include "../../mk/jpeg.buildlink3.mk" | 170 | .include "../../mk/jpeg.buildlink3.mk" | |
176 | .include "../../mk/pthread.buildlink3.mk" | 171 | .include "../../mk/pthread.buildlink3.mk" | |
177 | .include "../../print/libpaper/buildlink3.mk" | |||
178 | .include "../../security/gnutls/buildlink3.mk" | |||
179 | .include "../../mk/bsd.pkg.mk" | 172 | .include "../../mk/bsd.pkg.mk" |
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.57 2016/10/09 08:33:16 leot Exp $ | 1 | @comment $NetBSD: PLIST,v 1.58 2016/12/30 07:08:34 adam Exp $ | |
2 | bin/cancel | 2 | bin/cancel | |
3 | bin/cups-config | 3 | bin/cups-config | |
4 | bin/cupstestdsc | 4 | bin/cupstestdsc | |
5 | bin/cupstestppd | 5 | bin/cupstestppd | |
6 | ${PLIST.ippfind}bin/ippfind | |||
6 | bin/ipptool | 7 | bin/ipptool | |
7 | bin/lp | 8 | bin/lp | |
8 | bin/lpoptions | 9 | bin/lpoptions | |
9 | bin/lpq | 10 | bin/lpq | |
10 | bin/lpr | 11 | bin/lpr | |
11 | bin/lprm | 12 | bin/lprm | |
12 | bin/lpstat | 13 | bin/lpstat | |
13 | bin/ppdc | 14 | bin/ppdc | |
14 | bin/ppdhtml | 15 | bin/ppdhtml | |
15 | bin/ppdi | 16 | bin/ppdi | |
16 | bin/ppdmerge | 17 | bin/ppdmerge | |
17 | bin/ppdpo | 18 | bin/ppdpo | |
18 | include/cups/adminutil.h | 19 | include/cups/adminutil.h | |
@@ -25,26 +26,30 @@ include/cups/http.h | @@ -25,26 +26,30 @@ include/cups/http.h | |||
25 | include/cups/ipp.h | 26 | include/cups/ipp.h | |
26 | include/cups/language.h | 27 | include/cups/language.h | |
27 | include/cups/ppd.h | 28 | include/cups/ppd.h | |
28 | include/cups/pwg.h | 29 | include/cups/pwg.h | |
29 | include/cups/raster.h | 30 | include/cups/raster.h | |
30 | include/cups/sidechannel.h | 31 | include/cups/sidechannel.h | |
31 | include/cups/transcode.h | 32 | include/cups/transcode.h | |
32 | include/cups/versioning.h | 33 | include/cups/versioning.h | |
33 | lib/libcups.la | 34 | lib/libcups.la | |
34 | lib/libcupscgi.la | 35 | lib/libcupscgi.la | |
35 | lib/libcupsimage.la | 36 | lib/libcupsimage.la | |
36 | lib/libcupsmime.la | 37 | lib/libcupsmime.la | |
37 | lib/libcupsppdc.la | 38 | lib/libcupsppdc.la | |
39 | ${PLIST.apple}libexec/cups/apple/http | |||
40 | ${PLIST.apple}libexec/cups/apple/https | |||
41 | ${PLIST.apple}libexec/cups/apple/ipp | |||
42 | ${PLIST.apple}libexec/cups/apple/ipps | |||
38 | ${PLIST.dnssd}libexec/cups/backend/dnssd | 43 | ${PLIST.dnssd}libexec/cups/backend/dnssd | |
39 | libexec/cups/backend/http | 44 | libexec/cups/backend/http | |
40 | libexec/cups/backend/https | 45 | libexec/cups/backend/https | |
41 | libexec/cups/backend/ipp | 46 | libexec/cups/backend/ipp | |
42 | libexec/cups/backend/ipps | 47 | libexec/cups/backend/ipps | |
43 | libexec/cups/backend/lpd | 48 | libexec/cups/backend/lpd | |
44 | ${PLIST.dnssd}libexec/cups/backend/mdns | 49 | ${PLIST.dnssd}libexec/cups/backend/mdns | |
45 | libexec/cups/backend/snmp | 50 | libexec/cups/backend/snmp | |
46 | libexec/cups/backend/socket | 51 | libexec/cups/backend/socket | |
47 | libexec/cups/backend/usb | 52 | libexec/cups/backend/usb | |
48 | libexec/cups/cgi-bin/admin.cgi | 53 | libexec/cups/cgi-bin/admin.cgi | |
49 | libexec/cups/cgi-bin/classes.cgi | 54 | libexec/cups/cgi-bin/classes.cgi | |
50 | libexec/cups/cgi-bin/help.cgi | 55 | libexec/cups/cgi-bin/help.cgi | |
@@ -62,26 +67,27 @@ libexec/cups/filter/rastertoepson | @@ -62,26 +67,27 @@ libexec/cups/filter/rastertoepson | |||
62 | libexec/cups/filter/rastertohp | 67 | libexec/cups/filter/rastertohp | |
63 | libexec/cups/filter/rastertolabel | 68 | libexec/cups/filter/rastertolabel | |
64 | libexec/cups/filter/rastertopwg | 69 | libexec/cups/filter/rastertopwg | |
65 | libexec/cups/monitor/bcp | 70 | libexec/cups/monitor/bcp | |
66 | libexec/cups/monitor/tbcp | 71 | libexec/cups/monitor/tbcp | |
67 | ${PLIST.dbus}libexec/cups/notifier/dbus | 72 | ${PLIST.dbus}libexec/cups/notifier/dbus | |
68 | libexec/cups/notifier/mailto | 73 | libexec/cups/notifier/mailto | |
69 | libexec/cups/notifier/rss | 74 | libexec/cups/notifier/rss | |
70 | man/man1/cancel.1 | 75 | man/man1/cancel.1 | |
71 | man/man1/cups-config.1 | 76 | man/man1/cups-config.1 | |
72 | man/man1/cups.1 | 77 | man/man1/cups.1 | |
73 | man/man1/cupstestdsc.1 | 78 | man/man1/cupstestdsc.1 | |
74 | man/man1/cupstestppd.1 | 79 | man/man1/cupstestppd.1 | |
80 | ${PLIST.ippfind}man/man1/ippfind.1 | |||
75 | man/man1/ipptool.1 | 81 | man/man1/ipptool.1 | |
76 | man/man1/lp.1 | 82 | man/man1/lp.1 | |
77 | man/man1/lpoptions.1 | 83 | man/man1/lpoptions.1 | |
78 | man/man1/lpq.1 | 84 | man/man1/lpq.1 | |
79 | man/man1/lpr.1 | 85 | man/man1/lpr.1 | |
80 | man/man1/lprm.1 | 86 | man/man1/lprm.1 | |
81 | man/man1/lpstat.1 | 87 | man/man1/lpstat.1 | |
82 | man/man1/ppdc.1 | 88 | man/man1/ppdc.1 | |
83 | man/man1/ppdhtml.1 | 89 | man/man1/ppdhtml.1 | |
84 | man/man1/ppdi.1 | 90 | man/man1/ppdi.1 | |
85 | man/man1/ppdmerge.1 | 91 | man/man1/ppdmerge.1 | |
86 | man/man1/ppdpo.1 | 92 | man/man1/ppdpo.1 | |
87 | man/man5/classes.conf.5 | 93 | man/man5/classes.conf.5 | |
@@ -701,25 +707,25 @@ share/doc/cups/images/raster-organizatio | @@ -701,25 +707,25 @@ share/doc/cups/images/raster-organizatio | |||
701 | share/doc/cups/images/raster.png | 707 | share/doc/cups/images/raster.png | |
702 | share/doc/cups/images/right.gif | 708 | share/doc/cups/images/right.gif | |
703 | share/doc/cups/images/sample-image.png | 709 | share/doc/cups/images/sample-image.png | |
704 | share/doc/cups/images/sel.gif | 710 | share/doc/cups/images/sel.gif | |
705 | share/doc/cups/images/smiley.jpg | 711 | share/doc/cups/images/smiley.jpg | |
706 | share/doc/cups/images/unsel.gif | 712 | share/doc/cups/images/unsel.gif | |
707 | share/doc/cups/images/wait.gif | 713 | share/doc/cups/images/wait.gif | |
708 | share/doc/cups/index.html | 714 | share/doc/cups/index.html | |
709 | share/doc/cups/ja/index.html | 715 | share/doc/cups/ja/index.html | |
710 | share/doc/cups/pt_BR/index.html | 716 | share/doc/cups/pt_BR/index.html | |
711 | share/doc/cups/robots.txt | 717 | share/doc/cups/robots.txt | |
712 | share/doc/cups/ru/index.html | 718 | share/doc/cups/ru/index.html | |
713 | share/examples/cups/cups-files.conf | 719 | share/examples/cups/cups-files.conf | |
714 | share/examples/cups/cupsd.conf | |||
715 | ${PLIST.pam}share/examples/cups/cups.pam | 720 | ${PLIST.pam}share/examples/cups/cups.pam | |
721 | share/examples/cups/cupsd.conf | |||
716 | share/examples/cups/snmp.conf | 722 | share/examples/cups/snmp.conf | |
717 | share/locale/ca/cups_ca.po | 723 | share/locale/ca/cups_ca.po | |
718 | share/locale/cs/cups_cs.po | 724 | share/locale/cs/cups_cs.po | |
719 | share/locale/de/cups_de.po | 725 | share/locale/de/cups_de.po | |
720 | share/locale/es/cups_es.po | 726 | share/locale/es/cups_es.po | |
721 | share/locale/fr/cups_fr.po | 727 | share/locale/fr/cups_fr.po | |
722 | share/locale/it/cups_it.po | 728 | share/locale/it/cups_it.po | |
723 | share/locale/ja/cups_ja.po | 729 | share/locale/ja/cups_ja.po | |
724 | share/locale/pt_BR/cups_pt_BR.po | 730 | share/locale/pt_BR/cups_pt_BR.po | |
725 | share/locale/ru/cups_ru.po | 731 | share/locale/ru/cups_ru.po |
@@ -1,29 +1,33 @@ | @@ -1,29 +1,33 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.36 2016/09/20 11:12:22 wiz Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.37 2016/12/30 07:08:34 adam Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= cups | 3 | BUILDLINK_TREE+= cups | |
4 | 4 | |||
5 | .if !defined(CUPS_BUILDLINK3_MK) | 5 | .if !defined(CUPS_BUILDLINK3_MK) | |
6 | CUPS_BUILDLINK3_MK:= | 6 | CUPS_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.cups+= cups>=1.1.19nb3 | 8 | BUILDLINK_API_DEPENDS.cups+= cups>=1.1.19nb3 | |
9 | BUILDLINK_ABI_DEPENDS.cups+= cups>=2.1.4nb2 | 9 | BUILDLINK_ABI_DEPENDS.cups+= cups>=2.1.4nb2 | |
10 | BUILDLINK_PKGSRCDIR.cups?= ../../print/cups | 10 | BUILDLINK_PKGSRCDIR.cups?= ../../print/cups | |
11 | 11 | |||
12 | pkgbase := cups | 12 | pkgbase := cups | |
13 | .include "../../mk/pkg-build-options.mk" | 13 | .include "../../mk/pkg-build-options.mk" | |
14 | 14 | |||
15 | .if !empty(PKG_BUILD_OPTIONS.cups:Mkerberos) | 15 | .if !empty(PKG_BUILD_OPTIONS.cups:Mkerberos) | |
16 | .include "../../mk/krb5.buildlink3.mk" | 16 | .include "../../mk/krb5.buildlink3.mk" | |
17 | .endif | 17 | .endif | |
18 | 18 | |||
19 | .if !empty(PKG_BUILD_OPTIONS.cups:Mdnssd) | 19 | .if !empty(PKG_BUILD_OPTIONS.cups:Mdnssd) | |
20 | .include "../../net/mDNSResponder/buildlink3.mk" | 20 | .include "../../net/mDNSResponder/buildlink3.mk" | |
21 | .endif | 21 | .endif | |
22 | 22 | |||
23 | .if ${OPSYS} != "Darwin" && !empty(PKG_BUILD_OPTIONS.cups:Mavahi) | |||
24 | .include "../../net/avahi/buildlink3.mk" | |||
25 | .endif | |||
26 | ||||
23 | .include "../../converters/libiconv/buildlink3.mk" | 27 | .include "../../converters/libiconv/buildlink3.mk" | |
24 | .include "../../graphics/png/buildlink3.mk" | 28 | .include "../../graphics/png/buildlink3.mk" | |
25 | .include "../../graphics/tiff/buildlink3.mk" | 29 | .include "../../graphics/tiff/buildlink3.mk" | |
26 | .include "../../security/gnutls/buildlink3.mk" | 30 | .include "../../security/gnutls/buildlink3.mk" | |
27 | .endif # CUPS_BUILDLINK3_MK | 31 | .endif # CUPS_BUILDLINK3_MK | |
28 | 32 | |||
29 | BUILDLINK_TREE+= -cups | 33 | BUILDLINK_TREE+= -cups |
@@ -1,73 +1,85 @@ | @@ -1,73 +1,85 @@ | |||
1 | # $NetBSD: options.mk,v 1.18 2014/08/23 20:02:11 schnoebe Exp $ | 1 | # $NetBSD: options.mk,v 1.19 2016/12/30 07:08:34 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.cups | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.cups | |
4 | PKG_SUPPORTED_OPTIONS= acl dbus dnssd kerberos pam tcpwrappers | 4 | PKG_SUPPORTED_OPTIONS= acl dnssd kerberos pam tcpwrappers | |
5 | PKG_SUGGESTED_OPTIONS= dbus dnssd kerberos | 5 | PKG_SUGGESTED_OPTIONS= dnssd kerberos | |
6 | 6 | |||
7 | PLIST_VARS+= apple dbus dnssd ippfind libusb pam | |||
8 | ||||
9 | .if ${OPSYS} == "Darwin" | |||
10 | PLIST.apple= yes | |||
11 | PLIST.ippfind= yes | |||
12 | .else | |||
13 | # CUPS on Darwin does not support DBus and libusb | |||
14 | PKG_SUPPORTED_OPTIONS+= avahi dbus | |||
15 | PKG_SUGGESTED_OPTIONS+= dbus | |||
7 | # Neither DragonFly nor SunOS can build libusb1 | 16 | # Neither DragonFly nor SunOS can build libusb1 | |
8 | .if ${OPSYS} != "DragonFly" && ${OPSYS} != "SunOS" | 17 | . if ${OPSYS} != "DragonFly" && ${OPSYS} != "SunOS" | |
9 | PKG_SUPPORTED_OPTIONS+= libusb | 18 | PKG_SUPPORTED_OPTIONS+= libusb | |
10 | PKG_SUGGESTED_OPTIONS+= libusb | 19 | PKG_SUGGESTED_OPTIONS+= libusb | |
20 | . endif | |||
11 | .endif | 21 | .endif | |
12 | 22 | |||
13 | .include "../../mk/bsd.options.mk" | 23 | .include "../../mk/bsd.options.mk" | |
14 | 24 | |||
15 | MESSAGE_SRC= ${PKGDIR}/MESSAGE | 25 | MESSAGE_SRC= ${PKGDIR}/MESSAGE | |
16 | 26 | |||
17 | .if !empty(PKG_OPTIONS:Macl) | 27 | .if !empty(PKG_OPTIONS:Macl) | |
18 | CONFIGURE_ARGS+= --enable-acl | 28 | CONFIGURE_ARGS+= --enable-acl | |
19 | .else | 29 | .else | |
20 | CONFIGURE_ARGS+= --disable-acl | 30 | CONFIGURE_ARGS+= --disable-acl | |
21 | .endif | 31 | .endif | |
22 | 32 | |||
23 | PLIST_VARS+= dbus | 33 | .if !empty(PKG_OPTIONS:Mavahi) | |
34 | .include "../../net/avahi/buildlink3.mk" | |||
35 | CONFIGURE_ARGS+= --enable-avahi | |||
36 | PLIST.ippfind= yes | |||
37 | .else | |||
38 | CONFIGURE_ARGS+= --disable-avahi | |||
39 | .endif | |||
40 | ||||
24 | .if !empty(PKG_OPTIONS:Mdbus) | 41 | .if !empty(PKG_OPTIONS:Mdbus) | |
25 | USE_TOOLS+= pkg-config | |||
26 | . include "../../sysutils/dbus/buildlink3.mk" | 42 | . include "../../sysutils/dbus/buildlink3.mk" | |
27 | CONFIGURE_ARGS+= --enable-dbus | 43 | CONFIGURE_ARGS+= --enable-dbus | |
28 | PLIST.dbus= yes | 44 | PLIST.dbus= yes | |
29 | .else | 45 | .else | |
30 | CONFIGURE_ARGS+= --disable-dbus | 46 | CONFIGURE_ARGS+= --disable-dbus | |
31 | .endif | 47 | .endif | |
32 | 48 | |||
33 | PLIST_VARS+= dnssd | |||
34 | .if !empty(PKG_OPTIONS:Mdnssd) | 49 | .if !empty(PKG_OPTIONS:Mdnssd) | |
35 | .include "../../net/mDNSResponder/buildlink3.mk" | 50 | .include "../../net/mDNSResponder/buildlink3.mk" | |
36 | CONFIGURE_ARGS+= --enable-dnssd | 51 | CONFIGURE_ARGS+= --enable-dnssd | |
37 | PLIST.dnssd= yes | 52 | PLIST.dnssd= yes | |
38 | .else | 53 | .else | |
39 | CONFIGURE_ARGS+= --disable-dnssd | 54 | CONFIGURE_ARGS+= --disable-dnssd | |
40 | .endif | 55 | .endif | |
41 | 56 | |||
42 | .if !empty(PKG_OPTIONS:Mkerberos) | 57 | .if !empty(PKG_OPTIONS:Mkerberos) | |
43 | .include "../../mk/krb5.buildlink3.mk" | 58 | .include "../../mk/krb5.buildlink3.mk" | |
44 | CONFIGURE_ARGS+= --enable-gssapi | 59 | CONFIGURE_ARGS+= --enable-gssapi | |
45 | .else | 60 | .else | |
46 | CONFIGURE_ARGS+= --disable-gssapi | 61 | CONFIGURE_ARGS+= --disable-gssapi | |
47 | .endif | 62 | .endif | |
48 | 63 | |||
49 | PLIST_VARS+= libusb | |||
50 | .if !empty(PKG_OPTIONS:Mlibusb) | 64 | .if !empty(PKG_OPTIONS:Mlibusb) | |
51 | .include "../../devel/libusb1/buildlink3.mk" | 65 | .include "../../devel/libusb1/buildlink3.mk" | |
52 | CONFIGURE_ARGS+= --enable-libusb | 66 | CONFIGURE_ARGS+= --enable-libusb | |
53 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb | 67 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb | |
54 | USE_TOOLS+= pkg-config | |||
55 | PLIST.libusb= yes | 68 | PLIST.libusb= yes | |
56 | .else | 69 | .else | |
57 | CONFIGURE_ARGS+= --disable-libusb | 70 | CONFIGURE_ARGS+= --disable-libusb | |
58 | .endif | 71 | .endif | |
59 | 72 | |||
60 | PLIST_VARS+= pam | |||
61 | .if !empty(PKG_OPTIONS:Mpam) | 73 | .if !empty(PKG_OPTIONS:Mpam) | |
62 | . include "../../mk/pam.buildlink3.mk" | 74 | . include "../../mk/pam.buildlink3.mk" | |
63 | CONFIGURE_ARGS+= --enable-pam | 75 | CONFIGURE_ARGS+= --enable-pam | |
64 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam | 76 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam | |
65 | PLIST.pam= yes | 77 | PLIST.pam= yes | |
66 | .else | 78 | .else | |
67 | CONFIGURE_ARGS+= --disable-pam | 79 | CONFIGURE_ARGS+= --disable-pam | |
68 | MESSAGE_SRC= ${.CURDIR}/MESSAGE | 80 | MESSAGE_SRC= ${.CURDIR}/MESSAGE | |
69 | .endif | 81 | .endif | |
70 | 82 | |||
71 | .if !empty(PKG_OPTIONS:Mtcpwrappers) | 83 | .if !empty(PKG_OPTIONS:Mtcpwrappers) | |
72 | .include "../../security/tcp_wrappers/buildlink3.mk" | 84 | .include "../../security/tcp_wrappers/buildlink3.mk" | |
73 | CONFIGURE_ARGS+= --enable-tcp-wrappers | 85 | CONFIGURE_ARGS+= --enable-tcp-wrappers |