This is a follow-up to PR190085. print/cups-filters provides cups-browsed, but no rc script to start it. Fix: This patch adds the missing pieces. How-To-Repeat: n/a
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of print/cups-filters, Please note that PR ports/190086 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/190086 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
I approve of the patch. Thanks, Naram Qashat
State Changed From-To: feedback->open Maintainer approved.
Author: bsam Date: Thu May 22 12:48:42 2014 New Revision: 354832 URL: http://svnweb.freebsd.org/changeset/ports/354832 QAT: https://qat.redports.org/buildarchive/r354832/ Log: print/cups-filters: add missing rc script . add imissing rc script; [1] . bump PORTREVISION. PR: ports/190086 [1] Submitted by: Rafael Ostertag <rafi@guengel.ch> [1] Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) [1] Added: head/print/cups-filters/files/cups_browsed.in (contents, props changed) Modified: head/print/cups-filters/Makefile Modified: head/print/cups-filters/Makefile ============================================================================== --- head/print/cups-filters/Makefile Thu May 22 12:40:17 2014 (r354831) +++ head/print/cups-filters/Makefile Thu May 22 12:48:42 2014 (r354832) @@ -2,6 +2,7 @@ PORTNAME= cups-filters PORTVERSION= 1.0.53 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/cups-filters/ @@ -24,6 +25,7 @@ USES= compiler:c++11-lib pathfix pkgcon SHEBANG_FILES= filter/textonly USE_GNOME= glib20 USE_GHOSTSCRIPT= yes +USE_RC_SUBR= cups_browsed GNU_CONFIGURE= yes CUPS_SOCKET= /var/run/cups.sock CONFIGURE_ARGS= --with-cups-domainsocket=${CUPS_SOCKET} Added: head/print/cups-filters/files/cups_browsed.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/cups-filters/files/cups_browsed.in Thu May 22 12:48:42 2014 (r354832) @@ -0,0 +1,29 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: cups_browsed +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following to /etc/rc.conf[.local] to enable this service +# +# cups_browsed_enable (bool): Set to NO by default. +# Set it to YES to enable cups_browsed. +# + +. /etc/rc.subr + +name=cups_browsed +rcvar=cups_browsed_enable + +load_rc_config ${name} + + : ${cups_browsed_enable:=NO} + +command=/usr/sbin/daemon +pidfile=/var/run/cups-browsed.pid +command_args="-p ${pidfile} %%PREFIX%%/sbin/cups-browsed" +procname="%%PREFIX%%/sbin/cups-browsed" + +run_rc_command "$1" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!