diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-arch/gzip | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-arch/gzip')
-rw-r--r-- | app-arch/gzip/Manifest | 3 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch | 11 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.4-asmv.patch | 30 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.4-assembler.patch | 52 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.4-no-gets.patch | 22 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.4.ebuild | 49 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.5.ebuild | 47 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.6.ebuild | 41 | ||||
-rw-r--r-- | app-arch/gzip/metadata.xml | 11 |
9 files changed, 266 insertions, 0 deletions
diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest new file mode 100644 index 000000000000..dec1fe177406 --- /dev/null +++ b/app-arch/gzip/Manifest @@ -0,0 +1,3 @@ +DIST gzip-1.4.tar.gz 907411 SHA256 d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee SHA512 9ba6d11f0469b80433a5da25f834f7652db109c235e2a849f4249adae3929fda9ebef98a181cc928a5dfc2b0d35df8b220afba130cd4a596a4dbddbf3fe8d2bc WHIRLPOOL 3d8552d2dc660953714f49674e8af2319eade0fd33c705ee253c2ea215cf4e5c3e6b7088c7087060ea7751508c74769b5b64d9e88bc22ea1d7ad0e8680a616e5 +DIST gzip-1.5.tar.xz 720956 SHA256 9ac20a3841a1246a8bedd800ea1fb93ef76521535d89cb59397d267026b6a173 SHA512 27b1b9c1ab75331b5368abb54541f3f251009a3bc6e49e42cda13bc088673d9f8c89c55caa63da60c1ea70fac2e6de24203b7aeaaaad4bc54302edbe275f46ea WHIRLPOOL c718e5e4e0e6f29de285380c25564997615b7213fa32604922436c3c6221bb9531d01518a6cc4e0a80b4694bb040768654d4bf07bb48290f90e61f13962e96ab +DIST gzip-1.6.tar.xz 725084 SHA256 37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847 SHA512 06da599fc38b459d7e9a3f43fdd06d1a0d7b29ad14cb7b6552176bab584a1135bb47ba37a4eb377e6c42c4934d557079ace1e289a252ae192ee154079a62ed01 WHIRLPOOL 7c639d9a57d5f9a820972275c7813ccd76df7a87ad68b00668696aec251b84fd7efb1129205e8a7cd51e40706b718ce3ce71dc9aa6626acf074bcea6f0fe5c39 diff --git a/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch b/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch new file mode 100644 index 000000000000..8d92b609b5dd --- /dev/null +++ b/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch @@ -0,0 +1,11 @@ +--- Makefile.in ++++ Makefile.in +@@ -926,7 +926,7 @@ + rm -f "$$dest" && \ + case $@ in \ + install-exec-hook) \ +- ln "$$source" "$$dest" || $(LN_S) "$$source" "$$dest";; \ ++ $(LN_S) "$$source" "$$dest";; \ + esac \ + ) || exit; \ + done; \ diff --git a/app-arch/gzip/files/gzip-1.4-asmv.patch b/app-arch/gzip/files/gzip-1.4-asmv.patch new file mode 100644 index 000000000000..c87855018cff --- /dev/null +++ b/app-arch/gzip/files/gzip-1.4-asmv.patch @@ -0,0 +1,30 @@ +http://bugs.gentoo.org/show_bug.cgi?id=302773 + +--- tailor.h.old 2010-01-29 11:13:02.000000000 +0000 ++++ tailor.h 2010-01-29 13:18:15.000000000 +0000 +@@ -69,9 +69,6 @@ + # include <io.h> + # define OS_CODE 0x00 + # define SET_BINARY_MODE(fd) setmode(fd, O_BINARY) +-# if !defined(NO_ASM) && !defined(ASMV) +-# define ASMV +-# endif + #else + # define near + #endif +@@ -182,7 +179,6 @@ + # define PATH_SEP2 ':' + # define STDC_HEADERS + # define OS_CODE 0x01 +-# define ASMV + # ifdef __GNUC__ + # define HAVE_DIRENT_H + # define HAVE_FCNTL_H +@@ -201,7 +197,6 @@ + #endif + + #if defined(ATARI) || defined(atarist) +-# define ASMV + # define OS_CODE 0x05 + # ifdef TOSFS + # define PATH_SEP2 '\\' diff --git a/app-arch/gzip/files/gzip-1.4-assembler.patch b/app-arch/gzip/files/gzip-1.4-assembler.patch new file mode 100644 index 000000000000..76aade5c9341 --- /dev/null +++ b/app-arch/gzip/files/gzip-1.4-assembler.patch @@ -0,0 +1,52 @@ +http://bugs.gentoo.org/309079 +http://lists.gnu.org/archive/html/bug-gzip/2010-02/msg00032.html + +From 61af16213a488af3a8e994399ebd0859d390edb6 Mon Sep 17 00:00:00 2001 +From: Jim Meyering <meyering@redhat.com> +Date: Sat, 20 Mar 2010 13:05:58 +0100 +Subject: [PATCH] use assembly code matcher when possible + +* configure.ac (ASCPPPOST): Backslash-escape "#" in AC_SUBST'd +variable, to keep make from seeing it as a comment-introducer. +Based on a patch by Petr Pisar. +* lib/Makefile.am (match.$(OBJEXT)): Use AM_V_GEN and AM_V_at. +* lib/match.c: Don't include <config.h>. +It would impede configure-time assembler test. +* .x-sc_require_config_h: Exempt lib/match.c from syntax-check. +* .x-sc_require_config_h_first: Likewise. +--- + .x-sc_require_config_h | 1 + + .x-sc_require_config_h_first | 1 + + THANKS | 1 + + configure.ac | 2 +- + lib/Makefile.am | 12 ++++++------ + lib/match.c | 2 -- + 6 files changed, 10 insertions(+), 9 deletions(-) + create mode 100644 .x-sc_require_config_h + create mode 100644 .x-sc_require_config_h_first + +--- a/configure ++++ b/configure +@@ -22588,5 +22588,5 @@ + + # cc -E produces incorrect asm files on SVR4, so postprocess it. +-ASCPPPOST="sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" ++ASCPPPOST="sed '/^ *\\#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" + + +diff --git a/lib/match.c b/lib/match.c +index 4ef6128..5dd8d64 100644 +--- a/lib/match.c ++++ b/lib/match.c +@@ -28,8 +28,6 @@ + * David Mosberger-Tang <davidm@hpl.hp.com>. + */ + +-#include <config.h> +- + /* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix + * external symbols with an underline character '_'. + */ +-- +1.7.1.1 + diff --git a/app-arch/gzip/files/gzip-1.4-no-gets.patch b/app-arch/gzip/files/gzip-1.4-no-gets.patch new file mode 100644 index 000000000000..6da6e64bb7fd --- /dev/null +++ b/app-arch/gzip/files/gzip-1.4-no-gets.patch @@ -0,0 +1,22 @@ +hack until gzip pulls a newer gnulib version + +From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 +From: Eric Blake <eblake@redhat.com> +Date: Thu, 29 Mar 2012 13:30:41 -0600 +Subject: [PATCH] stdio: don't assume gets any more + +Gnulib intentionally does not have a gets module, and now that C11 +and glibc have dropped it, we should be more proactive about warning +any user on a platform that still has a declaration of this dangerous +interface. + +--- a/lib/stdio.in.h ++++ b/lib/stdio.in.h +@@ -125,7 +125,6 @@ + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ diff --git a/app-arch/gzip/gzip-1.4.ebuild b/app-arch/gzip/gzip-1.4.ebuild new file mode 100644 index 000000000000..d2a57fa3e726 --- /dev/null +++ b/app-arch/gzip/gzip-1.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils flag-o-matic + +DESCRIPTION="Standard GNU compressor" +HOMEPAGE="http://www.gnu.org/software/gzip/" +SRC_URI="mirror://gnu-alpha/gzip/${P}.tar.gz + mirror://gnu/gzip/${P}.tar.gz + mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="nls pic static" + +RDEPEND="" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + #epatch "${FILESDIR}"/${PN}-1.3.5-rsync.patch + epatch "${FILESDIR}"/${PN}-1.3.8-install-symlinks.patch + epatch "${FILESDIR}"/${P}-assembler.patch #309079 + epatch "${FILESDIR}"/${P}-no-gets.patch +} + +src_compile() { + use static && append-flags -static + # avoid text relocation in gzip + use pic && export DEFS="NO_ASM" + econf || die + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc ChangeLog NEWS README THANKS TODO + docinto txt + dodoc algorithm.doc gzip.doc + + # keep most things in /usr, just the fun stuff in / + dodir /bin + mv "${D}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${D}"/bin/ || die + sed -e 's:/usr::' -i "${D}"/bin/gunzip || die +} diff --git a/app-arch/gzip/gzip-1.5.ebuild b/app-arch/gzip/gzip-1.5.ebuild new file mode 100644 index 000000000000..1698fc793afc --- /dev/null +++ b/app-arch/gzip/gzip-1.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils flag-o-matic unpacker + +DESCRIPTION="Standard GNU compressor" +HOMEPAGE="http://www.gnu.org/software/gzip/" +SRC_URI="mirror://gnu-alpha/gzip/${P}.tar.xz + mirror://gnu/gzip/${P}.tar.xz + mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="nls pic static" + +RDEPEND="" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpacker + cd "${S}" + #epatch "${FILESDIR}"/${PN}-1.3.5-rsync.patch + epatch "${FILESDIR}"/${PN}-1.3.8-install-symlinks.patch +} + +src_compile() { + use static && append-flags -static + # avoid text relocation in gzip + use pic && export DEFS="NO_ASM" + econf || die + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc ChangeLog NEWS README THANKS TODO + docinto txt + dodoc algorithm.doc gzip.doc + + # keep most things in /usr, just the fun stuff in / + dodir /bin + mv "${D}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${D}"/bin/ || die + sed -e 's:/usr::' -i "${D}"/bin/gunzip || die +} diff --git a/app-arch/gzip/gzip-1.6.ebuild b/app-arch/gzip/gzip-1.6.ebuild new file mode 100644 index 000000000000..e3619f210d2d --- /dev/null +++ b/app-arch/gzip/gzip-1.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils flag-o-matic + +DESCRIPTION="Standard GNU compressor" +HOMEPAGE="http://www.gnu.org/software/gzip/" +SRC_URI="mirror://gnu-alpha/gzip/${P}.tar.xz + mirror://gnu/gzip/${P}.tar.xz + mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="pic static" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.3.8-install-symlinks.patch + epatch "${FILESDIR}"/${PN}-1.4-asmv.patch +} + +src_configure() { + use static && append-flags -static + # avoid text relocation in gzip + use pic && export DEFS="NO_ASM" + econf +} + +src_install() { + default + docinto txt + dodoc algorithm.doc gzip.doc + + # keep most things in /usr, just the fun stuff in / + dodir /bin + mv "${ED}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${ED}"/bin/ || die + sed -e "s:${EPREFIX}/usr:${EPREFIX}:" -i "${ED}"/bin/gunzip || die +} diff --git a/app-arch/gzip/metadata.xml b/app-arch/gzip/metadata.xml new file mode 100644 index 000000000000..66209169ac44 --- /dev/null +++ b/app-arch/gzip/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +<upstream> + <remote-id type="cpe">cpe:/a:gnu:gzip</remote-id> +</upstream> +<use> +<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag> +</use> +</pkgmetadata> |