Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7b4f5c72d0d6f361e846a9c770b671520a4875bb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7b4f5c72d0d6f361e846a9c770b671520a4875bb)
  • Date: Sun, 6 Aug 2017 17:23:08 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/sslh/CONFIGURE | 4 ++++
net/sslh/DEPENDS | 22 ++++++++++++++++------
net/sslh/DETAILS | 20 ++++++++++++--------
net/sslh/HISTORY | 11 +++++++++++
net/sslh/INSTALL | 16 +++++++++++++++-
net/sslh/init.d/sslh | 18 ++++++++++++++++++
net/sslh/sslh.gpg |binary
net/sslh/xinetd.d/sslh | 12 ++++++++++++
8 files changed, 88 insertions(+), 15 deletions(-)

New commits:
commit 7b4f5c72d0d6f361e846a9c770b671520a4875bb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sslh: => 1.18

diff --git a/net/sslh/CONFIGURE b/net/sslh/CONFIGURE
new file mode 100755
index 0000000..b78a69c
--- /dev/null
+++ b/net/sslh/CONFIGURE
@@ -0,0 +1,4 @@
+config_query_list SSLH_SYMLINK "Would you like to have /usr/sbin/sslh as a
symlink to /usr/sbin/sslh-[fork|select]?" \
+ none \
+ sslh-fork \
+ sslh-select
diff --git a/net/sslh/DEPENDS b/net/sslh/DEPENDS
index 66aaea9..ae9775d 100755
--- a/net/sslh/DEPENDS
+++ b/net/sslh/DEPENDS
@@ -1,9 +1,19 @@
optional_depends libconfig \
- USELIBCONFIG={1,} \
- "for configuration file support" &&
+ "USELIBCONFIG=1" \
+ "USELIBCONFIG=" \
+ "for configuration file support" &&
+
optional_depends tcp_wrappers \
- USELIBWRAP={1,} \
- "for reporting and access control" &&
+ "USELIBWRAP=1" \
+ "USELIBWRAP=" \
+ "for reporting and access control" &&
+
+optional_depends pcre \
+ "USELIBPCRE=1" \
+ "USELIBPCRE=" \
+ "for PCRE engine support" &&
+
optional_depends libcap \
- USELIBCAP={1,} \
- "for dropping privileges, keep only CAP_NET_ADMIN"
+ "USELIBCAP=1" \
+ "USELIBCAP=" \
+ "for dropping privileges, keep only CAP_NET_ADMIN"
diff --git a/net/sslh/DETAILS b/net/sslh/DETAILS
index ebc0a00..b889231 100755
--- a/net/sslh/DETAILS
+++ b/net/sslh/DETAILS
@@ -1,14 +1,18 @@
SPELL=sslh
- VERSION=1.16
- SOURCE="$SPELL-v$VERSION.tar.gz"
- SOURCE_URL[0]=http://www.rutschle.net/tech/$SOURCE
-
SOURCE_HASH=sha512:54db950a8adf5998d4e309aff835269123e0e41937eff856cf59c8d11464a6479d20014ed5097d3d60726bfa44dfc2c1937e074a8b08edd069022ffde58af4eb
-SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-v$VERSION"
- WEB_SITE="http://www.rutschle.net/tech/sslh.shtml";
+ VERSION=1.18
+ SOURCE=${SPELL}-v${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.asc
+ SOURCE_URL[0]=http://www.rutschle.net/tech/${SPELL}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL}.asc
+ SOURCE_GPG=sslh.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-v${VERSION}"
+ DOCS="ChangeLog TODO example.cfg ${DOCS}"
+ WEB_SITE=http://www.rutschle.net/sslh
LICENSE[0]="GPLv2+"
ENTERED=20150228
- KEYWORDS=""
- SHORT="Applicative protocol multiplexer"
+ KEYWORDS="proxy"
+ SHORT="applicative protocol multiplexer"
cat << EOF
sslh accepts connections on specified ports, and forwards them further based
on tests performed on the first data packet sent by the remote client.
diff --git a/net/sslh/HISTORY b/net/sslh/HISTORY
index f7caf7d..af50703 100644
--- a/net/sslh/HISTORY
+++ b/net/sslh/HISTORY
@@ -1,2 +1,13 @@
+2017-08-06 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.18; converted to upstream GPG source
+ verification; added missing docs; updated website, source URL
+ * DEPENDS: rewritten, added pcre
+ * INSTALL: added installation of missing sslh-select; install config
+ files
+ * CONFIGURE: added, for a symlink option
+ * init.d, xinetd.d: added, for the init script and xinetd service
+ * sslh.gpg: added, C7934136 public key (Yves Rutschle
+ <yves AT naryves.com>)
+
2015-02-28 Ismael Luceno <ismael AT sourcemage.org>
* BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/net/sslh/INSTALL b/net/sslh/INSTALL
index c965c91..0069a1f 100755
--- a/net/sslh/INSTALL
+++ b/net/sslh/INSTALL
@@ -1 +1,15 @@
-make install PREFIX="$INSTALL_ROOT"/usr
+install -vm 0755 sslh-fork sslh-select "${INSTALL_ROOT}/usr/sbin/" &&
+install -p -m 0644 sslh.8.gz "${INSTALL_ROOT}/usr/share/man/man8/" &&
+
+if [ $SSLH_SYMLINK != "none" ]; then
+ ln -vsf "${TRACK_ROOT}/usr/sbin/${SSLH_SYMLINK}" \
+ "${INSTALL_ROOT}/usr/sbin/sslh"
+fi &&
+
+install_config_file "scripts/etc.sysconfig.sslh" \
+ "${INSTALL_ROOT}/etc/sysconfig/sslh" &&
+
+if is_depends_enabled ${SPELL} libconfig; then
+ install_config_file "basic.cfg" \
+ "${INSTALL_ROOT}/etc/sslh.cfg"
+fi
diff --git a/net/sslh/init.d/sslh b/net/sslh/init.d/sslh
new file mode 100755
index 0000000..332ccb4
--- /dev/null
+++ b/net/sslh/init.d/sslh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+. /etc/sysconfig/sslh
+
+SSLH=${SSLH:-/usr/sbin/sslh-select}
+SSLH_LANG=${SSLH_LANG:-C}
+SSLH_USER=${SSLH_USER:+--user=${SSLH_USER}}
+CONFIG=${CONFIG:+--config=${CONFIG}}
+PIDFILE=${PIDFILE:-/var/run/sslh.pid}
+
+PROGRAM="$SSLH"
+ARGS="${CONFIG} --pidfile=${PIDFILE} ${SSLH_USER} ${OPTIONS}"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+export LANG="$SSLH_LANG"
diff --git a/net/sslh/sslh.gpg b/net/sslh/sslh.gpg
new file mode 100644
index 0000000..0536c62
Binary files /dev/null and b/net/sslh/sslh.gpg differ
diff --git a/net/sslh/xinetd.d/sslh b/net/sslh/xinetd.d/sslh
new file mode 100644
index 0000000..88e2878
--- /dev/null
+++ b/net/sslh/xinetd.d/sslh
@@ -0,0 +1,12 @@
+service sslh
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = nobody
+ server = /usr/sbin/sslh-fork
+ server_args = --inetd
+ log_type = FILE /var/log/xinetd/sslh
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+}



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (7b4f5c72d0d6f361e846a9c770b671520a4875bb), Vlad Glagolev, 08/06/2017

Archive powered by MHonArc 2.6.24.

Top of Page