diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-15 08:42:34 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-15 08:42:34 +0000 |
commit | 85d8a093e632d7055bd2d44ef4d33c5c30a62182 (patch) | |
tree | f32a31f5d256d0afa15bc0dfe4e34122497c2c5a /sys-apps/setserial | |
parent | Add pkgconfig dep, bug #205757; use latest automake (diff) | |
download | historical-85d8a093e632d7055bd2d44ef4d33c5c30a62182.tar.gz historical-85d8a093e632d7055bd2d44ef4d33c5c30a62182.tar.bz2 historical-85d8a093e632d7055bd2d44ef4d33c5c30a62182.zip |
Implement stty keyword per bug #103423.
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-apps/setserial')
-rw-r--r-- | sys-apps/setserial/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/setserial/Manifest | 29 | ||||
-rw-r--r-- | sys-apps/setserial/files/digest-setserial-2.17-r4 | 3 | ||||
-rwxr-xr-x | sys-apps/setserial/files/serial-2.17-r4 | 35 | ||||
-rw-r--r-- | sys-apps/setserial/setserial-2.17-r4.ebuild | 43 |
5 files changed, 104 insertions, 16 deletions
diff --git a/sys-apps/setserial/ChangeLog b/sys-apps/setserial/ChangeLog index 8393d19f7bdb..8a86401e9450 100644 --- a/sys-apps/setserial/ChangeLog +++ b/sys-apps/setserial/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/setserial -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.14 2007/06/13 07:51:51 vapier Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.15 2008/01/15 08:42:34 robbat2 Exp $ + +*setserial-2.17-r4 (15 Jan 2008) + + 15 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> +files/serial-2.17-r4, + +setserial-2.17-r4.ebuild: + Implement stty keyword per bug #103423. 13 Jun 2007; Mike Frysinger <vapier@gentoo.org> files/serial: Cleanup init.d script and throw out a lot of old stuff. diff --git a/sys-apps/setserial/Manifest b/sys-apps/setserial/Manifest index d4ab8151613e..be73baa08956 100644 --- a/sys-apps/setserial/Manifest +++ b/sys-apps/setserial/Manifest @@ -1,10 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX serial 582 RMD160 f50832acd6d375394eb3326005cab417b8c8a053 SHA1 6a146f73b36fba85901635d182e227ea545420de SHA256 802eb6a9f19ae9d1f923edbc64914c074dc173ede8697cf32976feca609ff2c8 MD5 e22bf03fef7ccf00677f27e6b303d54f files/serial 582 RMD160 f50832acd6d375394eb3326005cab417b8c8a053 files/serial 582 SHA256 802eb6a9f19ae9d1f923edbc64914c074dc173ede8697cf32976feca609ff2c8 files/serial 582 +AUX serial-2.17-r4 749 RMD160 fe58eac51085ea4cd1dc4af4a9cce9f2d285c645 SHA1 65b19bc7141f16aae0d49f52b676b1222515d50a SHA256 d01ca911ab83a08603dee7b43b9be09ee52db1b83905f73cac90dad2e838bf08 +MD5 0c083f5f0e3353d6be9f6a7955880f80 files/serial-2.17-r4 749 +RMD160 fe58eac51085ea4cd1dc4af4a9cce9f2d285c645 files/serial-2.17-r4 749 +SHA256 d01ca911ab83a08603dee7b43b9be09ee52db1b83905f73cac90dad2e838bf08 files/serial-2.17-r4 749 AUX setserial-2.17-build.patch 306 RMD160 18bd9dfabb66e04e5d006ced5238b1bd7041843f SHA1 05a318aeb819e5d08675b4a169168f63ee002e27 SHA256 ed206d99f02ff051ddb5ad5098d5271acee25751e232f92c75ffbc1d46b266aa MD5 0fb655dc1dcb2127d0495a82cdf4021e files/setserial-2.17-build.patch 306 RMD160 18bd9dfabb66e04e5d006ced5238b1bd7041843f files/setserial-2.17-build.patch 306 @@ -26,10 +27,14 @@ EBUILD setserial-2.17-r3.ebuild 1047 RMD160 1f1610d5033456697a7d3a1b425365d006c4 MD5 cfbeea8a83450630f91ecf4730cd7ba5 setserial-2.17-r3.ebuild 1047 RMD160 1f1610d5033456697a7d3a1b425365d006c4b739 setserial-2.17-r3.ebuild 1047 SHA256 52cb3dbc2f305590656fa2194b7b81b37eac7a2cca2d35f4cdd69cfcac6c9ddb setserial-2.17-r3.ebuild 1047 -MISC ChangeLog 2023 RMD160 7ebc70f3a4f291aaab0567674669c24d85c739db SHA1 28801c5043ef94547446e26b01ba11f515d38bf9 SHA256 7504c82787ccd76108346ecb2329bdeca77e7e44eb6dab48f5999116e3641f47 -MD5 9333bccef0697ab593de6239da1ecb4a ChangeLog 2023 -RMD160 7ebc70f3a4f291aaab0567674669c24d85c739db ChangeLog 2023 -SHA256 7504c82787ccd76108346ecb2329bdeca77e7e44eb6dab48f5999116e3641f47 ChangeLog 2023 +EBUILD setserial-2.17-r4.ebuild 1076 RMD160 f1086fae24d915e0b1c50f93b050d93bcd6f9729 SHA1 8cc99c9c43406a309aa2ef46ef13f15bb135ea06 SHA256 ac609e94f40fd15c078ff338aa16435820cd5110baebaf25e6d5ec35b6629242 +MD5 727916a50f85311ba7930a0d8a358ec7 setserial-2.17-r4.ebuild 1076 +RMD160 f1086fae24d915e0b1c50f93b050d93bcd6f9729 setserial-2.17-r4.ebuild 1076 +SHA256 ac609e94f40fd15c078ff338aa16435820cd5110baebaf25e6d5ec35b6629242 setserial-2.17-r4.ebuild 1076 +MISC ChangeLog 2206 RMD160 63bb738acc62d2c7fbb4c8ee5101d387fed48fbd SHA1 de0f8dc37665e2ad84e1167b00ed3cb11d5c0586 SHA256 743448850badc8d6057e0a420f09c4580d84f38872551f2a977f23b10301fe8b +MD5 9661f59d1676405d6d32a6f73e492441 ChangeLog 2206 +RMD160 63bb738acc62d2c7fbb4c8ee5101d387fed48fbd ChangeLog 2206 +SHA256 743448850badc8d6057e0a420f09c4580d84f38872551f2a977f23b10301fe8b ChangeLog 2206 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -37,10 +42,6 @@ SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata MD5 e3129cfa951e8c6af627b811855d00d1 files/digest-setserial-2.17-r3 241 RMD160 f21b9c6c698859577e1f18cd86f24fde18c3353e files/digest-setserial-2.17-r3 241 SHA256 60d8b1bc8403b5d46f4cda8d46d965017a162fe2cd5be6e51f3504ccd7f86565 files/digest-setserial-2.17-r3 241 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGb6I08bi6rjpTunYRAh5mAJ0Tq9a05PhS78fg7+zKWcN1Fd+0cACfeLC6 -xykCxHxDt0x0JJjzshJV+Bc= -=E8dL ------END PGP SIGNATURE----- +MD5 e3129cfa951e8c6af627b811855d00d1 files/digest-setserial-2.17-r4 241 +RMD160 f21b9c6c698859577e1f18cd86f24fde18c3353e files/digest-setserial-2.17-r4 241 +SHA256 60d8b1bc8403b5d46f4cda8d46d965017a162fe2cd5be6e51f3504ccd7f86565 files/digest-setserial-2.17-r4 241 diff --git a/sys-apps/setserial/files/digest-setserial-2.17-r4 b/sys-apps/setserial/files/digest-setserial-2.17-r4 new file mode 100644 index 000000000000..065ea13c3be6 --- /dev/null +++ b/sys-apps/setserial/files/digest-setserial-2.17-r4 @@ -0,0 +1,3 @@ +MD5 c4867d72c41564318e0107745eb7a0f2 setserial-2.17.tar.gz 52437 +RMD160 91b87e203f9469dc9c5586652a5231a10cf53cc8 setserial-2.17.tar.gz 52437 +SHA256 7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a setserial-2.17.tar.gz 52437 diff --git a/sys-apps/setserial/files/serial-2.17-r4 b/sys-apps/setserial/files/serial-2.17-r4 new file mode 100755 index 000000000000..faa29d15bf62 --- /dev/null +++ b/sys-apps/setserial/files/serial-2.17-r4 @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/files/serial-2.17-r4,v 1.1 2008/01/15 08:42:34 robbat2 Exp $ + +depend() { + need localmount +} + +start() { + [ ! -e /etc/serial.conf ] && return 0 + + # load the module if need be + if [ -e /proc/modules ] ; then + modprobe -q serial + fi + + grep -v "^#\|^ \|^$|^stty" /etc/serial.conf | while read device args + do + ebegin "Setting ${device} to $args" + setserial -b ${device} ${args} + eend $? + done + grep "^stty" /etc/serial.conf | while read x device args + do + ebegin "Setting (stty) ${device} to $args" + stty -F ${device} ${args} + eend $? + done + + return 0 +} + + +# vim:ts=4 diff --git a/sys-apps/setserial/setserial-2.17-r4.ebuild b/sys-apps/setserial/setserial-2.17-r4.ebuild new file mode 100644 index 000000000000..9a58edbd70ec --- /dev/null +++ b/sys-apps/setserial/setserial-2.17-r4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/setserial-2.17-r4.ebuild,v 1.1 2008/01/15 08:42:34 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="Configure your serial ports with it" +HOMEPAGE="http://setserial.sourceforge.net/" +SRC_URI="ftp://tsx-11.mit.edu/pub/linux/sources/sbin/${P}.tar.gz + ftp://ftp.sunsite.org.uk/Mirrors/tsx-11.mit.edu/pub/linux/sources/sbin/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-spelling.patch + epatch "${FILESDIR}"/${P}-manpage-updates.patch + epatch "${FILESDIR}"/${P}-headers.patch + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + econf || die + emake setserial || die +} + +src_install() { + doman setserial.8 + into / + dobin setserial || die + + insinto /etc + doins serial.conf + newinitd "${FILESDIR}"/serial-2.17-r4 serial + + dodoc README + docinto txt + dodoc Documentation/* +} |