Package Details: openssh-selinux 7.6p1-1

Git Clone URL: https://aur.archlinux.org/openssh-selinux.git (read-only)
Package Base: openssh-selinux
Description: Free version of the SSH connectivity tools with SELinux support
Upstream URL: https://www.openssh.com/portable.html
Keywords: selinux
Licenses: custom:BSD
Groups: selinux
Conflicts: openssh, selinux-openssh
Provides: openssh=7.6p1-1, selinux-openssh=7.6p1-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 15
Popularity: 0.027827
First Submitted: 2013-11-03 20:05
Last Updated: 2017-10-07 13:59

Required by (149)

Sources (9)

Latest Comments

IooNag commented on 2017-05-12 20:49

MrMuffin: is your system up-to-date? Which version of openssl are you using? The last version of the package is only compatible with 1.1.0.e-1, as OpenSSL 1.1.0 broke backward-compatibility.

MrMuffin commented on 2017-05-12 20:44

Hi. I am getting these errors:

cipher.c: In function ‘cipher_get_keycontext’:
cipher.c:696:35: error: ‘cc->evp’ is a pointer; did you mean to use ‘->’?
#define EVP_X_STATE_LEN(evp) (evp).cipher->ctx_size
^
->
cipher.c:708:10: note: in expansion of macro ‘EVP_X_STATE_LEN’
plen = EVP_X_STATE_LEN(cc->evp);
^~~~~~~~~~~~~~~
cipher.c:695:31: error: ‘cc->evp’ is a pointer; did you mean to use ‘->’?
#define EVP_X_STATE(evp) (evp).cipher_data
^
->
cipher.c:711:15: note: in expansion of macro ‘EVP_X_STATE’
memcpy(dat, EVP_X_STATE(cc->evp), plen);
^~~~~~~~~~~
cipher.c: In function ‘cipher_set_keycontext’:
cipher.c:696:35: error: ‘cc->evp’ is a pointer; did you mean to use ‘->’?
#define EVP_X_STATE_LEN(evp) (evp).cipher->ctx_size
^
->
cipher.c:727:10: note: in expansion of macro ‘EVP_X_STATE_LEN’
plen = EVP_X_STATE_LEN(cc->evp);
^~~~~~~~~~~~~~~
cipher.c:695:31: error: ‘cc->evp’ is a pointer; did you mean to use ‘->’?
#define EVP_X_STATE(evp) (evp).cipher_data
^
->
cipher.c:728:10: note: in expansion of macro ‘EVP_X_STATE’
memcpy(EVP_X_STATE(cc->evp), dat, plen);
^~~~~~~~~~~
make: *** [Makefile:152: cipher.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build openssh-selinux.

Can you help me?

zer01 commented on 2017-05-07 21:59

Looks like API changes in the OpenSSL 1.1 libs have broken compatibility. Got it to compile again using the extra/openssl-1.0 package:

depends=('krb5' 'openssl-1.0' 'libedit' 'ldns' 'libselinux')

and in build():

export CFLAGS="$CFLAGS -I/usr/include/openssl-1.0"
export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"

RemoteAdmin commented on 2017-02-06 16:37

@IooNag Unfortunately the first upstream fix wasn't working. Therefore you have to update the package again... But this time it has been verified to work. Thanks for keeping this up to date.

IooNag commented on 2017-02-04 09:17

@RemoteAdmin Thanks for having this bug fixed in the upstream package! I have updated openssh-selinux accordingly.

RemoteAdmin commented on 2017-02-04 08:57

@IooNag An Alternative would be to update to upstream version of openssh. I have filed a bug which is now corrected (https://bugs.archlinux.org/task/52823). May be sufficient as well.

IooNag commented on 2017-02-02 23:35

@RemoteAdmin: thanks for the bug report. Instead of using makedepends I am thinking of adding "checkdepends=('openssh')" to the package, which would not do anything when running "makepkg --nocheck". I will test this option and modify the package this week-end if it works fine.

RemoteAdmin commented on 2017-02-02 12:48

There is a problem with the PKGBUILD. If openssh is not installed the following error will occur at the check:

"scp: failed copy /tmp/3bcb7602/0/aur-archlinux/openssh-selinux/src/openssh-7.4p1/regress/data"

The Problem is stated in the "openssh-7.4p1/regress/README.regress":

[README.regress] "Similarly, if you do not have "scp" in your system's $PATH then the multiplex scp tests will fail (since the system's shell startup scripts will determine where the shell started by sshd will look for scp)."

Therefore openssh must either be added to the makedepends array (which might be kinda wrong 'cause it would test the scp of the openssh package and not the openssl-selinux package as far as I understand it) or the scp in the output folder must be added to the PATH variable.

Siosm commented on 2014-01-02 21:49

Renamed to openssh-selinux

Siosm commented on 2012-05-08 19:27

The group field is missing:
groups=('selinux' 'selinux-system-utilities')

All comments