summaryrefslogtreecommitdiff
path: root/net-misc/suite3270
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-10 05:25:01 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-10 05:25:01 +0000
commit456dbeaab3e2f71f527eae542ab44d1e372b0655 (patch)
tree5cee708ec6e4b4e530a4337e7389598dc7cd6144 /net-misc/suite3270
parent65737cf14a7220bd9a487aa2af4ae0e79bd23e86 (diff)
gentoo resync : 10.01.2018
Diffstat (limited to 'net-misc/suite3270')
-rw-r--r--net-misc/suite3270/Manifest6
-rw-r--r--net-misc/suite3270/suite3270-3.5_p10.ebuild2
-rw-r--r--net-misc/suite3270/suite3270-3.5_p12.ebuild103
-rw-r--r--net-misc/suite3270/suite3270-3.6_p4.ebuild103
4 files changed, 212 insertions, 2 deletions
diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest
index b5d8bdcc063c..749aa9822ea1 100644
--- a/net-misc/suite3270/Manifest
+++ b/net-misc/suite3270/Manifest
@@ -1,6 +1,10 @@
AUX suite3270-3.5_p8-tinfo.patch 2793 BLAKE2B ca7c74e15022d5db381ef49103d966614e5b23e295af9766e8d5f0bc4c5af21ef0b0013772f34e962267aa9ea5f531b4ea9e729d4d21fdd571e0314be15cd410 SHA512 67a7fe63228dad755f73582eda7d1bc7efda18f454b99258f6bbfb45aa081a14c583797a6c940b80604eacfc719d4ba1be83ba2425c99de3afa4d1e027b3402b
DIST suite3270-3.4ga10-src.tgz 3398730 BLAKE2B 4adc02b416d5fbf2facbf4e42c58a2bd3ed551ce46494ece039ef129663957632316882d5a5b28e272fa47010105a3682618b8ac2d355e745c576af74d0bb310 SHA512 d9ed4aa41c45a2e961d5c2d0c00c6b81526da64b9c1765b0c5e39cb647157026a787db2054b2feb55c57e5a458a31062141471447b1177fd46cbbeb7d71e3f28
DIST suite3270-3.5ga10-src.tgz 3412329 BLAKE2B c9ed308cf970da150da985d76ec377c83a03041eddfcbad9baa7211776a7b68292109cccb2ec250952edb77eeca79143137eb8a94da8b774e952c3e5790c6231 SHA512 0cce1212ca7589595cd2f775d18086f231a9e6d621716be5a41123a379358d9ac08c9668de2bd6a2e401ae54d12a4905c3c260cb7ba90482bbce6790d8e3efb8
+DIST suite3270-3.5ga12-src.tgz 3412286 BLAKE2B 5602f8bbe7b916a977c97848ff9a413a873f61e1c0c62b8c118dc43703adcd4a668e3cc301f9e37a139eebeeae44aca3cdedd0c10de15870ad8ead00d783e1ef SHA512 c7cb25b5c82b0d7ccac8c3ed17317a5a5ebce24fb32dcdfcaf7158157578617a7bccc265fdb67fce0557caa9c75d1afc2d8152a06b98af43ad9a9e29b5f2a267
+DIST suite3270-3.6ga4-src.tgz 3288095 BLAKE2B 34245d6050f7d70ef6195dc669fea55eed70cb9b6c616a4bc88bc52bcfd9d837e527debc87eba4ccdc47c4a453e16749c23b9618d5bf4198e4131573f437209b SHA512 5309c4b4ad0d730033166b0bdb7638bba5fc00908776a229d5f0a131f72741897a0bf6b86dee3b1c9f3d480dc4f23e03e812d3349cec7094908c6a54a87d5ccb
EBUILD suite3270-3.4_p10.ebuild 2057 BLAKE2B f564e1887c6488af0a736e6da5fa03f4f450d2adaa4b46f9bc3b5283182374f69a23d59ba341123a15ceae56079d450bb8136f47264b101108c106a4f175b75e SHA512 91e3015a1ac9460c037464b93d69339e4ec454cf72ee1bf37181d940fc6519086d7571d930c85db9878eb9b5bd01edd8d982a2526191bb48c1fc4096c0bf2759
-EBUILD suite3270-3.5_p10.ebuild 2106 BLAKE2B 0f4ad55638e919f2d2472a8f9013de787b7b41e1032ee868309431a2b1ceecc672d078227ecf40e53dc474ad341ef32f554dbf85dcf9a061ba0697c9c7e9d983 SHA512 30c12b4ad8cc2b57e633bcbe1b018828b743999ce7ba41dea369a703a520c2e1d8d2a42da0e4b2465b53136d06c8311ccdb70585e02851730ed0fdfab0865daf
+EBUILD suite3270-3.5_p10.ebuild 2101 BLAKE2B b798bc6218d65434b08686ecb452c027012ed86f91408bbceb960bf4d1c05a94a4208f0dc7dd99d0926e3f221a0625c58ca88e263c4730e2dac5bd20127613df SHA512 01048cf1b08d52e5d56a2d842c537a472fe78d5d2f0434e07562d50189f175c23f745ea43b8bfeab0c1ea001398517d3f59c615296f1e3c9c5fdfd8e6f0af657
+EBUILD suite3270-3.5_p12.ebuild 2106 BLAKE2B a0f9ae7eb8d7d022e3b46687dbdf5c08d0a03c6baab1baac31345fb151abc242dd78ebf507ff50da9126c9d674ca2bf9a97528abb783979aaf5d215814277bef SHA512 df18bce9cef81130d8b066e80d2d1f2e3d9b6e0d7f362024584668d8e5d518d29be2b1d6a8383b96dd88065dac0bcdcb84640bc3529caed74feb029912ebddd6
+EBUILD suite3270-3.6_p4.ebuild 2106 BLAKE2B a0f9ae7eb8d7d022e3b46687dbdf5c08d0a03c6baab1baac31345fb151abc242dd78ebf507ff50da9126c9d674ca2bf9a97528abb783979aaf5d215814277bef SHA512 df18bce9cef81130d8b066e80d2d1f2e3d9b6e0d7f362024584668d8e5d518d29be2b1d6a8383b96dd88065dac0bcdcb84640bc3529caed74feb029912ebddd6
MISC metadata.xml 505 BLAKE2B a7692d952278fcd0389312dba1ffb6832a4c0c0579df1c10702401d6997b82c9e37ebecd0a681e2e95f6a16ce17715cc1e3c32227b3e501913e4ad0c08e88e66 SHA512 6ee647bea5e0cd996fab203be0fee4867265bd79b521d4b5a467fcb293662842c782a7490d5c8f213ac3c61fbe669da7d0348675673c330d69172c826c9ef92c
diff --git a/net-misc/suite3270/suite3270-3.5_p10.ebuild b/net-misc/suite3270/suite3270-3.5_p10.ebuild
index f1c8a5a44734..54e2cc5b3a59 100644
--- a/net-misc/suite3270/suite3270-3.5_p10.ebuild
+++ b/net-misc/suite3270/suite3270-3.5_p10.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ppc s390 sparc x86"
IUSE="cjk doc ncurses ssl tcl X"
RDEPEND="ssl? ( dev-libs/openssl:0= )
diff --git a/net-misc/suite3270/suite3270-3.5_p12.ebuild b/net-misc/suite3270/suite3270-3.5_p12.ebuild
new file mode 100644
index 000000000000..b3723ee24476
--- /dev/null
+++ b/net-misc/suite3270/suite3270-3.5_p12.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+MY_PV=${PV/_p/ga}
+MY_P=${PN}-${MY_PV}
+SUB_PV=${PV:0:3}
+
+S=${WORKDIR}/${PN}-${SUB_PV}
+
+# only the x3270 package installs fonts
+FONT_PN="x3270"
+FONT_S="${S}/${FONT_PN}"
+
+inherit eutils font
+
+DESCRIPTION="Complete 3270 access package"
+HOMEPAGE="http://x3270.bgp.nu/"
+SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+IUSE="cjk doc ncurses ssl tcl X"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+ ncurses? (
+ sys-libs/ncurses:=
+ sys-libs/readline:0=
+ )
+ tcl? ( dev-lang/tcl:0 )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-misc/xbitmaps
+ x11-proto/xproto
+ app-text/rman
+ x11-apps/mkfontdir
+ x11-apps/bdftopcf
+ )"
+
+suite3270_makelist() {
+ echo pr3287 s3270 \
+ $(usex ncurses c3270 '') \
+ $(usex tcl tcl3270 '') \
+ $(usex X x3270 '')
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.5_p8-tinfo.patch
+
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files
+ # (they have the same contents). Wrap that in a retry to avoid errors.
+ cat <<-EOF > _install
+ #!/bin/sh
+ for n in 1 2 3 4 5; do
+ install "\$@" && exit
+ echo "retrying ..."
+ done
+ exit 1
+ EOF
+ chmod a+rx _install
+ # Can't use the $INSTALL var as top level configure also uses it.
+ # https://sourceforge.net/p/x3270/bugs/15/
+ export ac_cv_path_install="${S}/_install"
+}
+
+src_configure() {
+ echo "${INSTALL}"
+ econf \
+ --cache-file="${S}"/config.cache \
+ --enable-s3270 \
+ --enable-pr3287 \
+ $(use_enable ncurses c3270) \
+ $(use_enable tcl tcl3270) \
+ $(use_enable X x3270) \
+ $(use_with X x) \
+ $(use_with X fontdir "${FONTDIR}")
+}
+
+src_install() {
+ use X && dodir "${FONTDIR}"
+ emake DESTDIR="${D}" install{,.man}
+
+ local p
+ for p in $(suite3270_makelist) ; do
+ cd "${S}/${p}"
+ docinto ${p}
+ dodoc README*
+ use doc && dohtml html/*
+ done
+
+ use X && font_src_install
+}
+
+pkg_postinst() { use X && font_pkg_postinst ; }
+pkg_postrm() { use X && font_pkg_postrm ; }
diff --git a/net-misc/suite3270/suite3270-3.6_p4.ebuild b/net-misc/suite3270/suite3270-3.6_p4.ebuild
new file mode 100644
index 000000000000..b3723ee24476
--- /dev/null
+++ b/net-misc/suite3270/suite3270-3.6_p4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+MY_PV=${PV/_p/ga}
+MY_P=${PN}-${MY_PV}
+SUB_PV=${PV:0:3}
+
+S=${WORKDIR}/${PN}-${SUB_PV}
+
+# only the x3270 package installs fonts
+FONT_PN="x3270"
+FONT_S="${S}/${FONT_PN}"
+
+inherit eutils font
+
+DESCRIPTION="Complete 3270 access package"
+HOMEPAGE="http://x3270.bgp.nu/"
+SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+IUSE="cjk doc ncurses ssl tcl X"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+ ncurses? (
+ sys-libs/ncurses:=
+ sys-libs/readline:0=
+ )
+ tcl? ( dev-lang/tcl:0 )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-misc/xbitmaps
+ x11-proto/xproto
+ app-text/rman
+ x11-apps/mkfontdir
+ x11-apps/bdftopcf
+ )"
+
+suite3270_makelist() {
+ echo pr3287 s3270 \
+ $(usex ncurses c3270 '') \
+ $(usex tcl tcl3270 '') \
+ $(usex X x3270 '')
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.5_p8-tinfo.patch
+
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files
+ # (they have the same contents). Wrap that in a retry to avoid errors.
+ cat <<-EOF > _install
+ #!/bin/sh
+ for n in 1 2 3 4 5; do
+ install "\$@" && exit
+ echo "retrying ..."
+ done
+ exit 1
+ EOF
+ chmod a+rx _install
+ # Can't use the $INSTALL var as top level configure also uses it.
+ # https://sourceforge.net/p/x3270/bugs/15/
+ export ac_cv_path_install="${S}/_install"
+}
+
+src_configure() {
+ echo "${INSTALL}"
+ econf \
+ --cache-file="${S}"/config.cache \
+ --enable-s3270 \
+ --enable-pr3287 \
+ $(use_enable ncurses c3270) \
+ $(use_enable tcl tcl3270) \
+ $(use_enable X x3270) \
+ $(use_with X x) \
+ $(use_with X fontdir "${FONTDIR}")
+}
+
+src_install() {
+ use X && dodir "${FONTDIR}"
+ emake DESTDIR="${D}" install{,.man}
+
+ local p
+ for p in $(suite3270_makelist) ; do
+ cd "${S}/${p}"
+ docinto ${p}
+ dodoc README*
+ use doc && dohtml html/*
+ done
+
+ use X && font_src_install
+}
+
+pkg_postinst() { use X && font_pkg_postinst ; }
+pkg_postrm() { use X && font_pkg_postrm ; }