Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
6ff2dcb6
Commit
6ff2dcb6
authored
Jun 28, 2000
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* contrib/lsh.spec.in: Update by Thayne.
Rev: contrib/lsh.spec.in:1.7
parent
67d331ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/lsh.spec.in
+19
-18
19 additions, 18 deletions
contrib/lsh.spec.in
with
19 additions
and
18 deletions
contrib/lsh.spec.in
+
19
−
18
View file @
6ff2dcb6
Summary: lsh - secure connections
Summary: lsh - secure connections
with secsh2 protocol
Name: @PACKAGE@
Name: @PACKAGE@
Version: @VERSION@
Version: @VERSION@
Release: 1
Release: 1
...
@@ -10,10 +10,11 @@ Prefix: /usr
...
@@ -10,10 +10,11 @@ Prefix: /usr
Packager: Thayne Harbaugh <thayne@plug.org>
Packager: Thayne Harbaugh <thayne@plug.org>
URL: http://www.net.lut.ac.uk/psst/
URL: http://www.net.lut.ac.uk/psst/
Requires: chkconfig
Requires: chkconfig
Requires: info
%description
%description
lsh impl
i
ments the secsh2 protocol
lsh impl
e
ments the secsh2 protocol
%prep
%prep
...
@@ -24,10 +25,8 @@ lsh impliments the secsh2 protocol
...
@@ -24,10 +25,8 @@ lsh impliments the secsh2 protocol
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
if [ "$SMP" != "" ]; then
if [ "$SMP" != "" ]; then
(make "MAKE=gmake -k -j $SMP"; exit 0)
(make "MAKE=gmake -k -j $SMP"; exit 0)
gmake
else
gmake
fi
fi
gmake
%install
%install
...
@@ -35,26 +34,19 @@ rm -rf $RPM_BUILD_ROOT
...
@@ -35,26 +34,19 @@ rm -rf $RPM_BUILD_ROOT
gmake prefix=$RPM_BUILD_ROOT%{prefix} install
gmake prefix=$RPM_BUILD_ROOT%{prefix} install
( for man in doc/*.[0-9]
do
MAN_NUM=`echo $man | sed 's/.*\.//'`
install -d -m 0755 $RPM_BUILD_ROOT%{prefix}/man/man$MAN_NUM
install -m 0644 $man $RPM_BUILD_ROOT%{prefix}/man/man$MAN_NUM
rm -f $man
done )
install -d -m 0755 $RPM_BUILD_ROOT/etc/rc.d/init.d
install -d -m 0755 $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m 0755 contrib/lshd.rhlinux.init \
install -m 0755 contrib/lshd.rhlinux.init \
$RPM_BUILD_ROOT/etc/rc.d/init.d/lshd
$RPM_BUILD_ROOT/etc/rc.d/init.d/lshd
strip $RPM_BUILD_ROOT%{prefix}/bin/lsh
# ugly, but it's also ugly to list all files in bin
strip $RPM_BUILD_ROOT%{prefix}/bin/lsh_keygen
# make install should strip - not here
strip $RPM_BUILD_ROOT%{prefix}/bin/lsh_writekey
strip $RPM_BUILD_ROOT%{prefix}/bin/* || true
# strip $RPM_BUILD_ROOT%{prefix}/lib/*
strip $RPM_BUILD_ROOT%{prefix}/sbin/*
strip $RPM_BUILD_ROOT%{prefix}/sbin/*
rm -rf doc/Makefile*
gzip $RPM_BUILD_ROOT%{prefix}/man/*/*
rm -f doc/Makefile*
%clean
%clean
...
@@ -68,12 +60,14 @@ then
...
@@ -68,12 +60,14 @@ then
rm -f /etc/lsh_host_key*
rm -f /etc/lsh_host_key*
/usr/bin/lsh_keygen -l 8 | /usr/bin/lsh_writekey -o /etc/lsh_host_key
/usr/bin/lsh_keygen -l 8 | /usr/bin/lsh_writekey -o /etc/lsh_host_key
fi
fi
/sbin/install-info --info-dir=%{prefix}/info %{prefix}/info/lsh.info
%preun
%preun
if [ "$1" -eq 0 ]
if [ "$1" -eq 0 ]
then
then
chkconfig --del lshd || exit 0
chkconfig --del lshd || exit 0
/sbin/install-info --delete --info-dir=%{prefix}/info %{prefix}/info/lsh.info
fi
fi
...
@@ -86,11 +80,18 @@ fi
...
@@ -86,11 +80,18 @@ fi
%config/etc/rc.d/init.d/lshd
%config/etc/rc.d/init.d/lshd
%{prefix}/bin/*
%{prefix}/bin/*
%{prefix}/man/*/*
%{prefix}/man/*/*
%{prefix}/info/lsh*
%{prefix}/sbin/*
%{prefix}/sbin/*
%changelog
%changelog
* Wed Jun 28 2000 Thayne Harbaugh <thayne@plug.org>
- ripped out man install - make install now does it
- there is now an lsh.info that is handled
- various simplifications
- spelling error
* Thu Jan 06 2000 Thayne Harbaugh <thayne@northsky.com>
* Thu Jan 06 2000 Thayne Harbaugh <thayne@northsky.com>
- lshd.rhlinux.init is now in contrib dir - removed Source1
- lshd.rhlinux.init is now in contrib dir - removed Source1
- fixed preun $1 comparision - was [ "$1" -eq 1 ]
- fixed preun $1 comparision - was [ "$1" -eq 1 ]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment