Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 17:41:40 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487453 - in head/print/cups-filters: . files
Message-ID:  <201812141741.wBEHfeaK095692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Dec 14 17:41:40 2018
New Revision: 487453
URL: https://svnweb.freebsd.org/changeset/ports/487453

Log:
  - Update to 1.21.5.
  - Fix support for cups_browsed_flags in the cups_browsed rc.d script.  The
    flags were passed to daemon(8) instead of cups_browsed. [1]
  
  PR:		230951 [1]
  Submitted by:	J.R. Oldroyd <fbsd@opal.com> [1]

Modified:
  head/print/cups-filters/Makefile
  head/print/cups-filters/distinfo
  head/print/cups-filters/files/cups_browsed.in

Modified: head/print/cups-filters/Makefile
==============================================================================
--- head/print/cups-filters/Makefile	Fri Dec 14 17:34:01 2018	(r487452)
+++ head/print/cups-filters/Makefile	Fri Dec 14 17:41:40 2018	(r487453)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cups-filters
-PORTVERSION=	1.21.3
-PORTREVISION=	1
+PORTVERSION=	1.21.5
 CATEGORIES=	print
 MASTER_SITES=	http://www.openprinting.org/download/cups-filters/
 

Modified: head/print/cups-filters/distinfo
==============================================================================
--- head/print/cups-filters/distinfo	Fri Dec 14 17:34:01 2018	(r487452)
+++ head/print/cups-filters/distinfo	Fri Dec 14 17:41:40 2018	(r487453)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538924799
-SHA256 (cups-filters-1.21.3.tar.xz) = f5a61222148f68d0afc3bb5960eda167f9bcd0055dcd4c5c4a6909f1a79126e0
-SIZE (cups-filters-1.21.3.tar.xz) = 1474152
+TIMESTAMP = 1544808087
+SHA256 (cups-filters-1.21.5.tar.xz) = 389ba80917e9a2157a3af8c0b7d8b80db34a22e22beffab67928783c8f4cf82b
+SIZE (cups-filters-1.21.5.tar.xz) = 1474388

Modified: head/print/cups-filters/files/cups_browsed.in
==============================================================================
--- head/print/cups-filters/files/cups_browsed.in	Fri Dec 14 17:34:01 2018	(r487452)
+++ head/print/cups-filters/files/cups_browsed.in	Fri Dec 14 17:41:40 2018	(r487453)
@@ -19,11 +19,18 @@ rcvar=cups_browsed_enable
 
 load_rc_config ${name}
 
- : ${cups_browsed_enable:=NO}
+: ${cups_browsed_enable:=NO}
+: ${cups_browsed_flags:=}
 
-command=/usr/sbin/daemon
 pidfile=/var/run/cups-browsed.pid
-command_args="-p ${pidfile} %%PREFIX%%/sbin/cups-browsed"
-procname="%%PREFIX%%/sbin/cups-browsed"
+command="%%PREFIX%%/sbin/cups-browsed"
+
+start_cmd="${name}_start"
+
+cups_browsed_start()
+{
+	echo -n "Starting ${name}."
+	/usr/sbin/daemon -p ${pidfile} ${command} ${cups_browsed_flags}
+}
 
 run_rc_command "$1"



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