OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Peter Smej
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re, openpkg-web, openpkg-src Date: 11-Nov-2002 17:42:09
Branch: HEAD Handle: 2002111116420702
Modified files:
openpkg-re/vcheck vc.openssh
openpkg-src/openssh openssh.spec
openpkg-web news.txt
Log:
Downgrade from 3.5p1 -> 3.4p1 due to problems
Summary:
Revision Changes Path
1.9 +1 -0 openpkg-re/vcheck/vc.openssh
1.58 +34 -38 openpkg-src/openssh/openssh.spec
1.1992 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
Index: openpkg-re/vcheck/vc.openssh
============================================================
$ cvs diff -u -r1.8 -r1.9 vc.openssh
--- openpkg-re/vcheck/vc.openssh 17 Oct 2002 06:25:53 -0000 1.8
+++ openpkg-re/vcheck/vc.openssh 11 Nov 2002 16:42:07 -0000 1.9
@@ -4,6 +4,7 @@
prog openssh = {
version = 3.5p1
url = ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/
+ comment = "ps: Use 3.4p1 for current version due problems with 3.5p1"
regex = openssh-(__VER__)\.tar\.gz
}
prog openssh:chroot = {
Index: openpkg-src/openssh/openssh.spec
============================================================
$ cvs diff -u -r1.57 -r1.58 openssh.spec
--- openpkg-src/openssh/openssh.spec 17 Oct 2002 06:25:54 -0000 1.57
+++ openpkg-src/openssh/openssh.spec 11 Nov 2002 16:42:09 -0000 1.58
@@ -24,9 +24,8 @@
##
# package versions
-%define V_base 3.5
+%define V_base 3.4
%define V_portable p1
-%define V_chroot 3.5
# package options
%ifndef with_pam
@@ -39,7 +38,7 @@
%define with_skey no
%endif
%ifndef with_x11
-%define with_x11 %{l_test -p x11}
+%define with_x11 no
%endif
%ifndef with_chroot
%define with_chroot no
@@ -55,25 +54,25 @@
Group: Security
License: BSD
Version: %{V_base}%{V_portable}
-Release: 20021017
+Release: 20021111
# list of sources
Source0:
ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
-Source1: rc.openssh
-Source2: fsl.openssh
+Source1: fakesyslog.tar.gz
+Source2: rc.openssh
Source3: sshd_config
Source4: ssh_config
Source5: ssh-askpass
Source6: ssh-keyman
Source7: ssh-keyman.1
Source8: ssh-keyman.pod
-Source9: http://chrootssh.sourceforge.net/patches/osshChroot-%{V_chroot}.diff
+Source9: http://chrootssh.sourceforge.net/patches/osshChroot-%{V_base}.diff
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20021002, fsl, perl, openssl, zlib
-PreReq: OpenPKG, openpkg >= 20021002, fsl
+BuildPreReq: OpenPKG, openpkg >= 1.1.0, perl, openssl, zlib
+PreReq: OpenPKG, openpkg >= 1.1.0
%if "%{with_pam}" == "yes"
BuildPreReq: PAM
PreReq: PAM
@@ -102,34 +101,43 @@
terms of security and features, as well as removing all patented
algorithms to separate libraries (OpenSSL).
- Options:
- --define 'with_pam %{with_pam}'
- --define 'with_pcre %{with_pcre}'
- --define 'with_skey %{with_skey}'
- --define 'with_x11 %{with_x11}'
- --define 'with_chroot %{with_chroot}'
+ Options: with_pam=%{with_pam} with_pcre=%{with_pcre}
+ Options: with_skey=%{with_skey} with_x11=%{with_x11}
+ Options: with_chroot=%{with_chroot}
%prep
%setup0 -q -c
+ %setup1 -q -T -D -a 1
%if "%{with_chroot}" == "yes"
cd openssh-%{version}
- %{l_patch} -p1 <%{SOURCE osshChroot-%{V_chroot}.diff}
+ %{l_patch} -p1 <%{SOURCE osshChroot-%{V_base}.diff}
%endif
%build
+ # build faked syslog(3) library
+ fakesyslogdir="`pwd`/fakesyslog"
+ ( cd fakesyslog
+ # CC="%{l_cc}" \
+ CC="/cw/bin/gcc" \
+ CFLAGS="%{l_cflags -O}" \
+ ./configure \
+ --with-logfile=%{l_prefix}/var/openssh/sshd.log
+ %{l_make} %{l_mflags}
+ )
+
# build OpenSSH
( cd openssh-%{version}
inc="-I%{l_prefix}/include"
- lib="-L%{l_prefix}/lib"
+ lib="-L%{l_prefix}/lib -L$fakesyslogdir"
%if "%{with_pam}" == "yes"
inc="$inc -I`%{l_prefix}/etc/rc --query pam_incdir`"
lib="$lib -L`%{l_prefix}/etc/rc --query pam_libdir`"
%endif
CC="%{l_cc}" \
- CFLAGS="`%{l_prefix}/bin/fsl-config --all --cflags` $inc" \
- CFLAGS="$inc" \
- LDFLAGS="`%{l_prefix}/bin/fsl-config --all --ldflags` $lib" \
- LIBS="`%{l_prefix}/bin/fsl-config --all --libs`" \
+ CFLAGS="%{l_cflags -O} $inc" \
+ CPPFLAGS="$inc" \
+ LDFLAGS="$lib" \
+ LIBS="-lfakesyslog" \
./configure \
--prefix=%{l_prefix} \
--sbindir=%{l_prefix}/bin \
@@ -186,7 +194,6 @@
strip $RPM_BUILD_ROOT%{l_prefix}/libexec/openssh/* 2> /dev/null || true
# install ssh-askpass wrapper
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/libexec/openssh/
%{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
%{SOURCE ssh-askpass} $RPM_BUILD_ROOT%{l_prefix}/libexec/openssh/
@@ -196,27 +203,18 @@
$RPM_BUILD_ROOT%{l_prefix}/var/openssh/empty
# install addons
- %{l_shtool} mkdir -f -p -m 755 \
- $RPM_BUILD_ROOT%{l_prefix}/bin/ \
- $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
%{SOURCE ssh-keyman} $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 -e 's;@l_prefix@;%{l_prefix};g' \
%{SOURCE ssh-keyman.1} $RPM_BUILD_ROOT%{l_prefix}/man/man1/
# install run-command script
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
+ %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
%{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
-e 's;@l_musr@;%{l_musr};g' -e 's;@l_mgrp@;%{l_mgrp};g' \
%{SOURCE rc.openssh} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
- # install fsl configuration file
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
- %{l_shtool} install -c -m 644 -e 's;@l_prefix@;%{l_prefix};g' \
- %{SOURCE fsl.openssh} $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
-
# install reasonable ssh server and client configuration files
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/openssh/
%{l_shtool} install -c -m 644 \
-e 's;@l_prefix@;%{l_prefix};g' \
-e 's;@l_x11forwarding@;%{with_x11};' \
@@ -229,14 +227,12 @@
%{l_files_std} \
'%config %{l_prefix}/etc/openssh/*' \
'%attr(4711,root,%{l_mgrp}) %{l_prefix}/libexec/openssh/ssh-keysign' \
- '%dir %attr(700,root,root) %{l_prefix}/var/openssh/empty' \
- '%config %{l_prefix}/etc/fsl/fsl.openssh' \
- '%not %dir %{l_prefix}/etc/fsl'
+ '%dir %attr(700,root,root) %{l_prefix}/var/openssh/empty'
%files -f files
%clean
- rm -rf $RPM_BUILD_ROOT
+ # rm -rf $RPM_BUILD_ROOT
%post
# generate server RSA1 (SSHv1) key
@@ -265,12 +261,12 @@
# add PAM configuration entry
%if "%{with_pam}" == "yes"
- $RPM_INSTALL_PREFIX/sbin/pamtool --add --smart --name=openssh
+ $RPM_INSTALL_PREFIX/sbin/pamtool -a -s -n "openssh"
%endif
%preun
# remove PAM configuration entry
%if "%{with_pam}" == "yes"
- $RPM_INSTALL_PREFIX/sbin/pamtool --remove --smart --name=openssh
+ $RPM_INSTALL_PREFIX/sbin/pamtool -r -s -n "openssh"
%endif
Index: openpkg-web/news.txt
============================================================
$ cvs diff -u -r1.1991 -r1.1992 news.txt
--- openpkg-web/news.txt 11 Nov 2002 16:17:53 -0000 1.1991
+++ openpkg-web/news.txt 11 Nov 2002 16:42:08 -0000 1.1992
@@ -1,3 +1,4 @@
+11-Nov-2002: Upgraded package: P<openssh-3.4p1-20021111>
11-Nov-2002: Upgraded package: P<postfix-1.1.11-20021111>
11-Nov-2002: Upgraded package: P<db-4.1.24.6-20020916>
11-Nov-2002: Upgraded package: P<perl-xml-20021111-20021111>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]