diff options
Diffstat (limited to 'app-misc/mepl')
-rw-r--r-- | app-misc/mepl/Manifest | 8 | ||||
-rw-r--r-- | app-misc/mepl/files/gcc433.patch | 16 | ||||
-rw-r--r-- | app-misc/mepl/files/mepl-0.45-gcc433.patch | 16 | ||||
-rw-r--r-- | app-misc/mepl/mepl-0.45-r1.ebuild | 29 | ||||
-rw-r--r-- | app-misc/mepl/mepl-0.45.ebuild | 35 | ||||
-rw-r--r-- | app-misc/mepl/metadata.xml | 5 |
6 files changed, 109 insertions, 0 deletions
diff --git a/app-misc/mepl/Manifest b/app-misc/mepl/Manifest new file mode 100644 index 000000000000..2d8a5c3d9039 --- /dev/null +++ b/app-misc/mepl/Manifest @@ -0,0 +1,8 @@ +AUX gcc433.patch 600 SHA256 221c907c715b94efbc0845398700d7d9b140c799ca3e91697438ff111fd6dc30 SHA512 847c3006e2afc2fd0bd5cd614b8893d8b3bd8ebb2ff39662e3f0e38945220609843d1e6d072d1ffc168192e04160a7da7c579e59d7467527f75e9395e9ff0f12 WHIRLPOOL 36f8d726564b94b53032876f9f1e06f5c7ef9762aa8b39b149e97e77833e527110b71f7d6dcecaf91db1d401281fe023b0589d2e22ace63bf3ef42240fbf4964 +AUX mepl-0.45-gcc433.patch 600 SHA256 221c907c715b94efbc0845398700d7d9b140c799ca3e91697438ff111fd6dc30 SHA512 847c3006e2afc2fd0bd5cd614b8893d8b3bd8ebb2ff39662e3f0e38945220609843d1e6d072d1ffc168192e04160a7da7c579e59d7467527f75e9395e9ff0f12 WHIRLPOOL 36f8d726564b94b53032876f9f1e06f5c7ef9762aa8b39b149e97e77833e527110b71f7d6dcecaf91db1d401281fe023b0589d2e22ace63bf3ef42240fbf4964 +DIST mepl0.45.tar.gz 18968 SHA256 2a42634428ac6f54536ca40f05417babf5f27c7a2821b77a21d84cc1627ca62b SHA512 679ac7548f6a4870164410db403d9fb8a18d7daa651a29d8e0dd87d8d3fdf1f9e8d381513ab922188951eba0798b1d32eadceafa117236ff54ef3e645d876c1e WHIRLPOOL c1c49075c186ce5228664510df84909d356950d5aea9aa80777ea5285c3e06dd95a27d3000fbe63555ed4e772c151dc56902f4ea7b50581beb6afbd552d1ea31 +EBUILD mepl-0.45-r1.ebuild 657 SHA256 ecd21f46cb5db71eb9a8b27752b2bab6960de72dac952d2ccd1f9d46d366b22a SHA512 959ea71379351ceb1503b92ef6b39b0a10aff5887d836ec1ab1ad66f2c03c66d4dc415ee6426b0c2c05a9891577712bbd3a55bbb5c0e8febb45bbdef25e4f782 WHIRLPOOL 020af52ddf03a7216f5053c748073930754becd4205bfa1cb5318b2e2ffc199235ed2fe8735a80280601b2eea1296ef380c843a277fc2b0ac49c4a051b1834af +EBUILD mepl-0.45.ebuild 705 SHA256 78525123e8c46d51a9891360a1b35b9b3d5eb156454351f71cf972d6881efbe2 SHA512 fb99c7571dc976fd826ddf6e5b96ce809aa3809772bfad7d1c9cbc4602f742fffc1c3434f9afd1d10575ebfd7898c438b35bd4c97c74990155682a7b16fd218e WHIRLPOOL 4d2f1b2644cf91ca7fdfac6c0760591c9448284aea991b5dad4a8ed04e6058050d327d6606ba31a9de15e33fdba1fa893037b24116df9b680df3d60456464d6b +MISC ChangeLog 2532 SHA256 603c383228bce01a5d0124e7e682ea5e54e70554090463ab73da569bb02e4346 SHA512 12fd5809dee8aa4d6d498b67a1027eb324c02c1cd5f5a780a4127d14bd410d6ca19af444bf9f3cc1c277830049e7a22c2399e13137b27b00e6db8d5256393000 WHIRLPOOL 60f3598e36f475072be5f205e40d9f2f197935c84783ee1b20428399418153651b98110e2f0230c514420836106b59e0745ce09746acb408ccf084af6c68fdc0 +MISC ChangeLog-2015 1623 SHA256 8c819233ba93f233c2b732ee1385247b79b40519b05b4f7931960173ffcc1370 SHA512 20260d543a3e8581c71c2a1612659087ac0ef171ffffc47852fa49be6597a841e5fd45b583588f8a947a3159dfccb3dfd0a9220ef382961742bde8a496452449 WHIRLPOOL fcb9a1bfafce639782806dfe32b329bbc380856f5ec16c53573f86c7ec49232d07f6eb1e3ff2c3eed529a4647528131e9379025538acf0b434e15ced38837f31 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch new file mode 100644 index 000000000000..0fd857a9ae30 --- /dev/null +++ b/app-misc/mepl/files/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/files/mepl-0.45-gcc433.patch b/app-misc/mepl/files/mepl-0.45-gcc433.patch new file mode 100644 index 000000000000..0fd857a9ae30 --- /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 new file mode 100644 index 000000000000..65c2b5cb7bf8 --- /dev/null +++ b/app-misc/mepl/mepl-0.45-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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}/${P}-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" +} diff --git a/app-misc/mepl/mepl-0.45.ebuild b/app-misc/mepl/mepl-0.45.ebuild new file mode 100644 index 000000000000..77d7acf80473 --- /dev/null +++ b/app-misc/mepl/mepl-0.45.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils 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" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${PN}${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/gcc433.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\"\ + ${LDFLAGS}" en || die +} + +src_install() { + dobin mepl meplmail || die + insinto /etc + doins mepl.conf + newman mepl.en mepl.7 +} diff --git a/app-misc/mepl/metadata.xml b/app-misc/mepl/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-misc/mepl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |