diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 08:53:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-10 08:53:54 +0000 |
commit | f5fe45940edf7f50ed5d1d3c05ccb03e3b81fd03 (patch) | |
tree | e06fe2b4bc00067e00491f0e371fabcc05ff0570 /app-arch/pax | |
parent | extend rpm_spec_epatch to handle -b %patch options (which is really patch --s... (diff) | |
download | historical-f5fe45940edf7f50ed5d1d3c05ccb03e3b81fd03.tar.gz historical-f5fe45940edf7f50ed5d1d3c05ccb03e3b81fd03.tar.bz2 historical-f5fe45940edf7f50ed5d1d3c05ccb03e3b81fd03.zip |
Version bump, and add x32 patch.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'app-arch/pax')
-rw-r--r-- | app-arch/pax/ChangeLog | 10 | ||||
-rw-r--r-- | app-arch/pax/Manifest | 13 | ||||
-rw-r--r-- | app-arch/pax/files/pax-3.4-x32.patch | 162 | ||||
-rw-r--r-- | app-arch/pax/pax-3.4.12.16.ebuild | 34 |
4 files changed, 211 insertions, 8 deletions
diff --git a/app-arch/pax/ChangeLog b/app-arch/pax/ChangeLog index 9ae8ec297f88..bc9afdb9dee2 100644 --- a/app-arch/pax/ChangeLog +++ b/app-arch/pax/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-arch/pax -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/ChangeLog,v 1.15 2010/11/24 02:19:37 mattst88 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/ChangeLog,v 1.16 2011/12/10 08:53:54 vapier Exp $ + +*pax-3.4.12.16 (10 Dec 2011) + + 10 Dec 2011; Mike Frysinger <vapier@gentoo.org> +files/pax-3.4-x32.patch, + +pax-3.4.12.16.ebuild: + Version bump, and add x32 patch. 24 Nov 2010; <mattst88@gentoo.org> pax-3.3.4.ebuild: Remove redundant dependency on rpm2targz, bug #345225. diff --git a/app-arch/pax/Manifest b/app-arch/pax/Manifest index baff826a38ab..19b19f5e0f4a 100644 --- a/app-arch/pax/Manifest +++ b/app-arch/pax/Manifest @@ -1,16 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX pax-3.4-x32.patch 6252 RMD160 b957efb5dc4ed3973265a5db13bdb715c2add914 SHA1 6f863a21190c6a7da61955ad195f4c958e6f9125 SHA256 d4d08ccda2a489c30bf933ec99ca45aaa50d8c67062f08d93522f2fa2106e138 DIST pax-3.3-4ras.src.rpm 165161 RMD160 05abbc281368c4eccb6bd7fffb98d3816c500905 SHA1 8cbf8edbd30a0eb262208ea73d433a9b69b74dd3 SHA256 751e528b9d1a6fc5d91bbfcad324975c5ff93de33eb6e4848c1e0d8b3e91f6fd +DIST pax-3.4-12.fc16.src.rpm 171016 RMD160 005fe142098b6e2496b5293339ea4f59c105a02f SHA1 d8d508718c676a5e4c5fe3de62ef6f60f3e91ab0 SHA256 b86ca0556b12600d3dd4777900baae5118e71ce9e026e42e3bb51aed23853932 EBUILD pax-3.3.4.ebuild 952 RMD160 62d1eac835b5b26c8aedd68e3b780fb925d8872f SHA1 6e540a96430193deb27acc03726978249c870d8f SHA256 73f4ce3a8584c9336ddd6d7c2a0a89073ffea57e2427aa065777c3903cce7fc3 -MISC ChangeLog 1688 RMD160 8e0d38b600af8bebb134135d370e034c01d8c72f SHA1 b7aaa906e8fb1937f2cb181d7f5d86a00302674a SHA256 8e2734b2220152b411734775103d81ac1ef24c2f7ffab2227d5ca52b5a76d476 +EBUILD pax-3.4.12.16.ebuild 976 RMD160 3392c1d29559737df28452a8b9f780219a74150e SHA1 4e2ba029b35693aa31952eb2159786a11484a53d SHA256 c4cf5223b7a571d01bade75b6f555516c411476ba65aa5d08d1606acfcd314df +MISC ChangeLog 1853 RMD160 56abfb29d6818ebcc26cc945bd0c0e6e66502181 SHA1 3d4a29b5459a3335c3149e5dd7aa33b841a7e2d3 SHA256 f9ae285d87e32a50f05032d36b9bd16ae2a682e44b3533ef7437e9b7cea2949e MISC metadata.xml 214 RMD160 ea476e10a778f79d9273adbbc2403db67d025e10 SHA1 7f156558998e184ab8ea7417fd4739048f012a09 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iJwEAQEIAAYFAk589y0ACgkQfXuS5UK5QB3IDwP/TBiKRRiOAhFMWr5uE2xfMe3K -kTI0XITuXvGgjznAjhGXmDa18coWUpZ/bZ4SDUk0qNX2vrsZUtWnebn6Nb/6hNc6 -4FVcutWKIvHL9F1nmW58kERWVXkXeLFBHclzflu0/CmYZD8eqOXPNnCV0JMzGZT/ -9wUnZq6XNqNkESgn9zY= -=kEHz +iF4EAREIAAYFAk7jHjYACgkQaC/OocHi7JYc0gEAm0vcu4RXl/h8pJDA7zOcXaMI +57LX1fcW4/1slEuueK4BAJBYXJNnrCaN7aX3f/5MasQ2Q9WfDE+ZE2cL/Vb6KCG2 +=JXD1 -----END PGP SIGNATURE----- diff --git a/app-arch/pax/files/pax-3.4-x32.patch b/app-arch/pax/files/pax-3.4-x32.patch new file mode 100644 index 000000000000..7ae1a9d914ca --- /dev/null +++ b/app-arch/pax/files/pax-3.4-x32.patch @@ -0,0 +1,162 @@ +https://sites.google.com/site/x32abi/x32-patches + +--- pax-3.4/configure.in ++++ pax-3.4/configure.in +@@ -33,4 +33,7 @@ dnl Checks for header files. + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST + ++AC_CHECK_SIZEOF(off_t) ++AC_CHECK_SIZEOF(long) ++ + AC_OUTPUT([Makefile lib/Makefile src/Makefile]) +--- pax-3.4/src/ar_io.c ++++ pax-3.4/src/ar_io.c +@@ -378,7 +378,8 @@ ar_close(void) + * could have written anything yet. + */ + if (frmt == NULL) { +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + (void)fprintf(listf, "%s: unknown format, %qu bytes skipped.\n", + #else + (void)fprintf(listf, "%s: unknown format, %lu bytes skipped.\n", +@@ -391,7 +392,8 @@ ar_close(void) + + if (strcmp(NM_CPIO, argv0) == 0) + (void)fprintf(listf, +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + "%qu blocks\n", + #else + "%lu blocks\n", +@@ -399,7 +401,8 @@ ar_close(void) + (rdcnt ? rdcnt : wrcnt) / 5120); + else if (strcmp(NM_TAR, argv0) != 0) + (void)fprintf(listf, +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + "%s: %s vol %d, %lu files, %qu bytes read, %qu bytes written.\n", + #else + "%s: %s vol %d, %lu files, %lu bytes read, %lu bytes written.\n", +--- pax-3.4/src/cpio.c ++++ pax-3.4/src/cpio.c +@@ -218,7 +218,8 @@ rd_ln_nm (ARCHD *arcn) + */ + if ((arcn->sb.st_size == 0) || + (arcn->sb.st_size >= (off_t) sizeof(arcn->ln_name))) { +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + paxwarn (1, "Cpio link name length is invalid: %qu", + arcn->sb.st_size); + #else +--- pax-3.4/src/gen_subs.c ++++ pax-3.4/src/gen_subs.c +@@ -133,7 +133,8 @@ ls_list (ARCHD *arcn, time_t now, FILE * + * print device id's for devices, or sizes for other nodes + */ + if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK)) +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + (void) fprintf (fp, "%4lu,%4lu ", (unsigned long) MAJOR (sbp->st_rdev), + (unsigned long) MINOR (sbp->st_rdev)); + #else +@@ -142,7 +143,8 @@ ls_list (ARCHD *arcn, time_t now, FILE * + #endif + else + { +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + (void) fprintf (fp, "%9qu ", sbp->st_size); + #else + (void) fprintf (fp, "%9lu ", sbp->st_size); +@@ -334,7 +336,8 @@ ul_asc (u_long val, char *str, int len, + return (0); + } + +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + /* + * asc_uqd() + * convert hex/octal character string into a u_quad_t. We do not have to +--- pax-3.4/src/options.c ++++ pax-3.4/src/options.c +@@ -1545,7 +1545,8 @@ str_offt (char *val) + char *expr; + off_t num, t; + +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + num = strtoq (val, &expr, 0); + if ((num == LONG_LONG_MAX) || (num <= 0) || (expr == val)) + #else +--- pax-3.4/src/tar.c ++++ pax-3.4/src/tar.c +@@ -58,7 +58,8 @@ + static unsigned long tar_chksm (char *, int); + static char *name_split (char *, int); + static int ul_oct (u_long, char *, int, int); +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + static int uqd_oct (u_quad_t, char *, int, int); + #endif + +@@ -196,7 +197,8 @@ ul_oct (u_long val, register char *str, + return (0); + } + +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + /* + * uqd_oct() + * convert an u_quad_t to an octal string. one of many oddball field +@@ -427,7 +429,8 @@ tar_rd (ARCHD *arcn, char *buf) + 0xfff); + arcn->sb.st_uid = (uid_t) asc_ul (hd->uid, sizeof (hd->uid), OCT); + arcn->sb.st_gid = (gid_t) asc_ul (hd->gid, sizeof (hd->gid), OCT); +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + arcn->sb.st_size = (off_t) asc_uqd (hd->size, sizeof (hd->size), OCT); + #else + arcn->sb.st_size = (off_t) asc_ul (hd->size, sizeof (hd->size), OCT); +@@ -659,7 +662,8 @@ tar_wr (register ARCHD * arcn) + * data follows this file, so set the pad + */ + hd->linkflag = AREGTYPE; +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + if (uqd_oct ((u_quad_t) arcn->sb.st_size, hd->size, + sizeof (hd->size), 1)) + #else +@@ -834,7 +838,8 @@ ustar_rd (ARCHD *arcn, char *buf) + */ + arcn->sb.st_mode = (mode_t) (asc_ul (hd->mode, sizeof (hd->mode), OCT) & + 0xfff); +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + arcn->sb.st_size = (off_t) asc_uqd (hd->size, sizeof (hd->size), OCT); + #else + arcn->sb.st_size = (off_t) asc_ul (hd->size, sizeof (hd->size), OCT); +@@ -1081,7 +1086,8 @@ ustar_wr (register ARCHD * arcn) + else + hd->typeflag = REGTYPE; + arcn->pad = TAR_PAD (arcn->sb.st_size); +-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 ++#if (SIZEOF_LONG == 4 && SIZEOF_OFF_T == 8) \ ++ || (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) + if (uqd_oct ((u_quad_t) arcn->sb.st_size, hd->size, + sizeof (hd->size), 3)) + { diff --git a/app-arch/pax/pax-3.4.12.16.ebuild b/app-arch/pax/pax-3.4.12.16.ebuild new file mode 100644 index 000000000000..cacbe1295180 --- /dev/null +++ b/app-arch/pax/pax-3.4.12.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/pax-3.4.12.16.ebuild,v 1.1 2011/12/10 08:53:54 vapier Exp $ + +EAPI="4" + +inherit eutils rpm versionator autotools + +MY_PV=$(get_version_component_range 1-2) +MY_P="${PN}-${MY_PV}" +RPM_PV=$(get_version_component_range 3) +FC_PV=$(get_version_component_range 4) + +DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool" +HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/bin/pax/" +SRC_URI="mirror://fedora-dev/releases/${FC_PV}/Everything/source/SRPMS/${MY_P}-${RPM_PV}.fc${FC_PV}.src.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + rpm_spec_epatch ../${PN}.spec + epatch "${FILESDIR}"/pax-3.4-x32.patch + eautoreconf +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README THANKS +} |