* [gentoo-commits] repo/gentoo:master commit in: app-misc/mepl/, app-misc/mepl/files/
@ 2017-02-02 23:25 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2017-02-02 23:25 UTC (permalink / raw
To: gentoo-commits
commit: 4505a2104367d0bd605874e0883c2dfb1e5a99b5
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 2 22:58:42 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Feb 2 23:25:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4505a210
app-misc/mepl: EAPI 6 bump.
Package-Manager: portage-2.3.3
app-misc/mepl/files/gcc433.patch | 4 ++--
app-misc/mepl/mepl-0.45-r1.ebuild | 30 ++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch
index 821f133..0fd857a 100644
--- a/app-misc/mepl/files/gcc433.patch
+++ b/app-misc/mepl/files/gcc433.patch
@@ -1,5 +1,5 @@
---- mepl.c 2009-04-07 21:17:32.000000000 +0200
-+++ mepl.c.new 2009-04-07 21:16:48.000000000 +0200
+--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200
++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"
diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild b/app-misc/mepl/mepl-0.45-r1.ebuild
new file mode 100644
index 00000000..aa2c0ed
--- /dev/null
+++ b/app-misc/mepl/mepl-0.45-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
+HOMEPAGE="http://www.hof-berlin.de/mepl/"
+SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S="${WORKDIR}/${PN}${PV}"
+
+PATCHES=( "${FILESDIR}/gcc433.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en
+}
+
+src_install() {
+ dobin "${PN}" "${PN}mail"
+ insinto /etc
+ doins "${PN}.conf"
+ newman "${PN}.en" "${PN}.7"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/mepl/, app-misc/mepl/files/
@ 2017-02-02 23:25 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2017-02-02 23:25 UTC (permalink / raw
To: gentoo-commits
commit: 2092e830d45949bd1cb5d1e5091b01519cd803ac
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 2 23:00:33 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Feb 2 23:25:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2092e830
app-misc/mepl: rename patch.
Package-Manager: portage-2.3.3
app-misc/mepl/files/mepl-0.45-gcc433.patch | 16 ++++++++++++++++
app-misc/mepl/mepl-0.45-r1.ebuild | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/app-misc/mepl/files/mepl-0.45-gcc433.patch b/app-misc/mepl/files/mepl-0.45-gcc433.patch
new file mode 100644
index 00000000..0fd857a
--- /dev/null
+++ b/app-misc/mepl/files/mepl-0.45-gcc433.patch
@@ -0,0 +1,16 @@
+--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200
++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"
+ /* Version: @(#) mepl.c 0.45
+ Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200
+@@ -347,7 +347,7 @@
+ errz=0;
+ do {
+ error=0;
+- resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT); /* In Datei zwischenspeichern */
++ resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT,0600); /* In Datei zwischenspeichern */
+ sendstr(ATSENDMEM);
+ line[2]=0;
+ /* Erstes Zeichen suchen */
diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild b/app-misc/mepl/mepl-0.45-r1.ebuild
index aa2c0ed..2392f7e 100644
--- a/app-misc/mepl/mepl-0.45-r1.ebuild
+++ b/app-misc/mepl/mepl-0.45-r1.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~ppc ~x86"
S="${WORKDIR}/${PN}${PV}"
-PATCHES=( "${FILESDIR}/gcc433.patch" )
+PATCHES=( "${FILESDIR}/${P}-gcc433.patch" )
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-02 23:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-02 23:25 [gentoo-commits] repo/gentoo:master commit in: app-misc/mepl/, app-misc/mepl/files/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2017-02-02 23:25 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox