diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-12-24 19:48:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-12-24 19:48:52 +0000 |
commit | d3222c9d52cf6bbd6b3302fd1219f5bc8d6305d6 (patch) | |
tree | 6edf35a90269c5f5dbb65c5220423ddb4915aa2a /sys-apps/s390-tools | |
parent | stabilize (diff) | |
download | historical-d3222c9d52cf6bbd6b3302fd1219f5bc8d6305d6.tar.gz historical-d3222c9d52cf6bbd6b3302fd1219f5bc8d6305d6.tar.bz2 historical-d3222c9d52cf6bbd6b3302fd1219f5bc8d6305d6.zip |
Version bump.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27.8 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 | 21 | ||||
-rw-r--r-- | sys-apps/s390-tools/files/s390-tools-1.8.0-build.patch | 662 | ||||
-rw-r--r-- | sys-apps/s390-tools/metadata.xml | 19 | ||||
-rw-r--r-- | sys-apps/s390-tools/s390-tools-1.8.0.ebuild | 52 |
5 files changed, 744 insertions, 18 deletions
diff --git a/sys-apps/s390-tools/ChangeLog b/sys-apps/s390-tools/ChangeLog index 28c8955c450b..9d4bf711ddba 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-tools/ChangeLog,v 1.14 2008/04/21 18:15:02 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-tools/ChangeLog,v 1.15 2008/12/24 19:48:52 vapier Exp $ + +*s390-tools-1.8.0 (24 Dec 2008) + + 24 Dec 2008; Mike Frysinger <vapier@gentoo.org> + +files/s390-tools-1.8.0-build.patch, +s390-tools-1.8.0.ebuild: + Version bump. 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Fix up metadata.xml. If there's no maintainer for the package, the metadata diff --git a/sys-apps/s390-tools/Manifest b/sys-apps/s390-tools/Manifest index b6c89085c0fb..b758e41f5f9a 100644 --- a/sys-apps/s390-tools/Manifest +++ b/sys-apps/s390-tools/Manifest @@ -1,27 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX s390-tools-1.8.0-build.patch 19721 RMD160 36fd32290c427f88ad43089cb0befaa4d6015ece SHA1 33c7bbe20a534da941388408c13162070a0a8f64 SHA256 6245da45967d420d2661f8f7ecd87481fa70312b1e601e9f7fbe85ff616d4518 DIST busybox-0.60.5.tar.bz2 626209 RMD160 9f833a25c30de956c8b3336af7c6fe0bf46a5f40 SHA1 eb01fa858bb6a554d06b3a64cee25de8fcbc9887 SHA256 02b0be3163be850efbe1cefc354fcd5ad5928dd8d5a9217ad36ebf00125d20f6 DIST e2fsprogs-1.35.tar.gz 3152299 RMD160 4c8938dccabecf2b78cf956ea5e4a226affc1747 SHA1 cad214c4a18a2f6a3c832f9d5c08a9eb1fe69842 SHA256 c8688b34a4bbd12ce8c4fad04693ff7a72e8663a82fcf5f1ec212aa3a43c0177 DIST e2fsprogs-1.37.tar.gz 3507693 RMD160 1fbc33096123c87eb497dd6ac6a2815d5f86e816 SHA1 d867763ae3fd456858ad82bb068856e7d1f0b5d0 SHA256 0ccd168c7e8f8763c20ad132761d678c345d847a9d5ccfdbd332396803642565 +DIST e2fsprogs-1.41.3.tar.gz 4365234 RMD160 7045401ac70a7aa865a8040da4aca2683204abd6 SHA1 d85f05b7bcef1adf8306a789f3ac0325c3c67e8d SHA256 ce77edae680d090cb8275eca9be282bdbc5fbef028d7bf6f772fb4f04b578d7a DIST linux-2.6.12.tar.bz2 37511570 RMD160 456bee370313ff12a86680e524f70a2f1b82f8b2 SHA1 3cb44c9202034a825959e710f94d4e536011901b SHA256 727b55291a2c52f9f6b9f7ef03b2cd9fc54f7d4d1b0b2baed4c3dd6d9a890c71 +DIST linux-2.6.27.tar.bz2 50355835 RMD160 5be4595ad824a4af67c1ec0c692838ad0c31f0c0 SHA1 8425ec3be2652f9d511911ff4fcf99039d4574be SHA256 0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393 DIST linux-2.6.5.tar.bz2 34684611 RMD160 7402b7523047d18d4d605a62d621423911564d4d SHA1 7e659e6459347a57ec1fc1e69076bca132197e99 SHA256 e405000ad0b74af383b5f9c6db30b309e8cb872bb5df55ddef0413970f2e18c2 DIST s390-tools-1.3.2-april2004.tar.gz 848926 RMD160 d5692f44b436301b10e9c1e179e6288602578fe4 SHA1 c27ecb45665d8e7f071b75105fde5b54c72869f7 SHA256 51d4abb17867672e9ff254ae54accf637d13707c8b339c1cc4e1bf3e766e3f48 DIST s390-tools-1.5.3.tar.gz 328668 RMD160 99e500c65bcb968a8841f923c2be9966bd36398e SHA1 8350a1bca8a66058091d419ac06809178c50fc73 SHA256 a569c52df1b69fdb4beacef482071e20fd77fdca76933c73f341a46124e09df8 -DIST s390-tools-1.6.0.tar.gz 336250 RMD160 1e694d1f9c1e4a065dbffdf8a86905e616f9b61a SHA1 6a6294bf38125bcc1a7b3bdd0287e511fbca3d21 SHA256 7c938f40b4a169749a34112271ba94578745aff61ed5faa034c2ba6f15a62580 DIST s390-tools-1.6.1.tar.gz 337828 RMD160 a314a9392f9be5357ffa5596488cd0ba2e7210b0 SHA1 e59dc8678d8322e74777db489fe19a59edb0f476 SHA256 d9715150952b7707d2e9977522db92544eec0a4bd9862cfcba2cbfbf0c21401f DIST s390-tools-1.6.2.tar.gz 378149 RMD160 9c7b4458d31dd500e231a86ca4a1cd18cae9dec5 SHA1 4c5c778a0eadd2e9e2b3f4504a9e7d501388b40c SHA256 fbee66cef75b32d35b2ad787536b4adf7592de96988c71b06f00541c24403fdc +DIST s390-tools-1.8.0.tar.bz2 382642 RMD160 496e543e3deccebab17358a20aeb1eaccff96597 SHA1 6eabf26cc5542342aa6ee46b679d8860406378ab SHA256 db5b3cf082888bd39fe1339df38e435dfc4f94258e7ade1c04701142b68aef95 EBUILD s390-tools-1.3.2.ebuild 1309 RMD160 888440b0378d6561c7d57bdbecb23e5b82acceb1 SHA1 40d31d44408572c26b0887ed57c74d9d6be92125 SHA256 a5e1c67c551ee9da1da767e49400c11cba4184475a8d9bc19905b3f1f88079bc EBUILD s390-tools-1.5.3.ebuild 1201 RMD160 5bd44260040f33c3ebfa83b81e9dcc1461dccb6f SHA1 3c54f2c18365a6fef4937fb6007eb080b9a82af9 SHA256 123ee7312f78eceee6f547237b290d994a746a7507bac3551c5b1630ae5469da -EBUILD s390-tools-1.6.0.ebuild 1271 RMD160 19e569b2ce96a3bbaec85dfa6f61245730188db2 SHA1 17dad56db7d0136bc91ce628a6d9d74a814f72ef SHA256 d01a29b2c05312f5f459dd9d62f2f76ba69fde7c72474181e4061082af41a160 EBUILD s390-tools-1.6.1.ebuild 1271 RMD160 2e61c02d4c1c723ea0ceaeea01c266f9cc385f1d SHA1 04dcf457673a4ee0b09701cb7e7c5f654c542b6c SHA256 f8a37ea0107dcb0b753a13ca3104879e4949498737bad63a601c8961bcaf767f -EBUILD s390-tools-1.6.2.ebuild 1272 RMD160 70fcdef9e3a6bcdd7142e653116afa5e7e3a850b SHA1 6d96b5cbf45a26417c600b90d81865af7437498b SHA256 5a125a920481828711bb8e21ff4cb09e1657d3aedb566e53f0f75eabc16892c3 -MISC ChangeLog 2235 RMD160 2593e77d176c3d97277091a635400975d675ab9a SHA1 bd21bde116709fbbe693b5aeef9171eb6516c514 SHA256 bdfa292f530fa7221fc7b9656bfb4ee8f2c6b40a95b8afb1d0964866d9cf25c4 -MISC metadata.xml 458 RMD160 a493db9740b0188d16582267d863024501e10a2b SHA1 bb4c828e137863e1bb5fb3dce9fd27c319984981 SHA256 2e1cca1f677116b5ca8dd593650a96c579ef03eecf79f77bdaf870b518d906b5 +EBUILD s390-tools-1.6.2.ebuild 1271 RMD160 2d10d949437e1d3a3a91995226be4211d6e322d1 SHA1 f3ef2f2cb68f19b3b4afd2edc370661a999a0f2a SHA256 a7ba2eae2b72b24e03dfc9e5335fb7ebe1ec91847602a278ea1f7bb0c140e640 +EBUILD s390-tools-1.8.0.ebuild 1517 RMD160 bdc8efd1bdb309f626167a65a3a8e60c21098e9c SHA1 eac9ed09b0e9e6cd133026cff5b7fe4370166df5 SHA256 b3a5a2a5094e2f7cc26c6944d0778a8d0dc8a3aca639edcd42813f9cc7cb1a50 +MISC ChangeLog 2400 RMD160 c3834cf6cd4cbe1cfc0be57ce5416ece43d7f609 SHA1 79e8fcebae1d7ff3ecc50d2a526b1b24e2828916 SHA256 923711ae3953425813913934cf48f145a96f77aab914c8643775d79d4563a9c4 +MISC metadata.xml 459 RMD160 76174e2043756d3d3f2696ea6ca8b7a65bb5a9c1 SHA1 685a54379cf66863ef44e9d8c951c37b00d7deb2 SHA256 58464576a3d20ef5abca2befcba7b89fd2dd2978b75c44f9c7c01e0a9c4d5b24 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFIDNmvyuNVb5qfaOYRAtNJAJ42bIpSZNEczyUclzOPAiXkL9sQkACgm5vn -rIUlk2xbiRIdaM1ZuiyKkQI= -=rg5a +iEYEARECAAYFAklSnJ8ACgkQn/5bYzqsSmENMQCgxIu5G6rbKyi2e5cd9Mn7g1eR +OfEAn2nqCO1y7iVrAbM4ea1sYwPGLcfX +=s3F/ -----END PGP SIGNATURE----- diff --git a/sys-apps/s390-tools/files/s390-tools-1.8.0-build.patch b/sys-apps/s390-tools/files/s390-tools-1.8.0-build.patch new file mode 100644 index 000000000000..30deeab9e756 --- /dev/null +++ b/sys-apps/s390-tools/files/s390-tools-1.8.0-build.patch @@ -0,0 +1,662 @@ + - fix errors in subdir makes + - parallelize subdir runs + - cleanup flag handling + +--- Makefile ++++ Makefile +@@ -9,17 +9,19 @@ ifeq ($(strip $(SYSFS)),true) + SUB_DIRS+=libu2s + endif + +-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: all + for dir in $(INSTDIRS); do \ +@@ -28,6 +30,4 @@ install: all + for i in 1 2 3 4 5 6 7 8; do \ + test -d $(MANDIR)/man$$i || $(INSTALL) -g $(GROUP) -o $(OWNER) -d $(MANDIR)/man$$i; \ + done +- set -e ; for dir in $(SUB_DIRS) ; do \ +- ( cd $$dir ; $(MAKE) TOPDIR=$(TOPDIR) ARCH=$(ARCH) install; cd .. ); \ +- done ++ $(MAKE) $(SUB_DIRS_INSTALL) +--- common.mak ++++ common.mak +@@ -22,7 +22,9 @@ STRIP = $(CROSS_COMPILE)strip + OBJCOPY = $(CROSS_COMPILE)objcopy + OBJDUMP = $(CROSS_COMPILE)objdump + INSTALL = install # FIXME: We need s390-install (strip) +-CFLAGS = $(OPT_FLAGS) -Wall -O3 -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) ++CFLAGS += $(OPT_FLAGS) -Wall ++CXXFLAGS += $(OPT_FLAGS) -Wall ++CPPFLAGS += -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) + export AS LD CC CPP AR NM STRIP OBJCOPY OBJDUMP INSTALL CFLAGS + + # Support alternate install root +--- cpuplugd/Makefile ++++ cpuplugd/Makefile +@@ -7,18 +7,18 @@ + + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: cpuplugd + + cpuplugd: daemon.c cpu.c info.c terms.c config.c main.c getopt.c mem.c vmstat.c cpuplugd.h +- $(CC) $(CFLAGS) daemon.c cpu.c info.c terms.c config.c main.c getopt.c mem.c vmstat.c -o $@ -lpthread ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ -lpthread + + clean: + rm -f cpuplugd + + install: all +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 cpuplugd $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 cpuplugd $(USRSBINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 man/cpuplugd.8 $(MANDIR)/man8 + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 man/cpuplugd.conf.5 $(MANDIR)/man5 + +--- dasdfmt/Makefile ++++ dasdfmt/Makefile +@@ -1,17 +1,16 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: dasdfmt + +-dasdfmt: ../libvtoc/vtoc.o dasdfmt.c dasdfmt.h ../include/zt_common.h +- $(CC) $(CFLAGS) -c dasdfmt.c -o dasdfmt.o +- $(CC) dasdfmt.o ../libvtoc/vtoc.o -o dasdfmt ++dasdfmt: ../libvtoc/vtoc.o dasdfmt.o ++dasdfmt.o: dasdfmt.h ../include/zt_common.h + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 dasdfmt $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 dasdfmt $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 dasdfmt.8 $(MANDIR)/man8 + + clean: +--- dasdinfo/Makefile ++++ dasdinfo/Makefile +@@ -1,23 +1,20 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + LIB_OBJECTS = +-LIBS = + ifeq ($(strip $(SYSFS)),true) + LIB_OBJECTS+=../libu2s/u2s.o +- CFLAGS+=-DSYSFS ++ CPPFLAGS+=-DSYSFS + endif + + all: dasdinfo + +-dasdinfo: $(LIB_OBJECTS) dasdinfo.c +- $(CC) $(CFLAGS) -c dasdinfo.c -o dasdinfo.o +- $(CC) dasdinfo.o $(LIB_OBJECTS) -o dasdinfo $(LIBS) ++dasdinfo: $(LIB_OBJECTS) dasdinfo.o + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 dasdinfo $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 dasdinfo $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 dasdinfo.8 $(MANDIR)/man8 + + clean: +--- dasdview/Makefile ++++ dasdview/Makefile +@@ -1,23 +1,21 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + LIB_OBJECTS = ../libvtoc/vtoc.o +-LIBS = + ifeq ($(strip $(SYSFS)),true) + LIB_OBJECTS+=../libu2s/u2s.o +- CFLAGS+=-DSYSFS ++ CPPFLAGS+=-DSYSFS + endif + + all: dasdview + +-dasdview: $(LIB_OBJECTS) dasdview.c dasdview.h +- $(CC) $(CFLAGS) -c dasdview.c -o dasdview.o +- $(CC) dasdview.o $(LIB_OBJECTS) -o dasdview $(LIBS) ++dasdview.o: dasdview.h ++dasdview: $(LIB_OBJECTS) dasdview.o + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 dasdview $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 dasdview $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 dasdview.8 $(MANDIR)/man8 + + clean: +--- fdasd/Makefile ++++ fdasd/Makefile +@@ -1,17 +1,16 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: fdasd + +-fdasd: ../libvtoc/vtoc.o fdasd.c fdasd.h +- $(CC) $(CFLAGS) -c fdasd.c -o fdasd.o +- $(CC) fdasd.o ../libvtoc/vtoc.o -o fdasd ++fdasd: ../libvtoc/vtoc.o fdasd.o fdasd.h ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ fdasd.o ../libvtoc/vtoc.o + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 fdasd $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 fdasd $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 fdasd.8 $(MANDIR)/man8 + + clean: +--- ip_watcher/Makefile ++++ ip_watcher/Makefile +@@ -13,7 +13,7 @@ install: ip_watcher.pl xcec-bridge start_hsnc.sh + chown $(OWNER).$(GROUP) $(USRSBINDIR)/start_hsnc.sh; \ + chmod 755 $(USRSBINDIR)/start_hsnc.sh; \ + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 ip_watcher.pl $(USRSBINDIR) +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 xcec-bridge $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 xcec-bridge $(USRSBINDIR) + + xcec-bridge: xcec-bridge.c + $(CC) $(CFLAGS) -o xcec-bridge xcec-bridge.c +--- ipl_tools/Makefile ++++ ipl_tools/Makefile +@@ -7,12 +7,12 @@ + + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: chreipl + + chreipl: chreipl.h main.c getopt.c ccw.c fcp.c system.c sa.c ipl.c +- $(CC) $(CFLAGS) main.c getopt.c ccw.c fcp.c system.c sa.c ipl.c -o $@ ++ $(CC) $(CFLAGS) $(CPPFLAGS) main.c getopt.c ccw.c fcp.c system.c sa.c ipl.c -o $@ + ln -sf chreipl lsreipl + ln -sf chreipl chshut + ln -sf chreipl lsshut +@@ -24,7 +24,7 @@ clean: + rm -rf lsshut + + install: all +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 chreipl $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 chreipl $(USRSBINDIR) + ln -f -s chreipl $(USRSBINDIR)/lsreipl + ln -f -s chreipl $(USRSBINDIR)/chshut + ln -f -s chreipl $(USRSBINDIR)/lsshut +--- libu2s/Makefile ++++ libu2s/Makefile +@@ -1,12 +1,11 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: u2s.o + + u2s.o: u2s.c ../include/u2s.h +- $(CC) $(CFLAGS) -c u2s.c -o u2s.o + + install: + +--- libvtoc/Makefile ++++ libvtoc/Makefile +@@ -1,12 +1,11 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: vtoc.o + + vtoc.o: vtoc.c ../include/vtoc.h +- $(CC) $(CFLAGS) -c vtoc.c -o vtoc.o + + install: + +--- mon_tools/Makefile ++++ mon_tools/Makefile +@@ -1,20 +1,16 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + + all: mon_fsstatd mon_procd + +-mon_fsstatd: mon_fsstatd.c mon_fsstatd.h +- $(CC) $(CFLAGS) -o mon_fsstatd mon_fsstatd.c +- +-mon_procd: mon_procd.c mon_procd.h +- $(CC) $(CFLAGS) -o mon_procd mon_procd.c ++mon_fsstatd.c mon_procd.c: mon_fsstatd.h + + install: all +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 mon_fsstatd $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 mon_fsstatd $(USRSBINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 mon_fsstatd.8 $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 mon_procd $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 mon_procd $(USRSBINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 mon_procd.8 $(MANDIR)/man8 + + clean: +--- osasnmpd/Makefile ++++ osasnmpd/Makefile +@@ -5,14 +5,14 @@ include ../common.mak + DIRS = osasnmpd-2.4 osasnmpd-2.6 + + all: +- for i in $(DIRS); do make -C $$i; done ++ set -e; for i in $(DIRS); do make -C $$i; done + + clean: +- for i in $(DIRS); do make clean -C $$i; done ++ set -e; for i in $(DIRS); do make clean -C $$i; done + + install: all + $(INSTALL) -d -m 755 $(USRSBINDIR) $(MANDIR)/man8 +- for i in $(DIRS); do make install -C $$i; done ++ set -e; for i in $(DIRS); do make install -C $$i; done + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 osasnmpd $(USRSBINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 osasnmpd.8 $(MANDIR)/man8 + +--- osasnmpd/Makefile.rules ++++ osasnmpd/Makefile.rules +@@ -1,12 +1,12 @@ + #Genarl rules + + ifeq ($(strip $(shell which net-snmp-config 2>/dev/null)),) +-LIBS = -lucdagent -lucdmibs -lsnmp -lrpmdb -lrpm -lpopt -lrpmio -lwrap -lnsl -ldl -lcrypto ++LDLIBS = -lucdagent -lucdmibs -lsnmp -lrpmdb -lrpm -lpopt -lrpmio -lwrap -lnsl -ldl -lcrypto + else +-LIBS = `net-snmp-config --agent-libs` ++LDLIBS = `net-snmp-config --agent-libs` + CFLAGS += `net-snmp-config --cflags` +-CFLAGS += -DNETSNMP5 ++CPPFLAGS += -DNETSNMP5 + endif +-CFLAGS += -I../../include ++CPPFLAGS += -I../../include + + OBJS = ibmOSAMib.o ibmOSAMibUtil.o osasnmpd.o +--- osasnmpd/osasnmpd-2.4/Makefile ++++ osasnmpd/osasnmpd-2.4/Makefile +@@ -5,10 +5,10 @@ include ../Makefile.rules + all: osasnmpd-2.4 + + osasnmpd-2.4: $(OBJS) +- $(CC) -o osasnmpd-2.4 $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + + install: osasnmpd-2.4 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 osasnmpd-2.4 $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 osasnmpd-2.4 $(USRSBINDIR) + + clean: + rm -f $(OBJS) osasnmpd-2.4 core +--- osasnmpd/osasnmpd-2.6/Makefile ++++ osasnmpd/osasnmpd-2.6/Makefile +@@ -5,10 +5,10 @@ include ../Makefile.rules + all: osasnmpd-2.6 + + osasnmpd-2.6: $(OBJS) +- $(CC) $(CFLAGS) -o osasnmpd-2.6 $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + + install: osasnmpd-2.6 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 osasnmpd-2.6 $(USRSBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 osasnmpd-2.6 $(USRSBINDIR) + + clean: + rm -f $(OBJS) osasnmpd-2.6 core +--- qetharp/Makefile ++++ qetharp/Makefile +@@ -1,24 +1,18 @@ + # Common definitions + include ../common.mak + +-CFLAGS += -I../include ++CPPFLAGS += -I../include + +-all: qetharp-2.4 qetharp-2.6 +- +-qetharp-2.4: qetharp24.c +- $(CC) $(CFLAGS) -o qetharp-2.4 qetharp24.c +- +-qetharp-2.6: qetharp26.c +- $(CC) $(CFLAGS) -o qetharp-2.6 qetharp26.c ++all: qetharp24 qetharp26 + + install: all + $(INSTALL) -d -m 755 $(MANDIR)/man8 $(BINDIR) + $(INSTALL) -m 755 qetharp $(BINDIR) +- $(INSTALL) -s -m 755 qetharp-2.4 $(BINDIR) +- $(INSTALL) -s -m 755 qetharp-2.6 $(BINDIR) ++ $(INSTALL) -m 755 qetharp24 $(BINDIR)/qetharp-2.4 ++ $(INSTALL) -m 755 qetharp26 $(BINDIR)/qetharp-2.6 + $(INSTALL) -m 644 qetharp.8 $(MANDIR)/man8 + + clean: +- rm -f qetharp-2.4 qetharp-2.6 *.o *~ core ++ rm -f qetharp24 qetharp26 *.o *~ core + + .PHONY: all install clean +--- tape390/Makefile ++++ tape390/Makefile +@@ -1,22 +1,20 @@ + # Common definitions + include ../common.mak + +-CFLAGS += -D_FILE_OFFSET_BITS=64 -I../include -L. ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I../include -L. + + all: tape390_display tape390_crypt + +-tape390_display: tape390_display.c tape390_common.c tape390_common.h +- $(CC) $(CFLAGS) -o $@ tape390_display.c tape390_common.c ++tape390_display: tape390_display.o tape390_common.o tape390_common.h + +-tape390_crypt: tape390_crypt.c tape390_common.c tape390_common.h +- $(CC) $(CFLAGS) -o $@ tape390_crypt.c tape390_common.c ++tape390_crypt: tape390_crypt.o tape390_common.o tape390_common.h + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 tape390_display $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 tape390_display $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 tape390_display.8 \ + $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 tape390_crypt $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 tape390_crypt $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 tape390_crypt.8 \ + $(MANDIR)/man8 + +--- tunedasd/src/Makefile ++++ tunedasd/src/Makefile +@@ -8,14 +8,12 @@ includes = $(wildcard ../include/*.h) + all: tunedasd + + tunedasd: $(objects) +- $(CC) $(objects) -o tunedasd + +-%.o: %.c $(includes) Makefile +- $(CC) $(CFLAGS) -c -o $@ $< ++%.c: $(includes) Makefile + + install: all + $(INSTALL) -d -m 755 $(BINDIR) +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 tunedasd $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 tunedasd $(BINDIR) + + clean: + rm -f *.o tunedasd +--- vmconvert/Makefile ++++ vmconvert/Makefile +@@ -1,7 +1,7 @@ + # Common definitions + include ../common.mak + +-CXXFLAGS = $(CFLAGS) -D_FILE_OFFSET_BITS=64 -I../include ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I../include + OBJS = main.o lkcd_dump.o vm_dump.o register_content.o dump.o + + all: vmconvert +@@ -12,11 +12,11 @@ dump.o: dump.cpp dump.h + register_content.o: register_content.cpp register_content.h + + vmconvert: $(OBJS) +- $(CXX) $(CXXFLAGS) -o vmconvert $(OBJS) -lz ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ -lz + + install: all + $(INSTALL) -d -m 755 $(USRBINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 vmconvert $(USRBINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 vmconvert $(USRBINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 vmconvert.8 $(MANDIR)/man8 + + clean: +--- vmcp/Makefile ++++ vmcp/Makefile +@@ -1,17 +1,16 @@ + # Include common definitions + include ../common.mak + +-CFLAGS += -I../include +-LIBS = ++CPPFLAGS += -I../include + + all: vmcp + +-vmcp: vmcp.c vmcp.h ../include/zt_common.h +- $(CC) $(CFLAGS) vmcp.c -o vmcp ++vmcp: vmcp.o ++vmcp.o: vmcp.h ../include/zt_common.h + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 vmcp $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 vmcp $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 vmcp.8 $(MANDIR)/man8 + + clean: +--- vmur/Makefile ++++ vmur/Makefile +@@ -1,16 +1,17 @@ + # Common definitions + include ../common.mak + +-CFLAGS += -D_FILE_OFFSET_BITS=64 -I../include -L. ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I../include ++LDFLAGS += -L. + + all: vmur + +-vmur: vmur.c vmur.h +- $(CC) $(CFLAGS) -o $@ vmur.c ++vmur: vmur.o ++vmur.o: vmur.h + + install: all + $(INSTALL) -d -m 755 $(BINDIR) $(MANDIR)/man8 +- $(INSTALL) -s -g $(GROUP) -o $(OWNER) -m 755 vmur $(BINDIR) ++ $(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 vmur $(BINDIR) + $(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 vmur.8 \ + $(MANDIR)/man8 + +--- zdump/Makefile ++++ zdump/Makefile +@@ -1,17 +1,13 @@ + # Common definitions + include ../common.mak + +-CFLAGS += -D_FILE_OFFSET_BITS=64 -I../include +-SRCS = zgetdump.c ++CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I../include + + all: zgetdump + +-zgetdump: zgetdump.c +- $(CC) $(CFLAGS) -o zgetdump $(SRCS) +- + install: all + $(INSTALL) -d -m 755 $(MANDIR)/man8 $(BINDIR) +- $(INSTALL) -s -m 755 zgetdump $(BINDIR) ++ $(INSTALL) -m 755 zgetdump $(BINDIR) + $(INSTALL) -m 644 zgetdump.8 $(MANDIR)/man8 + + clean: +--- zfcpdump/ramdisk/Makefile ++++ zfcpdump/ramdisk/Makefile +@@ -12,16 +12,14 @@ ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/ar + + 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 +--- zfcpdump_v2/Makefile ++++ zfcpdump_v2/Makefile +@@ -6,12 +6,13 @@ LINUX_VERSION := 2.6.27 + 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 +--- ziomon/Makefile ++++ ziomon/Makefile +@@ -2,21 +2,20 @@ + include ../common.mak + + #CFLAGS+=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -g -I../include +-CFLAGS+=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -DNDEBUG -O3 -I../include ++CFLAGS+=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs ++CPPFLAGS+=-DNDEBUG -I../include + + all: ziomon_util ziomon_mgr ziomon_zfcpdd + +-ziomon_mgr: ziomon_dacc.o ziomon_util.o ziomon_mgr.c ziomon_tools.o ziomon_zfcpdd.o ziomon_msg_tools.o +- $(CC) -DWITH_MAIN $(CFLAGS) ziomon_mgr.c ziomon_dacc.o ziomon_tools.o ziomon_util.o ziomon_zfcpdd.o ziomon_msg_tools.o -o $@ ++ziomon_mgr: ziomon_mgr.c ziomon_dacc.o ziomon_tools.o ziomon_util.o ziomon_zfcpdd.o ziomon_msg_tools.o ++ $(CC) $(CFLAGS) -DWITH_MAIN $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + + ziomon_util: ziomon_util.c ziomon_util.h ziomon_tools.o +- $(CC) -DWITH_MAIN $(CFLAGS) ziomon_tools.o $< -o $@ ++ $(CC) $(CFLAGS) -DWITH_MAIN $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + + ziomon_zfcpdd: ziomon_zfcpdd.c ziomon_zfcpdd.h ziomon_tools.o +- $(CC) -DWITH_MAIN $(CFLAGS) ziomon_tools.o -lrt $< -o $@ +- +-%.o: %.c +- $(CC) $(CFLAGS) -c $< ++ $(CC) $(CFLAGS) -DWITH_MAIN $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) ++ziomon_zfcpdd: LDLIBS += -lrt + + install: all + cat ziomon | sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' > $(BINDIR)/ziomon; +--- zipl/boot/Makefile ++++ zipl/boot/Makefile +@@ -1,9 +1,8 @@ + # Common definitions + include ../../common.mak + +-CFLAGS += -I../include -D__ASSEMBLY__ -DVERSION=$(VERSION) \ ++CPPFLAGS += -I../include -D__ASSEMBLY__ -DVERSION=$(VERSION) \ + -DRELEASE=$(RELEASE) -DPATCHLEVEL=$(PATCHLEVEL) +-LDFLAGS = -O2 + HEADERS = fba0.h fba2.h eckd0.h eckd1a.h eckd1b.h eckd2.h eckd2dump.h \ + tapedump.h stage3.h tape0.h fba2dump.h eckd2mvdump.h + +@@ -14,7 +13,7 @@ all: data.c tape0.bin + + %.o: %.S + echo "$(CC) $(CFLAGS) -c -o $@ $<"; \ +- $(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< + + %.exec: %.o + @STAGE=$$( \ +@@ -33,7 +32,7 @@ all: data.c tape0.bin + 3) SFLAGS="-nostdlib -Wl,-Ttext,0xA000";; \ + esac; \ + echo "$(CC) $(LDFLAGS) -o $@ $$SFLAGS $<"; \ +- $(CC) $(LDFLAGS) -o $@ $$SFLAGS $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $$SFLAGS $< + + %.bin: %.exec + $(OBJCOPY) -O binary --only-section .text $< $@ +--- zipl/src/Makefile ++++ zipl/src/Makefile +@@ -1,7 +1,7 @@ + # Common definitions + include ../../common.mak + +-CFLAGS += -I../include -I../boot -I../../include \ ++CPPFLAGS += -I../include -I../boot -I../../include \ + -DZFCPDUMP_DIR=$(ZFCPDUMP_DIR) \ + -DZFCPDUMP_IMAGE=$(ZFCPDUMP_IMAGE) -DZFCPDUMP_RD=$(ZFCPDUMP_RD) \ + -D_FILE_OFFSET_BITS=64 +@@ -12,15 +12,14 @@ includes = $(wildcard ../include/*.h) + all: zipl + + zipl: ../boot/data.c $(objects) +- $(CC) $(objects) -o zipl ++ $(CC) $(CFLAGS) $(LDFLAGS) $(objects) -o $@ + +-%.o: %.c $(includes) Makefile +- $(CC) $(CFLAGS) -c -o $@ $< ++%.c: $(includes) Makefile + + install: all + @echo $(INSTALL) + $(INSTALL) -d -m 755 $(BINDIR) +- $(INSTALL) -s -c zipl $(BINDIR) ++ $(INSTALL) -c zipl $(BINDIR) + + clean: + rm -f *.o zipl diff --git a/sys-apps/s390-tools/metadata.xml b/sys-apps/s390-tools/metadata.xml index d5d86a26c634..d3c8202b7790 100644 --- a/sys-apps/s390-tools/metadata.xml +++ b/sys-apps/s390-tools/metadata.xml @@ -1,12 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>s390</herd> - <maintainer> - <email>s390@gentoo.org</email> - </maintainer> - <longdescription lang="en"> - A set of user space utilities that should be used together with the - zSeries (s390) Linux kernel and device drivers - </longdescription> +<herd>s390</herd> +<maintainer> + <email>s390@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +A set of user space utilities that should be used together with the +zSeries (s390) Linux kernel and device drivers +</longdescription> +<use> + <flag name='zfcpdump'>build the kernel disk dumping utility</flag> +</use> </pkgmetadata> diff --git a/sys-apps/s390-tools/s390-tools-1.8.0.ebuild b/sys-apps/s390-tools/s390-tools-1.8.0.ebuild new file mode 100644 index 000000000000..5ae4967b6c14 --- /dev/null +++ b/sys-apps/s390-tools/s390-tools-1.8.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 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.8.0.ebuild,v 1.1 2008/12/24 19:48:52 vapier Exp $ + +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/october2005_recommended.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="zfcpdump" + +RDEPEND="sys-fs/sysfsutils" +DEPEND="${RDEPEND} + dev-util/indent + app-admin/genromfs" +PROVIDE="virtual/bootloader" + +src_unpack() { + unpack ${P}.tar.bz2 + cd "${S}" + + epatch "${FILESDIR}"/${P}-build.patch + sed -i -re 's:__u(8|16|32):uint\1_t:' $(find osasnmpd -name '*.h') + + if use zfcpdump ; then + local x + for x in ${E2FSPROGS_P}.tar.gz ${LINUX_P}.tar.bz2 ; do + ln -s "${DISTDIR}"/${x} zfcpdump/${x} || die "ln ${x}" + done + sed -i -e '/^ZFCPDUMP_DIR/s:local/::' common.mak + sed -i -e '/^SUB_DIRS/s:$: zfcpdump_v2:' Makefile + fi +} + +src_install() { + emake install INSTROOT="${D}" USRBINDIR="${D}/sbin" || die + dodoc README + insinto /etc/udev/rules.d + doins etc/udev/rules.d/*.rules || die +} |