[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2024-01-05 Thread Conrad Kostecki
commit: a231f86302b22cca69431a2cddbc34cea6802920
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Jan  5 20:29:48 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Jan  5 20:30:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a231f863

net-dialup/mgetty: fix tests to run on posix

Closes: https://bugs.gentoo.org/889744
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index 672f3198a356..13af2110daec 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -65,6 +65,9 @@ src_prepare() {
-e 's:^CFLAGS=:CFLAGS+= -I..:g' \
-e 's:^RANLIB=:RANLIB?=:g' \
*/Makefile || die
+
+   # Use POSIX compatible commands
+   sed -e 's/echo -e/printf %b/g' -i  Makefile || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2022-07-29 Thread Conrad Kostecki
commit: d27ec7a6abf075f14c903d8954533c732a81e08c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Jul 29 19:05:25 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Jul 29 19:05:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d27ec7a6

net-dialup/mgetty: filter lto

Closes: https://bugs.gentoo.org/861266
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index aa800a81c5a3..bc8dcaa55114 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -71,6 +71,7 @@ src_configure() {
tc-export AR CC RANLIB
use fidonet && append-cppflags "-DFIDO"
append-cppflags "-DAUTO_PPP"
+   filter-lto
 
sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-e 's:var/log/sendfax:var/log/mgetty/sendfax:' \



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2022-05-18 Thread Yixun Lan
commit: 7cd5c5d74254589d7dbedd632c6745c68ea084b4
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed May 18 22:52:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu May 19 00:52:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd5c5d7

net-dialup/mgetty: keyword 1.2.1-r4 for ~riscv

Signed-off-by: Yixun Lan  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index 683aac2bf3a8..aa800a81c5a3 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/, net-dialup/mgetty/files/

2022-05-18 Thread Conrad Kostecki
commit: 88dd8dafe95fbb793523183a50013a5122bc393a
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed May 18 21:10:54 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed May 18 21:10:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88dd8daf

net-dialup/mgetty: add riscv patch

Closes: https://bugs.gentoo.org/844955
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch | 11 +++
 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch 
b/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch
new file mode 100644
index ..b57a04365e71
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch
@@ -0,0 +1,11 @@
+diff -U3 -r a/mgetty.h b/mgetty.h
+--- a/mgetty.h
 b/mgetty.h
+@@ -198,7 +198,7 @@
+  */
+ #if defined(__alpha__) || defined(__sparc64__) || \
+   defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
+-  defined(__powerpc64__) || defined(__aarch64__)
++  defined(__powerpc64__) || defined(__aarch64__) || (defined(__riscv) 
&& __riscv_xlen == 64)
+ # define PTR_IS_LONG
+ #endif

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index 8ccbf6fb0ed1..683aac2bf3a8 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
"${FILESDIR}"/${PN}-1.2.1-gentoo.patch
"${FILESDIR}"/${PN}-1.2.1-aarch64.patch
+   "${FILESDIR}"/${PN}-1.2.1-riscv64.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-07-05 Thread Marek Szuba
commit: ecf1caa704162d36cab18c28d7af6d30ab3eea4b
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul  5 11:49:37 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul  5 13:24:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf1caa7

net-dialup/mgetty: keyword 1.2.1-r3 for -riscv

Fails to compile - multiple "initializer element is not constant) errors
in conf_mg.c. Also quite a lot of "cast from pointer to integer of
different size" warnings in same which might or might not cause run-time
problems even if this did compile.

Signed-off-by: Marek Szuba  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index a02a5ad1b86..7e4e261c8da 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 
sparc x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-04-22 Thread Conrad Kostecki
commit: 642cc469bc0f065483e3c0bc1ae42f1001007b6c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Apr 22 18:51:45 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Apr 22 18:52:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642cc469

net-dialup/mgetty: arm64 stable

Tested on a arm64 box and seems to work.

Bug: https://bugs.gentoo.org/750443
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index 178f1f43d6a..a02a5ad1b86 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-04-05 Thread Conrad Kostecki
commit: d3a6f01db9041f6d97a026cf417c0a3feaeea837
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Apr  5 22:31:09 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Apr  5 22:31:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a6f01d

net-dialup/mgetty: drop old version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 178 ---
 1 file changed, 178 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
deleted file mode 100644
index 6d00377e582..000
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic toolchain-funcs user
-
-DESCRIPTION="fax and voice modem programs"
-HOMEPAGE="http://mgetty.greenie.net/;
-SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${P}.tar.gz;
-
-DEPEND="
-   dev-lang/perl
-   sys-apps/groff
-   sys-apps/texinfo
-   virtual/awk
-   fax? (
-   !net-misc/efax
-   !net-misc/hylafax
-   )
-"
-RDEPEND="${DEPEND}
-   fax? ( media-libs/netpbm app-text/ghostscript-gpl )
-"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-IUSE="+fax fidonet split-usr"
-
-pkg_setup() {
-   enewgroup fax
-   enewuser fax -1 -1 /dev/null fax
-}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.36-callback.patch
-   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
-   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
-   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
-   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
-)
-
-src_prepare() {
-   default
-
-   chmod +x mkidirs || die
-
-   # don't install fax related files - bug #195467
-   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
-
-   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
-   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
-
-   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
-   -i doc/Makefile || die 'first sed on doc/Makefile failed'
-
-   sed -i \
-   -e 's:^CC=:CC?=:g' \
-   -e 's:^CFLAGS=:CFLAGS?=:g' \
-   {,*/}Makefile || die
-   sed -i \
-   -e 's:^AR=:AR?=:g' \
-   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
-   -e 's:^RANLIB=:RANLIB?=:g' \
-   */Makefile || die
-}
-
-src_configure() {
-   tc-export AR CC RANLIB
-   use fidonet && append-cppflags "-DFIDO"
-   append-cppflags "-DAUTO_PPP"
-
-   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
-   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
-   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
-   policy.h-dist > policy.h || die 'creating policy.h failed'
-
-   sed -i \
-   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
-   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
-   {,fax/}Makefile || die
-}
-
-src_compile() {
-   local target
-   for target in mgetty sedscript all vgetty;do
-   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
-   CONFDIR=/etc/mgetty+sendfax \
-   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   ${target}
-   done
-}
-
-src_install() {
-   # parallelization issue: vgetty-install target fails if install target
-   #isn't finished
-   local target
-   for target in install "vgetty-install install-callback"; do
-   emake prefix="${D}/usr" \
-   INFODIR="${D}/usr/share/info" \
-   CONFDIR="${D}/etc/mgetty+sendfax" \
-   MAN1DIR="${D}/usr/share/man/man1" \
-   MAN4DIR="${D}/usr/share/man/man4" \
-   MAN5DIR="${D}/usr/share/man/man5" \
-   MAN8DIR="${D}/usr/share/man/man8" \
-   SBINDIR="${D}/usr/sbin" \
-   BINDIR="${D}/usr/bin" \
-   VOICE_DIR="${D}/var/spool/voice" \
-   PHONE_GROUP=fax \
-   PHONE_PERMS=755 \
-   spool="${D}/var/spool" \
-   ${target}
-   done
-
-   keepdir /var/log/mgetty
-
-   #Install mgetty into /sbin (#119078)
-   if use split-usr; then
-   dodir /sbin
-   mv 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-31 Thread Sergei Trofimovich
commit: f256716117a610734edb58a4f813f7540a6591e4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Mar 31 15:02:32 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Mar 31 15:25:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2567161

net-dialup/mgetty: stable 1.2.1-r3 for sparc, bug #779433

Package-Manager: Portage-3.0.17, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index b0142154c53..178f1f43d6a 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-30 Thread Sam James
commit: d8c755eca9293da124d34a7f366a72cb980706f0
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:23:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:23:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c755ec

net-dialup/mgetty: Stabilize 1.2.1-r3 arm, #779433

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index 6853b313d5e..b0142154c53 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-30 Thread Sam James
commit: 4c0ac2e03d083705329baefc923b7d46ecd1b34c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 02:22:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 02:22:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0ac2e0

net-dialup/mgetty: Stabilize 1.2.1-r3 amd64, #779433

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index 2b28a60b9c5..6853b313d5e 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-30 Thread Sam James
commit: 3bf777679f27b5cb4c0fc77642b26720dde2ef65
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 30 22:05:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 30 22:05:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf77767

net-dialup/mgetty: Stabilize 1.2.1-r3 ppc64, #779433

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index 146d7eac27d..c572bfbe34a 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc 
x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-30 Thread Sam James
commit: 3961b8e5da4c9baf017279b6cff79ecdbcf218e7
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 30 22:05:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 30 22:05:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3961b8e5

net-dialup/mgetty: Stabilize 1.2.1-r3 ppc, #779433

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index c572bfbe34a..2b28a60b9c5 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-03-30 Thread Sam James
commit: 47fdbc799e963b87089694aeca306e332ec1b6e7
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 30 22:03:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 30 22:03:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fdbc79

net-dialup/mgetty: Stabilize 1.2.1-r3 x86, #779433

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
index 4f812a8d398..146d7eac27d 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
 IUSE="+fax fidonet split-usr"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/files/

2021-03-01 Thread Conrad Kostecki
commit: 697a59402c1d5f411c483b5f77c38c14083e81ea
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Mar  1 10:53:01 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Mar  1 10:53:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697a5940

net-dialup/mgetty: add missing systemd unit

Closes: https://bugs.gentoo.org/773490
Closes: https://bugs.gentoo.org/773514
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/files/mgetty.service | 12 
 1 file changed, 12 insertions(+)

diff --git a/net-dialup/mgetty/files/mgetty.service 
b/net-dialup/mgetty/files/mgetty.service
new file mode 100644
index 000..2ca018ed49f
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Smart Modem Getty
+Documentation=man:mgetty(8)
+
+[Service]
+ExecStart=/usr/sbin/mgetty /dev/%i
+Restart=always
+PIDFile=/run/mgetty.%i.pid
+Type=simple
+
+[Install]
+WantedBy=multi-user.target



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/, net-dialup/mgetty/files/

2021-02-28 Thread Conrad Kostecki
commit: e77c55978265b1f8ab7d4919f3a16a9c6f624e97
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 28 20:55:21 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 28 20:56:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e77c5597

net-dialup/mgetty: drop old version

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/files/Lucent.c.patch   |  17 ---
 net-dialup/mgetty/mgetty-1.2.1-r2.ebuild | 178 ---
 2 files changed, 195 deletions(-)

diff --git a/net-dialup/mgetty/files/Lucent.c.patch 
b/net-dialup/mgetty/files/Lucent.c.patch
deleted file mode 100644
index 35b4b3e0b61..000
--- a/net-dialup/mgetty/files/Lucent.c.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Nru mgetty-1.1.31.orig/voice/libvoice/Lucent.c 
mgetty-1.1.31/voice/libvoice/Lucent.c
 mgetty-1.1.31.orig/voice/libvoice/Lucent.c 2004-11-20 16:13:01.0 
-0500
-+++ mgetty-1.1.31/voice/libvoice/Lucent.c  2004-11-20 16:39:11.0 
-0500
-@@ -96,6 +96,13 @@
-  if (voice_command("AT+VLS=0", "OK") != VMA_USER_1)
-   lprintf(L_WARN, "can't deselect all input/output devices");
- 
-+ /* the Lucent chips DO support Caller ID, this command is OK */
-+ /* Just borrowed from the V253modem.c file */
-+ /* enable callerid (if supported) and setformat */
-+ if (voice_command("AT+VCID=1", "OK") != VMA_USER_1)
-+  lprintf(L_WARN, "can't set caller ID output"); 
-+ /* mgetty supports formated callerid output */
-+
-  voice_modem_state = IDLE;
-  return(OK);
-  }

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild
deleted file mode 100644
index 7e6986ebec4..000
--- a/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="A programm for sending and receiving fax and voice"
-HOMEPAGE="http://mgetty.greenie.net/;
-SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/$(ver_cut 1-2)/${P}.tar.gz"
-
-DEPEND="
-   dev-lang/perl
-   sys-apps/groff
-   sys-apps/texinfo
-   virtual/awk
-   fax? ( !net-misc/efax )
-"
-
-RDEPEND="
-   ${DEPEND}
-   acct-group/fax
-   acct-user/fax
-   fax? (
-   app-text/ghostscript-gpl
-   media-libs/netpbm
-   )
-"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
-IUSE="+fax fidonet split-usr"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.36-callback.patch
-   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
-   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
-   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
-   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
-)
-
-src_prepare() {
-   default
-
-   chmod +x mkidirs || die
-
-   # don't install fax related files - bug #195467
-   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
-
-   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
-   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
-
-   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
-   -i doc/Makefile || die 'first sed on doc/Makefile failed'
-
-   sed -i \
-   -e 's:^CC=:CC?=:g' \
-   -e 's:^CFLAGS=:CFLAGS?=:g' \
-   {,*/}Makefile || die
-   sed -i \
-   -e 's:^AR=:AR?=:g' \
-   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
-   -e 's:^RANLIB=:RANLIB?=:g' \
-   */Makefile || die
-}
-
-src_configure() {
-   tc-export AR CC RANLIB
-   use fidonet && append-cppflags "-DFIDO"
-   append-cppflags "-DAUTO_PPP"
-
-   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
-   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
-   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
-   policy.h-dist > policy.h || die 'creating policy.h failed'
-
-   sed -i \
-   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
-   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
-   {,fax/}Makefile || die
-}
-
-src_compile() {
-   local target
-   for target in mgetty sedscript all vgetty;do
-   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
-   CONFDIR=/etc/mgetty+sendfax \
-   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   ${target}
-   done
-}
-
-src_install() {
-   

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/files/, net-dialup/mgetty/

2021-02-28 Thread Conrad Kostecki
commit: eb8a4f413735a6fa810fd89793a45ad387aac1c0
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 28 20:51:43 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 28 20:51:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8a4f41

net-dialup/mgetty: add systemd unit

Also added missing patch for arm64.

Closes: https://bugs.gentoo.org/546610
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/files/mgetty-1.2.1-aarch64.patch |  11 ++
 net-dialup/mgetty/mgetty-1.2.1-r3.ebuild   | 181 +
 2 files changed, 192 insertions(+)

diff --git a/net-dialup/mgetty/files/mgetty-1.2.1-aarch64.patch 
b/net-dialup/mgetty/files/mgetty-1.2.1-aarch64.patch
new file mode 100644
index 000..9d3b9cbc963
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.2.1-aarch64.patch
@@ -0,0 +1,11 @@
+diff -U3 -r a/mgetty.h b/mgetty.h
+--- a/mgetty.h 2006-01-01 12:13:18.0 -0500
 b/mgetty.h 2018-01-13 12:53:00.337516215 -0500
+@@ -198,7 +198,7 @@
+  */
+ #if defined(__alpha__) || defined(__sparc64__) || \
+   defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
+-  defined(__powerpc64__)
++  defined(__powerpc64__) || defined(__aarch64__)
+ # define PTR_IS_LONG
+ #endif

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
new file mode 100644
index 000..4f812a8d398
--- /dev/null
+++ b/net-dialup/mgetty/mgetty-1.2.1-r3.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic systemd toolchain-funcs
+
+DESCRIPTION="A programm for sending and receiving fax and voice"
+HOMEPAGE="http://mgetty.greenie.net/;
+SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/$(ver_cut 1-2)/${P}.tar.gz"
+
+DEPEND="
+   dev-lang/perl
+   sys-apps/groff
+   sys-apps/texinfo
+   virtual/awk
+   fax? ( !net-misc/efax )
+"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/fax
+   acct-user/fax
+   fax? (
+   app-text/ghostscript-gpl
+   media-libs/netpbm
+   )
+"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+IUSE="+fax fidonet split-usr"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.36-callback.patch
+   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
+   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
+   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
+   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
+   "${FILESDIR}"/${PN}-1.2.1-aarch64.patch
+)
+
+src_prepare() {
+   default
+
+   chmod +x mkidirs || die
+
+   # don't install fax related files - bug #195467
+   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
+
+   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
+   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
+
+   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
+   -i doc/Makefile || die 'first sed on doc/Makefile failed'
+
+   sed -i \
+   -e 's:^CC=:CC?=:g' \
+   -e 's:^CFLAGS=:CFLAGS?=:g' \
+   {,*/}Makefile || die
+   sed -i \
+   -e 's:^AR=:AR?=:g' \
+   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
+   -e 's:^RANLIB=:RANLIB?=:g' \
+   */Makefile || die
+}
+
+src_configure() {
+   tc-export AR CC RANLIB
+   use fidonet && append-cppflags "-DFIDO"
+   append-cppflags "-DAUTO_PPP"
+
+   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
+   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
+   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
+   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
+   policy.h-dist > policy.h || die 'creating policy.h failed'
+
+   sed -i \
+   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
+   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
+   {,fax/}Makefile || die
+}
+
+src_compile() {
+   local target
+   for target in mgetty sedscript all vgetty;do
+   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
+   CONFDIR=/etc/mgetty+sendfax \
+   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   ${target}
+   done
+}
+
+src_install() {
+   # parallelization issue: vgetty-install target fails if install target
+   #isn't finished
+   local target
+   for target in install "vgetty-install install-callback"; do
+   emake 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-02-27 Thread Conrad Kostecki
commit: f339f6230dbda145cbc82a37c03ec8e7862b9315
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Feb 27 23:54:21 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Feb 27 23:59:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f339f623

net-dialup/mgetty: migrate to GLEP 81

Also bumped to EAPI=7 and removed some blocked on old removed packages.
Added ~arm64 keyword.

Closes: https://bugs.gentoo.org/773169
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r2.ebuild | 178 +++
 1 file changed, 178 insertions(+)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild
new file mode 100644
index 000..7e6986ebec4
--- /dev/null
+++ b/net-dialup/mgetty/mgetty-1.2.1-r2.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A programm for sending and receiving fax and voice"
+HOMEPAGE="http://mgetty.greenie.net/;
+SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/$(ver_cut 1-2)/${P}.tar.gz"
+
+DEPEND="
+   dev-lang/perl
+   sys-apps/groff
+   sys-apps/texinfo
+   virtual/awk
+   fax? ( !net-misc/efax )
+"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/fax
+   acct-user/fax
+   fax? (
+   app-text/ghostscript-gpl
+   media-libs/netpbm
+   )
+"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+IUSE="+fax fidonet split-usr"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.36-callback.patch
+   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
+   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
+   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
+   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
+)
+
+src_prepare() {
+   default
+
+   chmod +x mkidirs || die
+
+   # don't install fax related files - bug #195467
+   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
+
+   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
+   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
+
+   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
+   -i doc/Makefile || die 'first sed on doc/Makefile failed'
+
+   sed -i \
+   -e 's:^CC=:CC?=:g' \
+   -e 's:^CFLAGS=:CFLAGS?=:g' \
+   {,*/}Makefile || die
+   sed -i \
+   -e 's:^AR=:AR?=:g' \
+   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
+   -e 's:^RANLIB=:RANLIB?=:g' \
+   */Makefile || die
+}
+
+src_configure() {
+   tc-export AR CC RANLIB
+   use fidonet && append-cppflags "-DFIDO"
+   append-cppflags "-DAUTO_PPP"
+
+   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
+   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
+   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
+   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
+   policy.h-dist > policy.h || die 'creating policy.h failed'
+
+   sed -i \
+   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
+   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
+   {,fax/}Makefile || die
+}
+
+src_compile() {
+   local target
+   for target in mgetty sedscript all vgetty;do
+   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
+   CONFDIR=/etc/mgetty+sendfax \
+   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   ${target}
+   done
+}
+
+src_install() {
+   # parallelization issue: vgetty-install target fails if install target
+   #isn't finished
+   local target
+   for target in install "vgetty-install install-callback"; do
+   emake prefix="${D}/usr" \
+   INFODIR="${D}/usr/share/info" \
+   CONFDIR="${D}/etc/mgetty+sendfax" \
+   MAN1DIR="${D}/usr/share/man/man1" \
+   MAN4DIR="${D}/usr/share/man/man4" \
+   MAN5DIR="${D}/usr/share/man/man5" \
+   MAN8DIR="${D}/usr/share/man/man8" \
+   SBINDIR="${D}/usr/sbin" \
+   BINDIR="${D}/usr/bin" \
+   VOICE_DIR="${D}/var/spool/voice" \
+   PHONE_GROUP=fax \
+   PHONE_PERMS=755 \
+   spool="${D}/var/spool" \
+   ${target}
+   done
+
+   keepdir /var/log/mgetty
+
+  

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-02-27 Thread Conrad Kostecki
commit: 70989d2866486ac2626009213949d2ed674ed08d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Feb 27 23:58:53 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Feb 27 23:59:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70989d28

net-dialup/mgetty: add myself as maintainer

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-dialup/mgetty/metadata.xml | 20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/net-dialup/mgetty/metadata.xml b/net-dialup/mgetty/metadata.xml
index d1a981dc957..d2d4288847e 100644
--- a/net-dialup/mgetty/metadata.xml
+++ b/net-dialup/mgetty/metadata.xml
@@ -1,11 +1,17 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-Suite of programs that allows you to take full advantage of 
your voice/fax modem.
-mgetty is capable of handling data, fax and voice calls without interfering 
with outgoing calls.
-
-   Enables fax support
-   Enables FidoNet support
-
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   
+   
+   Suite of programs that allows you to take full advantage
+   of your voice/fax modem. Mgetty is capable of handling data,
+   fax and voice calls without interfering with outgoing calls.
+   
+   
+   Enables fax support
+   Enables FidoNet support
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-07 Thread Sam James
commit: 80240db7a8485055b7ca9f8e3b67255c3522c802
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 18:58:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 18:58:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80240db7

net-dialup/mgetty: cleanup old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 176 --
 1 file changed, 176 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
deleted file mode 100644
index d577aeb14a3..000
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic toolchain-funcs user
-
-DESCRIPTION="fax and voice modem programs"
-HOMEPAGE="http://mgetty.greenie.net/;
-SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${P}.tar.gz;
-
-DEPEND="
-   >=sys-apps/sed-4
-   sys-apps/groff
-   dev-lang/perl
-   sys-apps/texinfo
-   virtual/awk
-   fax? (
-   !net-misc/efax
-   !net-misc/hylafax
-   )
-"
-RDEPEND="${DEPEND}
-   fax? ( media-libs/netpbm app-text/ghostscript-gpl )
-"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
-IUSE="+fax fidonet"
-
-pkg_setup() {
-   enewgroup fax
-   enewuser fax -1 -1 /dev/null fax
-}
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.36-callback.patch
-   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
-   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
-   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
-   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
-)
-
-src_prepare() {
-   default
-
-   chmod +x mkidirs
-
-   # don't install fax related files - bug #195467
-   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
-
-   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
-   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
-
-   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
-   -i doc/Makefile || die 'first sed on doc/Makefile failed'
-
-   sed -i \
-   -e 's:^CC=:CC?=:g' \
-   -e 's:^CFLAGS=:CFLAGS?=:g' \
-   {,*/}Makefile || die
-   sed -i \
-   -e 's:^AR=:AR?=:g' \
-   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
-   -e 's:^RANLIB=:RANLIB?=:g' \
-   */Makefile || die
-}
-
-src_configure() {
-   tc-export AR CC RANLIB
-   use fidonet && append-cppflags "-DFIDO"
-   append-cppflags "-DAUTO_PPP"
-
-   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
-   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
-   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
-   policy.h-dist > policy.h || die 'creating policy.h failed'
-
-   sed -i \
-   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
-   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
-   {,fax/}Makefile || die
-}
-
-src_compile() {
-   local target
-   for target in mgetty sedscript all vgetty;do
-   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
-   CONFDIR=/etc/mgetty+sendfax \
-   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   ${target}
-   done
-}
-
-src_install() {
-   # parallelization issue: vgetty-install target fails if install target
-   #isn't finished
-   local target
-   for target in install "vgetty-install install-callback"; do
-   emake prefix="${D}/usr" \
-   INFODIR="${D}/usr/share/info" \
-   CONFDIR="${D}/etc/mgetty+sendfax" \
-   MAN1DIR="${D}/usr/share/man/man1" \
-   MAN4DIR="${D}/usr/share/man/man4" \
-   MAN5DIR="${D}/usr/share/man/man5" \
-   MAN8DIR="${D}/usr/share/man/man8" \
-   SBINDIR="${D}/usr/sbin" \
-   BINDIR="${D}/usr/bin" \
-   VOICE_DIR="${D}/var/spool/voice" \
-   PHONE_GROUP=fax \
-   PHONE_PERMS=755 \
-   spool="${D}/var/spool" \
-   ${target}
-   done
-
-   keepdir /var/log/mgetty
-
-   #Install mgetty into /sbin (#119078)
-   dodir /sbin && \
-   mv "${D}"/usr/sbin/mgetty "${D}"/sbin && \
-   dosym 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-07 Thread Sam James
commit: f01ca486b477fb7167f7e4746c67023e8fb98cf9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 18:57:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 18:57:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01ca486

net-dialup/mgetty: Stabilize 1.2.1-r1 ppc64, #763366

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 372bd5150ef..7ebadecad3d 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-07 Thread Sam James
commit: da6b7c4947a37b3698fb97163e72c25a6236724e
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 10:08:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 10:09:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6b7c49

net-dialup/mgetty: Stabilize 1.2.1-r1 ppc, #763366

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 1f3164f4a45..372bd5150ef 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 s390 sparc x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-06 Thread Sergei Trofimovich
commit: acf5fd1dbadffee70ebd5a7afaea8552b1350c16
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jan  6 16:19:03 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan  6 17:34:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf5fd1d

net-dialup/mgetty: stable 1.2.1-r1 for sparc, bug #763366

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 751dbb8794a..e6b8d6b72be 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 sparc ~x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-03 Thread Sam James
commit: b80566337f3963f6ac5376dcce24cc1ea6ba02dc
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 04:53:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 04:53:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8056633

net-dialup/mgetty: Stabilize 1.2.1-r1 s390, #763366

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 0e88f1c78e5..751dbb8794a 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sparc ~x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-03 Thread Sam James
commit: 59f51c4cc9baea4232928b5502f15fab757e883a
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 01:32:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 01:32:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f51c4c

net-dialup/mgetty: Stabilize 1.2.1-r1 arm, #763366

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 9306077dd98..0e88f1c78e5 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2021-01-03 Thread Sam James
commit: cd44f59f9e85954475b810fe5810e39c3984c7de
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 01:30:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 01:30:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd44f59f

net-dialup/mgetty: Stabilize 1.2.1-r1 amd64, #763366

Signed-off-by: Sam James  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
index 48a806daa72..9306077dd98 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="+fax fidonet split-usr"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-08-01 Thread Joonas Niilola
commit: 032f54df1ef7a27bb5e86e823c65c8bf68b3f789
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Wed Jul 31 22:01:02 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Aug  1 06:07:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032f54df

net-dialup/mgetty: add support for /usr merge

Closes: https://bugs.gentoo.org/690362
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12493
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 178 +++
 1 file changed, 178 insertions(+)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
new file mode 100644
index 000..a188806c1cf
--- /dev/null
+++ b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic toolchain-funcs user
+
+DESCRIPTION="fax and voice modem programs"
+HOMEPAGE="http://mgetty.greenie.net/;
+SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${P}.tar.gz;
+
+DEPEND="
+   dev-lang/perl
+   sys-apps/groff
+   sys-apps/texinfo
+   virtual/awk
+   fax? (
+   !net-misc/efax
+   !net-misc/hylafax
+   )
+"
+RDEPEND="${DEPEND}
+   fax? ( media-libs/netpbm app-text/ghostscript-gpl )
+"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86"
+IUSE="+fax fidonet split-usr"
+
+pkg_setup() {
+   enewgroup fax
+   enewuser fax -1 -1 /dev/null fax
+}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.36-callback.patch
+   "${FILESDIR}"/${PN}-1.1.36-tmpfile.patch
+   "${FILESDIR}"/${PN}-1.1.37-qa-fixes.patch
+   "${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
+   "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
+)
+
+src_prepare() {
+   default
+
+   chmod +x mkidirs || die
+
+   # don't install fax related files - bug #195467
+   use fax || eapply "${FILESDIR}/${PN}-1.1.37-nofax.patch"
+
+   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
+   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
+
+   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
+   -i doc/Makefile || die 'first sed on doc/Makefile failed'
+
+   sed -i \
+   -e 's:^CC=:CC?=:g' \
+   -e 's:^CFLAGS=:CFLAGS?=:g' \
+   {,*/}Makefile || die
+   sed -i \
+   -e 's:^AR=:AR?=:g' \
+   -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
+   -e 's:^RANLIB=:RANLIB?=:g' \
+   */Makefile || die
+}
+
+src_configure() {
+   tc-export AR CC RANLIB
+   use fidonet && append-cppflags "-DFIDO"
+   append-cppflags "-DAUTO_PPP"
+
+   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
+   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
+   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
+   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
+   policy.h-dist > policy.h || die 'creating policy.h failed'
+
+   sed -i \
+   -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
+   -e "s/\$(LDLAGS)/${LDFLAGS}/" \
+   {,fax/}Makefile || die
+}
+
+src_compile() {
+   local target
+   for target in mgetty sedscript all vgetty;do
+   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
+   CONFDIR=/etc/mgetty+sendfax \
+   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   ${target}
+   done
+}
+
+src_install () {
+   # parallelization issue: vgetty-install target fails if install target
+   #isn't finished
+   local target
+   for target in install "vgetty-install install-callback"; do
+   emake prefix="${D}/usr" \
+   INFODIR="${D}/usr/share/info" \
+   CONFDIR="${D}/etc/mgetty+sendfax" \
+   MAN1DIR="${D}/usr/share/man/man1" \
+   MAN4DIR="${D}/usr/share/man/man4" \
+   MAN5DIR="${D}/usr/share/man/man5" \
+   MAN8DIR="${D}/usr/share/man/man8" \
+   SBINDIR="${D}/usr/sbin" \
+   BINDIR="${D}/usr/bin" \
+   VOICE_DIR="${D}/var/spool/voice" \
+   PHONE_GROUP=fax \
+   PHONE_PERMS=755 \
+   spool="${D}/var/spool" \
+   ${target}
+   done
+
+   keepdir 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/files/

2019-03-26 Thread Patrice Clement
commit: 2229875255a95198db7615f8ff8700aba6f0eace
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Mar 25 18:17:33 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Mar 26 16:45:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22298752

net-dialup/mgetty: remove unused patches.

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11500
Signed-off-by: Patrice Clement  gentoo.org>

 net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch   | 102 
 net-dialup/mgetty/files/mgetty-1.1.37-gentoo.patch | 172 -
 2 files changed, 274 deletions(-)

diff --git a/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch 
b/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch
deleted file mode 100644
index 6a4fa87a90a..000
--- a/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-From 09227cacda77d7785e864c0fec3854c22b3273f7 Mon Sep 17 00:00:00 2001
-From: Michal Sekletar 
-Date: Thu, 2 Mar 2017 09:25:45 +0100
-Subject: [PATCH] Fix build failure with gcc-7
-
-When function is declared inline but it is not static then compiler
-assumes it could be potentially called from other translation
-units. Hence it will inline the function within the translation unit and
-at the same time it will generate object code for function with external
-linkage. However both extern and inline variant *must* be the same and
-therefore such function can not use any variables with static storage
-duration. In our case functions in g3cat.c and pbm2g3.c are not called
-from other translation units hence it is fine to mark then explicitly as
-static and compiler won't generate other (problematic) extern variant.

- g3/g3cat.c  | 8 
- g3/pbm2g3.c | 8 
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/g3/g3cat.c b/g3/g3cat.c
-index 8a4b708..1951210 100644
 a/g3/g3cat.c
-+++ b/g3/g3cat.c
-@@ -44,7 +44,7 @@ static int b_written = 0;/* bytes of a line 
already */
-   /* written */
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putcode _P2( (code, len), int code, int len )
- {
-@@ -67,7 +67,7 @@ void putcode _P2( (code, len), int code, int len )
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putwhitespan _P1( (l), int l )
- {
-@@ -98,7 +98,7 @@ void putwhitespan _P1( (l), int l )
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putblackspan _P1( (l), int l )
- {
-@@ -129,7 +129,7 @@ void putblackspan _P1( (l), int l )
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void puteol _P0( void )   /* write byte-aligned EOL */
- {
-diff --git a/g3/pbm2g3.c b/g3/pbm2g3.c
-index 283a728..57cb69a 100644
 a/g3/pbm2g3.c
-+++ b/g3/pbm2g3.c
-@@ -40,7 +40,7 @@ static unsigned int out_hibit = 0;
- static int out_byte_tab[ 256 ];   /* for g3 byte reversal 
*/
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putcode _P2( (code, len), int code, int len )
- {
-@@ -60,7 +60,7 @@ void putcode _P2( (code, len), int code, int len )
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void puteol _P0( void )   /* write byte-aligned EOL */
- {
-@@ -69,7 +69,7 @@ void puteol _P0( void )  /* write 
byte-aligned EOL */
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putwhitespan _P1( (l), int l )
- {
-@@ -100,7 +100,7 @@ void putwhitespan _P1( (l), int l )
- }
- 
- #ifdef __GNUC__
--inline
-+static inline
- #endif
- void putblackspan _P1( (l), int l )
- {
--- 
-2.9.3
-

diff --git a/net-dialup/mgetty/files/mgetty-1.1.37-gentoo.patch 
b/net-dialup/mgetty/files/mgetty-1.1.37-gentoo.patch
deleted file mode 100644
index 8f0c004d601..000
--- a/net-dialup/mgetty/files/mgetty-1.1.37-gentoo.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-diff -Nru mgetty-1.1.37.orig/callback/Makefile mgetty-1.1.37/callback/Makefile
 mgetty-1.1.37.orig/callback/Makefile   2007-09-14 23:03:32.0 
+0300
-+++ mgetty-1.1.37/callback/Makefile2007-09-14 23:02:58.0 +0300
-@@ -37,7 +37,7 @@
- # install programs
- #
- install: all
--  $(INSTALL) -s -m 700 -o root callback $(SBINDIR)
--  $(INSTALL) -s -m 4711 -o root ct $(BINDIR)
-+  $(INSTALL) -m 700 -o root callback $(SBINDIR)
-+  $(INSTALL) -m 4711 -o root ct $(BINDIR)
- 
- # source modules
-diff -Nru mgetty-1.1.37.orig/doc/mgetty.texi-in 
mgetty-1.1.37/doc/mgetty.texi-in
 mgetty-1.1.37.orig/doc/mgetty.texi-in  2007-09-14 23:03:32.0 
+0300
-+++ mgetty-1.1.37/doc/mgetty.texi-in   2007-09-14 23:02:58.0 +0300
-@@ -19,6 +19,11 @@
- Copyright @copyright{} 1993-2005 Gert Doering
- @end ifinfo
- 
-+@dircategory User
-+@direntry
-+* MGETTY: (mgetty).Modem+Voice+Fax utilities
-+@end direntry
-+
- @titlepage
- @sp 6
- @center @titlefont{mgetty+sendfax}
-diff -Nru 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-03-23 Thread Pacho Ramos
commit: 737c9afa94eca307e70a1ad32b0cdac89b130b68
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 23 13:11:31 2019 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 23 13:47:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737c9afa

net-dialup/mgetty: Drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos  gentoo.org>

 net-dialup/mgetty/Manifest|   1 -
 net-dialup/mgetty/mgetty-1.1.37-r1.ebuild | 166 --
 2 files changed, 167 deletions(-)

diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 87519dc4c6b..fb0032025e0 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -1,2 +1 @@
 DIST mgetty-1.2.1.tar.gz 1077415 BLAKE2B 
09d48c6cb7917a3dbbfc97c1d32ce43b9a3e64e8a44c8a3a7bfdd168421c287357a9d43504fb4d1b354ffb0f8e2a9c52b56ac3464f196f56064d96a7651e0d6e
 SHA512 
2a82dfb782044d9daf8d41158fa10e991dbd7bd37ab43ea44422166554dd790e989ac49e4ff471d168d1cbb49edc5bedb8762ab61884e4653650686d1bbc2a9b
-DIST mgetty1.1.37-Jun05.tar.gz 1057939 BLAKE2B 
de22751e72d72d19293794739c29ed115a6810cd7d57c07228526817120898ca597ba35afad36c324562c220ab67dd44655247ac46a2d6612c704557f3ec149d
 SHA512 
577d740c7d209b830bf8e783bf71edb666cb8bbfe8e7dceaa51dda6095d88724715394bcbd24eacfb1c377999f5779b547a7ec79cd9cdc13de6de18c4d857188

diff --git a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
deleted file mode 100644
index cf7346d7d61..000
--- a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic toolchain-funcs user
-
-DESCRIPTION="fax and voice modem programs"
-SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.1/${PN}${PV}-Jun05.tar.gz;
-HOMEPAGE="http://mgetty.greenie.net/;
-
-DEPEND="
-   doc? ( virtual/latex-base virtual/texi2dvi )
-   >=sys-apps/sed-4
-   sys-apps/groff
-   dev-lang/perl
-   sys-apps/texinfo
-   virtual/awk
-   fax? (
-   !net-misc/efax
-   !net-misc/hylafax
-   )
-"
-RDEPEND="${DEPEND}
-   fax? ( media-libs/netpbm app-text/ghostscript-gpl )
-"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 s390 sparc x86"
-IUSE="doc +fax fidonet"
-
-pkg_setup() {
-   enewgroup fax
-   enewuser fax -1 -1 /dev/null fax
-}
-
-src_prepare() {
-   eapply "${FILESDIR}/${P}-gentoo.patch"
-   eapply "${FILESDIR}/${P}-qa-fixes.patch"
-   eapply "${FILESDIR}/${PN}-1.1.36-callback.patch" # add callback install 
to Makefile
-   eapply "${FILESDIR}/Lucent.c.patch" # Lucent modem CallerID patch - bug 
#80366
-   use fax || eapply "${FILESDIR}/${P}-nofax.patch" # don't install fax 
related files - bug #195467
-   eapply "${FILESDIR}/${PN}-1.1.36-tmpfile.patch" # fix security bug 
235806
-   eapply "${FILESDIR}/${P}-gcc7.patch"
-
-   sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-   -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
-   -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
-   -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 
"/etc/mgetty+sendfax/new_fax":' \
-   policy.h-dist > policy.h || die 'creating policy.h failed'
-
-   sed -i -e 's:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' 
faxrunq.config || die 'changing mgetty config dir failed'
-   sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config 
fax/faxspool.rules || die 'changing g3cat path failed'
-
-   sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
-   -i doc/Makefile || die 'first sed on doc/Makefile failed'
-   if use doc; then
-   sed -i \
-   -e "s/^doc-all:/doc-all: mgetty.ps/" \
-   -e "s/^all:/all: doc-all/" \
-   doc/Makefile || die 'second sed on doc/Makefile failed'
-   fi
-
-   # Support user's CFLAGS and LDFLAGS.
-   sed -e "s/\$(CFLAGS) -o newslock/${CFLAGS} ${LDFLAGS} -Wall -o 
newslock/" \
-   -e "s/\$(LDLAGS)/${LDFLAGS}/" -i {,fax/}Makefile || die
-
-   default
-}
-
-src_compile() {
-   use fidonet && append-cppflags "-DFIDO"
-   append-cppflags "-DAUTO_PPP"
-   # bug #299421
-   VARTEXFONTS="${T}"/fonts emake -j1 prefix=/usr \
-   CC="$(tc-getCC)" \
-   CONFDIR=/etc/mgetty+sendfax \
-   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   all vgetty
-}
-
-src_install () {
-   # parallelization issue: vgetty-install target fails if install target
-   #isn't finished
-   local targets
-   for targets in install "vgetty-install install-callback"; do
-   emake prefix="${D}/usr" \
- 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-03-13 Thread Sergei Trofimovich
commit: e9d2b07088e17e492b075af11931718734f240c2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Mar 13 22:35:59 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Mar 13 22:35:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d2b070

net-dialup/mgetty: stable 1.2.1 for ppc64, bug #677094

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index 7418e6f16ce..3f2e2683edd 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-03-10 Thread Mikle Kolyada
commit: 414a153928142953b37b66c12ec4e9d5bbef3a48
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 10 14:40:43 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 10 14:40:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=414a1539

net-dialup/mgetty: s390 stable wrt bug #677094

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index b3c900b91ed..f9a90c0bfaa 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-03-10 Thread Mikle Kolyada
commit: 76af2ef67019f4e430caff87e9272742e97ce9ce
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 10 14:41:09 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 10 14:41:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76af2ef6

net-dialup/mgetty: sh stable wrt bug #677094

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sh"

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index f9a90c0bfaa..7418e6f16ce 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-03-02 Thread Mikle Kolyada
commit: a2e72b0224573c025a7cba88a370181f030e1228
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar  2 16:23:22 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar  2 16:23:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e72b02

net-dialup/mgetty: arm stable wrt bug #677094

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index 09f902f7cff..b3c900b91ed 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-02-09 Thread Sergei Trofimovich
commit: 85974951158084fe6985953414ea13af0b92ee21
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  9 19:34:52 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  9 19:34:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85974951

net-dialup/mgetty: stable 1.2.1 for ia64, bug #676710

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index b26d15b6a07..09f902f7cff 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-02-07 Thread Mikle Kolyada
commit: 890977aa4bfc5d40d29d165434cda7fb87be17e8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Feb  7 12:50:21 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Feb  7 12:50:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890977aa

net-dialup/mgetty: amd64 stable wrt bug #676710

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index 9c208ad9fed..b26d15b6a07 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-02-02 Thread Sergei Trofimovich
commit: 8f0e2051a0ae5132c7b2b97a7abd6b658165cc62
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 20:19:24 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 20:44:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0e2051

net-dialup/mgetty: stable 1.2.1 for ppc, bug #676710

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index ba81bf05464..9c208ad9fed 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-02-01 Thread Tobias Klausmann
commit: 66302795cce794c2b87cea55d551ff1eb006f7c5
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Feb  1 14:54:24 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Feb  1 14:54:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66302795

net-dialup/mgetty-1.2.1-r0: alpha stable

Bug: http://bugs.gentoo.org/676710
Signed-off-by: Tobias Klausmann  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index 96705a77fd5..ba81bf05464 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-01-30 Thread Sergei Trofimovich
commit: daeb35f86076d03d614d28e1a8d3efd347886df4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jan 31 06:32:48 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jan 31 07:24:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daeb35f8

net-dialup/mgetty: stable 1.2.1 for hppa, bug #676710

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index ea984a7c4e3..9b6afd97011 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2019-01-30 Thread Sergei Trofimovich
commit: f0c345d2f3c533e3b91633e456abd022ebd7ad9b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jan 30 06:48:50 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan 30 08:03:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c345d2

net-dialup/mgetty: stable 1.2.1 for sparc, bug #676710

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index 722dd95e2c0..ea984a7c4e3 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
 IUSE="+fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2018-09-20 Thread Jeroen Roovers
commit: 3b027f1548261c8296c0964529204b66f8577494
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 20 11:41:52 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 20 11:42:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b027f15

net-dialup/mgetty: Drop USE=doc, fix parallel make

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Fixes: https://bugs.gentoo.org/299421

 net-dialup/mgetty/mgetty-1.2.1.ebuild | 37 +--
 1 file changed, 14 insertions(+), 23 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1.ebuild
index a62a5460aee..722dd95e2c0 100644
--- a/net-dialup/mgetty/mgetty-1.2.1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1.ebuild
@@ -9,7 +9,6 @@ HOMEPAGE="http://mgetty.greenie.net/;
 SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.2/${P}.tar.gz;
 
 DEPEND="
-   doc? ( virtual/latex-base virtual/texi2dvi )
>=sys-apps/sed-4
sys-apps/groff
dev-lang/perl
@@ -27,7 +26,7 @@ RDEPEND="${DEPEND}
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="doc +fax fidonet"
+IUSE="+fax fidonet"
 
 pkg_setup() {
enewgroup fax
@@ -55,12 +54,6 @@ src_prepare() {
 
sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi 
mgetty.ps/mgetty.info/" \
-i doc/Makefile || die 'first sed on doc/Makefile failed'
-   if use doc; then
-   sed -i \
-   -e "s/^doc-all:/doc-all: mgetty.ps/" \
-   -e "s/^all:/all: doc-all/" \
-   doc/Makefile || die 'second sed on doc/Makefile failed'
-   fi
 
sed -i \
-e 's:^CC=:CC?=:g' \
@@ -75,6 +68,8 @@ src_prepare() {
 
 src_configure() {
tc-export AR CC RANLIB
+   use fidonet && append-cppflags "-DFIDO"
+   append-cppflags "-DAUTO_PPP"
 
sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
@@ -89,21 +84,21 @@ src_configure() {
 }
 
 src_compile() {
-   use fidonet && append-cppflags "-DFIDO"
-   append-cppflags "-DAUTO_PPP"
-   # bug #299421
-   VARTEXFONTS="${T}"/fonts emake -j1 prefix=/usr \
-   CONFDIR=/etc/mgetty+sendfax \
-   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   all vgetty
+   local target
+   for target in mgetty sedscript all vgetty;do
+   VARTEXFONTS="${T}"/fonts emake prefix=/usr \
+   CONFDIR=/etc/mgetty+sendfax \
+   CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   ${target}
+   done
 }
 
 src_install () {
# parallelization issue: vgetty-install target fails if install target
#isn't finished
-   local targets
-   for targets in install "vgetty-install install-callback"; do
+   local target
+   for target in install "vgetty-install install-callback"; do
emake prefix="${D}/usr" \
INFODIR="${D}/usr/share/info" \
CONFDIR="${D}/etc/mgetty+sendfax" \
@@ -117,7 +112,7 @@ src_install () {
PHONE_GROUP=fax \
PHONE_PERMS=755 \
spool="${D}/var/spool" \
-   ${targets}
+   ${target}
done
 
keepdir /var/log/mgetty
@@ -136,10 +131,6 @@ src_install () {
docinto vgetty
dodoc voice/{Readme,Announce,ChangeLog,Credits}
 
-   if use doc; then
-   dodoc doc/mgetty.ps
-   fi
-
docinto vgetty/doc
dodoc voice/doc/*
 



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/, net-dialup/mgetty/files/

2018-09-20 Thread Jeroen Roovers
commit: 14a8fb0b70c1bee6698e5d0e5c1eedf1e8dcaa0e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 20 11:04:59 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 20 11:10:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14a8fb0b

net-dialup/mgetty: Version 1.2.1.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-dialup/mgetty/Manifest |   1 +
 .../mgetty/files/mgetty-1.2.1-Lucent.c.patch   |  16 ++
 net-dialup/mgetty/files/mgetty-1.2.1-gentoo.patch  | 154 +
 net-dialup/mgetty/mgetty-1.2.1.ebuild  | 185 +
 4 files changed, 356 insertions(+)

diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 2f1f5770f19..87519dc4c6b 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -1 +1,2 @@
+DIST mgetty-1.2.1.tar.gz 1077415 BLAKE2B 
09d48c6cb7917a3dbbfc97c1d32ce43b9a3e64e8a44c8a3a7bfdd168421c287357a9d43504fb4d1b354ffb0f8e2a9c52b56ac3464f196f56064d96a7651e0d6e
 SHA512 
2a82dfb782044d9daf8d41158fa10e991dbd7bd37ab43ea44422166554dd790e989ac49e4ff471d168d1cbb49edc5bedb8762ab61884e4653650686d1bbc2a9b
 DIST mgetty1.1.37-Jun05.tar.gz 1057939 BLAKE2B 
de22751e72d72d19293794739c29ed115a6810cd7d57c07228526817120898ca597ba35afad36c324562c220ab67dd44655247ac46a2d6612c704557f3ec149d
 SHA512 
577d740c7d209b830bf8e783bf71edb666cb8bbfe8e7dceaa51dda6095d88724715394bcbd24eacfb1c377999f5779b547a7ec79cd9cdc13de6de18c4d857188

diff --git a/net-dialup/mgetty/files/mgetty-1.2.1-Lucent.c.patch 
b/net-dialup/mgetty/files/mgetty-1.2.1-Lucent.c.patch
new file mode 100644
index 000..ac73bea808c
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.2.1-Lucent.c.patch
@@ -0,0 +1,16 @@
+--- a/voice/libvoice/Lucent.c
 b/voice/libvoice/Lucent.c
+@@ -96,6 +96,13 @@
+  if (voice_command("AT+VLS=0", "OK") != VMA_USER_1)
+   lprintf(L_WARN, "can't deselect all input/output devices");
+ 
++ /* the Lucent chips DO support Caller ID, this command is OK */
++ /* Just borrowed from the V253modem.c file */
++ /* enable callerid (if supported) and setformat */
++ if (voice_command("AT+VCID=1", "OK") != VMA_USER_1)
++  lprintf(L_WARN, "can't set caller ID output"); 
++ /* mgetty supports formated callerid output */
++
+  voice_modem_state = IDLE;
+  return(OK);
+  }

diff --git a/net-dialup/mgetty/files/mgetty-1.2.1-gentoo.patch 
b/net-dialup/mgetty/files/mgetty-1.2.1-gentoo.patch
new file mode 100644
index 000..fd46ff23ed4
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.2.1-gentoo.patch
@@ -0,0 +1,154 @@
+--- a/callback/Makefile
 b/callback/Makefile
+@@ -37,7 +37,7 @@
+ # install programs
+ #
+ install: all
+-  $(INSTALL) -s -m 700 -o root callback $(SBINDIR)
+-  $(INSTALL) -s -m 4711 -o root ct $(BINDIR)
++  $(INSTALL) -m 700 -o root callback $(SBINDIR)
++  $(INSTALL) -m 4711 -o root ct $(BINDIR)
+ 
+ # source modules
+--- a/doc/mgetty.texi-in
 b/doc/mgetty.texi-in
+@@ -19,6 +19,11 @@
+ Copyright @copyright{} 1993-2005 Gert Doering
+ @end ifinfo
+ 
++@dircategory User
++@direntry
++* MGETTY: (mgetty).Modem+Voice+Fax utilities
++@end direntry
++
+ @titlepage
+ @sp 6
+ @center @titlefont{mgetty+sendfax}
+--- a/fax/faxspool.in
 b/fax/faxspool.in
+@@ -390,7 +390,7 @@
+ 
+ #
+ # convert pdf data
+-# needs GNU GhostScript and Adobe acroread installed.
++# needs GNU GhostScript installed.
+ # For driver selection, see definition of GS_DRIVER_{HI,LO} above.
+ #
+ # contributed by m...@gmx.de (Michael Fischer v. Mollard)
+@@ -401,7 +401,7 @@
+ test X$3 = X-n && driver="$GS_DRIVER_LO"
+ 
+ cat $1 |
+-  acroread -toPostScript |
++  pdf2ps -sOutputFile=- - |
+   gs $driver -sOutputFile=$2%03d -dNOPAUSE -q -dSAFER -
+ }
+ 
+--- a/frontends/X11/viewfax/Makefile
 b/frontends/X11/viewfax/Makefile
+@@ -61,7 +61,7 @@
+ g3hack:   g3hack.c
+ 
+ install: viewfax
+-  $(INSTALL) -s -m 755 viewfax $(BINDIR)
++  $(INSTALL) -m 755 viewfax $(BINDIR)
+   $(INSTALL) -m 644 viewfax.man $(MANDIR)/viewfax.1
+   $(INSTALL) -m 644 viewfax.tif $(LIBDIR)
+ 
+--- a/g3/Makefile
 b/g3/Makefile
+@@ -37,13 +37,13 @@
+ # install programs
+ #
+   for f in $(G3_PROGRAMS) ; do \
+-  $(INSTALL) -s -m 755 $$f $(BINDIR) ; \
++  $(INSTALL) -m 755 $$f $(BINDIR) ; \
+   done
+ #
+ # make symlink for "g3topbm" (so third-party fax viewers won't fail)
+-#
+-  -cd $(BINDIR) ; \
+-  test -x g3topbm || ln -s g32pbm g3topbm
++# Note for Gentoo: following lines will create collision with netpbm if 
netpbm is installed after 
++# -cd $(BINDIR) ; \
++# test -x g3topbm || ln -s g32pbm g3topbm
+ 
+ 
+ # test suite
+--- a/Makefile
 b/Makefile
+@@ -596,12 +596,8 @@
+   $(INSTALL) -m 755 newslock $(BINDIR)
+ 
+   -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
+-  if [ -f 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/

2018-06-28 Thread Mikle Kolyada
commit: 2a494d915e857b7b84b4a00e4a25f75833f50637
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jun 28 14:43:16 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jun 28 14:47:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a494d91

net-dialup/mgetty: mark s390 stable

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dialup/mgetty/mgetty-1.1.37-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
index a6305c0271c..cf7346d7d61 100644
--- a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,7 +26,7 @@ RDEPEND="${DEPEND}
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 s390 sparc x86"
 IUSE="doc +fax fidonet"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/files/, net-dialup/mgetty/

2017-11-28 Thread Pacho Ramos
commit: a76610815a98fae3d6311884b1e3de6f409a93b2
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Nov 28 19:38:19 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Nov 28 19:46:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7661081

net-dialup/mgetty: Fix building with gcc7 (#639076 by Toralf Förster)

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 net-dialup/mgetty/Manifest   |   2 +-
 net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch | 102 +++
 net-dialup/mgetty/mgetty-1.1.37-r1.ebuild|  33 
 3 files changed, 121 insertions(+), 16 deletions(-)

diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 6140bbf22a7..2f1f5770f19 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -1 +1 @@
-DIST mgetty1.1.37-Jun05.tar.gz 1057939 SHA256 
6ff8cbc4f8aacd3dd7f247ff96715141bc6173745ea916dd98b8381a85ecdf0e SHA512 
577d740c7d209b830bf8e783bf71edb666cb8bbfe8e7dceaa51dda6095d88724715394bcbd24eacfb1c377999f5779b547a7ec79cd9cdc13de6de18c4d857188
 WHIRLPOOL 
f00d22ab213cd00f392ead46804ad1c3b192ae816b7518f1a73b4d65c180ba78fb2f193ceacf1f5aa88aeca4431eecb87e0960f0b6196a7e00247690083e937e
+DIST mgetty1.1.37-Jun05.tar.gz 1057939 BLAKE2B 
de22751e72d72d19293794739c29ed115a6810cd7d57c07228526817120898ca597ba35afad36c324562c220ab67dd44655247ac46a2d6612c704557f3ec149d
 SHA512 
577d740c7d209b830bf8e783bf71edb666cb8bbfe8e7dceaa51dda6095d88724715394bcbd24eacfb1c377999f5779b547a7ec79cd9cdc13de6de18c4d857188

diff --git a/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch 
b/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch
new file mode 100644
index 000..6a4fa87a90a
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.37-gcc7.patch
@@ -0,0 +1,102 @@
+From 09227cacda77d7785e864c0fec3854c22b3273f7 Mon Sep 17 00:00:00 2001
+From: Michal Sekletar 
+Date: Thu, 2 Mar 2017 09:25:45 +0100
+Subject: [PATCH] Fix build failure with gcc-7
+
+When function is declared inline but it is not static then compiler
+assumes it could be potentially called from other translation
+units. Hence it will inline the function within the translation unit and
+at the same time it will generate object code for function with external
+linkage. However both extern and inline variant *must* be the same and
+therefore such function can not use any variables with static storage
+duration. In our case functions in g3cat.c and pbm2g3.c are not called
+from other translation units hence it is fine to mark then explicitly as
+static and compiler won't generate other (problematic) extern variant.
+---
+ g3/g3cat.c  | 8 
+ g3/pbm2g3.c | 8 
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/g3/g3cat.c b/g3/g3cat.c
+index 8a4b708..1951210 100644
+--- a/g3/g3cat.c
 b/g3/g3cat.c
+@@ -44,7 +44,7 @@ static int b_written = 0;/* bytes of a line 
already */
+   /* written */
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putcode _P2( (code, len), int code, int len )
+ {
+@@ -67,7 +67,7 @@ void putcode _P2( (code, len), int code, int len )
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putwhitespan _P1( (l), int l )
+ {
+@@ -98,7 +98,7 @@ void putwhitespan _P1( (l), int l )
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putblackspan _P1( (l), int l )
+ {
+@@ -129,7 +129,7 @@ void putblackspan _P1( (l), int l )
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void puteol _P0( void )   /* write byte-aligned EOL */
+ {
+diff --git a/g3/pbm2g3.c b/g3/pbm2g3.c
+index 283a728..57cb69a 100644
+--- a/g3/pbm2g3.c
 b/g3/pbm2g3.c
+@@ -40,7 +40,7 @@ static unsigned int out_hibit = 0;
+ static int out_byte_tab[ 256 ];   /* for g3 byte reversal 
*/
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putcode _P2( (code, len), int code, int len )
+ {
+@@ -60,7 +60,7 @@ void putcode _P2( (code, len), int code, int len )
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void puteol _P0( void )   /* write byte-aligned EOL */
+ {
+@@ -69,7 +69,7 @@ void puteol _P0( void )  /* write 
byte-aligned EOL */
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putwhitespan _P1( (l), int l )
+ {
+@@ -100,7 +100,7 @@ void putwhitespan _P1( (l), int l )
+ }
+ 
+ #ifdef __GNUC__
+-inline
++static inline
+ #endif
+ void putblackspan _P1( (l), int l )
+ {
+-- 
+2.9.3
+

diff --git a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild 
b/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
index f071ac4d388..a6305c0271c 100644
--- a/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.37-r1.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

[gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/files/

2017-01-18 Thread David Seifert
commit: ace8fec77a5d495e58a6e4819c8fd3d9ad73bee9
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Jan 17 17:33:51 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 18 09:19:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace8fec7

net-dialup/mgetty: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3516

 net-dialup/mgetty/files/mgetty-1.1.36-gentoo.patch | 170 
 net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch  | 110 -
 .../mgetty/files/mgetty-1.1.36-qa-fixes.patch  | 175 -
 3 files changed, 455 deletions(-)

diff --git a/net-dialup/mgetty/files/mgetty-1.1.36-gentoo.patch 
b/net-dialup/mgetty/files/mgetty-1.1.36-gentoo.patch
deleted file mode 100644
index 12de205..
--- a/net-dialup/mgetty/files/mgetty-1.1.36-gentoo.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-diff -Nru mgetty-1.1.36.orig/callback/Makefile mgetty-1.1.36/callback/Makefile
 mgetty-1.1.36.orig/callback/Makefile   2007-09-14 23:03:32.0 
+0300
-+++ mgetty-1.1.36/callback/Makefile2007-09-14 23:02:58.0 +0300
-@@ -37,7 +37,7 @@
- # install programs
- #
- install: all
--  $(INSTALL) -s -m 700 -o root callback $(SBINDIR)
--  $(INSTALL) -s -m 4711 -o root ct $(BINDIR)
-+  $(INSTALL) -m 700 -o root callback $(SBINDIR)
-+  $(INSTALL) -m 4711 -o root ct $(BINDIR)
- 
- # source modules
-diff -Nru mgetty-1.1.36.orig/doc/mgetty.texi-in 
mgetty-1.1.36/doc/mgetty.texi-in
 mgetty-1.1.36.orig/doc/mgetty.texi-in  2007-09-14 23:03:32.0 
+0300
-+++ mgetty-1.1.36/doc/mgetty.texi-in   2007-09-14 23:02:58.0 +0300
-@@ -19,6 +19,11 @@
- Copyright @copyright{} 1993-2005 Gert Doering
- @end ifinfo
- 
-+@dircategory User
-+@direntry
-+* MGETTY: (mgetty).Modem+Voice+Fax utilities
-+@end direntry
-+
- @titlepage
- @sp 6
- @center @titlefont{mgetty+sendfax}
-diff -Nru mgetty-1.1.36.orig/fax/faxspool.in mgetty-1.1.36/fax/faxspool.in
 mgetty-1.1.36.orig/fax/faxspool.in 2007-09-14 23:03:32.0 +0300
-+++ mgetty-1.1.36/fax/faxspool.in  2007-09-14 23:02:58.0 +0300
-@@ -380,7 +380,7 @@
- 
- #
- # convert pdf data
--# needs GNU GhostScript and Adobe acroread installed.
-+# needs GNU GhostScript installed.
- # For driver selection, see definition of GS_DRIVER_{HI,LO} above.
- #
- # contributed by m...@gmx.de (Michael Fischer v. Mollard)
-@@ -391,7 +391,7 @@
- test X$3 = X-n && driver="$GS_DRIVER_LO"
- 
- cat $1 |
--  acroread -toPostScript |
-+  pdf2ps -sOutputFile=- - |
-   gs $driver -sOutputFile=$2%03d -dNOPAUSE -q -dSAFER -
- }
- 
-diff -Nru mgetty-1.1.36.orig/frontends/X11/viewfax/Makefile 
mgetty-1.1.36/frontends/X11/viewfax/Makefile
 mgetty-1.1.36.orig/frontends/X11/viewfax/Makefile  2007-09-14 
23:03:32.0 +0300
-+++ mgetty-1.1.36/frontends/X11/viewfax/Makefile   2007-09-14 
23:02:58.0 +0300
-@@ -61,7 +61,7 @@
- g3hack:   g3hack.c
- 
- install: viewfax
--  $(INSTALL) -s -m 755 viewfax $(BINDIR)
-+  $(INSTALL) -m 755 viewfax $(BINDIR)
-   $(INSTALL) -m 644 viewfax.man $(MANDIR)/viewfax.1
-   $(INSTALL) -m 644 viewfax.tif $(LIBDIR)
- 
-diff -Nru mgetty-1.1.36.orig/g3/Makefile mgetty-1.1.36/g3/Makefile
 mgetty-1.1.36.orig/g3/Makefile 2007-09-14 23:03:32.0 +0300
-+++ mgetty-1.1.36/g3/Makefile  2007-09-14 23:02:58.0 +0300
-@@ -37,13 +37,13 @@
- # install programs
- #
-   for f in $(G3_PROGRAMS) ; do \
--  $(INSTALL) -s -m 755 $$f $(BINDIR) ; \
-+  $(INSTALL) -m 755 $$f $(BINDIR) ; \
-   done
- #
- # make symlink for "g3topbm" (so third-party fax viewers won't fail)
--#
--  -cd $(BINDIR) ; \
--  test -x g3topbm || ln -s g32pbm g3topbm
-+# Note for Gentoo: following lines will create collision with netpbm if 
netpbm is installed after 
-+# -cd $(BINDIR) ; \
-+# test -x g3topbm || ln -s g32pbm g3topbm
- 
- 
- # test suite
-diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
 mgetty-1.1.36.orig/Makefile2007-09-14 23:03:32.0 +0300
-+++ mgetty-1.1.36/Makefile 2007-09-14 23:02:58.0 +0300
-@@ -275,7 +275,7 @@
- # please use the "mg.echo" program provided in the compat/ subdirectory.
- # Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
- #
--ECHO="echo"
-+ECHO="echo -e"
- #
- # INSTALL_MECHO=mg.echo
- 
-@@ -584,10 +584,8 @@
-   $(INSTALL) -m 755 newslock $(BINDIR)
- 
-   -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
--  -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
--  -mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old
--  $(INSTALL) -s -m 700 mgetty $(SBINDIR)
--  $(INSTALL) -s -m 755 sendfax $(SBINDIR)
-+  $(INSTALL) -m 700 mgetty $(SBINDIR)
-+  $(INSTALL) -m 755 sendfax $(SBINDIR)
- #
- # data files + directories
- #
-@@ -649,7 +647,7 @@
-   if [ ! -z "$(INSTALL_MECHO)" ] ; then \
-   cd