diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-30 02:20:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-30 02:20:01 +0000 |
commit | 3f78df0e17ae308f7cb71ef052ed9352cc8936ce (patch) | |
tree | b8097e294189d774850959e415ab90c6dd34d3b3 /sys-apps/s390-tools | |
parent | Stabilize. (diff) | |
download | historical-3f78df0e17ae308f7cb71ef052ed9352cc8936ce.tar.gz historical-3f78df0e17ae308f7cb71ef052ed9352cc8936ce.tar.bz2 historical-3f78df0e17ae308f7cb71ef052ed9352cc8936ce.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/s390-tools')
-rw-r--r-- | sys-apps/s390-tools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/s390-tools/Manifest | 27 | ||||
-rw-r--r-- | sys-apps/s390-tools/files/s390-tools-1.16.0-build.patch | 153 | ||||
-rw-r--r-- | sys-apps/s390-tools/s390-tools-1.16.0.ebuild | 56 |
4 files changed, 236 insertions, 8 deletions
diff --git a/sys-apps/s390-tools/ChangeLog b/sys-apps/s390-tools/ChangeLog index 444c792625f2..f79227385cb9 100644 --- a/sys-apps/s390-tools/ChangeLog +++ b/sys-apps/s390-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/s390-tools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-tools/ChangeLog,v 1.29 2012/04/30 02:19:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-tools/ChangeLog,v 1.30 2012/04/30 02:20:01 vapier Exp $ + +*s390-tools-1.16.0 (30 Apr 2012) + + 30 Apr 2012; Mike Frysinger <vapier@gentoo.org> + +files/s390-tools-1.16.0-build.patch, +s390-tools-1.16.0.ebuild: + Version bump. 30 Apr 2012; Mike Frysinger <vapier@gentoo.org> s390-tools-1.15.0.ebuild: Stabilize. diff --git a/sys-apps/s390-tools/Manifest b/sys-apps/s390-tools/Manifest index 742a6fe372ec..09e07541dbe1 100644 --- a/sys-apps/s390-tools/Manifest +++ b/sys-apps/s390-tools/Manifest @@ -1,25 +1,38 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX s390-tools-1.13.0-build.patch 4770 RMD160 1d950de92fd50aade8f66ac42459f640a8af388d SHA1 f43230d29468b30db548c8583da2d98cf8b8abeb SHA256 e7278dd938d7bfb02a4d9ee7af1487eef73e1237769e9c5c8d4e1cb57837cfc0 AUX s390-tools-1.13.0-larl.patch 2005 RMD160 55b975a5aa6878fee2c42443a822394908984bbf SHA1 b105e7efc8e9e7da4285bdf35980e6318e30c409 SHA256 1c143dab124dddc0c5d69660782ee1003d84085b0ac197ff2a7bb4c71bb8c793 +AUX s390-tools-1.16.0-build.patch 4758 RMD160 3808631f92db4f5c363720a58aee402c36fbbb72 SHA1 fa640bf953c13053ca1a848678a9e1daadefec02 SHA256 1bda02725ce7d94e2eaaf67a95e4e71394f7c1b90e647800e19299c1928f1918 AUX s390-tools-1.9.0-build.patch 4850 RMD160 d57e71ad7f999f10218b33cd6d4754ed4f832a2d SHA1 5f0f3e021e271936fc7398a493846ea433a83f68 SHA256 474f46b40f0a9d292a077b90161ba34f4546e5af603c674a5aabc92faa6ed736 DIST e2fsprogs-1.41.3.tar.gz 4365234 RMD160 7045401ac70a7aa865a8040da4aca2683204abd6 SHA1 d85f05b7bcef1adf8306a789f3ac0325c3c67e8d SHA256 ce77edae680d090cb8275eca9be282bdbc5fbef028d7bf6f772fb4f04b578d7a DIST linux-2.6.27.tar.bz2 50355835 RMD160 5be4595ad824a4af67c1ec0c692838ad0c31f0c0 SHA1 8425ec3be2652f9d511911ff4fcf99039d4574be SHA256 0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393 DIST s390-tools-1.10.0.tar.bz2 538300 RMD160 d6880dd13750c74310dd45f72ce7d855d1f70097 SHA1 e45a7899ceced731599dd355c777dd16c3a9a0b3 SHA256 129f8b643e1fd853f3bf4f9eb5bf46643e83ad7fb19482ce17583e8ce843f705 DIST s390-tools-1.13.0.tar.bz2 590468 RMD160 9f58287e054eb894f6b8a7043604fcb2407384e0 SHA1 790d222dd93c7d641f02402a4f32096cd86bedb6 SHA256 91d0aec25b3d85fda569a25206b12d67434357f13e162d9eeadddaa7173eaf7c DIST s390-tools-1.15.0.tar.bz2 592531 RMD160 1c40da955dabf56057f18e0aff2ff8487925c413 SHA1 6fe1737cd804d46db83dafa6559499834f7219dc SHA256 902b81865c1b3c804327fb2f9767af679ad4bf969f65f604247b0aab465606e9 +DIST s390-tools-1.16.0.tar.bz2 599071 RMD160 3467963c23c11dcd63292d213b4c6b83a2f2070e SHA1 21d433be1ca5fa3f68bcf105f7099513b8c2dc39 SHA256 7ff27723a9c06b174593b61ef81ec7500154f44ebe30b1b67775fd39e5db03c3 DIST s390-tools-1.9.0.tar.bz2 535384 RMD160 2304b19cc481b9fb08ce149801307cb336010eb0 SHA1 d80d094d39d3d62d9e6905e2f549a3a939e2d198 SHA256 4ece6cc0c255c26f3cf29b7d95fc2000438b809501a0a3ef9fb137114c270cdb EBUILD s390-tools-1.10.0.ebuild 1635 RMD160 e1ddde819f5daaab387844fae748e9aec278db10 SHA1 b79601d4c9d56d7c123fe9df8cd4b0091f02d374 SHA256 8261d50145e22b709e6b62c0d72592fb39a01bbe0d30ddc506944011a9712779 EBUILD s390-tools-1.13.0.ebuild 1649 RMD160 b354a12413c521830cf0a60ad34760ab13f92b1f SHA1 eb0a76ae1c2456b7b88513774ca6430a87b0a385 SHA256 fec7b11265342949128e3b6b7b3dfbfab980d2c1774563bf5e8b38ee7fc40d71 -EBUILD s390-tools-1.15.0.ebuild 1650 RMD160 c778e9292086c74567a0efb8ee8117fab0602a19 SHA1 cd780aa25623c76de1e0861e5199c2a43c0baf5d SHA256 5e224e047170f4abcb462f3336a08b32d4fac70978d87fc9d26169f5ed3c7a16 +EBUILD s390-tools-1.15.0.ebuild 1649 RMD160 86ace50c884ea0340ed367fe9e92af7fd02e06d3 SHA1 fbfdc68d141bbe5cbce942da478cc117cd611ed6 SHA256 fdef0b9c6f6ea9561d204893649a470a499d5c99e0ae5cef90983c5b03ea2b28 +EBUILD s390-tools-1.16.0.ebuild 1650 RMD160 e1de277fe43ca40a5dea7a8169d0173af01309f7 SHA1 73e515b8c589069d6304797df5196666c7541b36 SHA256 37be0730cefad8d2ccc6f6f70bad4bfa0780062c16b248fac8f113a6f4d5999d EBUILD s390-tools-1.9.0.ebuild 1634 RMD160 a76dfee5cc74bfe260f41ef5ba5dd405a1a5d038 SHA1 1bb9c6058b66eb73298c7333ce6ef2c179344e6e SHA256 36e511ee866221298a7e9c8b8edc1e9788cc6410abec8d657e02367c9a3fa1df -MISC ChangeLog 4441 RMD160 686370525c50bb2a5bc659212f97a180272e6b33 SHA1 50ed399b8b0c9e30e5f9421302192a4d65d9c9a5 SHA256 0aee38ed88733c4105a58f94a8bc94f4478ff69369eaa2d2e6c2a8b9bcb23528 +MISC ChangeLog 4699 RMD160 11b920d83d6c3d272fc32539d360f756c81d7605 SHA1 0fca24522a40a9bfaedd9ade6847897e0ae06f2f SHA256 92ec3e3ceda4a03269c6cf45422c635a4ebf60128e960c82669b96443848217d MISC metadata.xml 542 RMD160 34f9f6edda0a1c48c8222ab1909dcb5bf175c1ad SHA1 b5901898164650ea4a8fc3597424d46a48a20cf3 SHA256 8756df3f4e87725b0127e06b6be6905a5e36a4d20a5d6509f3776de0663649cb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAk7dFgQACgkQaC/OocHi7JYIeAD/XbmqoF4+SgVAK5xP4sx9gHuj -+t+/N1yJNGFh2maiiscA/1zNTJoXE3p6Fh7idtkwh+YuC6AfSkArljNWf0W9yo+J -=9zv4 +iQIcBAEBAgAGBQJPnfbwAAoJELEHsLL7fEFW2A4P/Ry9LI7ambjlKdrYQqBXmCrH +6k5Fv666KwhrXM2y72YHW7b+m+ONr/O5ecRQ7uPWXricnP+8Pov6YCimlHLhprdc +bxS+BVGP9XiywJJOT5pBGvru0ilMW9l5QFPLa7ADxSeqhJktIwBo8Rvd37W995uK +JZcsEYojppKUhmvQeIp1pSaDa2gwLlL9F6OrLCbI7yJ8XGtJphue7NjYw3aVJkee +ehUAE5cq0NNxUqt+zKazIN6jonpuNxuTOt3ZcLG94hvfB44FVi3rxSWcJ0W+hSAu +jvxN0xAPsLoVOFSHeSYYtrmKcOvBO/jc6HDfhAlXSkfFhNrXjNgEOd7P9AqKYvRs ++2jntHjArg/++s1iEuMPG0ujFtBzdbXkwJNxAJMYuodFpHGg+yOc3DDs+cKHzoAu +oE5ratFAbLuf9w/qkj8dA8kjhBicPGz0B+IUsdet2ioY3FumzQkWeBhFanPtn+dP +awqyk1bN4P2xL2Rim908eyWckk+NqAVeUTLNN8abt1CCZiGkRbSz/F5ts3jsWdFa +nVNUo+e/Nw8m9HWFl27yUPRsQsEEqwtz84sDKjz4vHnhOKXcI6p45zkH9KA0QyGr +DdiovOyMUICt0VGguasWQo41Ms0SdtAQkfvjn990T5jobhLPhkdKZS+f+AaN5JL4 +Xyk2C3+lVpERbAY2/OXP +=p1RD -----END PGP SIGNATURE----- diff --git a/sys-apps/s390-tools/files/s390-tools-1.16.0-build.patch b/sys-apps/s390-tools/files/s390-tools-1.16.0-build.patch new file mode 100644 index 000000000000..5cead716cf0b --- /dev/null +++ b/sys-apps/s390-tools/files/s390-tools-1.16.0-build.patch @@ -0,0 +1,153 @@ + - fix errors in subdir makes + - parallelize subdir runs + - cleanup flag handling + +--- a/Makefile ++++ b/Makefile +@@ -9,19 +9,19 @@ + vmconvert vmcp man mon_tools dasdinfo vmur cpuplugd ipl_tools \ + ziomon iucvterm hyptop cmsfs-fuse + +-all: subdirs_make ++SUB_DIRS_ALL = $(patsubst %,subdirs_all_%,$(SUB_DIRS)) ++SUB_DIRS_CLEAN = $(patsubst %,subdirs_clean_%,$(SUB_DIRS)) ++SUB_DIRS_INSTALL = $(patsubst %,subdirs_install_%,$(SUB_DIRS)) + +-subdirs_make: +- set -e ; for dir in $(SUB_DIRS) ; do \ +- cd $$dir ; $(MAKE) TOPDIR=$(TOPDIR) ARCH=$(ARCH); cd ..; \ +- done ++all: $(SUB_DIRS_ALL) + +-clean: +- set -e ; for dir in $(SUB_DIRS) ; do \ +- cd $$dir ; $(MAKE) TOPDIR=$(TOPDIR) ARCH=$(ARCH) clean; cd ..; \ +- done ++_subdir = $(patsubst subdirs_%,%,$@) ++subdir = $(shell expr $(_subdir) : '[^_]*_\(.*\)') ++subtarget = $(shell expr $(_subdir) : '\([^_]*\)_.*') ++subdirs_%: ++ $(MAKE) TOPDIR=$(TOPDIR) ARCH=$(ARCH) -C $(subdir) $(subtarget) ++ ++clean: $(SUB_DIRS_CLEAN) + + install: +- set -e ; for dir in $(SUB_DIRS) ; do \ +- cd $$dir ; $(MAKE) TOPDIR=$(TOPDIR) ARCH=$(ARCH) install; cd ..; \ +- done ++ $(MAKE) $(SUB_DIRS_INSTALL) +--- a/common.mak ++++ b/common.mak +@@ -17,10 +17,10 @@ + # Cross Compiling Support + CROSS_COMPILE = + AS = $(call echocmd," AS ",/$@)$(CROSS_COMPILE)as +-LINK = $(call echocmd," LINK ",/$@)$(CROSS_COMPILE)gcc ++LINK = $(call echocmd," LINK ",/$@)$(CROSS_COMPILE)gcc $(CFLAGS) $(LDFLAGS) + LD = $(call echocmd," LD ",/$@)$(CROSS_COMPILE)ld + CC = $(call echocmd," CC ",/$@)$(CROSS_COMPILE)gcc +-LINKXX = $(call echocmd," LINKXX ",/$@)$(CROSS_COMPILE)g++ ++LINKXX = $(call echocmd," LINKXX ",/$@)$(CROSS_COMPILE)g++ $(CXXFLAGS) $(LDFLAGS) + CXX = $(call echocmd," CXX ",/$@)$(CROSS_COMPILE)g++ + CPP = $(call echocmd," CPP ",/$@)$(CROSS_COMPILE)gcc -E + AR = $(call echocmd," AR ",/$@)$(CROSS_COMPILE)ar +@@ -41,14 +41,13 @@ + ZFCPDUMP_RD = zfcpdump.rd + export ZFCPDUMP_DIR ZFCPDUMP_IMAGE ZFCPDUMP_RD + +-CFLAGS = $(WARNFLAGS) -O3 -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \ +- -DS390_TOOLS_LIBDIR=$(TOOLS_LIBDIR) \ +- -DS390_TOOLS_SYSCONFDIR=$(SYSCONFDIR) \ +- -g $(OPT_FLAGS) +-CXXFLAGS = $(WARNFLAGS) -O3 -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \ +- -DS390_TOOLS_LIBDIR=$(TOOLS_LIBDIR) \ +- -DS390_TOOLS_SYSCONFDIR=$(SYSCONFDIR) \ +- -g $(OPT_FLAGS) ++CFLAGS += $(WARNFLAGS) $(OPT_FLAGS) ++CXXFLAGS += $(WARNFLAGS) $(OPT_FLAGS) ++CPPFLAGS += \ ++ -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \ ++ -DS390_TOOLS_LIBDIR=$(TOOLS_LIBDIR) \ ++ -DS390_TOOLS_SYSCONFDIR=$(SYSCONFDIR) ++export CPPFLAGS + + # make G=1 + # Compile tools so that gcov can be used to collect code coverage data. +@@ -76,7 +75,7 @@ + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ + + %: %.o +- $(LINK) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ ++ $(LINK) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ + + all: + +--- a/zfcpdump/ramdisk/Makefile ++++ b/zfcpdump/ramdisk/Makefile +@@ -12,16 +12,14 @@ + + all: $(ZFCPDUMP_RD) + +-CFLAGS += -D_FILE_OFFSET_BITS=64 ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I../../include ++LDFLAGS += -static ++LDLIBS += -lz + + $(ZFCPDUMP_RD): zfcp_dumper + /bin/sh ./create_rd.sh $(ARCH) + +-zfcp_dumper: zfcp_dumper.o +- $(CC) -o zfcp_dumper -static zfcp_dumper.o -lz +- + zfcp_dumper.o: zfcp_dumper.c zfcp_dumper.h +- $(CC) $(CFLAGS) -c -I../../include zfcp_dumper.c + + install: $(ZFCPDUMP_RD) + /bin/sh ./create_rd.sh -i +@@ -29,6 +27,3 @@ + clean clobber: + /bin/sh ./create_rd.sh -r + rm -f *.o +- +-%.o: %.c +- $(CC) $(CFLAGS) -c -o $@ $< +--- a/zfcpdump_v2/Makefile ++++ b/zfcpdump_v2/Makefile +@@ -6,12 +6,13 @@ + LINUX_DIR := linux-$(LINUX_VERSION) + E2FSPROGS := e2fsprogs-1.41.3 + +-CFLAGS += -D_FILE_OFFSET_BITS=64 ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DGZIP_SUPPORT ++LDFLAGS += -static ++LDLIBS += -lz + + all: zfcpdump.image + + zfcpdump: zfcpdump.c zfcpdump.h +- $(CC) $(CFLAGS) -D GZIP_SUPPORT -static -o $@ zfcpdump.c -lz + + e2fsck: + tar xfzv $(E2FSPROGS).tar.gz +--- a/zipl/boot/Makefile ++++ b/zipl/boot/Makefile +@@ -3,9 +3,8 @@ + + S390_TOOLS_VERSION_EBCDIC := $(shell echo -n $(S390_TOOLS_RELEASE) | dd conv=ebcdic 2> /dev/null | hexdump -v -e '/1 "0x%02x,"' | sed 's/.$$//') + +-CFLAGS += -I../include -D__ASSEMBLY__ \ ++CPPFLAGS += -I../include -D__ASSEMBLY__ \ + -DS390_TOOLS_VERSION_EBCDIC=$(S390_TOOLS_VERSION_EBCDIC) +-LDFLAGS = -O2 + FILES := fba0.bin fba2.bin eckd0.bin eckd1a.bin eckd1b.bin eckd2.bin \ + eckd2dump.bin tapedump.bin stage3.bin tape0.bin fba2dump.bin \ + eckd2mvdump.bin +@@ -16,7 +15,7 @@ + %: %.S + + %.o: %.S +- $(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< + + %.exec: %.o + @STAGE=$$( \ diff --git a/sys-apps/s390-tools/s390-tools-1.16.0.ebuild b/sys-apps/s390-tools/s390-tools-1.16.0.ebuild new file mode 100644 index 000000000000..5a5f7ac8f09b --- /dev/null +++ b/sys-apps/s390-tools/s390-tools-1.16.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-tools/s390-tools-1.16.0.ebuild,v 1.1 2012/04/30 02:20:01 vapier Exp $ + +EAPI="2" + +inherit eutils + +# look at zfcpdump_v2/README +E2FSPROGS_P=e2fsprogs-1.41.3 +LINUX_P=linux-2.6.27 + +DESCRIPTION="A set of user space utilities that should be used together with the zSeries (s390) Linux kernel and device drivers" +HOMEPAGE="http://www.ibm.com/developerworks/linux/linux390/s390-tools.html" +SRC_URI="http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/ht_src/${P}.tar.bz2 + zfcpdump? ( + mirror://sourceforge/e2fsprogs/${E2FSPROGS_P}.tar.gz + mirror://kernel/linux/kernel/v2.6/${LINUX_P}.tar.bz2 + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~s390" +IUSE="fuse snmp zfcpdump" + +RDEPEND="fuse? ( sys-fs/fuse ) + snmp? ( net-analyzer/net-snmp )" +DEPEND="${RDEPEND} + dev-util/indent + app-admin/genromfs" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.16.0-build.patch + epatch "${FILESDIR}"/${PN}-1.13.0-larl.patch #391433 + + use snmp || sed -i -e 's:osasnmpd::' Makefile + use fuse || { sed -i -e 's:cmsfs-fuse::' Makefile; export WITHOUT_FUSE=1; } + + if use zfcpdump ; then + local x + for x in ${E2FSPROGS_P}.tar.gz ${LINUX_P}.tar.bz2 ; do + ln -s "${DISTDIR}"/${x} zfcpdump_v2/${x} || die "ln ${x}" + done + sed -i -e '/^ZFCPDUMP_DIR/s:local/::' common.mak + sed -i -e '/^SUB_DIRS/s:=:=zfcpdump_v2 :' Makefile + fi + + export MAKEOPTS+=" V=1" +} + +src_install() { + emake install INSTROOT="${D}" USRBINDIR="${D}/sbin" || die + dodoc README + insinto /etc/udev/rules.d + doins etc/udev/rules.d/*.rules || die +} |