wok-next view openssh/receipt @ rev 16929
Add dooble (Qt4 web browser)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jul 19 17:27:59 2014 +0200 (2014-07-19) |
parents | cc59f73ce42d |
children | 95ae6a87842c |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssh"
4 VERSION="6.6p1"
5 CATEGORY="security"
6 SHORT_DESC="Openbsd Secure Shell."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openssh.org/"
11 WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
12 TAGS="ssh security"
13 HOST_ARCH="i486 arm"
15 PROVIDE="ssh"
16 DEPENDS="sftp-server libcrypto zlib"
17 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
18 TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 unset LD # for cross compiling with --disable-strip
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc/ssh \
27 --libexecdir=/usr/sbin \
28 --with-privsep-user=nobody \
29 --with-xauth=/usr/bin/xauth \
30 --with-privsep-path=/var/run/sshd \
31 --without-pam \
32 --disable-strip \
33 $CONFIGURE_ARGS &&
34 make STRIP_OPT="" &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh
42 cp -a $install/usr/sbin $install/usr/bin $fs/usr
43 rm -f $fs/usr/sbin/sftp-server
44 cp -a $install/etc $fs
45 cp $stuff/openssh $fs/etc/init.d
46 sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
47 $fs/etc/ssh/sshd_config
48 }
50 post_install()
51 {
52 while read dropbear openssh ; do
53 [ -s $1$dropbear ] || continue
54 dropbearconvert dropbear openssh $1$dropbear $1$openssh
55 dropbearkey -y -f $1$dropbear | grep ssh > $1$openssh.pub
56 dropbearkey -y -f $1$dropbear | grep Fingerprint
57 done <<EOT
58 /etc/dropbear/dropbear_rsa_host_key /etc/ssh/ssh_host_rsa_key
59 /etc/dropbear/dropbear_dss_host_key /etc/ssh/ssh_host_dsa_key
60 EOT
61 }