Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2020 21:45:04 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531797 - in head: . net-im net-im/sshout net-im/sshout/files
Message-ID:  <202004152145.03FLj43Y046685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Wed Apr 15 21:45:03 2020
New Revision: 531797
URL: https://svnweb.freebsd.org/changeset/ports/531797

Log:
  New port net-im/sshout: Instant-messaging solution based on SSH
  
  Secure Shout Host Oriented Unified Talk is an instant-messaging platform
  designed to make uses of the existing SSH server in your system.
  SSHOUT creates a private chat room in your host. The authentication of the
  chat room is done by SSH public authentication. Users can join your chat room
  by either directly connecting your SSH server with any SSH client; or using a
  SSHOUT client that implemented the client side SSHOUT API.
  This package provides the SSHOUT server side programs; if you are finding a
  SSHOUT client, go to project page and find out a suitable client; or you can
  also write your own client using SSHOUT API.
  
  PR:		228723
  Submitted by:	WHR <msl0000023508@gmail.com>

Added:
  head/net-im/sshout/
  head/net-im/sshout/Makefile   (contents, props changed)
  head/net-im/sshout/distinfo   (contents, props changed)
  head/net-im/sshout/files/
  head/net-im/sshout/files/sshout.in   (contents, props changed)
  head/net-im/sshout/pkg-descr   (contents, props changed)
  head/net-im/sshout/pkg-install   (contents, props changed)
  head/net-im/sshout/pkg-message   (contents, props changed)
Modified:
  head/GIDs
  head/UIDs
  head/net-im/Makefile

Modified: head/GIDs
==============================================================================
--- head/GIDs	Wed Apr 15 21:10:41 2020	(r531796)
+++ head/GIDs	Wed Apr 15 21:45:03 2020	(r531797)
@@ -205,7 +205,7 @@ meta1q:*:261:
 meta1c:*:262:meta1s
 meta1m:*:263:meta1s,meta1q
 meta1:*:264:
-# free: 265
+sshout:*:265:
 # free: 266
 # free: 267
 # free: 268

Modified: head/UIDs
==============================================================================
--- head/UIDs	Wed Apr 15 21:10:41 2020	(r531796)
+++ head/UIDs	Wed Apr 15 21:45:03 2020	(r531797)
@@ -210,7 +210,7 @@ meta1q:*:261:261::0:0:MeTA1 QMGR:/nonexistent:/usr/sbi
 meta1c:*:262:262::0:0:MeTA1 SMTPC:/nonexistent:/usr/sbin/nologin
 meta1m:*:263:263::0:0:MeTA1 misc:/nonexistent:/usr/sbin/nologin
 meta1:*:264:264::0:0:MeTA1 other:/nonexistent:/usr/sbin/nologin
-# free: 265
+sshout:*:265:265::0:0:Secure Shout Host Oriented Unified Talk:/var/db/sshout:/usr/local/libexec/sshoutd
 # free: 266
 # free: 267
 # free: 268

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Wed Apr 15 21:10:41 2020	(r531796)
+++ head/net-im/Makefile	Wed Apr 15 21:45:03 2020	(r531797)
@@ -156,6 +156,7 @@
     SUBDIR += slack-term
     SUBDIR += spectral
     SUBDIR += ssh-chat
+    SUBDIR += sshout
     SUBDIR += talkatu
     SUBDIR += teamwords
     SUBDIR += telegram

Added: head/net-im/sshout/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/Makefile	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	sshout
+DISTVERSION=	1.0.2
+CATEGORIES=	net-im
+MASTER_SITES=	SF/sshout/${PORTNAME}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER=	msl0000023508@gmail.com
+COMMENT=	Instant-messaging service based on SSH
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libmhash.so:security/mhash
+
+USES=		tar:bz2 gmake readline
+
+NO_WRKSUBDIR=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+MAKE_ENV=	LIBEXECDIR=\${PREFIX}/libexec \
+		MANDIR=\${PREFIX}/man
+
+USE_RC_SUBR=	sshout
+
+USERS=		sshout
+GROUPS=		sshout
+
+PLIST_FILES=	libexec/sshoutd \
+		man/man8/sshoutcfg.8.gz \
+		sbin/sshoutcfg
+
+OPTIONS_DEFINE=	IRC
+IRC_DESC=	Enable the experimental IRC over SSH frontend
+IRC_CPPFLAGS=	-DENABLE_IRC_FRONTEND
+
+.include <bsd.port.mk>

Added: head/net-im/sshout/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/distinfo	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547014140
+SHA256 (sshout-1.0.2-src.tar.bz2) = 25d8af583c50171180fae1ed3ca9dea45f343531d200c30fc0af18e5bfe059f9
+SIZE (sshout-1.0.2-src.tar.bz2) = 36270

Added: head/net-im/sshout/files/sshout.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/files/sshout.in	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: sshout
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# To enable this service, add
+# sshout_enable="<bool>"	# Set to NO by default.
+#				# Set it to YES to enable sshout.
+# into /etc/rc.conf.local or /etc/rc.conf
+
+. /etc/rc.subr
+
+name=sshout
+rcvar=sshout_enable
+
+load_rc_config $name
+
+: ${sshout_enable:="NO"}
+
+sshout_user=sshout
+sshout_home="`getent passwd sshout | cut -d : -f 6`"
+[ -z "$sshout_home" ] && exit 1
+sshout_env="HOME=$sshout_home"
+sshout_chdir="$sshout_home"
+procname=%%PREFIX%%/libexec/sshoutd
+pidfile="$sshout_home/sshoutd.pid"
+command=/usr/sbin/daemon
+command_args="-f $procname"
+stop_postcmd="rm -f $pidfile"
+
+run_rc_command "$1"

Added: head/net-im/sshout/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/pkg-descr	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,11 @@
+Secure Shout Host Oriented Unified Talk is an instant-messaging platform
+designed to make uses of the existing SSH server in your system.
+SSHOUT creates a private chat room in your host. The authentication of the
+chat room is done by SSH public authentication. Users can join your chat room
+by either directly connecting your SSH server with any SSH client; or using a
+SSHOUT client that implemented the client side SSHOUT API.
+This package provides the SSHOUT server side programs; if you are finding a
+SSHOUT client, go to project page and find out a suitable client; or you can
+also write your own client using SSHOUT API.
+
+WWW: https://sourceforge.net/projects/sshout/

Added: head/net-im/sshout/pkg-install
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/pkg-install	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case $2 in
+	POST-INSTALL)
+		chsh -s ${PKG_PREFIX}/libexec/sshoutd sshout
+		;;
+esac

Added: head/net-im/sshout/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/sshout/pkg-message	Wed Apr 15 21:45:03 2020	(r531797)
@@ -0,0 +1,8 @@
+#### NOTES OF SSHOUT
+In order to start sshout service you need some more configuration:
+
+# sysrc -f /etc/rc.conf sshout_enable="YES"
+
+If you installed SSHOUT for the first time, use sshoutcfg(8) to add users.
+You must have SSH server running and accepting public key authentication.
+#### END



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004152145.03FLj43Y046685>