Package Details: sslh-git 1.18.r13.g718fe0e-1

Git Clone URL: https://aur.archlinux.org/sslh-git.git (read-only)
Package Base: sslh-git
Description: Network port multiplexer. Allows sharing of HTTP, SSL, SSH, OpenVPN, tinc, XMPP, etc. on the same port
Upstream URL: http://www.rutschle.net/tech/sslh.shtml
Licenses: GPL2
Conflicts: sslh
Provides: sslh
Submitter: mortzu
Maintainer: willemw
Last Packager: willemw
Votes: 5
Popularity: 0.000009
First Submitted: 2010-08-30 11:21
Last Updated: 2016-12-31 13:49

Latest Comments

willemw commented on 2016-03-11 13:29

This package now uses the built-in systemd service file.

willemw commented on 2016-02-20 11:03

Updated version is available here: https://gist.github.com/willemw12/5d13f08cf519cefd13e9
Based on the lastest sslh package. Added pkgver().

GeneArch commented on 2014-01-15 19:12

typo in my service file clearly should be
PIDFile=/run/sslh.pid

GeneArch commented on 2014-01-15 18:30

This needs to have the /etc/rc.d/ file removed and replaced by systemd service file and fixup to current Arch path standards.

i.e. Something like below:

1)/etc/conf.d/sslh.conf
SSLH_LISTEN=localhost:445
SSLH_SSH=localhost:22
SSLH_SSL=localhost:443

2) /etc/systemd/system/sslh.service
#
# /etc/systemd/system/sslh.service
#

[Unit]
Description=sslh Applicative protocol multiplexer
After=network.target

#
# Internal
#
[Service]
EnvironmentFile=/etc/conf.d/sslh.conf
PIDFile=/run/unbound.pid
ExecStart=/usr/bin/sslh -u nobody -p ${SSLH_LISTEN} -s ${SSLH_SSH} -l ${SSLH_SSL} -P ${PIDFile}
ExecStop=/usr/bin/kill -TERM $MAINPID

[Install]
WantedBy=multi-user.target


3) Get path names correct (i.e. fix PKGBUILD).
pkgname=sslh-git
pkgver=20130114
pkgrel=1
pkgdesc="SSL/SSH Multiplexer"
arch=('i686' 'x86_64')
url="http://www.rutschle.net/tech/sslh.shtml"
license=('unknown')
backup=('etc/conf.d/sslh.conf')
source=(sslh.conf sslh.service)
conflicts=(sslh)
provides=(sslh)

#md5sums=('a3ce8df734690d97bd24c76405896052')
md5sums=('4ceb71475a31c05544acea9eaf12f537' '16ff610a6d07054a248c6ef299db1423')


_gitroot="http://github.com/slubman/sslh.git"
_gitname="sslh"

build() {
cd $srcdir

if [ -e $_gitname ] ; then
cd $_gitname
git pull || return 1
cd ..
else
git clone $_gitroot $_gitname || return 1
fi

cd $srcdir/${_gitname}

sed -i -e "s+init.d+rc.d+" $srcdir/${_gitname}/sslh.pod
sed -i -e "s+/etc/default+/etc/conf.d+" $srcdir/${_gitname}/sslh.pod

sed -i -e "s+USELIBWRAP=1+USELIBWRAP=+" $srcdir/${_gitname}/Makefile
sed -i -e "s+^PREFIX=/usr/local+PREFIX=${pkgdir}/usr+" $srcdir/${_gitname}/Makefile
sed -i -e "s+/sbin/sslhl+/usr/bin/sslh+" $srcdir/${_gitname}/Makefile

make || return 1
make install

install -D -m 0755 ../sslh.conf ${pkgdir}/etc/conf.d/sslh.conf
install -D -m 0755 ../sslh.service ${pkgdir}/etc/systemd/system/sslh.service

}

paulburton commented on 2013-10-02 07:25

You should include 'git' in makedepends.