Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
86
Issues
86
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
33
Merge Requests
33
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
e42914b3
Commit
e42914b3
authored
May 22, 2013
by
Manuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gzip
parent
c502a4d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
31 deletions
+58
-31
gzip/PKGBUILD
gzip/PKGBUILD
+17
-20
gzip/gzip-1.5-yesno-declaration.patch
gzip/gzip-1.5-yesno-declaration.patch
+36
-0
gzip/gzip.install
gzip/gzip.install
+5
-11
No files found.
gzip/PKGBUILD
View file @
e42914b3
...
...
@@ -4,37 +4,34 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname
=
gzip
pkgver
=
1.
4
pkgrel
=
4
pkgver
=
1.
5
pkgrel
=
1
pkgdesc
=
"GNU compression utility"
arch
=(
'
i686'
'
x86_64'
)
arch
=(
'x86_64'
)
url
=
"http://www.gnu.org/software/gzip/"
license
=(
'GPL3'
)
groups
=(
'base'
)
groups
=(
'base'
'base-devel'
)
depends
=(
'glibc'
'bash'
)
makedepends
=(
'patch'
)
install
=
gzip.install
source
=(
"ftp://ftp.gnu.org/pub/gnu/
${
pkgname
}
/
${
pkgname
}
-
${
pkgver
}
.tar.gz"
)
md5sums
=(
'e381b8506210c794278f5527cba0e765'
)
source
=(
ftp://ftp.gnu.org/pub/gnu/gzip/gzip-
$pkgver
.tar.xz
{
,.sig
}
gzip-1.5-yesno-declaration.patch
)
md5sums
=(
'2a431e169b6f62f7332ef6d47cc53bae'
'2de95937a3f65137acf9c55d4ad0447a'
'd63249578de2eb6aadaded26918d8eed'
)
build
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
"
# By default Gzip uses assembly code. While this may preform better,
# it is not position independent. The DEFS environment variable is
# set to use only C code.
export
DEFS
=
"NO_ASM"
./configure
--prefix
=
/usr
make
patch
-p1
-i
$srcdir
/gzip-1.5-yesno-declaration.patch
make
}
package
()
{
check
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
"
make
prefix
=
"
${
pkgdir
}
/usr"
install
cd
"
${
pkgdir
}
/usr/bin"
ln
-sf
"
${
pkgname
}
"
compress
make check
}
# vim:set ts=2 sw=2 et:
package
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
"
make
prefix
=
${
pkgdir
}
/usr
install
}
gzip/gzip-1.5-yesno-declaration.patch
0 → 100644
View file @
e42914b3
From e40a9b65ae95ed6face7ce1336905f0ab0a4992b Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 05 Feb 2013 21:37:40 +0000
Subject: gzip: fix bug where you say "n" and gzip acts as if you said "y"
Problem reported for GCC 4.7 x86-64 -O2 by Allan McRae in
<http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00000.html>.
*
NEWS: Document this. Use consistent format in earlier note.
*
gzip.c: Include yesno.h.
*
gzip.h (yesno): Remove decl; that's yesno.h's job.
---
diff --git a/gzip.c b/gzip.c
index b9b4d64..66529e0 100644
--- a/gzip.c
+++ b/gzip.c
@@ -74,6 +74,7 @@
static char const *const license_msg[] = {
#include "ignore-value.h"
#include "stat-time.h"
#include "version.h"
+#include "yesno.h"
/* configuration */
diff --git a/gzip.h b/gzip.h
index bf253d0..648073e 100644
--- a/gzip.h
+++ b/gzip.h
@@ -321,6 +321,3 @@
extern void fprint_off (FILE *, off_t, int);
/* in inflate.c */
extern int inflate (void);
-
- /* in yesno.c */
-extern int yesno (void);
--
cgit v0.9.0.2
gzip/gzip.install
View file @
e42914b3
infodir
=/
usr
/
share
/
info
filelist
=
(
gzip
.
info
)
infodir
=
usr
/
share
/
info
post_install
()
{
[
-
x
usr
/
bin
/
install
-
info
]
||
return
0
for
file
in
$
{
filelist
[
@
]};
do
usr
/
bin
/
install
-
info
$infodir
/
$file
.
gz
$infodir
/
dir
2
>
/
dev
/
null
done
[
-
x
usr
/
bin
/
install
-
info
]
||
return
0
usr
/
bin
/
install
-
info
$infodir
/
gzip
.
info
.
gz
$infodir
/
dir
2
>
/
dev
/
null
}
post_upgrade
()
{
...
...
@@ -13,9 +10,6 @@ post_upgrade() {
}
pre_remove
()
{
[
-
x
usr
/
bin
/
install
-
info
]
||
return
0
for
file
in
$
{
filelist
[
@
]};
do
usr
/
bin
/
install
-
info
--
delete
$infodir
/
$file
.
gz
$infodir
/
dir
2
>
/
dev
/
null
done
[
-
x
usr
/
bin
/
install
-
info
]
||
return
0
usr
/
bin
/
install
-
info
--
delete
$infodir
/
gzip
.
info
.
gz
$infodir
/
dir
2
>
/
dev
/
null
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment