Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2015 00:43:12 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389015 - head/print/cups-base
Message-ID:  <201506100043.t5A0hCHv031624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Jun 10 00:43:11 2015
New Revision: 389015
URL: https://svnweb.freebsd.org/changeset/ports/389015

Log:
  CUPS 2.x does not support OpenSSL any more.  Switch to GNU TLS by default.
  
  MFH:		2015Q2

Modified:
  head/print/cups-base/Makefile
  head/print/cups-base/pkg-descr
  head/print/cups-base/pkg-descr.client
  head/print/cups-base/pkg-descr.image
  head/print/cups-base/pkg-plist

Modified: head/print/cups-base/Makefile
==============================================================================
--- head/print/cups-base/Makefile	Tue Jun  9 23:41:41 2015	(r389014)
+++ head/print/cups-base/Makefile	Wed Jun 10 00:43:11 2015	(r389015)
@@ -15,6 +15,9 @@ COMMENT=	Common UNIX Printing System: ${
 
 LICENSE=	GPLv2
 
+LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
+		libgcrypt.so:${PORTSDIR}/security/libgcrypt
+
 CONFLICTS=	LPRng-[0-9]*
 
 UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
@@ -37,7 +40,7 @@ CONFIGURE_ARGS+=	--localstatedir=/var			
 			--with-domainsocket=${CUPS_SOCKET}	\
 			--with-cachedir=${CUPS_CACHEDIR}	\
 			--with-pam-module="unix"		\
-			--enable-ssl
+			--enable-gnutls
 
 CUPS_CACHEDIR?=	/var/db/cups
 CUPS_SPOOLDIR=	/var/spool/cups
@@ -51,23 +54,20 @@ GROUPS=	cups
 USERS=		cups
 
 # UNIQUENAME must be set before bsd.port.pre.mk so OPTIONSFILE can be included
-OPTIONS_SINGLE=		SSL
-OPTIONS_SINGLE_SSL=	GNUTLS OPENSSL
-OPTIONS_DEFAULT=	OPENSSL
 OPTIONS_SUB=		yes
 .if defined(CUPS_CLIENT)
-PORTREVISION=	0
+PORTREVISION=	1
 LICENSE=	LGPL21
 CUPS_SUFFIX=	-client
 OPTIONS_RADIO=		ZEROCONF
 OPTIONS_RADIO_ZEROCONF=	AVAHI MDNSRESPONDER
 OPTIONS_DEFAULT+=	MDNSRESPONDER
 .elif defined(CUPS_IMAGE)
-PORTREVISION=	0
+PORTREVISION=	1
 CUPS_SUFFIX=	-image
 LICENSE=	LGPL21
 .else
-PORTREVISION=	0
+PORTREVISION=	1
 CUPS_SUFFIX=	-base
 # No DOCS option.  Files are needed by web interface.
 OPTIONS_DEFINE=		DBUS ICONS LIBPAPER LIBUSB PAM XDG_OPEN
@@ -128,17 +128,6 @@ PLIST_SUB+=		OVERWRITE="@comment "
 CONFIGURE_ARGS+=	--with-printcap=${PREFIX}/etc/printcap
 .endif
 
-.if ${PORT_OPTIONS:MGNUTLS}
-CONFIGURE_ARGS+=	--disable-openssl --enable-gnutls
-LIB_DEPENDS+=		libgcrypt.so:${PORTSDIR}/security/libgcrypt \
-			libgnutls.so:${PORTSDIR}/security/gnutls
-.endif
-
-.if ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL=		yes
-CONFIGURE_ARGS+=	--disable-gnutls --enable-openssl
-.endif
-
 # Don't use CONFIGURE_ARGS+=--without-* to disable web interpreters because it
 # will set the path of the interpreter to "no" and set it's existence to TRUE.
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE)

Modified: head/print/cups-base/pkg-descr
==============================================================================
--- head/print/cups-base/pkg-descr	Tue Jun  9 23:41:41 2015	(r389014)
+++ head/print/cups-base/pkg-descr	Wed Jun 10 00:43:11 2015	(r389015)
@@ -17,7 +17,5 @@ non-PostScript printers. Sample drivers 
 that use these filters. This software is available in the cups-pstoraster
 port.
 
-LICENSE: GPL2 or later with exception to link with OpenSSL
-
 WWW: http://www.cups.org/
 [original text by greid@ukug.uk.freebsd.org]

Modified: head/print/cups-base/pkg-descr.client
==============================================================================
--- head/print/cups-base/pkg-descr.client	Tue Jun  9 23:41:41 2015	(r389014)
+++ head/print/cups-base/pkg-descr.client	Wed Jun 10 00:43:11 2015	(r389015)
@@ -1,5 +1,3 @@
 This provides libcups for applications to access CUPS.
 
-LICENSE: LGPL2 or later with exception to link with OpenSSL
-
 WWW: http://www.cups.org/

Modified: head/print/cups-base/pkg-descr.image
==============================================================================
--- head/print/cups-base/pkg-descr.image	Tue Jun  9 23:41:41 2015	(r389014)
+++ head/print/cups-base/pkg-descr.image	Wed Jun 10 00:43:11 2015	(r389015)
@@ -1,5 +1,3 @@
 This provides libcupsimage for applications to process CUPS raster files.
 
-LICENSE: LGPL2 or later with exception to link with OpenSSL
-
 WWW: http://www.cups.org/

Modified: head/print/cups-base/pkg-plist
==============================================================================
--- head/print/cups-base/pkg-plist	Tue Jun  9 23:41:41 2015	(r389014)
+++ head/print/cups-base/pkg-plist	Wed Jun 10 00:43:11 2015	(r389015)
@@ -42,7 +42,9 @@ lib/libcupsmime.so.1
 lib/libcupsppdc.so
 lib/libcupsppdc.so.1
 libexec/cups/backend/http
+libexec/cups/backend/https
 libexec/cups/backend/ipp
+libexec/cups/backend/ipps
 libexec/cups/backend/lpd
 libexec/cups/backend/snmp
 libexec/cups/backend/socket



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506100043.t5A0hCHv031624>