OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 05-Jan-2007 21:27:00
Branch: OPENPKG_2_STABLE Handle: 2007010520265900
Added files: (Branch: OPENPKG_2_STABLE)
openpkg-src/bzip2 bzip2.patch
Modified files: (Branch: OPENPKG_2_STABLE)
openpkg-src/bzip2 bzip2.spec
Log:
MFC: security fixed version
Summary:
Revision Changes Path
1.1.10.1 +19 -0 openpkg-src/bzip2/bzip2.patch
1.32.2.4 +11 -5 openpkg-src/bzip2/bzip2.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bzip2/bzip2.patch
============================================================================
$ cvs diff -u -r0 -r1.1.10.1 bzip2.patch
--- /dev/null 2007-01-05 21:22:00 +0100
+++ bzip2.patch 2007-01-05 21:26:59 +0100
@@ -0,0 +1,19 @@
+Index: bzdiff
+--- bzdiff.orig 2007-01-05 20:55:31 +0100
++++ bzdiff 2007-01-05 20:57:56 +0100
+@@ -37,10 +37,15 @@
+ echo "Usage: $prog [${comp}_options] file [file]"
+ exit 1
+ fi
++if type mktemp >/dev/null 2>&1; then
+ tmp=`mktemp ${TMPDIR:-/tmp}/bzdiff.XXXXXXXXXX` || {
+ echo 'cannot create a temporary file' >&2
+ exit 1
+ }
++else
++ set -C
++ tmp=${TMPDIR-/tmp}/bzdiff.$$
++fi
+ set $FILES
+ if test $# -eq 1; then
+ FILE=`echo "$1" | sed 's/.bz2$//'`
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/bzip2/bzip2.spec
============================================================================
$ cvs diff -u -r1.32.2.3 -r1.32.2.4 bzip2.spec
--- openpkg-src/bzip2/bzip2.spec 22 Oct 2006 11:34:32 -0000 1.32.2.3
+++ openpkg-src/bzip2/bzip2.spec 5 Jan 2007 20:26:59 -0000 1.32.2.4
@@ -1,7 +1,7 @@
##
## bzip2.spec -- OpenPKG RPM Package Specification
-## Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
-## Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
+## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
+## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
@@ -26,17 +26,18 @@
Name: bzip2
Summary: De-/Compression with BZIP2 Algorithm
URL: http://www.bzip.org/
-Vendor: Free Software Foundation
+Vendor: Julian Seward
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: CORE
Group: Compression
License: GPL
-Version: 1.0.3
-Release: 2.20061022
+Version: 1.0.4
+Release: 2.20070105
# list of sources
Source0: http://www.bzip.org/%{version}/bzip2-%{version}.tar.gz
+Patch0: bzip2.patch
# build information
Prefix: %{l_prefix}
@@ -62,9 +63,14 @@
%prep
%setup -q
+ %patch -p0
%{l_shtool} subst \
+ -e 's;#!/bin/sh;#!%{l_bash};g' \
-e 's;^\(PATH="\)\(.*\)$;\1%{l_prefix}/bin:\2;' \
bzdiff bzgrep bzmore
+ %{l_shtool} subst \
+ -e 's;ln -s;ln;g' \
+ Makefile
%build
# build package
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]