diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /net-dialup/mgetty | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'net-dialup/mgetty')
-rw-r--r-- | net-dialup/mgetty/Manifest | 3 | ||||
-rw-r--r-- | net-dialup/mgetty/mgetty-1.2.1-r1.ebuild | 4 | ||||
-rw-r--r-- | net-dialup/mgetty/mgetty-1.2.1.ebuild | 176 |
3 files changed, 3 insertions, 180 deletions
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest index 38a1d57f3a41..a5f137e2c5f6 100644 --- a/net-dialup/mgetty/Manifest +++ b/net-dialup/mgetty/Manifest @@ -6,6 +6,5 @@ AUX mgetty-1.1.37-qa-fixes.patch 6029 BLAKE2B d8ceb364913f1d133d77b29711ff31d24c AUX mgetty-1.2.1-Lucent.c.patch 622 BLAKE2B 63ffcfddfb13fe07037c5d845b60ceb91710f195d9bf9c5e8480faa8e98e460dd9e61ac4facd2dda22a4b10c578ccb06fe54a6c1bd3b1a936597dae18c995b48 SHA512 0913fc876897d630949ab1175eccda42ef8504ee772a835a03b4d61f31c2b1eaaabf9976ae121bb7105805ae382f0241fa7d42710b0660b7f4d9a4e24d377296 AUX mgetty-1.2.1-gentoo.patch 4020 BLAKE2B fa9f609cc93cbc2287e415888bfcafc3f4069ba0ed6a2be93a952010f6a91bb2383948b62a407c37aa738be70aaaaf4715e578f51a9115837f3944c65f39f9d7 SHA512 24c3d98e43d8f573e395f65a500ea6379e6b27c020db81e00f4c3ea5d203d4ad344a29b6540575fd94c9462fdf51ecadff13a703568d51de3dc4fd815e462143 DIST mgetty-1.2.1.tar.gz 1077415 BLAKE2B 09d48c6cb7917a3dbbfc97c1d32ce43b9a3e64e8a44c8a3a7bfdd168421c287357a9d43504fb4d1b354ffb0f8e2a9c52b56ac3464f196f56064d96a7651e0d6e SHA512 2a82dfb782044d9daf8d41158fa10e991dbd7bd37ab43ea44422166554dd790e989ac49e4ff471d168d1cbb49edc5bedb8762ab61884e4653650686d1bbc2a9b -EBUILD mgetty-1.2.1-r1.ebuild 4663 BLAKE2B 61aaa5dd6ab8ca8a1bb4117208eec21239bef6fab00af8d72e8a34affc25ce620aa4e1ab5101bf1e38bb90bab87185e21a424ef13fb655c03d21d0f97a1a5b71 SHA512 e3361a46a773db41533a36a39ea0553dbac3589599d514a343dd908932c405f68c90ca4031761c2276ffce1869e1d881ae268612e8f03be29061bba46f5c356b -EBUILD mgetty-1.2.1.ebuild 4625 BLAKE2B 93a4320ed4961c2cbb407038739849fa75a0438d5405abfb83d69fd97995eed684b6b5939bccc8fcfe4a4de4e32130056d248a4a5e84acb1d070301fb2070328 SHA512 466448c42d29ff217b6ffa5d4fff45b44be18a56e34e1db2cb61c6f826b01846566bf92b85320bf7fbfa2192c9cdd48f8875858efffb9d8650310b2c63adc65b +EBUILD mgetty-1.2.1-r1.ebuild 4656 BLAKE2B e131a9d0f25e609c085ebd9bdd51350dc3fa51739f6896a9aeed7aa1da1c859dbdd6e787d2eb2a9f030c132ffd57b85c8a01825addadbe04b77b6f0f655fe90a SHA512 3bad236122066579870835c607ddeb04db6de179180c110cc8adb08e51ca6bf718a83ed314da81cca4889985b34f2e2af7239089c007143bfb08e1834d22a397 MISC metadata.xml 491 BLAKE2B 41dd8488152f14cb26c4db838c6a7267d0cc8063263aa7879971b2afc24e6df481cc76452ff58d07d1c86dab5d27e6d551a1d4c9b721214a71e14af4f33020ba SHA512 e975c8e98834b587752c566c0f52fd16fbbcd1b6b930407d5bf027b5717eb898af0c7c7aff94a31a18a8033d561e934e151f17b1ebbfe406c2cff22f88adba36 diff --git a/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild b/net-dialup/mgetty/mgetty-1.2.1-r1.ebuild index 48a806daa72e..7ebadecad3d3 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() { 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 d577aeb14a34..000000000000 --- 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 /sbin/mgetty /usr/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} - - 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" -} |