From b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 14:47:38 +0100 Subject: gentoo resync : 24.06.2021 --- app-shells/tcsh/Manifest | 4 +- app-shells/tcsh/tcsh-6.22.02-r1.ebuild | 106 +++++++++++++++++++++++++++++++ app-shells/tcsh/tcsh-6.22.02.ebuild | 105 ------------------------------- app-shells/tcsh/tcsh-6.22.04-r1.ebuild | 110 +++++++++++++++++++++++++++++++++ app-shells/tcsh/tcsh-6.22.04.ebuild | 109 -------------------------------- 5 files changed, 218 insertions(+), 216 deletions(-) create mode 100644 app-shells/tcsh/tcsh-6.22.02-r1.ebuild delete mode 100644 app-shells/tcsh/tcsh-6.22.02.ebuild create mode 100644 app-shells/tcsh/tcsh-6.22.04-r1.ebuild delete mode 100644 app-shells/tcsh/tcsh-6.22.04.ebuild (limited to 'app-shells/tcsh') diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest index 0854ed382ef8..a5bd10f88f2f 100644 --- a/app-shells/tcsh/Manifest +++ b/app-shells/tcsh/Manifest @@ -7,6 +7,6 @@ AUX tcsh-6.21.04-no-nls.patch 406 BLAKE2B f4e9baa31c4f54c657d18bdb026bfee85f1bfb DIST tcsh-6.22.02.tar.gz 1006405 BLAKE2B f18b2c48958b4d38a0f55b0df8563564b2a3b34becf02eda8802d7f5e2194082bf96c46323d606c2e6bd2a26aaed303bae3132d03515274407c63b713583dde7 SHA512 32d271b568c63265ea4c98494f5e60b37c3a3fc2594e8763b8f6f0b09018ab9db7ef6f951120b37f7880ccf04ba3a2559e30dc08d24f4ba9dc36853238d55980 DIST tcsh-6.22.04.tar.gz 1012977 BLAKE2B 5702e17e25603a244e4481294cbe2dc2272d4f3ac8362be9e1dd65f3857e0e54520a245d321dda5ef747345776c22068dcb130705daddf71cb650b154ed96ba4 SHA512 3956df52124d496dc0e67e4e3e801787f31690f96a60399953e401648d5b4cfb06baa9833c32cb771177b3e89b7a27e5765534db073206568fe773598a55e873 DIST tcsh-gentoo-patches-r1.9.tar.bz2 2488 BLAKE2B 58924e623c75068cdc686be61755bdbcf8d0949a2141ac532ac089f80ff083b2c9f6767038b9fc52171a00ed82c558b83216327c87b41f51c3648343869cd5b6 SHA512 9903e9c3e2279abcac09a3235f3c5db9f42156c18137eb651ede195ca2b069f0b5bc6105fed33666b69796c4ebf03e4efe63cd9beba1898bac7297a2f74bfd3d -EBUILD tcsh-6.22.02.ebuild 2848 BLAKE2B 69a2feb7be32236da46fbec033e30ecf3645d3ebe4f82ae4a0fb3d3686e0ccad57746d086a8cffa36c697e45c2b1638793b38b1d687e02c26d0b3e4abf9e02f2 SHA512 8dbe5a06213546dd27b940a472bf158e7424ae55e570e83d903d6b9e5b7575b070f48dc701401f619ba194b1c4d9199fb43d130ca420b2fa544635ceae60c0fc -EBUILD tcsh-6.22.04.ebuild 2867 BLAKE2B ee4d4ba7d2721dda920837128a6f9f7c31db11fef7effd2d847e0597e0f529ea5c73b39e15b5d03793ee8b74715f448e4799666123c49ff279b113e2b156b336 SHA512 c63dad4c7146437540bfa4dca8711aefb64c61a4f730d0044dfa00d34cc21ff8805c4e855c577fec41419fef94988dbecb92cfc9842bd60e5bb260861da11115 +EBUILD tcsh-6.22.02-r1.ebuild 2868 BLAKE2B 9663690588a73517fd13c1aeaaabdb8e62246586ef21758471922642806f2c37ffd03b813d6429cb410b344f3632130fb174d0174498e85ffe8840aba225128a SHA512 89c409b0c1bb9a9fe4b13476bbd8549551b45778ec275c5b522fce9a8b2242152789921533062d16d4e59d20622834ea35dba59d65a75e1d5ef08a785ddbbc63 +EBUILD tcsh-6.22.04-r1.ebuild 2887 BLAKE2B 0a7f43d9fbc778cfe1b6c7df7a60e5e635a9836adebde71822a6bec180f2659d4c36b8c747ae9d4d191860ae72d03dccb99254ae761a8eb1a34faa92dcd7bb3b SHA512 7f53c57bc01114914defc7912c2555c122d0bb321f431e9c00014c5f9825281bbd0b947edb70d9a7b06e035ce9f04f761c03005ed470f60a22f8cdd3e0b2b82a MISC metadata.xml 645 BLAKE2B 6a9d41c4ca043c899c0bfd8c5140958799c4eaf988f301551e8b8302995c81b0968981a2fda9247189965fc28887841eb30e1f3433262a58c843c0f890f857e5 SHA512 0f36e708c427083603b31df4bd4d808147333ff2711addff30936178e72b10f1020534046cb15ef1fecafee656c37d357ad3b5922320980ee15fddda11912f22 diff --git a/app-shells/tcsh/tcsh-6.22.02-r1.ebuild b/app-shells/tcsh/tcsh-6.22.02-r1.ebuild new file mode 100644 index 000000000000..962d72644d4b --- /dev/null +++ b/app-shells/tcsh/tcsh-6.22.02-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit epatch flag-o-matic autotools prefix + +CONFVER="1.9" + +DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" +HOMEPAGE="https://www.tcsh.org/" +SRC_URI=" + ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls doc" +RESTRICT="test" + +# we need gettext because we run autoconf (AM_ICONV) +RDEPEND=" + >=sys-libs/ncurses-5.1:0= + virtual/libcrypt:= + virtual/libiconv" +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( dev-lang/perl )" + +CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} + +PATCHES=( + "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792 + "${FILESDIR}"/${PN}-6.18.01-aix.patch + "${FILESDIR}"/${PN}-6.21.00-no-nls.patch + "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch + "${FILESDIR}"/${PN}-6.21.00-fno-common.patch # upstream +) + +src_prepare() { + epatch "${PATCHES[@]}" + + eautoreconf + + # fix gencat usage + sed \ + -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \ + -i nls/Makefile.in || die + + # always use sysmalloc, the builtin malloc fails on Darwin, musl, + # etc. it's already used for glibc-linux, so this doesn't change + # anything for the majority of users + sed -i -e 's/undef SYSMALLOC/define SYSMALLOC/' config_f.h || die + + # unify ECHO behaviour + echo "#undef ECHO_STYLE" >> config_f.h + echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h + + eprefixify "${CONFDIR}"/* + # activate the right default PATH + if [[ -z ${EPREFIX} ]] ; then + sed -i \ + -e 's/^#MAIN//' -e '/^#PREFIX/d' \ + "${CONFDIR}"/csh.login || die + else + sed -i \ + -e 's/^#PREFIX//' -e '/^#MAIN/d' \ + "${CONFDIR}"/csh.login || die + fi + + eapply_user +} + +src_configure() { + # make tcsh look and live along the lines of the prefix + append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" + append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" + append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'" + append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" + append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" + + econf \ + --prefix="${EPREFIX:-}" \ + --datarootdir='${prefix}/usr/share' \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install install.man + + DOCS=( FAQ Fixes NewThings Ported README.md WishList Y2K ) + if use doc ; then + perl tcsh.man2html tcsh.man || die + HTML_DOCS=( tcsh.html/*.html ) + fi + einstalldocs + + insinto /etc + doins \ + "${CONFDIR}"/csh.cshrc \ + "${CONFDIR}"/csh.login + + # bug #119703: add csh -> tcsh symlink + dosym tcsh /bin/csh +} diff --git a/app-shells/tcsh/tcsh-6.22.02.ebuild b/app-shells/tcsh/tcsh-6.22.02.ebuild deleted file mode 100644 index b5d2662737f5..000000000000 --- a/app-shells/tcsh/tcsh-6.22.02.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit epatch flag-o-matic autotools prefix - -CONFVER="1.9" - -DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" -HOMEPAGE="https://www.tcsh.org/" -SRC_URI=" - ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls doc" -RESTRICT="test" - -# we need gettext because we run autoconf (AM_ICONV) -RDEPEND=" - >=sys-libs/ncurses-5.1:0= - virtual/libiconv" -DEPEND="${RDEPEND} - sys-devel/gettext - doc? ( dev-lang/perl )" - -CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} - -PATCHES=( - "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792 - "${FILESDIR}"/${PN}-6.18.01-aix.patch - "${FILESDIR}"/${PN}-6.21.00-no-nls.patch - "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch - "${FILESDIR}"/${PN}-6.21.00-fno-common.patch # upstream -) - -src_prepare() { - epatch "${PATCHES[@]}" - - eautoreconf - - # fix gencat usage - sed \ - -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \ - -i nls/Makefile.in || die - - # always use sysmalloc, the builtin malloc fails on Darwin, musl, - # etc. it's already used for glibc-linux, so this doesn't change - # anything for the majority of users - sed -i -e 's/undef SYSMALLOC/define SYSMALLOC/' config_f.h || die - - # unify ECHO behaviour - echo "#undef ECHO_STYLE" >> config_f.h - echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h - - eprefixify "${CONFDIR}"/* - # activate the right default PATH - if [[ -z ${EPREFIX} ]] ; then - sed -i \ - -e 's/^#MAIN//' -e '/^#PREFIX/d' \ - "${CONFDIR}"/csh.login || die - else - sed -i \ - -e 's/^#PREFIX//' -e '/^#MAIN/d' \ - "${CONFDIR}"/csh.login || die - fi - - eapply_user -} - -src_configure() { - # make tcsh look and live along the lines of the prefix - append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" - append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" - append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'" - append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" - append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" - - econf \ - --prefix="${EPREFIX:-}" \ - --datarootdir='${prefix}/usr/share' \ - $(use_enable nls) -} - -src_install() { - emake DESTDIR="${D}" install install.man - - DOCS=( FAQ Fixes NewThings Ported README.md WishList Y2K ) - if use doc ; then - perl tcsh.man2html tcsh.man || die - HTML_DOCS=( tcsh.html/*.html ) - fi - einstalldocs - - insinto /etc - doins \ - "${CONFDIR}"/csh.cshrc \ - "${CONFDIR}"/csh.login - - # bug #119703: add csh -> tcsh symlink - dosym tcsh /bin/csh -} diff --git a/app-shells/tcsh/tcsh-6.22.04-r1.ebuild b/app-shells/tcsh/tcsh-6.22.04-r1.ebuild new file mode 100644 index 000000000000..da1bb0b9c52b --- /dev/null +++ b/app-shells/tcsh/tcsh-6.22.04-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic autotools prefix + +CONFVER="1.9" + +DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" +HOMEPAGE="https://www.tcsh.org/" +SRC_URI=" + ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="nls doc" +RESTRICT="test" + +# we need gettext because we run autoconf (AM_ICONV) +RDEPEND=" + >=sys-libs/ncurses-5.1:0= + virtual/libcrypt:= + virtual/libiconv" +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( dev-lang/perl )" + +CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} + +PATCHES=( + "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792 + "${FILESDIR}"/${PN}-6.21.04-no-nls.patch + "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch +) + +src_prepare() { + default + + eautoreconf + + # fix gencat usage + sed \ + -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \ + -i nls/Makefile.in || die + + # always use sysmalloc, the builtin malloc fails on Darwin, musl, + # etc. it's already used for glibc-linux, so this doesn't change + # anything for the majority of users + sed -i -e 's/undef SYSMALLOC/define SYSMALLOC/' config_f.h || die + + # unify ECHO behaviour + echo "#undef ECHO_STYLE" >> config_f.h + echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h + + eprefixify "${CONFDIR}"/* + # activate the right default PATH + if [[ -z ${EPREFIX} ]] ; then + sed -i \ + -e 's/^#MAIN//' -e '/^#PREFIX/d' \ + "${CONFDIR}"/csh.login || die + else + sed -i \ + -e 's/^#PREFIX//' -e '/^#MAIN/d' \ + "${CONFDIR}"/csh.login || die + fi + + eapply_user +} + +src_configure() { + # make tcsh look and live along the lines of the prefix + append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" + append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" + append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'" + append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" + append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" + + # musl's utmp is non-functional + if use elibc_musl ; then + export ac_cv_header_utmp_h=no + export ac_cv_header_utmpx_h=no + fi + + econf \ + --prefix="${EPREFIX:-}" \ + --datarootdir='${prefix}/usr/share' \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install install.man + + DOCS=( FAQ Fixes NewThings Ported README.md WishList Y2K ) + if use doc ; then + perl tcsh.man2html tcsh.man || die + HTML_DOCS=( tcsh.html/*.html ) + fi + einstalldocs + + insinto /etc + doins \ + "${CONFDIR}"/csh.cshrc \ + "${CONFDIR}"/csh.login + + # bug #119703: add csh -> tcsh symlink + dosym tcsh /bin/csh +} diff --git a/app-shells/tcsh/tcsh-6.22.04.ebuild b/app-shells/tcsh/tcsh-6.22.04.ebuild deleted file mode 100644 index 41835e196feb..000000000000 --- a/app-shells/tcsh/tcsh-6.22.04.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic autotools prefix - -CONFVER="1.9" - -DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" -HOMEPAGE="https://www.tcsh.org/" -SRC_URI=" - ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls doc" -RESTRICT="test" - -# we need gettext because we run autoconf (AM_ICONV) -RDEPEND=" - >=sys-libs/ncurses-5.1:0= - virtual/libiconv" -DEPEND="${RDEPEND} - sys-devel/gettext - doc? ( dev-lang/perl )" - -CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} - -PATCHES=( - "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792 - "${FILESDIR}"/${PN}-6.21.04-no-nls.patch - "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch -) - -src_prepare() { - default - - eautoreconf - - # fix gencat usage - sed \ - -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \ - -i nls/Makefile.in || die - - # always use sysmalloc, the builtin malloc fails on Darwin, musl, - # etc. it's already used for glibc-linux, so this doesn't change - # anything for the majority of users - sed -i -e 's/undef SYSMALLOC/define SYSMALLOC/' config_f.h || die - - # unify ECHO behaviour - echo "#undef ECHO_STYLE" >> config_f.h - echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h - - eprefixify "${CONFDIR}"/* - # activate the right default PATH - if [[ -z ${EPREFIX} ]] ; then - sed -i \ - -e 's/^#MAIN//' -e '/^#PREFIX/d' \ - "${CONFDIR}"/csh.login || die - else - sed -i \ - -e 's/^#PREFIX//' -e '/^#MAIN/d' \ - "${CONFDIR}"/csh.login || die - fi - - eapply_user -} - -src_configure() { - # make tcsh look and live along the lines of the prefix - append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" - append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" - append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'" - append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" - append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" - - # musl's utmp is non-functional - if use elibc_musl ; then - export ac_cv_header_utmp_h=no - export ac_cv_header_utmpx_h=no - fi - - econf \ - --prefix="${EPREFIX:-}" \ - --datarootdir='${prefix}/usr/share' \ - $(use_enable nls) -} - -src_install() { - emake DESTDIR="${D}" install install.man - - DOCS=( FAQ Fixes NewThings Ported README.md WishList Y2K ) - if use doc ; then - perl tcsh.man2html tcsh.man || die - HTML_DOCS=( tcsh.html/*.html ) - fi - einstalldocs - - insinto /etc - doins \ - "${CONFDIR}"/csh.cshrc \ - "${CONFDIR}"/csh.login - - # bug #119703: add csh -> tcsh symlink - dosym tcsh /bin/csh -} -- cgit v1.2.3