diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-01 11:14:57 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-01 11:14:57 +0000 |
commit | 2b1f4dcf6592e5cc3797cc856cef479bd25187cd (patch) | |
tree | d547e639f17bf1bcbb8e2a706d088ca010d22ce8 | |
parent | app-laptop/i8kutils: Version BUmp, Correct HOMEPAGE, correct SRC_URI; respect... (diff) | |
download | historical-2b1f4dcf6592e5cc3797cc856cef479bd25187cd.tar.gz historical-2b1f4dcf6592e5cc3797cc856cef479bd25187cd.tar.bz2 historical-2b1f4dcf6592e5cc3797cc856cef479bd25187cd.zip |
app-shells/pdmenu: Version BUmp, respect LDFLAGS, #337237; move to EAPI=4; fix implicit declarations
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
-rw-r--r-- | app-shells/pdmenu/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/pdmenu/Manifest | 20 | ||||
-rw-r--r-- | app-shells/pdmenu/files/pdmenu-impl-dec.patch | 16 | ||||
-rw-r--r-- | app-shells/pdmenu/metadata.xml | 6 | ||||
-rw-r--r-- | app-shells/pdmenu/pdmenu-1.2.89.ebuild | 8 | ||||
-rw-r--r-- | app-shells/pdmenu/pdmenu-1.2.95.ebuild | 30 | ||||
-rw-r--r-- | app-shells/pdmenu/pdmenu-1.3.2.ebuild | 58 |
7 files changed, 121 insertions, 27 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/Manifest b/app-shells/pdmenu/Manifest index 7399bb21b08f..5eb185873464 100644 --- a/app-shells/pdmenu/Manifest +++ b/app-shells/pdmenu/Manifest @@ -1,16 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 +AUX pdmenu-impl-dec.patch 400 RMD160 cbc62428410293767c96c3c55ffd43aee5b2d1a3 SHA1 997677eab55c9715d7270528d1614a89d61a9ad9 SHA256 6c48ddad85cac5989ef113e2194c83de4148cbac01a9f4fa07858460e02b1c36 DIST pdmenu_1.2.89.tar.gz 150140 RMD160 f83adf9a1322304725d46f368c1d987991879de4 SHA1 669f917a66be66b9e0595ce9309cce1978ca38e3 SHA256 8a0a6c35546920dbd368957fc4f63ecd1f3886de270d044cb2a574b6f07ee7a9 DIST pdmenu_1.2.95.tar.gz 154480 RMD160 573c0c9573fb3b23cab9733b9653e28a7d3d69f9 SHA1 8a1ef0aaf5bda08cd8f398438acec316ac3615c0 SHA256 bb1f1229e0e809050d4d4bf682e353cf0ad17b9be787468aaaf2b9feceda683d -EBUILD pdmenu-1.2.89.ebuild 1243 RMD160 8bcfa3dc250a3e1564959491259e7b5c038c2d5e SHA1 4b536c61b615c17aab991b799c635168b970dd21 SHA256 9e46f47509108ab3f3b4599a372e4c141d64a8a721a7b40dfdce2376dedf9ad3 -EBUILD pdmenu-1.2.95.ebuild 1249 RMD160 ad58452616862039c2dd9d5dd85d2512725abd51 SHA1 5e510087a787bbda257f0b818c3af38a4552f7b1 SHA256 783ad2572f461f16b6dfa841509f9c30720256d93f32171133678acb4172bcb2 -MISC ChangeLog 2061 RMD160 526dba9b229486c3ee02514421b49ceb63db8197 SHA1 6f0688f0dacd3f949ab02d2593b3f09f792e9895 SHA256 6e95b4d0872c0c6e73b17f0caa9df768f57091a36069c9f5e088fd66994dcc8d -MISC metadata.xml 210 RMD160 c9fe92a44d079ef04bcdd31de9867de5bb9f26e5 SHA1 efa00493ddec7289a21bc4cbcc6e95ec4de749d5 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 +DIST pdmenu_1.3.2.tar.gz 160083 RMD160 92c52543aaf2cc10a2fda263a545c5c9d1f328a0 SHA1 9eb3769b62ed304f7636d3caf45f985be7148ab8 SHA256 7a7b68d50851a4f0f42467d9c5ee74bdb42591e35687f97ad3d2c915f9607d90 +EBUILD pdmenu-1.2.89.ebuild 1265 RMD160 99ee5fed3265d3c6320dd2ee9b0c473cda14ee04 SHA1 832e6349875b85eb2b64f40a8b6f437f3efe8ef8 SHA256 cc2f6e2aa755e8c7c37edab1b228121c3e860bc817049137368c79b376953bc3 +EBUILD pdmenu-1.2.95.ebuild 1261 RMD160 b5523da8783a1c4e361056012a5e2f5e2536ded4 SHA1 aea02bdf38608fbfc5e76247c7125f0d4209a639 SHA256 b3f282657bc5f0d1fb8194a0eb1862253320add8293b0f18fad967e7113d8955 +EBUILD pdmenu-1.3.2.ebuild 1305 RMD160 d59600700db24cc580fbecb8fedd2e824cd69561 SHA1 75e1c1ef297e5daae52f5ad3ec854d5d7390f63c SHA256 6c5c98b2d13bed56cbba5e973d399abdf8ebd828da8fafbfaea4d935d0ee6fae +MISC ChangeLog 2332 RMD160 06374e7f6faf41a037d36b8db65160624fc2e393 SHA1 2038c144cbab09cedbbcfde96045aa2ef18d7df8 SHA256 fb96c8aa049eb529999c84021002daa9dc00623aef02915d3964537691544847 +MISC metadata.xml 214 RMD160 ea476e10a778f79d9273adbbc2403db67d025e10 SHA1 7f156558998e184ab8ea7417fd4739048f012a09 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) +Comment: GPGTools - http://gpgtools.org -iEYEAREKAAYFAk/R6RAACgkQuUQtlDBCeQI5hQCeLS0EBGAf4+3AiNjvEZkBztNk -Q3wAn1azbo+UmwqwE3yDoQO7L7BY7czz -=vYBn +iEYEAREKAAYFAk/wMTYACgkQgAnW8HDreRYLTgCfRq49KE9Y5c84Rr1BtaZgvomv +vPIAoM5sQZ/Jkf/iOOWDnA/lgbzu4gHz +=rruQ -----END PGP SIGNATURE----- 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!" +} |