summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@debian.org>2014-02-21 17:43:24 +0000
committerColin Watson <cjwatson@debian.org>2014-02-21 17:43:24 +0000
commit549ef3bec4fa6c31fdd1f4340738c4c4df6d81fb (patch)
treef273390734d40cbc5f0280d93ebeefb61c8d4c65
parent5b79111746a2c161c5a642ddf2016627439dfa91 (diff)
Split sftp-server into its own package
This allows it to also be used by other SSH server implementations like dropbear (closes: #504290).
-rw-r--r--debian/changelog5
-rw-r--r--debian/control27
-rw-r--r--debian/openssh-server.install2
-rw-r--r--debian/openssh-server.links1
-rw-r--r--debian/openssh-sftp-server.install2
-rw-r--r--debian/openssh-sftp-server.links1
6 files changed, 34 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index e0497a292..3d983a9df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
1openssh (1:6.5p1-5) UNRELEASED; urgency=medium 1openssh (1:6.5p1-5) UNRELEASED; urgency=medium
2 2
3 [ Colin Watson ]
3 * Add Alias=sshd.service to systemd ssh.service file, to match "Provides: 4 * Add Alias=sshd.service to systemd ssh.service file, to match "Provides:
4 sshd" in the sysvinit script (thanks, Michael Biebl). 5 sshd" in the sysvinit script (thanks, Michael Biebl).
5 6
7 [ Axel Beckert ]
8 * Split sftp-server into its own package to allow it to also be used by
9 other SSH server implementations like dropbear (closes: #504290).
10
6 -- Colin Watson <cjwatson@debian.org> Fri, 21 Feb 2014 15:21:30 +0000 11 -- Colin Watson <cjwatson@debian.org> Fri, 21 Feb 2014 15:21:30 +0000
7 12
8openssh (1:6.5p1-4) unstable; urgency=medium 13openssh (1:6.5p1-4) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 419cc31ae..824f34887 100644
--- a/debian/control
+++ b/debian/control
@@ -45,7 +45,7 @@ Package: openssh-server
45Priority: optional 45Priority: optional
46Architecture: any 46Architecture: any
47Pre-Depends: ${misc:Pre-Depends} 47Pre-Depends: ${misc:Pre-Depends}
48Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 0.76-14), libpam-modules (>= 0.72-9), adduser (>= 3.9), dpkg (>= 1.9.0), openssh-client (= ${binary:Version}), lsb-base (>= 4.1+Debian3), procps 48Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 0.76-14), libpam-modules (>= 0.72-9), adduser (>= 3.9), dpkg (>= 1.9.0), openssh-client (= ${binary:Version}), lsb-base (>= 4.1+Debian3), procps, openssh-sftp-server
49Recommends: xauth, ncurses-term, ${openssh-server:Recommends} 49Recommends: xauth, ncurses-term, ${openssh-server:Recommends}
50Conflicts: ssh-socks, ssh2, sftp 50Conflicts: ssh-socks, ssh2, sftp
51Replaces: ssh, ssh-krb5 51Replaces: ssh, ssh-krb5
@@ -73,6 +73,31 @@ Description: secure shell (SSH) server, for secure access from remote machines
73 sshd replaces the insecure rshd program, which is obsolete for most 73 sshd replaces the insecure rshd program, which is obsolete for most
74 purposes. 74 purposes.
75 75
76Package: openssh-sftp-server
77Priority: optional
78Architecture: any
79Depends: ${shlibs:Depends}, ${misc:Depends}
80Recommends: openssh-server | ssh-server
81Breaks: openssh-server (<< 1:6.5p1-4)
82Replaces: openssh-server (<< 1:6.5p1-4)
83Enhances: openssh-server, ssh-server
84Description: secure shell (SSH) sftp server module, for SFTP access from remote machines
85 This is the portable version of OpenSSH, a free implementation of
86 the Secure Shell protocol as specified by the IETF secsh working
87 group.
88 .
89 Ssh (Secure Shell) is a program for logging into a remote machine
90 and for executing commands on a remote machine.
91 It provides secure encrypted communications between two untrusted
92 hosts over an insecure network. X11 connections and arbitrary TCP/IP
93 ports can also be forwarded over the secure channel.
94 It can be used to provide applications with a secure communication
95 channel.
96 .
97 This package provides the SFTP server module for the SSH server. It
98 is needed if you want to access your SSH server with SFTP. The SFTP
99 server module also works with other SSH daemons like dropbear.
100
76Package: ssh 101Package: ssh
77Priority: extra 102Priority: extra
78Architecture: all 103Architecture: all
diff --git a/debian/openssh-server.install b/debian/openssh-server.install
index d04788cca..149222dad 100644
--- a/debian/openssh-server.install
+++ b/debian/openssh-server.install
@@ -1,8 +1,6 @@
1usr/lib/openssh/sftp-server
2usr/sbin/sshd 1usr/sbin/sshd
3usr/share/man/man5/authorized_keys.5 2usr/share/man/man5/authorized_keys.5
4usr/share/man/man5/sshd_config.5 3usr/share/man/man5/sshd_config.5
5usr/share/man/man8/sftp-server.8
6usr/share/man/man8/sshd.8 4usr/share/man/man8/sshd.8
7 5
8debian/systemd/ssh.socket lib/systemd/system 6debian/systemd/ssh.socket lib/systemd/system
diff --git a/debian/openssh-server.links b/debian/openssh-server.links
index 2d98b1dcb..e69de29bb 100644
--- a/debian/openssh-server.links
+++ b/debian/openssh-server.links
@@ -1 +0,0 @@
1usr/lib/openssh/sftp-server usr/lib/sftp-server
diff --git a/debian/openssh-sftp-server.install b/debian/openssh-sftp-server.install
new file mode 100644
index 000000000..25b12dc09
--- /dev/null
+++ b/debian/openssh-sftp-server.install
@@ -0,0 +1,2 @@
1usr/lib/openssh/sftp-server
2usr/share/man/man8/sftp-server.8
diff --git a/debian/openssh-sftp-server.links b/debian/openssh-sftp-server.links
new file mode 100644
index 000000000..2d98b1dcb
--- /dev/null
+++ b/debian/openssh-sftp-server.links
@@ -0,0 +1 @@
usr/lib/openssh/sftp-server usr/lib/sftp-server