Skip to content

Commit

Permalink
main/stunnel: new package (5.73)
Browse files Browse the repository at this point in the history
  • Loading branch information
a16bitsysop committed Oct 20, 2024
1 parent 0260050 commit dc74af6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/stunnel/files/sysusers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Create stunnel system user

u _stunnel - "stunnel user" /var/run/stunnel /usr/bin/nologin
4 changes: 4 additions & 0 deletions main/stunnel/files/tmpfiles.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

d /run/stunnel 0750 _stunnel _stunnel -
d /var/lib/stunnel 0750 _stunnel _stunnel -
d /var/log/stunnel 0750 _stunnel _stunnel -
18 changes: 18 additions & 0 deletions main/stunnel/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pkgname = "stunnel"
pkgver = "5.73"
pkgrel = 0
build_style = "gnu_configure"
hostmakedepends = ["autoconf-archive", "automake", "libtool"]
makedepends = ["openssl-devel"]
checkdepends = ["python-cryptography"]
pkgdesc = "TLS proxy to add TLS encryption to existing clients and servers"
maintainer = "Duncan Bellamy <dunk@denkimushi.com>"
license = "GPL-2.0-or-later"
url = "https://stunnel.org"
source = f"{url}/downloads/stunnel-{pkgver}.tar.gz"
sha256 = "bc917c3bcd943a4d632360c067977a31e85e385f5f4845f69749bce88183cb38"


def post_install(self):
self.install_sysusers(self.files_path / "sysusers.conf")
self.install_tmpfiles(self.files_path / "tmpfiles.conf")

0 comments on commit dc74af6

Please sign in to comment.