Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:cluster:xtreemos:devel
xtreemos-openssh
_service:download_url:xtreemos-openssh.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_url:xtreemos-openssh.spec of Package xtreemos-openssh
# # spec file for package xtreemos-openssh # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define original openssh %define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services %define _appdefdir %{_prefix}/share/X11/app-defaults Name: xtreemos-openssh Summary: Secure Shell Client and Server (Remote Login Program) License: BSD-3-Clause ; MIT Group: Productivity/Networking/SSH Version: 5.9p1 Release: %mkrel %define xversion 1.2.4.1 Url: http://www.openssh.com/ BuildRequires: patterns-openSUSE-devel_C_C++ BuildRequires: gsoap-devel BuildRequires: libgsoap-devel BuildRequires: krb5-devel BuildRequires: libedit-devel BuildRequires: libselinux-devel BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: xorg-x11-devel Requires: /bin/netstat %if 0%{?suse_version} BuildRequires: audit-devel BuildRequires: tcpd-devel PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils %endif %if 0%{?fedora_version} BuildRequires: audit-libs-devel BuildRequires: tcp_wrappers-devel PreReq: shadow-utils coreutils grep diffutils sed %endif Conflicts: nonfreessh Source: %{original}-%{version}.tar.gz Source1: sshd.init Source2: sshd.pamd Source3: x11-ssh-askpass-%{xversion}.tar.bz2 Source4: README.SuSE Source5: converter.tar.bz2 Source6: README.kerberos Source7: ssh.reg Source8: ssh-askpass Source9: sshd.fw Source10: sysconfig.ssh Patch: %{original}-5.9p1-sshd_config.diff #Patch1: %{original}-5.9p1-askpass-fix.diff Patch2: %{original}-5.9p1-pam-fix2.diff Patch3: %{original}-5.9p1-saveargv-fix.diff Patch4: %{original}-5.9p1-pam-fix3.diff Patch5: %{original}-5.9p1-gssapimitm.patch Patch6: %{original}-5.9p1-eal3.diff Patch7: %{original}-5.9p1-engines.diff Patch8: %{original}-5.9p1-blocksigalrm.diff Patch9: %{original}-5.9p1-send_locale.diff Patch10: %{original}-5.9p1-xauthlocalhostname.diff Patch12: %{original}-5.9p1-xauth.diff Patch14: %{original}-5.9p1-default-protocol.diff #Patch15: %{original}-5.9p1-audit.patch Patch16: %{original}-5.9p1-pts.diff Patch17: %{original}-5.9p1-homechroot.patch Patch18: %{original}-5.9p1-sshconfig-knownhostschanges.diff Patch19: %{original}-5.9p1-host_ident.diff Patch20: converter-linking.patch Patch100: xtreemos_on_suse_openssh.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{name} = %{version} xos-openssh = %{version} xos-ssh = %{version} ssh-xos = %{version} %description SSH (Secure Shell) is a program for logging into and executing commands on a remote machine. It is intended to replace rsh (rlogin and rsh) and provides openssl (secure encrypted communication) between two untrusted hosts over an insecure network. xorg-x11 (X Window System) connections and arbitrary TCP/IP ports can also be forwarded over the secure channel. XtreemOS OpenSSH is the adaptation of OpenSSH over XtreemOS grid, virtual organisation and user. It's using port 2222 and doesn't conflict with OpenSSH. %package askpass Summary: A passphrase dialog for OpenSSH and the X Window System Group: Productivity/Networking/SSH Requires: xtreemos-openssh = %{version} Provides: xtreemos-openssh:/usr/%_lib/ssh-xos/ssh-askpass-xos %description askpass Ssh (Secure Shell) is a program for logging into a remote machine and for executing commands on a remote machine. This package contains an X Window System passphrase dialog for OpenSSH. XtreemOS OpenSSH is the adaptation of OpenSSH over XtreemOS grid, virtual organisation and user. It's using port 2222 and doesn't conflict with OpenSSH. This askpass is the same as OpenSUSE default askpass, except that it's set in ssh-xos directory. %prep %setup -q -b 3 -a 5 -n openssh-%{version} %patch %patch2 %patch3 %patch4 %patch5 %patch6 -p1 %patch7 -p1 %patch8 %patch9 %patch10 %patch12 %patch14 #%patch15 -p1 %patch16 %patch17 %patch18 %patch19 -p1 %patch20 cp -v %{SOURCE4} . cp -v %{SOURCE6} . cd ../x11-ssh-askpass-%{xversion} #%patch1 # XOS PATCH cd - %patch100 -p2 # cd SuSE/usr/sbin # rm rcsshd # ln -s ../../etc/init.d/sshd-xos rcsshd-xos %build autoreconf -fiv %ifarch s390 s390x %sparc PIEFLAGS="-fPIE" %else PIEFLAGS="-fpie" %endif export CFLAGS="%{optflags} $PIEFLAGS -fstack-protector -DXOS_SSH" export CXXFLAGS="%{optflags} $PIEFLAGS -fstack-protector -DXOS_SSH" export LDFLAGS="-pie" %configure \ --with-ssl-engine \ --with-libedit \ --sysconfdir=%{_sysconfdir}/ssh-xos \ --libexecdir=%{_libexecdir}/ssh-xos \ --with-tcp-wrappers \ --with-selinux \ --with-pam \ --with-kerberos5=/usr \ --with-privsep-path=/var/lib/empty \ --with-sandbox=rlimit \ --disable-strip \ --with-linux-audit \ --with-mantype=man \ --with-xauth=%{_prefix}/bin/xauth \ --target=%{_target_cpu}-suse-linux # --with-afs=/usr \ make %{?_smp_mflags} (cd converter; make %{?_smp_mflags}) cd contrib cd ../../x11-ssh-askpass-%{xversion} %configure \ --libexecdir=%{_libdir}/ssh-xos xmkmf make includes USRLIBDIR=%{_libdir} make %{?_smp_mflags} USRLIBDIR=%{_libdir} CCOPTIONS="%{optflags}" %install make DESTDIR=%{buildroot}/ install install -d -m 755 %{buildroot}%{_sysconfdir}/pam.d install -d -m 755 %{buildroot}/var/lib/sshd-xos install -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/sshd-xos install -d -m 755 %{buildroot}%{_sysconfdir}/slp.reg.d/ install -m 644 %{S:7} %{buildroot}%{_sysconfdir}/slp.reg.d/ssh-xos.reg install -d -m 755 %{buildroot}/etc/init.d install -m 755 %{S:1} %{buildroot}/etc/init.d/sshd-xos ln -vs ../../etc/init.d/sshd-xos %{buildroot}/usr/sbin/rcsshd-xos install -d -m 755 %{buildroot}/var/adm/fillup-templates install -m 644 %{S:10} %{buildroot}/var/adm/fillup-templates/sysconfig.ssh-xos # install shell script to automate the process of adding your public key to a remote machine install -m 755 contrib/ssh-copy-id %{buildroot}%{_bindir}/ssh-copy-id-xos install -m 644 contrib/ssh-copy-id.1 %{buildroot}%{_mandir}/man1/ssh-copy-id-xos.1 ( cd converter; make install DESTDIR=%{buildroot} ) cd ../x11-ssh-askpass-%{xversion} make BINDIR=%{_libexecdir}/ssh-xos DESTDIR=%{buildroot} install install.man rm -rf %{buildroot}%{_libexecdir}/ssh-xos/ssh-askpass-xos sed -e "s,@LIBEXEC@,%{_libexecdir},g" < %{S:8} > %{buildroot}%{_libexecdir}/ssh-xos/ssh-askpass rm -f %{buildroot}%{_datadir}/Ssh.bin sed -i -e s@/usr/libexec@%{_libexecdir}@g %{buildroot}%{_sysconfdir}/ssh-xos/sshd_config-xos #install firewall definitions format is described here: #%{_datadir}/SuSEfirewall2/services/TEMPLATE mkdir -p %{buildroot}%{_fwdefdir} install -m 644 %{S:9} %{buildroot}%{_fwdefdir}/sshd-xos %pre getent group sshd-xos >/dev/null || %{_sbindir}/groupadd -r sshd-xos getent passwd sshd-xos >/dev/null || %{_sbindir}/useradd -r -g sshd-xos -d /var/lib/sshd-xos -s /bin/false -c "XOS SSH daemon" sshd-xos %if 0%{?suse_version} %post %{fillup_and_insserv -n ssh-xos sshd-xos} %endif %preun %stop_on_removal sshd-xos %postun %restart_on_update sshd-xos %if 0%{?suse_version} %{insserv_cleanup} %endif %files %defattr(-,root,root) %dir %attr(755,root,root) /var/lib/sshd-xos %doc README.SuSE README.kerberos ChangeLog OVERVIEW README TODO LICENCE CREDITS README.xos %attr(0755,root,root) %dir %{_sysconfdir}/ssh-xos %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh-xos/moduli-xos %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh-xos/ssh_config-xos %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/ssh-xos/sshd_config-xos %attr(0644,root,root) %config %{_sysconfdir}/pam.d/sshd-xos %attr(0755,root,root) %config %{_initddir}/sshd-xos %attr(0755,root,root) %{_bindir}/ssh-xos %{_bindir}/scp-xos %{_bindir}/sftp-xos %{_bindir}/slogin-xos %{_bindir}/ssh-*-xos %{_sbindir}/*-xos %attr(444,root,root) %doc %{_mandir}/man1/scp-xos.1.gz %attr(444,root,root) %doc %{_mandir}/man1/ssh-keygen-xos.1.gz %attr(444,root,root) %doc %{_mandir}/man1/ssh-keyconverter-xos.1.gz %attr(444,root,root) %doc %{_mandir}/man1/ssh-xos.1.gz %attr(444,root,root) %doc %{_mandir}/man1/slogin-xos.1.gz %attr(444,root,root) %doc %{_mandir}/man1/ssh-agent-xos.1* %attr(444,root,root) %doc %{_mandir}/man1/ssh-add-xos.1* %attr(444,root,root) %doc %{_mandir}/man1/ssh-keyscan-xos.1* %attr(444,root,root) %doc %{_mandir}/man1/sftp-xos.1* %attr(444,root,root) %doc %{_mandir}/man1/ssh-copy-id-xos.1* %attr(444,root,root) %doc %{_mandir}/man5/*xos* %attr(444,root,root) %doc %{_mandir}/man8/*xos* %attr(0755,root,root) %dir %{_libexecdir}/ssh-xos %attr(0755,root,root) %{_libexecdir}/ssh-xos/sftp-server-xos %attr(0755,root,root) %{_libexecdir}/ssh-xos/ssh-keysign-xos %attr(0755,root,root) %{_libexecdir}/ssh-xos/ssh-pkcs11-helper-xos %dir %{_sysconfdir}/slp.reg.d %config %{_sysconfdir}/slp.reg.d/ssh-xos.reg /var/adm/fillup-templates/sysconfig.ssh-xos %config %{_fwdefdir}/sshd-xos %files askpass %defattr(-,root,root) %attr(0755,root,root) %{_libexecdir}/ssh-xos/ssh-askpass %attr(0755,root,root) %{_libexecdir}/ssh-xos/x11-ssh-askpass %doc %{_mandir}/man1/ssh-askpass.1x.gz %doc %{_mandir}/man1/x11-ssh-askpass.1x.gz %{_appdefdir}/SshAskpass %{_datadir}/X11/app-defaults %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor