auto-import changelog data from lv-4.49.4-3.7x.1.src.rpm

Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-3.7x.1
- lv-4.49.4-fix-manpage.patch: fix the man pages to reflect previous
    changes.
Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-3.7x.0
- security fix release. (RHSA-2003:169)
- lv-4.49.4-nonstrip.patch: don't strip the binaries.
- lv-4.49.4-dont-read-dotlv-on-cwd.patch: don't read .lv file from current
    directory to prevent the possibility of local root exploit. (#89776)
- s/Copyright/License/
This commit is contained in:
cvsdist 2004-09-09 08:03:53 +00:00
parent 21c4fbe94d
commit 0a15739825
4 changed files with 34 additions and 7 deletions

View File

@ -1,2 +1 @@
lv-fix-install-opts.gz
lv4494.tar.gz

12
lv-4.49.4-nonstrip.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ruN lv4494.orig/src/Makefile.in lv4494/src/Makefile.in
--- lv4494.orig/src/Makefile.in 2002-06-19 21:07:10.000000000 +0900
+++ lv4494/src/Makefile.in 2002-06-19 21:07:35.000000000 +0900
@@ -64,7 +64,7 @@
#
install::
- $(INSTALL) -s -m 555 lv $(bindir)
+ $(INSTALL) -m 555 lv $(bindir)
if test -f $(bindir)/lgrep; then \
/bin/rm -f $(bindir)/lgrep; \
fi

27
lv.spec
View File

@ -1,16 +1,19 @@
%define name lv
%define version 4.49.4
%define rel 3
%define rel 3.7x.1
%define vver 4494
Summary: A Powerful Multilingual File Viewer
Name: %{name}
Version: %{version}
Release: %{rel}
Copyright: distributable
License: distributable
Group: Applications/Text
Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz
Patch0: lv-fix-install-opts.gz
Patch0: lv-fix-install-opts.patch
Patch1: lv-4.49.4-nonstrip.patch
Patch2: lv-4.49.4-dont-read-dotlv-on-cwd.patch
Patch3: lv-4.49.4-fix-manpage.patch
URL: http://www.ff.iij4u.or.jp/~nrt/lv/
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
BuildPrereq: libtermcap-devel
@ -28,6 +31,9 @@ for text devoration.
%prep
%setup -q -n %{name}%{vver}
%patch0 -p1
%patch1 -p1 -b .nonstrip
%patch2 -p1 -b .dotlv
%patch3 -p1 -b .manpage
%build
cd src
@ -35,8 +41,9 @@ cd src
make
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
cd src
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT%{_bindir}
%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1
%makeinstall
@ -51,9 +58,19 @@ cd src
%{_libdir}/lv
%clean
rm -rf $RPM_BUILD_ROOT
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-3.7x.1
- lv-4.49.4-fix-manpage.patch: fix the man pages to reflect previous changes.
* Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-3.7x.0
- security fix release. (RHSA-2003:169)
- lv-4.49.4-nonstrip.patch: don't strip the binaries.
- lv-4.49.4-dont-read-dotlv-on-cwd.patch: don't read .lv file from current
directory to prevent the possibility of local root exploit. (#89776)
- s/Copyright/License/
* Tue Jul 24 2001 SATO Satoru <ssato@redhat.com>
- BuildPrereq: libtermcap-devel (close #49517)

View File

@ -1,2 +1 @@
50303eacd54560a186e97464edb6d50b lv-fix-install-opts.gz
8b221fcca182f3914a5e79e771ebfb0b lv4494.tar.gz