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

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 179-185 Link Here
179
# free: 236
179
# free: 236
180
# free: 237
180
# free: 237
181
# free: 238
181
# free: 238
182
# free: 239
182
sshout:*:239:
183
aprsd:*:240:
183
aprsd:*:240:
184
tnc:*:241:
184
tnc:*:241:
185
prosody:*:242:
185
prosody:*:242:
(-)UIDs (-1 / +1 lines)
Lines 184-190 Link Here
184
# free: 236
184
# free: 236
185
# free: 237
185
# free: 237
186
# free: 238
186
# free: 238
187
# free: 239
187
sshout:*:239:239::0:0:Secure Shout Host Oriented Unified Talk:/var/db/sshout:/usr/local/libexec/sshoutd
188
aprsd:*:240:240::0:0:aprsd:/nonexistent:/bin/sh
188
aprsd:*:240:240::0:0:aprsd:/nonexistent:/bin/sh
189
tnc:*:241:241::0:0:aprsd:/nonexistent:/bin/sh
189
tnc:*:241:241::0:0:aprsd:/nonexistent:/bin/sh
190
prosody:*:242:242::0:0:Prosody Jabber Server:/nonexistent:/usr/sbin/nologin
190
prosody:*:242:242::0:0:Prosody Jabber Server:/nonexistent:/usr/sbin/nologin
(-)net-im/sshout/Makefile (+33 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	sshout
4
DISTVERSION=	1.0.2
5
CATEGORIES=	net-im
6
MASTER_SITES=	SF/sshout/${PORTNAME}/
7
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
8
9
MAINTAINER=	msl0000023508@gmail.com
10
COMMENT=	Instant-messaging service based on SSH
11
12
LICENSE=	GPLv3+
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
USES=		tar:bz2 gmake readline
16
LIB_DEPENDS=	libmhash.so:security/mhash
17
NO_WRKSUBDIR=	yes
18
CPPFLAGS+=	-I${LOCALBASE}/include
19
LDFLAGS+=	-L${LOCALBASE}/lib
20
21
MAKE_ENV=	LIBEXECDIR=\${PREFIX}/libexec \
22
		MANDIR=\${PREFIX}/man
23
24
USE_RC_SUBR=	sshout
25
26
USERS=		sshout
27
GROUPS=		sshout
28
29
OPTIONS_DEFINE=	IRC
30
IRC_DESC=	Enable the experimental IRC over SSH frontend
31
IRC_CPPFLAGS=	-DENABLE_IRC_FRONTEND
32
33
.include <bsd.port.mk>
(-)net-im/sshout/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1547014140
2
SHA256 (sshout-1.0.2-src.tar.bz2) = 25d8af583c50171180fae1ed3ca9dea45f343531d200c30fc0af18e5bfe059f9
3
SIZE (sshout-1.0.2-src.tar.bz2) = 36270
(-)net-im/sshout/files/sshout.in (+34 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: sshout
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
9
# To enable this service, add
10
# sshout_enable="<bool>"	# Set to NO by default.
11
#				# Set it to YES to enable sshout.
12
# into /etc/rc.conf.local or /etc/rc.conf
13
14
. /etc/rc.subr
15
16
name=sshout
17
rcvar=sshout_enable
18
19
load_rc_config $name
20
21
: ${sshout_enable:="NO"}
22
23
sshout_user=sshout
24
sshout_home="`getent passwd sshout | cut -d : -f 6`"
25
[ -z "$sshout_home" ] && exit 1
26
sshout_env="HOME=$sshout_home"
27
sshout_chdir="$sshout_home"
28
procname=%%PREFIX%%/libexec/sshoutd
29
pidfile="$sshout_home/sshoutd.pid"
30
command=/usr/sbin/daemon
31
command_args="-f $procname"
32
stop_postcmd="rm -f $pidfile"
33
34
run_rc_command "$1"
(-)net-im/sshout/pkg-descr (+11 lines)
Line 0 Link Here
1
Secure Shout Host Oriented Unified Talk is an instant-messaging platform
2
designed to make uses of the existing SSH server in your system.
3
SSHOUT creates a private chat room in your host. The authentication of the
4
chat room is done by SSH public authentication. Users can join your chat room
5
by either directly connecting your SSH server with any SSH client; or using a
6
SSHOUT client that implemented the client side SSHOUT API.
7
This package provides the SSHOUT server side programs; if you are finding a
8
SSHOUT client, go to project page and find out a suitable client; or you can
9
also write your own client using SSHOUT API.
10
11
WWW: https://sourceforge.net/projects/sshout/
(-)net-im/sshout/pkg-install (+9 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
PREFIX=${PKG_PREFIX-/usr/local}
4
5
case $2 in
6
	POST-INSTALL)
7
		chsh -s ${PREFIX}/libexec/sshoutd sshout
8
		;;
9
esac
(-)net-im/sshout/pkg-message (+6 lines)
Line 0 Link Here
1
#### NOTES OF SSHOUT
2
Add 'sshout_enable="YES"' into /etc/rc.conf.local or /etc/rc.conf to enable
3
this service.
4
If you installed SSHOUT for the first time, use sshoutcfg(8) to add users.
5
You must have SSH server running and accepting public key authentication.
6
#### END
(-)net-im/sshout/pkg-plist (+3 lines)
Line 0 Link Here
1
libexec/sshoutd
2
man/man8/sshoutcfg.8.gz
3
sbin/sshoutcfg

Return to bug 228723