import nxssh 3.2.0-1
Modified OpenSSH daemon and client for NX. based on work by bernd@, ok bernd@
This commit is contained in:
parent
330e869810
commit
8a76961fbd
29
x11/nx/nxssh/Makefile
Normal file
29
x11/nx/nxssh/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/13 17:13:42 jasper Exp $
|
||||
|
||||
COMMENT= OpenSSH client and daemon for NX
|
||||
|
||||
VERSION= 3.2.0
|
||||
DASH_VER= 1
|
||||
DISTNAME= nxssh-${VERSION}-${DASH_VER}
|
||||
PKGNAME= nxssh-${VERSION}.${DASH_VER}
|
||||
CATEGORIES= net
|
||||
|
||||
WANTLIB= asn1 c com_err crypto des gssapi jpeg krb5 m png stdc++ util z
|
||||
|
||||
LIB_DEPENDS= Xcomp::x11/nx/nxcomp
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --with-bsd-auth \
|
||||
--with-kerberos5=/usr \
|
||||
--with-cflags="${CFLAGS}"
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/nx -I/usr/include/kerberosV/" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
WRKDIST= ${WRKDIR}/nxssh
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/nxssh-keygen ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/nxsshd ${PREFIX}/sbin
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/nx/nxssh/distinfo
Normal file
5
x11/nx/nxssh/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (nx/nxssh-3.2.0-1.tar.gz) = bUlVN26h38tpcbK0bTHs4Q==
|
||||
RMD160 (nx/nxssh-3.2.0-1.tar.gz) = R1cnzm2COD8OhFHyHjE1FfMe/KM=
|
||||
SHA1 (nx/nxssh-3.2.0-1.tar.gz) = EkLJRAzs8aBk9PruElzFtcTDD+k=
|
||||
SHA256 (nx/nxssh-3.2.0-1.tar.gz) = 1q+ZUurPEJgnVOpRMREtPw/hf49Khg+6GzEKS8MDBUk=
|
||||
SIZE (nx/nxssh-3.2.0-1.tar.gz) = 1430246
|
16
x11/nx/nxssh/patches/patch-configure
Normal file
16
x11/nx/nxssh/patches/patch-configure
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2008/06/13 17:13:42 jasper Exp $
|
||||
--- configure.orig Tue Oct 2 19:02:53 2007
|
||||
+++ configure Fri Jun 13 10:12:54 2008
|
||||
@@ -4668,10 +4668,10 @@ TEST_SHELL=sh
|
||||
|
||||
|
||||
|
||||
-CFLAGS="-g -O3"
|
||||
+#CFLAGS="-g -O3"
|
||||
|
||||
NXCOMPINC="-I../nxcomp"
|
||||
-NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lpng -ljpeg -lz"
|
||||
+NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lm -lpng -ljpeg -lz"
|
||||
|
||||
# Extract the first word of "groupadd", so it can be a program name with args.
|
||||
set dummy groupadd; ac_word=$2
|
24
x11/nx/nxssh/patches/patch-readpass_c
Normal file
24
x11/nx/nxssh/patches/patch-readpass_c
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-readpass_c,v 1.1.1.1 2008/06/13 17:13:42 jasper Exp $
|
||||
--- readpass.c.orig Tue Jun 3 13:48:22 2008
|
||||
+++ readpass.c Tue Jun 3 13:49:38 2008
|
||||
@@ -176,6 +176,11 @@ read_passphrase(const char *prompt, int flags)
|
||||
fprintf(stdout, prompt);
|
||||
fflush(stdout);
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+ memset(buf, 0, sizeof(buf));
|
||||
+ retr = fgets(buf, sizeof(buf) - 2, stdin);
|
||||
+ len = strlen(buf);
|
||||
+#else
|
||||
len = retr = 0;
|
||||
do
|
||||
{
|
||||
@@ -186,7 +191,7 @@ read_passphrase(const char *prompt, int flags)
|
||||
break;
|
||||
len += retr;
|
||||
} while (sizeof(buf) - 1 - len > 0 && buf[len] == '\n');
|
||||
-
|
||||
+#endif /* __OpenBSD__ */
|
||||
buf[len-1] = '\0';
|
||||
|
||||
fprintf(stdout, "\n");
|
1
x11/nx/nxssh/pkg/DESCR
Normal file
1
x11/nx/nxssh/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Modified OpenSSH daemon and client for NX.
|
4
x11/nx/nxssh/pkg/PLIST
Normal file
4
x11/nx/nxssh/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/13 17:13:42 jasper Exp $
|
||||
@bin bin/nxssh
|
||||
@bin bin/nxssh-keygen
|
||||
@bin sbin/nxsshd
|
Loading…
x
Reference in New Issue
Block a user