From 9a431a2605427d3e6c88033edbbf6d57d35fdcfe Mon Sep 17 00:00:00 2001 From: "Sven Schwyn (svoop)" Date: Sun, 4 Oct 2009 19:52:47 +0000 Subject: app-misc/heyu: Version bump to 2.8.0 (bug #91396) svn path=/sunrise/; revision=9313 --- app-misc/heyu/ChangeLog | 4 ++ app-misc/heyu/Manifest | 6 +-- app-misc/heyu/heyu-2.7.0.ebuild | 81 ----------------------------------------- app-misc/heyu/heyu-2.8.0.ebuild | 81 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 84 deletions(-) delete mode 100644 app-misc/heyu/heyu-2.7.0.ebuild create mode 100644 app-misc/heyu/heyu-2.8.0.ebuild (limited to 'app-misc/heyu') diff --git a/app-misc/heyu/ChangeLog b/app-misc/heyu/ChangeLog index e2dd66e84..949997321 100644 --- a/app-misc/heyu/ChangeLog +++ b/app-misc/heyu/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Oct 2009; Sven Schwyn (svoop) + -heyu-2.7.0.ebuild, +heyu-2.8.0.ebuild: + Version bump to 2.8.0 (bug #91396) + 12 Jul 2009; Thomas Sachau (Tommy[D]) heyu-2.7.0.ebuild: Drop useless Makefile statement diff --git a/app-misc/heyu/Manifest b/app-misc/heyu/Manifest index 292b8808a..1f7e3bb03 100644 --- a/app-misc/heyu/Manifest +++ b/app-misc/heyu/Manifest @@ -1,5 +1,5 @@ AUX heyu.init 423 RMD160 96dd75247188abdb8847807863c1cf2952c54279 SHA1 aac324ffc55a7ec20055ce5af6340372a892b853 SHA256 aee16c73a380015858137f7bbc0f1944727ddd82403bc7b2734d291855d0a9a9 -DIST heyu-2.7.0.tgz 538676 RMD160 1f208ff917d4bf126afa2e113bcc8bd008654776 SHA1 fdd35b10730036842b023108a69c3c33d73c5ebf SHA256 4ad5127da2cd314ba022481dc266eda45253046f8340f6f6b427e7a1a362ba2b -EBUILD heyu-2.7.0.ebuild 3102 RMD160 d514835bbd360a128ba0f16d39d7d95a8424e07a SHA1 50598e3cbf54e947ec66066dd29917b5b9f8bf00 SHA256 dd364e978ebc2105632a0d40f0bec268fd2e9bca84d0cc6ee8bc769c1b196a25 -MISC ChangeLog 1978 RMD160 c8480e4dbc909aa9eb3ecfdcdc8f1bf34cc139b9 SHA1 737ee51251531b08ecbe11c8f1c8edea8c117c8e SHA256 38f19ba72eb93c6c16b6b004ea54797eeaf8cd6deef03b93de0b1856f3b09b3c +DIST heyu-2.8.0.tgz 553327 RMD160 aac154de52cb8c483e99b4dd5bbe83e3f79d24e2 SHA1 e3f6fc121a30e101d90df87d5ab9826d9521c54b SHA256 235148215b9b323c3699be4b09894a766c93d00de870145d25542e4051913c62 +EBUILD heyu-2.8.0.ebuild 3100 RMD160 cc823b4946e8c77d2ef9a946ee265e3d89bfb1c0 SHA1 e44987a54e2c1bbe515c6ed483950d1ecde36309 SHA256 0fdaf594d4d1049f96360a86743c0d52d466ce5373a9a1c7d8dff3a7aa84c4eb +MISC ChangeLog 2116 RMD160 d10e4b569c339154cd14473631e7fcb30503621b SHA1 b630953ec52e1cb85e7f62aaa1817270782a4716 SHA256 8f0c75d23d36845c7154738e171d0a6aacef7bfce5862e19d2cd56a72c4ad870 MISC metadata.xml 1225 RMD160 9cc4a306989b21aadc2c46cbe77b49d94f5f7531 SHA1 01b5d2dfc5446f495689a0d1a8357982464e54fb SHA256 9b9ac8546a69802b4de3818d06e98c4738485d6634fb6375f087cb1ae2853a07 diff --git a/app-misc/heyu/heyu-2.7.0.ebuild b/app-misc/heyu/heyu-2.7.0.ebuild deleted file mode 100644 index ddf3ff289..000000000 --- a/app-misc/heyu/heyu-2.7.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils toolchain-funcs - -DESCRIPTION="Utility to control and program CM11A, CM17A and CM12U X10 interfaces" -HOMEPAGE="http://heyu.tanj.com" -SRC_URI="http://heyu.tanj.com/download/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="kernel_Darwin kernel_FreeBSD kernel_linux cm17a dmx210 ext0 ore rfxm rfxs" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},uucp" - ewarn "Heyu must not be running when updating to a higher version as" - ewarn "stray lockfiles may prevent it from restarting - in which case" - ewarn "you should refer to the cleanup section of the Heyu man page." - epause -} - -src_configure() { - mv x10config.sample x10.conf.sample - "${S}"/Configure \ - $(use kernel_FreeBSD && echo "freebsd") \ - $(use kernel_Darwin && echo "darwin") \ - $(use kernel_linux && echo "linux") \ - $(use cm17a || echo "-nocm17a") \ - $(use dmx210 || echo "-nodmx") \ - $(use ext0 || echo "-noext0") \ - $(use ore || echo "-noore") \ - $(use rfxm || echo "-norfxm") \ - $(use rfxs || echo "-norfxs") \ - || die "configure failed" - sed -i -r -e "s/CC\s*=.*/CC = $(tc-getCC)/" \ - -e "s/CFLAGS\s*=.*/CFLAGS = ${CFLAGS} \$(DFLAGS)/" \ - -e 's%^(DFLAGS.+)-DSYSBASEDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DSYSBASEDIR=\\"/var/lib/heyu\\" %' \ - -e 's%^(DFLAGS.+)-DSPOOLDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DSPOOLDIR=\\"/var/lib/heyu\\" %' \ - -e 's%^(DFLAGS.+)-DLOCKDIR=\\"[^\]+\\"%\1%' \ - -e 's%^(DFLAGS\s*=\s*)%\1-DLOCKDIR=\\"/var/lock\\" %' "${S}"/Makefile || die "adjusting Makefile failed" - sed -i -r 's%(LOG_DIR.*?)NONE%\1/var/log/heyu%' "${S}"/x10.conf.sample || die "changing LOG_DIR failed" -} - -src_install() { - dobin heyu || die "installing binary failed" - doman heyu.1 x10{config,scripts,sched}.5 || die "installing man pages failed" - newinitd "${FILESDIR}"/heyu.init heyu - insinto /etc/heyu - doins x10.*.sample || die "installing config samples failed" - diropts -m 0750 -o heyu - dodir /var/log/heyu || die "creating log directory failed" - dosym /etc/heyu/x10.conf /var/lib/heyu/x10.conf || die "dosym failed" - dosym /etc/heyu/x10.sched /var/lib/heyu/x10.sched || die "dosym failed" -} - -pkg_postinst() { - elog "Don't forget to tell heyu where to find your CM11 or CM17. Therefore" - elog "the file /etc/heyu/x10.conf must contain a line starting with 'TTY'" - elog "followed by the corresponding device such as:" - elog - elog "TTY /dev/ttyS0 <-- on first serial port" - elog "TTY /dev/ttyS1 <-- on second serial port" - elog "TTY /dev/ttyUSB0 <-- on USB port" - elog - elog "To use your device on a USB port, the corresponding USB serial converter" - elog "kernel module must be loaded. Older CM11 are usually delivered with a" - elog "a Prolific 2303 cable (kernel module: pl2303) while newer come with a" - elog "FTDI cable (kernel module: ftdi_sio)." - elog - elog "Execute the following command if you wish to start the HEYU daemon" - elog "at boot time:" - elog - elog "rc-update add heyu default" -} diff --git a/app-misc/heyu/heyu-2.8.0.ebuild b/app-misc/heyu/heyu-2.8.0.ebuild new file mode 100644 index 000000000..9aea0218b --- /dev/null +++ b/app-misc/heyu/heyu-2.8.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="Utility to control and program CM11A, CM17A and CM12U X10 interfaces" +HOMEPAGE="http://www.heyu.org" +SRC_URI="http://www.heyu.org/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="kernel_Darwin kernel_FreeBSD kernel_linux cm17a dmx210 ext0 ore rfxm rfxs" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},uucp" + ewarn "Heyu must not be running when updating to a higher version as" + ewarn "stray lockfiles may prevent it from restarting - in which case" + ewarn "you should refer to the cleanup section of the Heyu man page." + epause +} + +src_configure() { + mv x10config.sample x10.conf.sample + "${S}"/Configure \ + $(use kernel_FreeBSD && echo "freebsd") \ + $(use kernel_Darwin && echo "darwin") \ + $(use kernel_linux && echo "linux") \ + $(use cm17a || echo "-nocm17a") \ + $(use dmx210 || echo "-nodmx") \ + $(use ext0 || echo "-noext0") \ + $(use ore || echo "-noore") \ + $(use rfxm || echo "-norfxm") \ + $(use rfxs || echo "-norfxs") \ + || die "configure failed" + sed -i -r -e "s/CC\s*=.*/CC = $(tc-getCC)/" \ + -e "s/CFLAGS\s*=.*/CFLAGS = ${CFLAGS} \$(DFLAGS)/" \ + -e 's%^(DFLAGS.+)-DSYSBASEDIR=\\"[^\]+\\"%\1%' \ + -e 's%^(DFLAGS\s*=\s*)%\1-DSYSBASEDIR=\\"/var/lib/heyu\\" %' \ + -e 's%^(DFLAGS.+)-DSPOOLDIR=\\"[^\]+\\"%\1%' \ + -e 's%^(DFLAGS\s*=\s*)%\1-DSPOOLDIR=\\"/var/lib/heyu\\" %' \ + -e 's%^(DFLAGS.+)-DLOCKDIR=\\"[^\]+\\"%\1%' \ + -e 's%^(DFLAGS\s*=\s*)%\1-DLOCKDIR=\\"/var/lock\\" %' "${S}"/Makefile || die "adjusting Makefile failed" + sed -i -r 's%(LOG_DIR.*?)NONE%\1/var/log/heyu%' "${S}"/x10.conf.sample || die "changing LOG_DIR failed" +} + +src_install() { + dobin heyu || die "installing binary failed" + doman heyu.1 x10{config,scripts,sched}.5 || die "installing man pages failed" + newinitd "${FILESDIR}"/heyu.init heyu + insinto /etc/heyu + doins x10.*.sample || die "installing config samples failed" + diropts -m 0750 -o heyu + dodir /var/log/heyu || die "creating log directory failed" + dosym /etc/heyu/x10.conf /var/lib/heyu/x10.conf || die "dosym failed" + dosym /etc/heyu/x10.sched /var/lib/heyu/x10.sched || die "dosym failed" +} + +pkg_postinst() { + elog "Don't forget to tell heyu where to find your CM11 or CM17. Therefore" + elog "the file /etc/heyu/x10.conf must contain a line starting with 'TTY'" + elog "followed by the corresponding device such as:" + elog + elog "TTY /dev/ttyS0 <-- on first serial port" + elog "TTY /dev/ttyS1 <-- on second serial port" + elog "TTY /dev/ttyUSB0 <-- on USB port" + elog + elog "To use your device on a USB port, the corresponding USB serial converter" + elog "kernel module must be loaded. Older CM11 are usually delivered with a" + elog "a Prolific 2303 cable (kernel module: pl2303) while newer come with a" + elog "FTDI cable (kernel module: ftdi_sio)." + elog + elog "Execute the following command if you wish to start the HEYU daemon" + elog "at boot time:" + elog + elog "rc-update add heyu default" +} -- cgit v1.2.3-18-g5258