Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 21:25:19 +0200 (CEST)
From:      Rafael Ostertag <rafi@guengel.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/190085: [patch] print/cups-base remove cups-browsed rc script
Message-ID:  <201405211925.s4LJPJKY013062@beastie.kruemel.home>
Resent-Message-ID: <201405211930.s4LJU0bB075747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190085
>Category:       ports
>Synopsis:       [patch] print/cups-base remove cups-browsed rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 19:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Rafael Ostertag
>Release:        FreeBSD 10.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD beastie.kruemel.home 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #1 r266266: Fri May 16 20:59:55 CEST 2014 root@beastie.kruemel.home:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
cups-browsed is not provided by print/cups-base. This patch reverts the changes made in PR188550, i.e. removes the cups-browsed rc script from print/cups-base.

cups-browsed is provided by print/cups-filters. A follow-up PR will be submitted.


Deleted files
-------------
files/cups_browsed.in

>How-To-Repeat:
n/a
>Fix:
n/a

--- cups-base.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 354755)
+++ Makefile	(working copy)
@@ -104,7 +104,7 @@
 BUILD_DEPENDS+=	cups-client${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client
 BUILD_DEPENDS+=	cups-image${PKGNAMESUFFIX2}>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-image
 COMMENT2=	Server
-USE_RC_SUBR=	cupsd cups_browsed
+USE_RC_SUBR=	cupsd
 PLIST_SUB+=	CACHEDIR="${CUPS_CACHEDIR}"
 .if ${ARCH} == "ia64"
 BROKEN=		stack-protector not supported on ia64
Index: files/cups_browsed.in
===================================================================
--- files/cups_browsed.in	(revision 354755)
+++ files/cups_browsed.in	(working copy)
@@ -1,29 +0,0 @@
-#!/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"
--- cups-base.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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