Advertisement
Guest User

fix openssh macport for launchd ssh-agent usage

a guest
Mar 23rd, 2012
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 1.01 KB | None | 0 0
  1. --- /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openssh/Portfile   2012-03-17 09:00:30.000000000 -0500
  2. +++ openssh-Portfile    2012-03-23 13:38:10.000000000 -0500
  3. @@ -5,7 +5,7 @@
  4.  
  5.  name            openssh
  6.  version         5.9p1
  7. -revision        2
  8. +revision        3
  9.  
  10.  categories      net
  11.  maintainers     jwa openmaintainer
  12. @@ -42,7 +42,7 @@
  13.  # Specified -fno-builtin because GCC 3.3 has log() as a builtin
  14.  # (from math.h) while OpenSSH has its own log() function
  15.  # -- from fink.
  16. -configure.cppflags-append "-fno-builtin"
  17. +configure.cppflags-append "-fno-builtin -D__APPLE_LAUNCHD__"
  18.  configure.args --with-ssl-dir=${prefix} --sysconfdir=${prefix}/etc/ssh \
  19.      --with-privsep-path=${prefix}/var/empty --with-md5-passwords \
  20.      --with-pid-dir=${prefix}/var/run --with-tcp-wrappers \
  21. @@ -91,6 +91,7 @@
  22.  }
  23.  
  24.  platform darwin {
  25. +  patchfiles-append DVG-4748610+4897588_ssh-agent_via_launchd.patch
  26.    # create link to /usr/include/pam because 'security' was renamed to 'pam'
  27.    # in OS X.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement