summaryrefslogtreecommitdiff
path: root/homebrew/openssh/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openssh/.beer')
-rw-r--r--homebrew/openssh/.beer60
1 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/openssh/.beer b/homebrew/openssh/.beer
new file mode 100644
index 000000000..3ed6c255d
--- /dev/null
+++ b/homebrew/openssh/.beer
@@ -0,0 +1,60 @@
+{
+ "name": "Openssh",
+ "description": "OpenBSD freely-licensed SSH connectivity tools",
+ "url": "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz",
+ "mirror": "https://mirror.vdms.io/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz",
+ "homepage": "https://www.openssh.com/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "ldns",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "com.openssh.sshd.sb",
+ "url": "https://opensource.apple.com/source/OpenSSH/OpenSSH-209.50.1/com.openssh.sshd.sb"
+ }
+ ],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/patches/1860b0a74/openssh/patch-sandbox-darwin.c-apple-sandbox-named-external.diff",
+ "strip": "1"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/patches/d8b2d8c2/openssh/patch-sshd.c-apple-sandbox-named-external.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.append \"CPPFLAGS\", \"-D__APPLE_SANDBOX_NAMED_EXTERNAL__\"",
+ "inreplace \"sandbox-darwin.c\", \"@PREFIX@/share/openssh\", etc/\"ssh\"",
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--sysconfdir=#{etc}/ssh",
+ "--with-ldns",
+ "--with-libedit",
+ "--with-kerberos5",
+ "--with-pam",
+ "--with-ssl-dir=#{Formula[\"openssl\"].opt_prefix}",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "ENV.deparallelize",
+ "system \"make\", \"install\"",
+ "bin.install_symlink bin/\"ssh\" => \"slogin\"",
+ "buildpath.install resource(\"com.openssh.sshd.sb\")",
+ "(etc/\"ssh\").install \"com.openssh.sshd.sb\" => \"org.openssh.sshd.sb\""
+ ],
+ "version": "8.0",
+ "file": "openssh.rb"
+} \ No newline at end of file