-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0260050
commit dc74af6
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |