Ticket #48809: lsh-Portfile.diff
File lsh-Portfile.diff, 1.7 KB (added by greeneg (Gary Greene), 9 years ago) |
---|
-
Portfile
old new 4 4 5 5 name lsh 6 6 version 1.5.4 7 revision 07 revision 1 8 8 description A GNU implementation of the Secure Shell protocols 9 9 long_description \ 10 10 lsh is a free implementation (in the GNU sense) of the ssh \ … … 34 34 35 35 36 36 platform darwin { 37 post-extract{38 39 40 37 post-extract { 38 system "mkdir -p ${workpath}/paminclude" 39 system "ln -sf /usr/include/pam ${workpath}/paminclude/security" 40 } 41 41 42 42 patchfiles-append patch-src-unix_user.c.diff 43 43 44 post-patch 44 post-patch { 45 45 # fix time stamps 46 46 system "touch \"${worksrcpath}/src/unix_user.c.x\"" 47 47 } 48 48 49 49 set platformcflags "-I${workpath}/paminclude" 50 50 configure.args ${defaultconfigureargs} CPPFLAGS="${defaultcflags} ${platformcflags}" LDFLAGS="-L${prefix}/lib" 51 51 52 post-install { 53 ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to" 54 ui_msg " /etc/pam.d/lshd, or use another config with pam_securityserver.so." 55 } 56 52 post-install { 53 ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to " 54 ui_msg "/etc/pam.d/lshd, or use another config with pam_securityserver.so." 55 } 57 56 } 58 57 58 configure.cflags-append "-std=gnu89" 59 59 configure.args ${defaultconfigureargs} CPPFLAGS="${defaultcflags}" LDFLAGS="-L${prefix}/lib"