From e06705fddb2588b8c3b698dba834b41ba5a5e1a5 Mon Sep 17 00:00:00 2001 From: Kim Kibum Date: Sun, 29 Apr 2012 17:06:21 +0900 Subject: [PATCH] upload tizen1.0 source --- .gitignore | 115 ----------------------------- packaging/openssh.spec | 197 ------------------------------------------------- packaging/unused | 1 + 3 files changed, 1 insertion(+), 312 deletions(-) delete mode 100644 .gitignore delete mode 100644 packaging/openssh.spec create mode 100644 packaging/unused diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f45f207..0000000 --- a/.gitignore +++ /dev/null @@ -1,115 +0,0 @@ -*.o -*.a -*.so -build-stamp -libcrypto.pc -libcrypto.so.0.9.8 -libssl.pc -libssl.so.0.9.8 -openssl.pc -ssl/lib -test/bftest -test/bntest -test/casttest -test/destest -test/dhtest -test/dsatest -test/dummytest -test/ecdhtest -test/ecdsatest -test/ectest -test/enginetest -test/evp_test -test/exptest -test/fips_aesavs -test/fips_desmovs -test/fips_dsatest -test/fips_dssvs -test/fips_hmactest -test/fips_randtest -test/fips_rngvs -test/fips_rsagtest -test/fips_rsastest -test/fips_rsavtest -test/fips_shatest -test/fips_test_suite -test/hmactest -test/ideatest -test/igetest -test/jpaketest -test/md2test -test/md4test -test/md5test -test/mdc2test -test/randtest -test/rc2test -test/rc4test -test/rc5test -test/rmdtest -test/rsa_test -test/sha1test -test/sha256t -test/sha512t -test/shatest -test/ssltest -debian/files -debian/*.debhelper.log -debian/*.substvars -debian/*.debhelper -debian/libssl-dev/ -debian/libssl0.9.8/ -debian/openssl/ -debian/tmp/ -lib -apps/openssl -crypto/buildinf.h -Makefile -apps/md4.c -crypto/opensslconf.h -include/openssl/dtls1.h -include/openssl/fips.h -include/openssl/fips_rand.h -include/openssl/ssl.h -include/openssl/ssl3.h -include/openssl/tls1.h -test/bftest.c -test/bntest.c -test/casttest.c -test/destest.c -test/dhtest.c -test/dsatest.c -test/ecdhtest.c -test/ecdsatest.c -test/ectest.c -test/enginetest.c -test/evp_test.c -test/exptest.c -test/fips_aesavs.c -test/fips_desmovs.c -test/fips_dsatest.c -test/fips_dssvs.c -test/fips_hmactest.c -test/fips_randtest.c -test/fips_rngvs.c -test/fips_rsagtest.c -test/fips_rsastest.c -test/fips_rsavtest.c -test/fips_shatest.c -test/fips_test_suite.c -test/hmactest.c -test/ideatest.c -test/md2test.c -test/md4test.c -test/md5test.c -test/randtest.c -test/rc2test.c -test/rc4test.c -test/rmdtest.c -test/rsa_test.c -test/sha1test.c -test/sha256t.c -test/sha512t.c -test/shatest.c -test/ssltest.c -tools/c_rehash - diff --git a/packaging/openssh.spec b/packaging/openssh.spec deleted file mode 100644 index ce4c4a3..0000000 --- a/packaging/openssh.spec +++ /dev/null @@ -1,197 +0,0 @@ -# OpenSSH privilege separation requires a user & group ID -%define sshd_uid 74 -%define sshd_gid 74 -Summary: The OpenSSH implementation of SSH protocol versions 1 and 2 -Name: openssh -Version: 5.6p1 -Release: 1 -URL: http://www.openssh.com/portable.html -#Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz -#Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc -# This package differs from the upstream OpenSSH tarball in that -# the ACSS cipher is removed by running openssh-nukeacss.sh in -# the unpacked source directory. -Source0: openssh-%{version}-noacss.tar.bz2 -Source1: openssh-nukeacss.sh -Source4: sshd.service -Source5: sshd@.service -Source6: sshd.socket -Source7: sshd-keys.service -Source8: sshd-hostkeys - -Patch0: 0001-customize-configuration.patch -Patch1: 0002-log-in-chroot.patch -Patch2: 0003-rand-clean.patch -Patch3: 0004-big-uid.patch -Patch4: 0005-client-loop.patch -Patch5: 0006-CVE-2010-4478.patch -Patch6: 0007-Do-not-put-ssh-keys-in-etc.patch - -License: BSD -Group: Applications/Internet - -BuildRequires: pkgconfig(openssl) -BuildRequires: autoconf, automake, perl, zlib-devel -BuildRequires: util-linux -BuildRequires: libedit-devel -BuildRequires: pkgconfig(ncurses) -BuildRequires: nss-devel -BuildRequires: xauth - -%package clients -Summary: The OpenSSH client applications -Requires: openssh = %{version}-%{release} -Group: Applications/Internet - -%package server -Summary: The OpenSSH server daemon -Group: System/Daemons -Requires: openssh = %{version}-%{release} -Requires(pre): /usr/sbin/useradd - - -%package askpass -Summary: A passphrase dialog for OpenSSH and X -Group: Applications/Internet -Requires: openssh = %{version}-%{release} -Obsoletes: openssh-askpass-gnome -Provides: openssh-askpass-gnome - -%description -SSH (Secure SHell) is a program for logging into and executing -commands on a remote machine. SSH is intended to replace rlogin and -rsh, and to provide secure encrypted communications between two -untrusted hosts over an insecure network. X11 connections and -arbitrary TCP/IP ports can also be forwarded over the secure channel. - -OpenSSH is OpenBSD's version of the last free version of SSH, bringing -it up to date in terms of security and features, as well as removing -all patented algorithms to separate libraries. - -This package includes the core files necessary for both the OpenSSH -client and server. To make this package useful, you should also -install openssh-clients, openssh-server, or both. - -%description clients -OpenSSH is a free version of SSH (Secure SHell), a program for logging -into and executing commands on a remote machine. This package includes -the clients necessary to make encrypted connections to SSH servers. -You'll also need to install the openssh package on OpenSSH clients. - -%description server -OpenSSH is a free version of SSH (Secure SHell), a program for logging -into and executing commands on a remote machine. This package contains -the secure shell daemon (sshd). The sshd daemon allows SSH clients to -securely connect to your SSH server. You also need to have the openssh -package installed. - -%description askpass -OpenSSH is a free version of SSH (Secure SHell), a program for logging -into and executing commands on a remote machine. This package contains -an X11 passphrase dialog for OpenSSH. - -%prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -#%patch7 -p1 - -%build -CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS -CFLAGS="$CFLAGS -fpie" -export CFLAGS -LDFLAGS="$LDFLAGS -pie"; export LDFLAGS - -%reconfigure \ - --sysconfdir=%{_sysconfdir}/ssh \ - --libexecdir=%{_libexecdir}/openssh \ - --datadir=%{_datadir}/openssh \ - --with-rsh=%{_bindir}/rsh \ - --with-default-path=/usr/local/bin:/bin:/usr/bin \ - --with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \ - --with-privsep-path=%{_var}/empty/sshd \ - --enable-vendor-patchlevel="FC-%{version}-%{release}" \ - --disable-strip \ - --without-zlib-version-check \ - --with-nss \ - --without-kerberos5 \ - --with-libedit - -make - -%install -mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh -mkdir -p -m755 $RPM_BUILD_ROOT%{_libexecdir}/openssh -mkdir -p -m755 $RPM_BUILD_ROOT%{_var}/empty/sshd - -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ssh/ldap.conf - -install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh -install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}/ - -# systemd integration -install -D -m 0644 %{SOURCE4} %{buildroot}/%{_lib}/systemd/system/sshd.service -install -D -m 0644 %{SOURCE5} %{buildroot}/%{_lib}/systemd/system/sshd@.service -install -D -m 0644 %{SOURCE6} %{buildroot}/%{_lib}/systemd/system/sshd.socket -install -D -m 0644 %{SOURCE7} %{buildroot}/%{_lib}/systemd/system/sshd-keys.service -mkdir -p %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants -ln -s ../sshd.socket %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants/sshd.socket -install -D -m 0755 %{SOURCE8} %{buildroot}/usr/sbin/sshd-hostkeys -mkdir -p %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants -ln -s ../sshd-keys.service %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants/sshd-keys.service - -rm -f $RPM_BUILD_ROOT/etc/profile.d/gnome-ssh-askpass.* - -%remove_docs - -rm -rf %{buildroot}/usr/share/man - -%triggerun server -- ssh-server -if [ "$1" != 0 -a -r /var/run/sshd.pid ] ; then - touch /var/run/sshd.restart -fi - -%pre server -/usr/sbin/useradd -c "Privilege-separated SSH" -u %{sshd_uid} \ - -s /bin/false -r -d /var/empty/sshd sshd 2> /dev/null || : - - - -%files -%attr(0755,root,root) %dir %{_sysconfdir}/ssh -%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli - -%attr(0755,root,root) %{_bindir}/ssh-keygen -%attr(0755,root,root) %dir %{_libexecdir}/openssh -%attr(4755,root,root) %{_libexecdir}/openssh/ssh-keysign - -%files clients -%attr(0755,root,root) %{_bindir}/ssh -%attr(0755,root,root) %{_bindir}/scp -%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config -%attr(0755,root,root) %{_bindir}/slogin -%attr(2755,root,nobody) %{_bindir}/ssh-agent -%attr(0755,root,root) %{_bindir}/ssh-add -%attr(0755,root,root) %{_bindir}/ssh-keyscan -%attr(0755,root,root) %{_bindir}/sftp -%attr(0755,root,root) %{_bindir}/ssh-copy-id -%attr(0755,root,root) %{_libexecdir}/openssh/ssh-pkcs11-helper -%files server -%dir %attr(0711,root,root) %{_var}/empty/sshd -%attr(0755,root,root) %{_sbindir}/sshd -%attr(0755,root,root) %{_libexecdir}/openssh/sftp-server -%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config -/%{_lib}/systemd/system/sshd.service -/%{_lib}/systemd/system/sshd.socket -/%{_lib}/systemd/system/sshd@.service -/%{_lib}/systemd/system/sshd-keys.service -/%{_lib}/systemd/system/multi-user.target.wants/sshd.socket -/%{_lib}/systemd/system/multi-user.target.wants/sshd-keys.service -/usr/sbin/sshd-hostkeys - - diff --git a/packaging/unused b/packaging/unused new file mode 100644 index 0000000..5364927 --- /dev/null +++ b/packaging/unused @@ -0,0 +1 @@ +this package is not used in OBS -- 2.7.4