* [gentoo-commits] gentoo-x86 commit in net-dialup/mgetty: ChangeLog mgetty-1.1.37.ebuild
@ 2013-02-24 22:14 Sergey Popov (pinkbyte)
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-02-24 22:14 UTC (permalink / raw
To: gentoo-commits
pinkbyte 13/02/24 22:14:10
Modified: ChangeLog
Added: mgetty-1.1.37.ebuild
Log:
Version bump
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Revision Changes Path
1.103 net-dialup/mgetty/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?rev=1.103&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?rev=1.103&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?r1=1.102&r2=1.103
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- ChangeLog 24 Feb 2013 20:55:57 -0000 1.102
+++ ChangeLog 24 Feb 2013 22:14:10 -0000 1.103
@@ -1,6 +1,14 @@
# ChangeLog for net-dialup/mgetty
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.102 2013/02/24 20:55:57 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.103 2013/02/24 22:14:10 pinkbyte Exp $
+
+*mgetty-1.1.37 (24 Feb 2013)
+
+ 24 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +mgetty-1.1.37.ebuild,
+ +files/mgetty-1.1.37-gentoo.patch, +files/mgetty-1.1.37-nofax.patch,
+ +files/mgetty-1.1.37-qa-fixes.patch:
+ Version bump: EAPI 5, QA fixes, add blocker to net-misc/efax due to manpage
+ file collision
24 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> mgetty-1.1.36-r3.ebuild:
Change awk dependency to virtual/awk, wrt bug #455666
1.1 net-dialup/mgetty/mgetty-1.1.37.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild?rev=1.1&content-type=text/plain
Index: mgetty-1.1.37.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild,v 1.1 2013/02/24 22:14:10 pinkbyte Exp $
EAPI=5
inherit eutils 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc +fax fidonet"
pkg_setup() {
enewgroup fax
enewuser fax -1 -1 /dev/null fax
}
src_prepare() {
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-qa-fixes.patch"
epatch "${FILESDIR}/${PN}-1.1.36-callback.patch" # add callback install to Makefile
epatch "${FILESDIR}/Lucent.c.patch" # Lucent modem CallerID patch - bug #80366
use fax || epatch "${FILESDIR}/${P}-nofax.patch" # don't install fax related files - bug #195467
epatch "${FILESDIR}/${PN}-1.1.36-tmpfile.patch" # fix security bug 235806
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":' \
"${S}/policy.h-dist" > "${S}/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 "${S}/doc/Makefile" || die 'first sed on doc/Makefile failed'
if use doc; then
sed -e "s/^doc-all:/doc-all: mgetty.ps/" \
-i "${S}/doc/Makefile" || die 'second sed on doc/Makefile failed'
fi
}
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" \
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" \
${targets}
done
keepdir /var/log/mgetty
#Install mgetty into /sbin (#119078)
dodir /sbin && \
mv "${D}"/usr/sbin/mgetty "${D}"/sbin && \
dosym /sbin/mgetty /usr/sbin/mgetty || die "failed to install /sbin/mgetty"
#Don't install ct (#106337)
rm "${D}"/usr/bin/ct || die "failed to remove useless ct program"
dodoc BUGS ChangeLog README.1st Recommend THANKS TODO \
doc/*.txt doc/modems.db
doinfo doc/mgetty.info
docinto vgetty
dodoc voice/{Readme,Announce,ChangeLog,Credits}
if use doc; then
dodoc doc/mgetty.ps
fi
docinto vgetty/doc
dodoc voice/doc/*
if use fax; then
mv samples/new_fax.all samples_new_fax.all || die "move failed."
docinto samples
dodoc samples/*
docinto samples/new_fax
dodoc samples_new_fax.all/*
fi
if ! use fax; then
insinto /usr/share/${PN}/frontends
doins -r frontends/{voice,network}
else
insinto /usr/share/${PN}
doins -r frontends
fi
insinto /usr/share/${PN}
doins -r patches
insinto /usr/share/${PN}/voice
doins -r voice/{contrib,Perl,scripts}
diropts -m 0750 -o fax -g fax
dodir /var/spool/voice
keepdir /var/spool/voice/incoming
keepdir /var/spool/voice/messages
if use fax; then
dodir /var/spool/fax
dodir /var/spool/fax/outgoing
keepdir /var/spool/fax/outgoing/locks
keepdir /var/spool/fax/incoming
fi
}
pkg_postinst() {
elog "Users who wish to use the fax or voicemail capabilities must be members"
elog "of the group fax in order to access files"
elog
elog "If you want to grab voice messages from a remote location, you must save"
elog "the password in /var/spool/voice/.code file"
echo
ewarn "/var/spool/voice/.code and /var/spool/voice/messages/Index"
ewarn "are not longer created by this automatically!"
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-dialup/mgetty: ChangeLog mgetty-1.1.37.ebuild
@ 2013-03-02 16:45 Sergey Popov (pinkbyte)
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-03-02 16:45 UTC (permalink / raw
To: gentoo-commits
pinkbyte 13/03/02 16:45:05
Modified: ChangeLog mgetty-1.1.37.ebuild
Log:
Fix sed's paths in src_prepare, fix problem with doc building and installation wrt bug #459906. Thanks to Juergen Rose for discovering this issue
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Revision Changes Path
1.104 net-dialup/mgetty/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?rev=1.104&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?rev=1.104&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/ChangeLog?r1=1.103&r2=1.104
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- ChangeLog 24 Feb 2013 22:14:10 -0000 1.103
+++ ChangeLog 2 Mar 2013 16:45:05 -0000 1.104
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/mgetty
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.103 2013/02/24 22:14:10 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.104 2013/03/02 16:45:05 pinkbyte Exp $
+
+ 02 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> mgetty-1.1.37.ebuild:
+ Fix sed's paths in src_prepare, fix problem with doc building and
+ installation wrt bug #459906. Thanks to Juergen Rose for discovering this
+ issue
*mgetty-1.1.37 (24 Feb 2013)
1.2 net-dialup/mgetty/mgetty-1.1.37.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild?r1=1.1&r2=1.2
Index: mgetty-1.1.37.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mgetty-1.1.37.ebuild 24 Feb 2013 22:14:10 -0000 1.1
+++ mgetty-1.1.37.ebuild 2 Mar 2013 16:45:05 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild,v 1.1 2013/02/24 22:14:10 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.37.ebuild,v 1.2 2013/03/02 16:45:05 pinkbyte Exp $
EAPI=5
inherit eutils flag-o-matic toolchain-funcs user
@@ -44,16 +44,18 @@
-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":' \
- "${S}/policy.h-dist" > "${S}/policy.h" || die 'creating policy.h failed'
+ 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 "${S}/doc/Makefile" || die 'first sed on doc/Makefile failed'
+ -i doc/Makefile || die 'first sed on doc/Makefile failed'
if use doc; then
- sed -e "s/^doc-all:/doc-all: mgetty.ps/" \
- -i "${S}/doc/Makefile" || die 'second sed on doc/Makefile failed'
+ 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
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-02 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 22:14 [gentoo-commits] gentoo-x86 commit in net-dialup/mgetty: ChangeLog mgetty-1.1.37.ebuild Sergey Popov (pinkbyte)
-- strict thread matches above, loose matches on Subject: below --
2013-03-02 16:45 Sergey Popov (pinkbyte)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox