diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-devel/bc |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-devel/bc')
-rw-r--r-- | sys-devel/bc/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/bc/bc-1.06.95-r1.ebuild | 51 | ||||
-rw-r--r-- | sys-devel/bc/bc-1.06.95-r2.ebuild | 54 | ||||
-rw-r--r-- | sys-devel/bc/bc-1.07.1.ebuild | 50 | ||||
-rw-r--r-- | sys-devel/bc/files/bc-1.06.95-mem-leak.patch | 24 | ||||
-rw-r--r-- | sys-devel/bc/files/bc-1.06.95-void_uninitialized.patch | 13 | ||||
-rw-r--r-- | sys-devel/bc/metadata.xml | 8 |
7 files changed, 210 insertions, 0 deletions
diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest new file mode 100644 index 000000000000..f923d59da012 --- /dev/null +++ b/sys-devel/bc/Manifest @@ -0,0 +1,10 @@ +AUX bc-1.06.95-mem-leak.patch 588 SHA256 27e30d0389b79556609a74a4bb2a19f208f0e527bf08357ad79e0f453f15ac17 SHA512 3a1f354b8979586b39e6e3f93f2df7d38c2f221fb00ceef7db6cb6b51712c0fc27dbbd75635a8e4e9e2f8f100c5a39cdc1d4c1cfc32bd6c406af94edef37e40d WHIRLPOOL 975dae719f33d5102c7e4455e940ad33b40dd4c716e9546d2a05606c898367686cdb80298e68fa6faebadf637d308dfb885cb9490e554b8cb344f23feb14ebc2 +AUX bc-1.06.95-void_uninitialized.patch 351 SHA256 440a9a20633317204a0205962f573a932ef4493b1dc9ff3253bfed22c8caf5cd SHA512 6d2803d831d8a3137c3d867606f8d40455a6f984bfe844e10e276e24cbd5d9fd1ff21b81ea91775dd7e1e55484cdde7bf859fa3e9a17887bdf548b32cdc46dae WHIRLPOOL be26b8f81e119247095a0d2c8b8131f507454ac5c087ab32da1fdce8023080286ec125ae3b7bf06b2e690498bb78b32a7e7ff78ae8cd81038904bb7168e5f620 +DIST bc-1.06.95.tar.bz2 290069 SHA256 7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc SHA512 16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1 WHIRLPOOL e91adb7b1fd42c4d47dad76f994c51ee7a8d962a24cb1b0cbeaa992fe1be59878016d5883506ec4153293daf48fbe3f345bb88fbe3f6276b3353c89573a612af +DIST bc-1.07.1.tar.gz 419850 SHA256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a SHA512 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 WHIRLPOOL 87a9c0a5b7b2af082d59002147cd05cef7612a66f83ca688e6572ed2bbbdddcec945e7b8a0ee6e865f0142d31801ee3167b7eff023be8054d897d755bd282a2d +EBUILD bc-1.06.95-r1.ebuild 1480 SHA256 bac45bc80ff69c4bc310526bfd4faafd41bcacaf624e09b5db9c650733d343b6 SHA512 fc39ebb2f8e6e13c48856e8434951b25847883720f409a52b46e0e9a4c231bc896cd2ef280c042b9d5968fce62e2a007e39defa66a56acc26070ecf8bd2e439c WHIRLPOOL a93ad0bcfff050ab7a3d873667423b9af3de649854cf70e89a5e8d7ebab73a72180a0ae12e5da64886c8e8b05bac41ae3c4c4dcf469bceabd117fa884595afa8 +EBUILD bc-1.06.95-r2.ebuild 1588 SHA256 ae2a5bbd3b93cfd7ddfc1554cba150eeebefd651d3b52005b54d876ee8e6cf11 SHA512 98fc290aa33cbe100026426dbb56d9245dd7e7fe8fdf71913cd8b2ea64b6bba674128bd1134c2c12bf71158f79d09e1e99f4a624806d2278a9a9efa4b7574446 WHIRLPOOL f722d087366e6ebc8f914acb454711707bfd47384f09d108b3191a9d0cb7b8fc09f45cffd89fd2170b441156aa50e76b528048e2a161022495c5c2b04f6f1795 +EBUILD bc-1.07.1.ebuild 1470 SHA256 4e9d3b1f8875aea06224ffa0d4389a6a80c6e495298234bd257567fda6109078 SHA512 08dcd60ad4d20fb6241eeea7b1d576302908ce66c64f74060c30e099d8ff2d9ba9fceace5357b15ae053dcfa1d0180b6e06a73a9ba4fad9ee3c77a89f0d11a6f WHIRLPOOL 49f8d68632f7a3fcc1fe8e1b5f6172aabe1853133ff7b15e051c474ef051d7e6d648d6b2c9016db48511d62741bcf6357dd7d573a61624add7a9b856e41ab1bc +MISC ChangeLog 3416 SHA256 d764dcbf54a63a7a09a6e6a9f91214f7f3e99a4ac1a5de16816e60503c66f8a2 SHA512 5e2afa1fc5088beff05c99eadf299de62e78604697ac0209abc2afd1aa98e8d0420cf37b9ed83da1b1910495a04d6a3af3bff1ae59dfefe472fd30722fb30137 WHIRLPOOL 1f1491ea866935473fb9d2a207d6adc13d0c7d11da17bc86db61b710bf4b1ead6084dce8a623e3d4d8b62b1fe072cee13806e09dc4b9b7a8423d63a99356549d +MISC ChangeLog-2015 6604 SHA256 d3b98712ce979d9f6e812b6a1accaa7b055795aa2d670e89c2d429fade5e3b41 SHA512 5d0f29e8861968f85a969bcb17da4bc4f3ebda970be6874a9e855a24c3bc70223f97f7c7d3b12156de1ea91f89d214e2284f3a2626ec55887f9836897bc52d7c WHIRLPOOL 4a11af0dc0fe8ff4cfe49d365eabe52e07035e108c815212bf0ee9de136bbf1f87c67b6e6b73a140f1e17ccf2df45e711bffa0d24a05fc02d92dea417ac4a8ac +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/sys-devel/bc/bc-1.06.95-r1.ebuild b/sys-devel/bc/bc-1.06.95-r1.ebuild new file mode 100644 index 000000000000..5edb18881141 --- /dev/null +++ b/sys-devel/bc/bc-1.06.95-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Handy console-based calculator utility" +HOMEPAGE="https://www.gnu.org/software/bc/bc.html" +SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2 + mirror://gnu/bc/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="libedit readline static" + +RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) + libedit? ( dev-libs/libedit )" +DEPEND="${RDEPEND} + sys-devel/flex" + +src_prepare() { + epatch "${FILESDIR}"/${P}-void_uninitialized.patch #349339 +} + +src_configure() { + local myconf + if use readline ; then + myconf="--with-readline --without-libedit" + elif use libedit ; then + myconf="--without-readline --with-libedit" + else + myconf="--without-readline --without-libedit" + fi + use static && append-ldflags -static + econf ${myconf} + + # Do not regen docs -- configure produces a small fragment that includes + # the version info which causes all pages to regen (newer file). #554774 + touch -r doc doc/* +} + +src_compile() { + emake AR="$(tc-getAR)" || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS FAQ NEWS README ChangeLog +} diff --git a/sys-devel/bc/bc-1.06.95-r2.ebuild b/sys-devel/bc/bc-1.06.95-r2.ebuild new file mode 100644 index 000000000000..23e3d478171b --- /dev/null +++ b/sys-devel/bc/bc-1.06.95-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Handy console-based calculator utility" +HOMEPAGE="https://www.gnu.org/software/bc/bc.html" +SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2 + mirror://gnu/bc/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="libedit readline static" + +RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) + readline? ( + >=sys-libs/readline-4.1:0= + >=sys-libs/ncurses-5.2:= + )" +DEPEND="${RDEPEND} + sys-devel/flex" + +src_prepare() { + epatch "${FILESDIR}"/${P}-void_uninitialized.patch #349339 + epatch "${FILESDIR}"/${P}-mem-leak.patch #264889 +} + +src_configure() { + local libedit + if use readline ; then + libedit="--without-libedit" + else + libedit=$(use_with libedit) + fi + use static && append-ldflags -static + # Clobber any CONFIG_SHELL setting the user has forced on us. + # We should be able to delete this w/the next release as it + # should use updated autoconf. + CONFIG_SHELL=/bin/bash \ + econf \ + $(use_with readline) \ + ${libedit} + + # Do not regen docs -- configure produces a small fragment that includes + # the version info which causes all pages to regen (newer file). #554774 + touch -r doc doc/* +} + +src_compile() { + emake AR="$(tc-getAR)" +} diff --git a/sys-devel/bc/bc-1.07.1.ebuild b/sys-devel/bc/bc-1.07.1.ebuild new file mode 100644 index 000000000000..1637640c48dd --- /dev/null +++ b/sys-devel/bc/bc-1.07.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Handy console-based calculator utility" +HOMEPAGE="https://www.gnu.org/software/bc/bc.html" +SRC_URI="mirror://gnu-alpha/bc/${P}.tar.gz + mirror://gnu/bc/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="libedit readline static" + +RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) + readline? ( + >=sys-libs/readline-4.1:0= + >=sys-libs/ncurses-5.2:= + )" +DEPEND="${RDEPEND} + sys-apps/ed + sys-devel/flex" + +src_configure() { + local libedit + if use readline ; then + libedit="--without-libedit" + else + libedit=$(use_with libedit) + fi + use static && append-ldflags -static + # Clobber any CONFIG_SHELL setting the user has forced on us. + # We should be able to delete this w/the next release as it + # should use updated autoconf. + CONFIG_SHELL=/bin/bash \ + econf \ + $(use_with readline) \ + ${libedit} + + # Do not regen docs -- configure produces a small fragment that includes + # the version info which causes all pages to regen (newer file). #554774 + touch -r doc doc/* +} + +src_compile() { + emake AR="$(tc-getAR)" +} diff --git a/sys-devel/bc/files/bc-1.06.95-mem-leak.patch b/sys-devel/bc/files/bc-1.06.95-mem-leak.patch new file mode 100644 index 000000000000..13628464b540 --- /dev/null +++ b/sys-devel/bc/files/bc-1.06.95-mem-leak.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/264889 + +--- a/bc/bc.y ++++ b/bc/bc.y +@@ -569,6 +569,7 @@ expression : named_expression ASSIGN_OP + generate (">"); + break; + } ++ free($2); + } + | expression '+' expression + { +--- a/bc/util.c ++++ b/bc/util.c +@@ -602,8 +602,7 @@ lookup (name, namekind) + case FUNCTDEF: + if (id->f_name != 0) + { +- if (namekind != FUNCT) +- free(name); ++ free(name); + /* Check to see if we are redefining a math lib function. */ + if (use_math && namekind == FUNCTDEF && id->f_name <= 6) + id->f_name = next_func++; diff --git a/sys-devel/bc/files/bc-1.06.95-void_uninitialized.patch b/sys-devel/bc/files/bc-1.06.95-void_uninitialized.patch new file mode 100644 index 000000000000..3304973f89af --- /dev/null +++ b/sys-devel/bc/files/bc-1.06.95-void_uninitialized.patch @@ -0,0 +1,13 @@ +http://www.pixelbeat.org/programming/oss_bug_flow.html +https://bugs.gentoo.org/349339 + +--- bc/storage.c ++++ bc/storage.c +@@ -99,6 +99,7 @@ + { + f = &functions[indx]; + f->f_defined = FALSE; ++ f->f_void = FALSE; + f->f_body = (char *) bc_malloc (BC_START_SIZE); + f->f_body_size = BC_START_SIZE; + f->f_code_size = 0; diff --git a/sys-devel/bc/metadata.xml b/sys-devel/bc/metadata.xml new file mode 100644 index 000000000000..56c124413057 --- /dev/null +++ b/sys-devel/bc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> +</maintainer> +</pkgmetadata> |