From e36fc5a3a413bf126dacf23d9f40760d83fa8f85 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 24 Jun 2021 23:48:54 +0100 Subject: app-i18n/freewnn: add virtual/libcrypt dependency Needed for upcoming libxcrypt migration. Acked-by: David Seifert Reported-by: Ionen Wolkens Signed-off-by: Sam James --- app-i18n/freewnn/freewnn-1.1.1_alpha22-r1.ebuild | 57 ++++++++++++++++++ app-i18n/freewnn/freewnn-1.1.1_alpha22.ebuild | 54 ----------------- app-i18n/freewnn/freewnn-1.1.1_alpha23-r1.ebuild | 75 ++++++++++++++++++++++++ app-i18n/freewnn/freewnn-1.1.1_alpha23.ebuild | 74 ----------------------- 4 files changed, 132 insertions(+), 128 deletions(-) create mode 100644 app-i18n/freewnn/freewnn-1.1.1_alpha22-r1.ebuild delete mode 100644 app-i18n/freewnn/freewnn-1.1.1_alpha22.ebuild create mode 100644 app-i18n/freewnn/freewnn-1.1.1_alpha23-r1.ebuild delete mode 100644 app-i18n/freewnn/freewnn-1.1.1_alpha23.ebuild (limited to 'app-i18n/freewnn') diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha22-r1.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha22-r1.ebuild new file mode 100644 index 000000000000..b076cfe87a80 --- /dev/null +++ b/app-i18n/freewnn/freewnn-1.1.1_alpha22-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_P="FreeWnn-${PV/_alpha/-a0}" + +DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" +HOMEPAGE="http://freewnn.sourceforge.jp/ http://www.freewnn.org/" +SRC_URI="mirror://sourceforge.jp/${PN}/59257/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ppc ppc64 sparc x86" +IUSE="ipv6" + +DEPEND="virtual/libcrypt:=" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${P}-parallel-build.patch + "${FILESDIR}"/${PN}-Wformat-security.patch +) +DOCS="ChangeLog* CONTRIBUTORS" + +src_prepare() { + default + + sed -i \ + -e "s/WNNOWNER = wnn/WNNOWNER = root/" \ + -e "s/@INSTPGMFLAGS@//" \ + makerule.mk.in + + # bug #542534 + sed -i \ + -e "s/egrep -v/egrep -av/" \ + PubdicPlus/Makefile.in \ + Wnn/pubdicplus/Makefile.in \ + cWnn/[ct]dic/Makefile.in \ + kWnn/kdic/Makefile.in +} + +src_configure() { + econf \ + $(use_with ipv6) \ + --disable-cWnn \ + --disable-kWnn +} + +src_install() { + emake DESTDIR="${D}" install install.man + einstalldocs + + newinitd "${FILESDIR}"/${PN}.initd ${PN} +} diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha22.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha22.ebuild deleted file mode 100644 index c4b2a917a105..000000000000 --- a/app-i18n/freewnn/freewnn-1.1.1_alpha22.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -MY_P="FreeWnn-${PV/_alpha/-a0}" - -DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" -HOMEPAGE="http://freewnn.sourceforge.jp/ http://www.freewnn.org/" -SRC_URI="mirror://sourceforge.jp/${PN}/59257/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="ipv6" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${P}-parallel-build.patch - "${FILESDIR}"/${PN}-Wformat-security.patch -) -DOCS="ChangeLog* CONTRIBUTORS" - -src_prepare() { - default - - sed -i \ - -e "s/WNNOWNER = wnn/WNNOWNER = root/" \ - -e "s/@INSTPGMFLAGS@//" \ - makerule.mk.in - - # bug #542534 - sed -i \ - -e "s/egrep -v/egrep -av/" \ - PubdicPlus/Makefile.in \ - Wnn/pubdicplus/Makefile.in \ - cWnn/[ct]dic/Makefile.in \ - kWnn/kdic/Makefile.in -} - -src_configure() { - econf \ - $(use_with ipv6) \ - --disable-cWnn \ - --disable-kWnn -} - -src_install() { - emake DESTDIR="${D}" install install.man - einstalldocs - - newinitd "${FILESDIR}"/${PN}.initd ${PN} -} diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha23-r1.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha23-r1.ebuild new file mode 100644 index 000000000000..eb63b8b14092 --- /dev/null +++ b/app-i18n/freewnn/freewnn-1.1.1_alpha23-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +MY_P="FreeWnn-${PV/_alpha/-a0}" + +DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" +HOMEPAGE="http://freewnn.sourceforge.jp/ http://www.freewnn.org/" +SRC_URI="mirror://sourceforge.jp/${PN}/63271/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="ipv6 uum" + +RDEPEND="virtual/libcrypt:= + uum? ( sys-libs/ncurses:= )" +DEPEND="${RDEPEND} + uum? ( virtual/pkgconfig )" +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-uum-EUC-JP.patch + "${FILESDIR}"/${PN}-Wformat-security.patch +) +DOCS="ChangeLog* CONTRIBUTORS" + +src_prepare() { + sed -i \ + -e "s/WNNOWNER = wnn/WNNOWNER = root/" \ + -e "s|@mandir@/|@mandir@/ja/|" \ + -e "s/@INSTPGMFLAGS@//" \ + makerule.mk.in + + # bug #542534 + sed -i \ + -e "s/egrep -v/egrep -av/" \ + PubdicPlus/Makefile.in \ + Wnn/pubdicplus/Makefile.in \ + cWnn/[ct]dic/Makefile.in \ + kWnn/kdic/Makefile.in + + default +} + +src_configure() { + econf \ + $(use_enable uum client) \ + $(use_with ipv6) \ + --disable-cWnn \ + --disable-kWnn \ + --disable-traditional-layout \ + --with-term-libs="$($(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_compile() { + default + + local m + for m in $(find Wnn/man -name "*.man"); do + iconv -f EUC-JP -t UTF-8 "${m}" > "${m}".UTF-8 || die + mv "${m}"{.UTF-8,} || die + done +} + +src_install() { + emake DESTDIR="${D}" install install.man + einstalldocs + + newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} +} diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha23.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha23.ebuild deleted file mode 100644 index 70978e2d84fb..000000000000 --- a/app-i18n/freewnn/freewnn-1.1.1_alpha23.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -MY_P="FreeWnn-${PV/_alpha/-a0}" - -DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System" -HOMEPAGE="http://freewnn.sourceforge.jp/ http://www.freewnn.org/" -SRC_URI="mirror://sourceforge.jp/${PN}/63271/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="ipv6 uum" - -RDEPEND="uum? ( sys-libs/ncurses:= )" -DEPEND="${RDEPEND} - uum? ( virtual/pkgconfig )" -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-uum-EUC-JP.patch - "${FILESDIR}"/${PN}-Wformat-security.patch -) -DOCS="ChangeLog* CONTRIBUTORS" - -src_prepare() { - sed -i \ - -e "s/WNNOWNER = wnn/WNNOWNER = root/" \ - -e "s|@mandir@/|@mandir@/ja/|" \ - -e "s/@INSTPGMFLAGS@//" \ - makerule.mk.in - - # bug #542534 - sed -i \ - -e "s/egrep -v/egrep -av/" \ - PubdicPlus/Makefile.in \ - Wnn/pubdicplus/Makefile.in \ - cWnn/[ct]dic/Makefile.in \ - kWnn/kdic/Makefile.in - - default -} - -src_configure() { - econf \ - $(use_enable uum client) \ - $(use_with ipv6) \ - --disable-cWnn \ - --disable-kWnn \ - --disable-traditional-layout \ - --with-term-libs="$($(tc-getPKG_CONFIG) --libs ncurses)" -} - -src_compile() { - default - - local m - for m in $(find Wnn/man -name "*.man"); do - iconv -f EUC-JP -t UTF-8 "${m}" > "${m}".UTF-8 || die - mv "${m}"{.UTF-8,} || die - done -} - -src_install() { - emake DESTDIR="${D}" install install.man - einstalldocs - - newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} -} -- cgit v1.2.3-65-gdbad