summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2014-05-22 12:40:17 +0000
committerbsam <bsam@FreeBSD.org>2014-05-22 12:40:17 +0000
commitf17ff548810e4783c522f1e6d07549a560bc3f96 (patch)
tree325d03c6140932d66323b578a2b6f469979d0ad4
parentf3a2d24dc2aa230b6580ae9925fb5fbd1e908f75 (diff)
downloadFreeBSD-ports-f17ff548810e4783c522f1e6d07549a560bc3f96.zip
FreeBSD-ports-f17ff548810e4783c522f1e6d07549a560bc3f96.tar.gz
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 7ff64f8..d7b3aa0 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 98513cf..0000000
--- 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"
OpenPOWER on IntegriCloud