head	1.26;
access;
symbols
	pkgsrc-2020Q1:1.25.0.2
	pkgsrc-2020Q1-base:1.25
	pkgsrc-2019Q4:1.24.0.6
	pkgsrc-2019Q4-base:1.24
	pkgsrc-2019Q3:1.24.0.2
	pkgsrc-2019Q3-base:1.24
	pkgsrc-2019Q2:1.23.0.2
	pkgsrc-2019Q2-base:1.23
	pkgsrc-2019Q1:1.22.0.6
	pkgsrc-2019Q1-base:1.22
	pkgsrc-2018Q4:1.22.0.4
	pkgsrc-2018Q4-base:1.22
	pkgsrc-2018Q3:1.22.0.2
	pkgsrc-2018Q3-base:1.22
	pkgsrc-2018Q2:1.20.0.10
	pkgsrc-2018Q2-base:1.20
	pkgsrc-2018Q1:1.20.0.8
	pkgsrc-2018Q1-base:1.20
	pkgsrc-2017Q4:1.20.0.6
	pkgsrc-2017Q4-base:1.20
	pkgsrc-2017Q3:1.20.0.4
	pkgsrc-2017Q3-base:1.20
	pkgsrc-2017Q2:1.16.0.4
	pkgsrc-2017Q2-base:1.16
	pkgsrc-2017Q1:1.16.0.2
	pkgsrc-2017Q1-base:1.16
	pkgsrc-2016Q4:1.15.0.2
	pkgsrc-2016Q4-base:1.15
	pkgsrc-2016Q3:1.13.0.2
	pkgsrc-2016Q3-base:1.13
	pkgsrc-2016Q2:1.12.0.4
	pkgsrc-2016Q2-base:1.12
	pkgsrc-2016Q1:1.12.0.2
	pkgsrc-2016Q1-base:1.12
	pkgsrc-2015Q4:1.9.0.2
	pkgsrc-2015Q4-base:1.9
	pkgsrc-2015Q3:1.7.0.2
	pkgsrc-2015Q3-base:1.7
	pkgsrc-2015Q2:1.6.0.2
	pkgsrc-2015Q2-base:1.6
	pkgsrc-2015Q1:1.3.0.2
	pkgsrc-2015Q1-base:1.3
	pkgsrc-2014Q4:1.2.0.2
	pkgsrc-2014Q4-base:1.2
	pkgsrc-2014Q3:1.1.0.4
	pkgsrc-2014Q3-base:1.1
	pkgsrc-2014Q2:1.1.0.2
	pkgsrc-2014Q2-base:1.1;
locks; strict;
comment	@# @;


1.26
date	2020.04.24.12.00.52;	author nia;	state dead;
branches;
next	1.25;
commitid	2xtbmLVjtTZDjD5C;

1.25
date	2020.01.18.21.48.21;	author jperkin;	state Exp;
branches;
next	1.24;
commitid	JW4hJgY8ZdoTFdTB;

1.24
date	2019.08.11.13.22.38;	author wiz;	state Exp;
branches;
next	1.23;
commitid	Ifet9Pg6Qt99ZByB;

1.23
date	2019.05.23.19.23.13;	author rillig;	state Exp;
branches;
next	1.22;
commitid	aWlQW8HYUUFCAmoB;

1.22
date	2018.08.22.09.46.12;	author wiz;	state Exp;
branches;
next	1.21;
commitid	YLub8g3ofvFGb6PA;

1.21
date	2018.07.04.13.40.33;	author jperkin;	state Exp;
branches;
next	1.20;
commitid	NnIyRkdX3Lbg3PIA;

1.20
date	2017.08.20.23.55.54;	author jlam;	state Exp;
branches;
next	1.19;
commitid	0WukgbEFK6l8I04A;

1.19
date	2017.08.01.14.59.04;	author wiz;	state Exp;
branches;
next	1.18;
commitid	WdGfxAP8wrFJlw1A;

1.18
date	2017.07.27.08.54.45;	author wiz;	state Exp;
branches;
next	1.17;
commitid	LGYZJCZmJ4MKuQ0A;

1.17
date	2017.07.25.18.32.50;	author reinoud;	state Exp;
branches;
next	1.16;
commitid	q6DLKCwpiOUXKD0A;

1.16
date	2017.01.19.18.52.22;	author agc;	state Exp;
branches;
next	1.15;
commitid	ufZDMu4cgHZdRBCz;

1.15
date	2016.12.12.14.22.03;	author wiz;	state Exp;
branches;
next	1.14;
commitid	2BmRh4IxD1KcBHxz;

1.14
date	2016.12.04.03.51.16;	author marino;	state Exp;
branches;
next	1.13;
commitid	ly6Cf2Ie8VS0nCwz;

1.13
date	2016.07.09.06.38.50;	author wiz;	state Exp;
branches;
next	1.12;
commitid	dlqnocGpOoXV2Cdz;

1.12
date	2016.03.22.22.51.13;	author khorben;	state Exp;
branches;
next	1.11;
commitid	tPzYo90W3L86WGZy;

1.11
date	2016.03.05.11.27.53;	author jperkin;	state Exp;
branches;
next	1.10;
commitid	1LoxeQftu903HrXy;

1.10
date	2016.02.25.17.52.45;	author jperkin;	state Exp;
branches;
next	1.9;
commitid	xDoIvuyVAnbF7kWy;

1.9
date	2015.10.10.17.05.17;	author richard;	state Exp;
branches;
next	1.8;
commitid	BpR0votuFBQhiAEy;

1.8
date	2015.10.10.17.03.02;	author richard;	state Exp;
branches;
next	1.7;
commitid	hItpRrWTq6UEhAEy;

1.7
date	2015.09.05.13.03.22;	author jperkin;	state Exp;
branches;
next	1.6;
commitid	QKTlrhgh4Px254Ay;

1.6
date	2015.06.18.16.33.26;	author gdt;	state Exp;
branches;
next	1.5;
commitid	p5fy7jxU0wn2MVpy;

1.5
date	2015.06.12.10.50.57;	author wiz;	state Exp;
branches;
next	1.4;
commitid	B4JmCfaVUbiY38py;

1.4
date	2015.04.23.09.29.22;	author jperkin;	state Exp;
branches;
next	1.3;
commitid	VdxZll2e1WdOeHiy;

1.3
date	2015.03.14.21.03.48;	author tnn;	state Exp;
branches;
next	1.2;
commitid	p4dEulUNLO9KmCdy;

1.2
date	2014.10.09.14.06.51;	author wiz;	state Exp;
branches;
next	1.1;
commitid	fBDATFVmQ3454xTx;

1.1
date	2014.06.17.13.17.12;	author wiz;	state Exp;
branches;
next	;
commitid	nYbwnRfZ8CqMsSEx;


desc
@@


1.26
log
@print: Remove cups15, legacy cups version now BROKEN due to OpenSSL 1.1
@
text
@# $NetBSD: Makefile,v 1.25 2020/01/18 21:48:21 jperkin Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution.  The correct place to send patches or bug-fixes is:
# cups-bugs@@cups.org.

DISTNAME=	cups-${DIST_VERS}-source
PKGNAME=	cups-${DIST_VERS:S/-/./g}
BASE_VERS=	1.5.4
DIST_VERS=	${BASE_VERS}
PKGREVISION=	19

# Fix for https://www.cups.org/str.php?L4609
PATCH_SITES=	https://www.cups.org/strfiles.php/3482/
PATCHFILES=	str4609-1.5.patch

CATEGORIES=	print
MASTER_SITES=	http://ftp.easysw.com/pub/cups/${BASE_VERS}/
MASTER_SITES+=	ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/
MASTER_SITES+=	ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	sbd@@NetBSD.org
HOMEPAGE=	https://www.cups.org/
COMMENT=	Common UNIX Printing System (1.5 branch)
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2

CONFLICTS+=	LPRng-[0-9]* LPRng-core-[0-9]*

WRKSRC=			${WRKDIR}/cups-${BASE_VERS}
UNLIMIT_RESOURCES=	datasize memorysize
USE_LANGUAGES=		c c++	# pdftops is a C++ application
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		aclocal autoconf automake gmake
USE_LIBTOOL=		yes
# patch-a[jkl] were added for 2.60
AUTOCONF_REQD=		2.60

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
CONFIGURE_ARGS+=	--with-cachedir=${CUPS_CACHE:Q}
CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/cups
CONFIGURE_ARGS+=	--with-serverbindir=${PREFIX}/libexec/cups
CONFIGURE_ARGS+=	--with-cups-user=${CUPS_USER}
CONFIGURE_ARGS+=	--with-cups-group=${CUPS_GROUP}
CONFIGURE_ARGS+=	--with-system-groups=${CUPS_SYSTEM_GROUPS:Q}
CONFIGURE_ARGS+=	--enable-libpaper
CONFIGURE_ARGS+=	--enable-libtool
CONFIGURE_ARGS+=	--enable-jpeg
CONFIGURE_ARGS+=	--enable-png
CONFIGURE_ARGS+=	--enable-tiff
CONFIGURE_ARGS+=	--enable-ssl
CONFIGURE_ARGS+=	--enable-openssl
CONFIGURE_ARGS+=	--enable-bannertops
CONFIGURE_ARGS+=	--enable-texttops
CONFIGURE_ARGS+=	--with-manext=bsd
CONFIGURE_ARGS+=	--without-bundledir
CONFIGURE_ARGS+=	--without-icondir
CONFIGURE_ARGS+=	--without-menudir
CONFIGURE_ARGS+=	--without-perl
CONFIGURE_ARGS+=	--without-php
CONFIGURE_ARGS+=	--without-python
CONFIGURE_ARGS+=	--without-java
CONFIGURE_ARGS+=	--disable-gssapi
CONFIGURE_ARGS+=	--disable-gnutls
CONFIGURE_ARGS+=	--disable-ldap

CONFIGURE_ENV+=		DSOFLAGS=${LDFLAGS:M*:Q}

.include "../../mk/bsd.prefs.mk"
.include "options.mk"

.if ${OPSYS} == "SunOS"
LIBS_SSP=		-lssp_nonshared -lssp
CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
# Explicitly disable epoll on illumos, it is provided for Linux compat only.
CONFIGURE_ENV+=		ac_cv_func_epoll_create=no
.endif
LIBS+=			${BUILDLINK_LDADD.iconv}

PLIST_VARS+=		mac notmac
.if ${OPSYS} == "Darwin"
PLIST.mac=		yes
.else
PLIST.notmac=		yes
.endif

# Avoid the following error when compiling with clang.
# /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC'
# can not be used when making a shared object; recompile with -fPIC
BUILDLINK_TRANSFORM.FreeBSD+=	rm:-Wl,-pie

# CUPS_USER		user to run filter and CGI programs as
# CUPS_GROUP		group to run filter and CGI programs as
# CUPS_SYSTEM_GROUPS	group for system administration
#
CUPS_USER?=		lp
CUPS_GROUP?=		lp
CUPS_SYSTEM_GROUPS?=	${REAL_ROOT_GROUP}
FILES_SUBST+=		CUPS_USER=${CUPS_USER}
FILES_SUBST+=		CUPS_GROUP=${CUPS_GROUP}
FILES_SUBST+=		CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q}

PKG_GROUPS_VARS+=	CUPS_GROUP CUPS_SYSTEM_GROUPS
PKG_USERS_VARS+=	CUPS_USER

BUILD_DEFS+=		CUPS_USER CUPS_GROUP CUPS_SYSTEM_GROUPS VARBASE

DOCDIR=			${PREFIX}/share/doc/cups
EGDIR=			${PREFIX}/share/examples/cups
MIMEDIR=		${PREFIX}/share/cups/mime
PKG_SYSCONFSUBDIR=	cups
CUPS_CONFDIR=		${PKG_SYSCONFDIR}
CUPS_LOGDIR=		${VARBASE}/log/cups
CUPS_REQUESTS=		${VARBASE}/spool/cups
CUPS_CACHE=		${VARBASE}/cache/cups
CUPS_STATEDIR=		${VARBASE}/run/cups

PKG_GROUPS=		${CUPS_GROUP}
PKG_USERS=		${CUPS_USER}:${CUPS_GROUP}
PKG_GECOS.${CUPS_USER}=	Common UNIX Printing System user
PKG_SHELL.${CUPS_USER}=	${SH}

CONF_FILES=		${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
CONF_FILES+=		${EGDIR}/snmp.conf ${CUPS_CONFDIR}/snmp.conf
RCD_SCRIPTS=		cupsd

OWN_DIRS=		${CUPS_CONFDIR}
OWN_DIRS+=		${CUPS_CONFDIR}/interfaces
OWN_DIRS+=		${CUPS_CONFDIR}/ppd
OWN_DIRS+=		${PREFIX}/libexec/cups/driver
OWN_DIRS+=		${CUPS_LOGDIR}
OWN_DIRS+=		${CUPS_STATEDIR}
OWN_DIRS_PERMS=		${CUPS_STATEDIR}/certs ${CUPS_USER} ${CUPS_GROUP} 0711
OWN_DIRS_PERMS+=	${CUPS_CONFDIR}/ssl ${REAL_ROOT_USER} ${CUPS_GROUP} 0700
OWN_DIRS_PERMS+=	${CUPS_REQUESTS} ${REAL_ROOT_USER} ${CUPS_GROUP} 0710
OWN_DIRS_PERMS+=	${CUPS_REQUESTS}/tmp ${REAL_ROOT_USER} ${CUPS_GROUP} 1770
OWN_DIRS_PERMS+=	${CUPS_CACHE} ${REAL_ROOT_USER} ${CUPS_GROUP} 0775
OWN_DIRS_PERMS+=	${CUPS_CACHE}/rss ${REAL_ROOT_USER} ${CUPS_GROUP} 0775

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	${WRKDIR}/cups.pam
SUBST_VARS.paths=	LOCALBASE
SUBST_STAGE.paths=	pre-configure

SUBST_CLASSES+=		rpathfix
SUBST_FILES.rpathfix=	cups-config.in
SUBST_MESSAGE.rpathfix=	Adding rpath to cups-config.
SUBST_SED.rpathfix=	-e 's|@@EXPORT_LDFLAGS@@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g'
SUBST_STAGE.rpathfix=	pre-configure

.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc)
SUBST_CLASSES+=		piefix
SUBST_FILES.piefix=	Makedefs.in
SUBST_MESSAGE.piefix=	Removing PIE flags
SUBST_SED.piefix=	-e 's|@@PIEFLAGS@@||g'
SUBST_STAGE.piefix=	pre-configure
.endif

INSTALLATION_DIRS=	${DOCDIR} ${EGDIR} ${MIMEDIR}
INSTALL_ENV+=		DSTROOT=${DESTDIR}

pre-configure:
.if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP})
	${ERROR_MSG} "CUPS_SYSTEM_GROUPS may not contain the CUPS_GROUP"
	exit 1
.endif
	cd ${WRKSRC} && aclocal && autoconf

post-extract:
	${CP} ${FILESDIR}/cups.pam ${WRKDIR}/cups.pam

post-install:
	set -e; for file in LICENSE.txt README.txt; do			\
		${INSTALL_DATA} ${WRKSRC}/$${file}			\
		     ${DESTDIR}${DOCDIR}/$${file}; \
	done
	${RUN} for file in cupsd.conf snmp.conf ; do			\
		${INSTALL_DATA} ${WRKSRC}/conf/$${file}			\
			${DESTDIR}${EGDIR}/$${file};			\
	done
.if !empty(PKG_OPTIONS:Mpam)
	${INSTALL_DATA} ${WRKDIR}/cups.pam ${DESTDIR}${EGDIR}
.endif
.if !empty(PKG_OPTIONS:Mdnssd)
	${LN} -fs ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns
.endif

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../print/libpaper/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.25
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2019/08/11 13:22:38 wiz Exp $
@


1.24
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2019/05/23 19:23:13 rillig Exp $
d11 1
a11 1
PKGREVISION=	18
@


1.23
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2018/08/22 09:46:12 wiz Exp $
d11 1
a11 1
PKGREVISION=	17
@


1.22
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2018/07/04 13:40:33 jperkin Exp $
d145 1
a145 1
SUBST_SED.paths+=	-e 's,@@LOCALBASE@@,${LOCALBASE},g'
@


1.21
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2017/08/20 23:55:54 jlam Exp $
d11 1
a11 1
PKGREVISION=	16
@


1.20
log
@print/cups{,15}: Don't make ${CUPS_CONFDIR} with INSTALLATION_DIRS.

${CUPS_CONFDIR} (${PKG_SYSCONFDIR}) may be located outside of
${PREFIX}, which causes a installation failure due to the checks
added in mk/install/install.mk.

Remove ${CUPS_CONFDIR} from INSTALLATION_DIRS since it is created
by the package install script at PRE-INSTALL time.

Fixes pkg/52481 reported by Hauke Fath.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2017/08/01 14:59:04 wiz Exp $
d146 1
a146 1
SUBST_STAGE.paths=	post-patch
d152 1
a152 1
SUBST_STAGE.rpathfix=	post-patch
d159 1
a159 1
SUBST_STAGE.piefix=	post-patch
@


1.19
log
@Follow some http -> https redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2017/07/27 08:54:45 wiz Exp $
d162 1
a162 1
INSTALLATION_DIRS=	${DOCDIR} ${EGDIR} ${MIMEDIR} ${CUPS_CONFDIR}
@


1.18
log
@Match cups: revert undiscussed mit-krb5 dependency. Should be optional,
and should have bumped PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2017/07/25 18:32:50 reinoud Exp $
d14 1
a14 1
PATCH_SITES=	http://www.cups.org/strfiles.php/3482/
d24 1
a24 1
HOMEPAGE=	http://www.cups.org/
@


1.17
log
@As with cups-1.5, explicitly depend on security/mit-krb5 since it can attempt
to link to it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2017/01/19 18:52:22 agc Exp $
a199 1
.include "../../security/mit-krb5/buildlink3.mk"
@


1.16
log
@Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2016/12/12 14:22:03 wiz Exp $
d200 1
@


1.15
log
@Revert "Specify readline requirement on 30 packages"

Many of these definitely do not depend on readline.
So there must be a different underlying problem, and that
should be tracked down instead of papering over it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2016/07/09 06:38:50 wiz Exp $
d18 3
a20 3
MASTER_SITES=	http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
		ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${BASE_VERS}/
@


1.14
log
@Specify readline requirement on 30 packages

Solves:
/usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline

The missing specification is obvious on DragonFly because there's
no publically accessible version of readline in base.
@
text
@a199 1
.include "../../devel/readline/buildlink3.mk"
@


1.13
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2016/03/22 22:51:13 khorben Exp $
d200 1
@


1.12
log
@Register missing dependency on curses

Found with an unprivileged bootstrap on NetBSD/amd64 (--prefer-pkgsrc yes)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/03/05 11:27:53 jperkin Exp $
d11 1
a11 1
PKGREVISION=	15
@


1.11
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/02/25 17:52:45 jperkin Exp $
d195 1
@


1.10
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2015/10/10 17:05:17 richard Exp $
d11 1
a11 1
PKGREVISION=	14
@


1.9
log
@revert accidental ssp fix waiting on joerg@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/10/10 17:03:02 richard Exp $
d93 1
a93 3
.if ${OPSYS} == "FreeBSD"
BUILDLINK_TRANSFORM+=	rm:-Wl,-pie
.endif
@


1.8
log
@SunOS doesn't have arc4random_stir either
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2015/09/05 13:03:22 jperkin Exp $
d76 2
a77 2
#LIBS_SSP=		-lssp_nonshared -lssp
#CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.7
log
@Various changes to fix build on Darwin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/06/18 16:33:26 gdt Exp $
d76 2
a77 2
LIBS_SSP=		-lssp_nonshared -lssp
CONFIGURE_ENV+=		LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.6
log
@Add upstream patch to resolve vulnerability.

At https://www.cups.org/str.php?L4609 upstream describes a privilege
escalation attack.  The patch is against 2.0.2, but applies to 1.5
without trouble.

From Edgar Fuß via tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/06/12 10:50:57 wiz Exp $
d59 1
d83 4
a86 2
PLIST_VARS+=		notmac
.if ${OPSYS} != "Darwin"
d190 1
a190 1
	${LN} -s ${DESTDIR}${PREFIX}/libexec/cups/backend/dnssd ${DESTDIR}${PREFIX}/libexec/cups/backend/mdns
@


1.5
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/04/23 09:29:22 jperkin Exp $
d11 5
a16 1
PKGREVISION=	13
@


1.4
log
@Explicitly disable epoll on illumos, it is provided for Linux compat only.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/03/14 21:03:48 tnn Exp $
d12 1
a12 1
PKGREVISION=	12
@


1.3
log
@fix iconv linkage
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/10/09 14:06:51 wiz Exp $
d71 4
a74 2
LIBS_SSP =		-lssp_nonshared -lssp
CONFIGURE_ENV+=	LIBS_SSP=${LIBS_SSP:M*:Q}
@


1.2
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2014/06/17 13:17:12 wiz Exp $
a72 1
LIBS.SunOS+=		-liconv
d74 1
@


1.1
log
@Import cups-1.5.4nb12 as print/cups15, for those that prefer it to cups-1.7.x

The Common UNIX Printing System provides a portable printing layer for
UNIX operating systems. It has been developed by Easy Software Products
to promote a standard printing solution for all UNIX vendors and users.
CUPS provides the System V and Berkeley command-line interfaces.

CUPS uses the Internet Printing Protocol (IETF-IPP) as the basis for
managing print jobs and queues.  The Line Printer Daemon (LPD, RFC1179)
and AppSocket protocols are also supported with reduced functionality.

CUPS adds network printer browsing and PostScript Printer Description
("PPD")-based printing options to support real world applications under
UNIX.

This package contains the older 1.5 series, before Apple stopped
maintaining the filters.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.207 2014/06/01 06:19:02 ryoon Exp $
a25 2
#PKG_INSTALLATION_TYPES=	overwrite pkgviews

@

