summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-arch/mscompress
downloadgentoo-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/mscompress')
-rw-r--r--app-arch/mscompress/Manifest1
-rw-r--r--app-arch/mscompress/files/mscompress-0.3-amd64.patch24
-rw-r--r--app-arch/mscompress/files/mscompress-0.3-makefile.patch12
-rw-r--r--app-arch/mscompress/metadata.xml11
-rw-r--r--app-arch/mscompress/mscompress-0.3-r1.ebuild34
5 files changed, 82 insertions, 0 deletions
diff --git a/app-arch/mscompress/Manifest b/app-arch/mscompress/Manifest
new file mode 100644
index 000000000000..1775c9af373d
--- /dev/null
+++ b/app-arch/mscompress/Manifest
@@ -0,0 +1 @@
+DIST mscompress-0.3.tar.bz2 40989 SHA256 cdc3bf66865da9700d5f52a06602dfe3f9a6510bc53b97342957b1d71f026b77 SHA512 e69a95e9c12979e852227553028b578f324ec38472ead11f9c0cce85b77bc817ea39d5ecf74599c7935c692eaac537456ebefe110400514a3c834b12597dde14 WHIRLPOOL 9481d1ac9b3a211f578e41f6e195604bb691488aa9567f33c8556cf7b3d1ed620d189040c6b4990b2960b2a3899076ff375b6584ce358bd60aa66ca711f64500
diff --git a/app-arch/mscompress/files/mscompress-0.3-amd64.patch b/app-arch/mscompress/files/mscompress-0.3-amd64.patch
new file mode 100644
index 000000000000..95e4e617aefc
--- /dev/null
+++ b/app-arch/mscompress/files/mscompress-0.3-amd64.patch
@@ -0,0 +1,24 @@
+--- mscompress.c.old 2006-11-27 23:58:51.000000000 +0100
++++ mscompress.c 2006-11-27 23:59:50.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <string.h>
++#include <stdint.h>
+ #ifdef HAVE_GETOPT_H
+ #include <getopt.h>
+ #else
+@@ -156,10 +157,10 @@
+ int ch, i, run, len, match, size, mask;
+ char buf[17];
+ struct stat st;
+- unsigned long magic1;
+- unsigned long magic2;
++ uint32_t magic1;
++ uint32_t magic2;
+ unsigned short magic3;
+- unsigned long filesize;
++ uint32_t filesize;
+
+ /* 28.5 kB */
+ buffer = malloc (N + F + (N + 1 + N + N + 256) * sizeof (int));
diff --git a/app-arch/mscompress/files/mscompress-0.3-makefile.patch b/app-arch/mscompress/files/mscompress-0.3-makefile.patch
new file mode 100644
index 000000000000..21c38155082e
--- /dev/null
+++ b/app-arch/mscompress/files/mscompress-0.3-makefile.patch
@@ -0,0 +1,12 @@
+--- a/Makefile.in 2004-04-14 07:48:23.088418656 +0000
++++ b/Makefile.in 2004-04-14 07:48:38.233116312 +0000
+@@ -37,7 +37,7 @@
+ bzip2 -9f $(OUTDIR)/mscompress-$(VERS)-$(OSTYPE).tar
+
+ mscompress: mscompress.o version.o
+- $(CC) -o mscompress mscompress.o version.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o mscompress mscompress.o version.o
+
+ msexpand: msexpand.o version.o
+- $(CC) -o msexpand msexpand.o version.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o msexpand msexpand.o version.o
diff --git a/app-arch/mscompress/metadata.xml b/app-arch/mscompress/metadata.xml
new file mode 100644
index 000000000000..ab7361f77088
--- /dev/null
+++ b/app-arch/mscompress/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ <name>Default assignee for orphaned packages</name>
+ </maintainer>
+ <longdescription lang="en">
+ A (de)compressor for microsoft's compress.exe and expand.exe functions.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-arch/mscompress/mscompress-0.3-r1.ebuild b/app-arch/mscompress/mscompress-0.3-r1.ebuild
new file mode 100644
index 000000000000..14bfdf0a544b
--- /dev/null
+++ b/app-arch/mscompress/mscompress-0.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
+HOMEPAGE="http://gnuwin32.sourceforge.net/packages/mscompress.htm"
+SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-makefile.patch \
+ "${FILESDIR}"/${P}-amd64.patch
+}
+
+src_configure() {
+ tc-export CC
+ [[ $(tc-arch) == ppc* ]] && append-flags -fsigned-char
+ econf
+}
+
+src_install() {
+ dobin mscompress msexpand || die
+ doman mscompress.1 msexpand.1
+ dodoc README ChangeLog
+}