summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-01 11:14:57 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-01 11:14:57 +0000
commit7cc2fa97725814593c7cbe70ae32c4d372388d71 (patch)
tree95226960ccd9ecc83acff1c22bc31508265360c4 /app-shells/pdmenu
parentapp-laptop/i8kutils: Version BUmp, Correct HOMEPAGE, correct SRC_URI; respect... (diff)
downloadgentoo-2-7cc2fa97725814593c7cbe70ae32c4d372388d71.tar.gz
gentoo-2-7cc2fa97725814593c7cbe70ae32c4d372388d71.tar.bz2
gentoo-2-7cc2fa97725814593c7cbe70ae32c4d372388d71.zip
app-shells/pdmenu: Version BUmp, respect LDFLAGS, #337237; move to EAPI=4; fix implicit declarations
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'app-shells/pdmenu')
-rw-r--r--app-shells/pdmenu/ChangeLog10
-rw-r--r--app-shells/pdmenu/files/pdmenu-impl-dec.patch16
-rw-r--r--app-shells/pdmenu/metadata.xml6
-rw-r--r--app-shells/pdmenu/pdmenu-1.2.89.ebuild8
-rw-r--r--app-shells/pdmenu/pdmenu-1.2.95.ebuild30
-rw-r--r--app-shells/pdmenu/pdmenu-1.3.2.ebuild58
6 files changed, 109 insertions, 19 deletions
diff --git a/app-shells/pdmenu/ChangeLog b/app-shells/pdmenu/ChangeLog
index 9d610487a520..dc198d3da572 100644
--- a/app-shells/pdmenu/ChangeLog
+++ b/app-shells/pdmenu/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-shells/pdmenu
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/ChangeLog,v 1.16 2012/06/08 11:59:06 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/ChangeLog,v 1.17 2012/07/01 11:14:56 jlec Exp $
+
+*pdmenu-1.3.2 (01 Jul 2012)
+
+ 01 Jul 2012; Justin Lecher <jlec@gentoo.org> pdmenu-1.2.89.ebuild,
+ pdmenu-1.2.95.ebuild, +pdmenu-1.3.2.ebuild, +files/pdmenu-impl-dec.patch,
+ metadata.xml:
+ Version BUmp, respect LDFLAGS, #337237; move to EAPI=4; fix implicit
+ declarations
08 Jun 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> pdmenu-1.2.95.ebuild:
x86 stable wrt bug #418635
diff --git a/app-shells/pdmenu/files/pdmenu-impl-dec.patch b/app-shells/pdmenu/files/pdmenu-impl-dec.patch
new file mode 100644
index 000000000000..c0cd7ce3ac99
--- /dev/null
+++ b/app-shells/pdmenu/files/pdmenu-impl-dec.patch
@@ -0,0 +1,16 @@
+ src/actions.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/src/actions.c b/src/actions.c
+index d42a63a..1f5a0d1 100644
+--- a/src/actions.c
++++ b/src/actions.c
+@@ -30,6 +30,8 @@
+ #include <libintl.h>
+ #define _(String) gettext (String)
+
++#include <ctype.h>
++
+ /* Handle a control c by either exiting pdmenu or doing nothing. */
+ void Handle_Ctrl_C() {
+ if (Q_Exits) {
diff --git a/app-shells/pdmenu/metadata.xml b/app-shells/pdmenu/metadata.xml
index d9cd2cad66c2..91f4e72fb544 100644
--- a/app-shells/pdmenu/metadata.xml
+++ b/app-shells/pdmenu/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>maintainer-needed@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/app-shells/pdmenu/pdmenu-1.2.89.ebuild b/app-shells/pdmenu/pdmenu-1.2.89.ebuild
index 23c93861f1b5..308fdd954147 100644
--- a/app-shells/pdmenu/pdmenu-1.2.89.ebuild
+++ b/app-shells/pdmenu/pdmenu-1.2.89.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/pdmenu-1.2.89.ebuild,v 1.12 2011/02/06 22:02:01 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/pdmenu-1.2.89.ebuild,v 1.13 2012/07/01 11:14:56 jlec Exp $
DESCRIPTION="A simple console menu program"
HOMEPAGE="http://www.kitenet.net/programs/pdmenu/"
@@ -11,9 +11,11 @@ SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ~mips x86"
IUSE="nls gpm examples"
-DEPEND="sys-libs/slang
+DEPEND="
+ sys-libs/slang
gpm? ( sys-libs/gpm )
nls? ( sys-devel/gettext )"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
diff --git a/app-shells/pdmenu/pdmenu-1.2.95.ebuild b/app-shells/pdmenu/pdmenu-1.2.95.ebuild
index a37bbe57dc22..a4df96129b76 100644
--- a/app-shells/pdmenu/pdmenu-1.2.95.ebuild
+++ b/app-shells/pdmenu/pdmenu-1.2.95.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/pdmenu-1.2.95.ebuild,v 1.3 2012/06/08 11:59:06 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/pdmenu-1.2.95.ebuild,v 1.4 2012/07/01 11:14:56 jlec Exp $
+
+EAPI=4
+
+inherit eutils
DESCRIPTION="A simple console menu program"
HOMEPAGE="http://www.kitenet.net/programs/pdmenu/"
@@ -11,7 +15,8 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~mips x86"
IUSE="nls gpm examples"
-DEPEND="sys-libs/slang
+DEPEND="
+ sys-libs/slang
gpm? ( sys-libs/gpm )
nls? ( sys-devel/gettext )"
@@ -19,28 +24,29 @@ S=${WORKDIR}/${PN}
RESTRICT="test"
-src_compile() {
+src_prepare() {
+ sed \
+ -e 's:\(-o pdmenu\):$(LDFLAGS) \1:g' \
+ -i Makefile || die
+}
+
+src_configure() {
econf \
$(use_with gpm) \
- $(use_enable nls) \
- || die "econf failed"
-
- emake || die "emake failed"
+ $(use_enable nls)
}
src_install() {
+ dobin pdmenu
+
dodoc doc/ANNOUNCE doc/BUGS doc/TODO
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
+ use examples && doins -r examples
mv doc/pdmenu.man doc/pdmenu.1
mv doc/pdmenurc.man doc/pdmenurc.5
doman doc/pdmenu.1 doc/pdmenurc.5
- dobin pdmenu
}
pkg_postinst() {
diff --git a/app-shells/pdmenu/pdmenu-1.3.2.ebuild b/app-shells/pdmenu/pdmenu-1.3.2.ebuild
new file mode 100644
index 000000000000..938d7f0d61a6
--- /dev/null
+++ b/app-shells/pdmenu/pdmenu-1.3.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdmenu/pdmenu-1.3.2.ebuild,v 1.1 2012/07/01 11:14:57 jlec Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A simple console menu program"
+HOMEPAGE="http://www.kitenet.net/programs/pdmenu/"
+SRC_URI="mirror://debian/pool/main/p/pdmenu/pdmenu_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~x86"
+IUSE="nls gpm examples"
+
+DEPEND="
+ sys-libs/slang
+ gpm? ( sys-libs/gpm )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-impl-dec.patch
+ sed \
+ -e 's:\(-o pdmenu\):$(LDFLAGS) \1:g' \
+ -i Makefile || die
+}
+
+src_configure() {
+ econf \
+ $(use_with gpm) \
+ $(use_enable nls)
+}
+
+src_install() {
+ dobin pdmenu
+
+ dodoc doc/ANNOUNCE doc/BUGS doc/TODO
+
+ use examples && doins -r examples
+
+ mv doc/pdmenu.man doc/pdmenu.1
+ mv doc/pdmenurc.man doc/pdmenurc.5
+ doman doc/pdmenu.1 doc/pdmenurc.5
+
+}
+
+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!"
+}