summaryrefslogtreecommitdiff
path: root/app-shells/pdmenu
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/pdmenu')
-rw-r--r--app-shells/pdmenu/Manifest6
-rw-r--r--app-shells/pdmenu/metadata.xml4
-rw-r--r--app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild5
-rw-r--r--app-shells/pdmenu/pdmenu-1.3.6.ebuild61
4 files changed, 72 insertions, 4 deletions
diff --git a/app-shells/pdmenu/Manifest b/app-shells/pdmenu/Manifest
index 9b0721b7186e..7a3125d82c6b 100644
--- a/app-shells/pdmenu/Manifest
+++ b/app-shells/pdmenu/Manifest
@@ -1,4 +1,6 @@
AUX pdmenu-impl-dec.patch 400 BLAKE2B b3525ccfd012827225b62ffb1ffd47a5aefc9c2de0ec54e1829e43d067e8e68f46c1527ed6d39cbf9ff0d8ee2d32ea837fe74081f692bbaddc5420473adb6ad1 SHA512 9a676d9384b575466b28ece1ce84d346a6f193288ed686aea94bcebe8f73a0e38723590356cbe822e34644b5b103adab6317b654cfddc961a40b005bc0e0fb0a
+DIST pdmenu-1.3.6.tar.gz 160265 BLAKE2B 7b5a391e4f2ace71bbf7c9a9c184c997a8db91907d61dbcd79cda3112a5e6319942b3dc57bee19701b417a18689f57cb24f03bf38b9fcc064f3412ee175bef95 SHA512 2a930f98f49c3c94687fb403eb186ddc51fec67068c6b4b8dd6694cadb9fefb6802f878efe6e2caed62ddf68aeae36ec80fc9e56ca268021e32dee819f001fb5
DIST pdmenu_1.3.4.tar.gz 161002 BLAKE2B 51fb2d0384df4b545f908e081e87a1d7414b22a5c1d9e2dffb2ac5f7d4069c7e2e9de8a1bde459a1fed34c8159f37aff8ef20b69e4817e28f9730500b26e654d SHA512 2540b3040a799f4682de1014f8da750501000cef7080ea24b066a7e44971e33452a25e3885849bc47a156727641c4acb8d1268d3c16a2aab2cb37d510f50f3ad
-EBUILD pdmenu-1.3.4-r1.ebuild 1286 BLAKE2B ec59663b35b77ed3e50a8f8c15b659d696ba238526667aa6ae03304b20b11b791ff712d162ec3bd5d52fd76aae36d8c25d88ae83a5cdb32cc04c58edeaf5aadf SHA512 4bceb51b5c06a2501b6622bfa1633cc54d5987f46499ef29313e175ff4f948ae6aef94bccd5171f99a3a5c315257fe2fc06c5db65c1a07651130fa1c6dc28f43
-MISC metadata.xml 220 BLAKE2B eabf3517ba7e5b67320254eeb2b07adf1dbe0c3432b693973bc25a3e3dc8ed160b7313f9f8ae64d994ac272487b785f33202d9640bb5a7ace9f56ceb42978a19 SHA512 1db105eebacb6c7d44fd17746981e6e24badb2e81327410aa935a7603379cfcc8f3cf27dcf4e9d870cea2f73f6a15cf052e3e785205095ea9a93d72980ff71cc
+EBUILD pdmenu-1.3.4-r1.ebuild 1319 BLAKE2B 930a94cf2275468f8ede76876557bcda1de98c20be47fc777b0c022c48176abb19bb029442ce1e65f68a0cafeda94f56bd70c008b17f3806f414993e4522d5eb SHA512 e545a1e6cc7715573d688662ddca2dd52accf003a1bcd74f12f07bab3f3857fac8e88dc61d3078d9e508ab08e584b5a8473e6e57f36c024e2a6af63eabc35daa
+EBUILD pdmenu-1.3.6.ebuild 1258 BLAKE2B 064c6acbc5ad75d5b6fb1df8272bd99d22341b966f74ea5bed4ad4e51bdbbf650e50f481520cafa8e5074f7b2e49cc2a9e976e96c89d9167ae43f9dc59cbbfcd SHA512 ed96202357088a7fe59265181ff47a3505178e4d3fd61a61437fddbf2b1913addd219f24617623ecd49da988bcba3334af58368eea59fad9baa01e2a0242a080
+MISC metadata.xml 325 BLAKE2B abee1c792ef8cdafa35208bbf4ed127c4f9a0e1a6920073d445c015d38d00f1fd5fd7c81f10ce35a21892df2db2e06f6d17f5d7a739c0e812ea8110679d79d23 SHA512 6b34b8f7585eb4e22949c55d0204aab8a3843f34b75fe134e202531794b0433b148e128bc447630dad0a6726d037542530b54b4417512525d03c0284435e1e72
diff --git a/app-shells/pdmenu/metadata.xml b/app-shells/pdmenu/metadata.xml
index 294c350c6960..707bbf679d13 100644
--- a/app-shells/pdmenu/metadata.xml
+++ b/app-shells/pdmenu/metadata.xml
@@ -4,4 +4,8 @@
<maintainer type="person">
<email>monsieurp@gentoo.org</email>
</maintainer>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
</pkgmetadata>
diff --git a/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
index 55be86bd2f44..272e4ffc8e60 100644
--- a/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
+++ b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
DESCRIPTION="A simple console menu program"
HOMEPAGE="http://joeyh.name/code/pdmenu/"
@@ -37,6 +37,7 @@ src_prepare() {
}
src_configure() {
+ append-flags -fcommon
CC=$(tc-getCC) econf \
$(use_with gpm) \
$(use_enable nls)
diff --git a/app-shells/pdmenu/pdmenu-1.3.6.ebuild b/app-shells/pdmenu/pdmenu-1.3.6.ebuild
new file mode 100644
index 000000000000..68faa77355e3
--- /dev/null
+++ b/app-shells/pdmenu/pdmenu-1.3.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple console menu program"
+HOMEPAGE="http://joeyh.name/code/pdmenu/"
+SRC_URI="https://dev.gentoo.org/~bkohler/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="nls gpm examples"
+
+DEPEND="
+ sys-libs/slang
+ gpm? ( sys-libs/gpm )
+ nls? ( sys-devel/gettext )"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-impl-dec.patch
+)
+
+DOCS=( doc/ANNOUNCE doc/BUGS doc/TODO )
+
+src_prepare() {
+ default
+ sed \
+ -e 's:\(-o pdmenu\):$(LDFLAGS) \1:g' \
+ -i Makefile || die
+}
+
+src_configure() {
+ CC=$(tc-getCC) econf \
+ $(use_with gpm) \
+ $(use_enable nls)
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin "${PN}"
+ use examples && dodoc -r examples
+ mv "doc/${PN}.man" "doc/${PN}.1" || die
+ mv "doc/${PN}rc.man" "doc/${PN}rc.5" || die
+ doman "doc/${PN}.1" "doc/${PN}rc.5"
+ einstalldocs
+}
+
+pkg_postinst() {
+ ewarn "Note this part from man page: Security warning! Any exec command"
+ ewarn "that uses the 'edit' flag will be a security hole. The user need"
+ ewarn "only to enter text with a ';' in it, and they can run an"
+ ewarn "arbitrary command after the semicolon!"
+}