mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
These are additional revisions based on discussion on bug #272066. There, the placement for the sample scripts wasn't correct. So, we now move the sample scripts to $LOCALBASE/etc/scanbd/scripts as samples, but they aren't marked as samples in the plist. There is also a pkg-message that explains this. This should be the last revision I can see in the immediate future until a new release comes out. PR: 272419 See also: 272066
38 lines
1.5 KiB
Text
38 lines
1.5 KiB
Text
--- conf/scanbd.conf.orig 2017-08-25 06:29:18 UTC
|
|
+++ conf/scanbd.conf
|
|
@@ -30,7 +30,7 @@ global {
|
|
|
|
# debug logging
|
|
# 1=error, 2=warn, 3=info, 4-7=debug
|
|
- debug-level = 7
|
|
+ debug-level = 2
|
|
|
|
# drop priviliges to this user
|
|
#=============================
|
|
@@ -52,12 +52,12 @@ global {
|
|
# *BSD (no group lp here, use daemon instead)
|
|
# group = daemon # root
|
|
#
|
|
- group = lp
|
|
+ group = saned
|
|
|
|
# the saned executable for manager-mode
|
|
- saned = "/usr/sbin/saned"
|
|
+ saned = "%%PREFIX%%/sbin/saned"
|
|
saned_opt = {} # string-list
|
|
- saned_env = { "SANE_CONFIG_DIR=/etc/scanbd" } # list of environment vars for saned
|
|
+ saned_env = { "SANE_CONFIG_DIR=%%PREFIX%%/etc/scanbd" } # list of environment vars for saned
|
|
|
|
# Scriptdir specifies where scanbd normally looks for scripts.
|
|
# The scriptdir option can be defined as:
|
|
@@ -68,8 +68,8 @@ global {
|
|
# sets scriptdir to <path>/etc/scanbd/scripts.
|
|
# scriptdir = /some/path
|
|
# sets scriptdir to the specified absolute path
|
|
- # Default scriptdir is <path>/etc/scanbd, this is normally appropriate
|
|
- scriptdir = /etc/scanbd/scripts
|
|
+ # Default scriptdir is <path>/etc/scanbd, this is normally
|
|
+ scriptdir = %%PREFIX%%/etc/scanbd/scripts
|
|
|
|
# Scripts to execute upon device insertion/removal.
|
|
# It can be necessary to load firmware into the device when it is first
|