aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2014-05-22 20:40:17 +0800
committerbsam <bsam@FreeBSD.org>2014-05-22 20:40:17 +0800
commitf17ff548810e4783c522f1e6d07549a560bc3f96 (patch)
tree325d03c6140932d66323b578a2b6f469979d0ad4
parentf3a2d24dc2aa230b6580ae9925fb5fbd1e908f75 (diff)
downloadfreebsd-ports-gnome-f17ff548810e4783c522f1e6d07549a560bc3f96.tar.gz
freebsd-ports-gnome-f17ff548810e4783c522f1e6d07549a560bc3f96.tar.zst
freebsd-ports-gnome-f17ff548810e4783c522f1e6d07549a560bc3f96.zip
print/cups-base: remove files/cups_browsed.in, it does not belong here
. remove using cups_browsed.in; [1] . bump PORTREVISION. PR: ports/190085 [1] Submitted by: Fafael Ostertag <rafi@guengel.ch> [1]
-rw-r--r--print/cups-base/Makefile4
-rw-r--r--print/cups-base/files/cups_browsed.in29
2 files changed, 2 insertions, 31 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 7ff64f8910e1..d7b3aa034e40 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -62,7 +62,7 @@ CUPS_SUFFIX= -image
LICENSE= LGPL21
OPTIONS_DEFINE= GNUTLS
.else
-PORTREVISION= 0
+PORTREVISION= 1
CUPS_SUFFIX= -base
OPTIONS_DEFINE= GNUTLS LIBPAPER PHP PYTHON PAM DBUS LIBUSB XDG_OPEN AVAHI MDNSRESPONDER ICONS
OPTIONS_DEFAULT= LIBPAPER MDNSRESPONDER ICONS
@@ -104,7 +104,7 @@ LIB_DEPENDS+= libcups.so:${PORTSDIR}/${PKGCATEGORY}/cups-client \
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
diff --git a/print/cups-base/files/cups_browsed.in b/print/cups-base/files/cups_browsed.in
deleted file mode 100644
index 98513cf6901f..000000000000
--- a/print/cups-base/files/cups_browsed.in
+++ /dev/null
@@ -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"