View | Details | Raw Unified | Return to bug 65799 | Differences between
and this patch

Collapse All | Expand All

(-)5.1.4_1/Makefile (+1 lines)
Lines 92-97 Link Here
92
92
93
post-install:
93
post-install:
94
	@${SH} ${.CURDIR}/pkg-install ${PKGNAME} POST-INSTALL
94
	@${SH} ${.CURDIR}/pkg-install ${PKGNAME} POST-INSTALL
95
	@${CAT} ${PKGMESSAGE}
95
96
96
########################################################################
97
########################################################################
97
# The following targets are for the port maintainer.  Use are your own #
98
# The following targets are for the port maintainer.  Use are your own #
(-)5.1.4_1/pkg-install (+14 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# $FreeBSD: ports/audio/slimserver/pkg-install,v 1.1 2004/04/16 13:13:30 krion Exp $
2
# $FreeBSD: ports/audio/slimserver/pkg-install,v 1.1 2004/04/16 13:13:30 krion Exp $
3
3
4
name=slimserver
4
u=slimserv
5
u=slimserv
5
g=slimserv
6
g=slimserv
6
ugid=104
7
ugid=104
Lines 8-13 Link Here
8
shell=/sbin/nologin
9
shell=/sbin/nologin
9
comment="Slim Devices SlimServer pseudo-user"
10
comment="Slim Devices SlimServer pseudo-user"
10
statedir=/var/db/slimserver
11
statedir=/var/db/slimserver
12
pidfile=/var/run/${name}.pid
13
logfile=/var/log/slimserver.log
14
logline="${logfile}	${u}:${g}		644  3    100    *    Z ${pidfile}"
15
log_comment_line="# added by audio/slimserver port"
11
16
12
case $2 in
17
case $2 in
13
PRE-INSTALL)
18
PRE-INSTALL)
Lines 37-42 Link Here
37
	if [ ! -d ${statedir} ]; then
42
	if [ ! -d ${statedir} ]; then
38
		mkdir -p ${statedir}
43
		mkdir -p ${statedir}
39
		chown -R ${u}:${g} ${statedir}
44
		chown -R ${u}:${g} ${statedir}
45
	fi
46
	if grep -q "^[^#]*${logfile}" /etc/newsyslog.conf; then
47
		echo -n "It looks like you already have some logging set up, so I "
48
		echo "will use it."
49
	else
50
		echo "Adding slimserver log entry to \"/etc/newsyslog.conf\"."
51
		echo "$log_comment_line" >>/etc/newsyslog.conf
52
		echo "$logline" >>/etc/newsyslog.conf
53
		echo "Done."
40
	fi
54
	fi
41
	;;
55
	;;
42
esac
56
esac
(-)5.1.4_1/pkg-message (+7 lines)
Line 0 Link Here
1
Note on security settings:
2
3
The slimserver service is wide open, and by default there is no password.
4
You can control access to your music collection by pointing your web
5
browser to http://localhost:9000/, and then choosing:
6
7
Server Settings/Additional Server Settings/Security

Return to bug 65799