summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-09-22 14:13:08 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-09-22 14:13:08 +0000
commitb420b68a206d2292e294feeb3b48034741b1d5da (patch)
treebba501c32fb7ad7862c3563de1165bb26312bdc8 /app-misc
parentAdding new init.d script for 0.5.0 to fix bug #148513 (diff)
downloadhistorical-b420b68a206d2292e294feeb3b48034741b1d5da.tar.gz
historical-b420b68a206d2292e294feeb3b48034741b1d5da.tar.bz2
historical-b420b68a206d2292e294feeb3b48034741b1d5da.zip
Adding new init.d script for 0.5.0 to fix bug #148513
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lcdproc/Manifest42
-rw-r--r--app-misc/lcdproc/files/LCDd22
-rw-r--r--app-misc/lcdproc/files/digest-lcdproc-0.5.03
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.0.ebuild173
4 files changed, 23 insertions, 217 deletions
diff --git a/app-misc/lcdproc/Manifest b/app-misc/lcdproc/Manifest
index af3d5d47703a..64e0b9a50ac2 100644
--- a/app-misc/lcdproc/Manifest
+++ b/app-misc/lcdproc/Manifest
@@ -1,29 +1,33 @@
+AUX 0.4.5-LCDd 549 RMD160 971a8f026c66f5ae7586d011d82243e8c27f288c SHA1 8d09017e2ecd6f8b34558671b2e5c8aafed03569 SHA256 21ac054692eea7e3804fe3a5397802cc3197e33997f6db8f80a6b95c8dcddb72
+MD5 217a0d8eef96791cce0eae69b5d454ec files/0.4.5-LCDd 549
+RMD160 971a8f026c66f5ae7586d011d82243e8c27f288c files/0.4.5-LCDd 549
+SHA256 21ac054692eea7e3804fe3a5397802cc3197e33997f6db8f80a6b95c8dcddb72 files/0.4.5-LCDd 549
+AUX 0.5.0-LCDd 670 RMD160 d7496a3d87c064d5b3acbdca4eb5a92f7aa6597d SHA1 9d5854e969f99fb44a9332c421bb6aa4e35a4624 SHA256 817178b84212fe6ff837dbe4f7c863738edcdd6dac2dc45be8a7d2e5c1bae20b
+MD5 417e02dd42edfc29f0c0fd99a3b22357 files/0.5.0-LCDd 670
+RMD160 d7496a3d87c064d5b3acbdca4eb5a92f7aa6597d files/0.5.0-LCDd 670
+SHA256 817178b84212fe6ff837dbe4f7c863738edcdd6dac2dc45be8a7d2e5c1bae20b files/0.5.0-LCDd 670
AUX 0.5.0-LCDd-conf-driver-path.patch 444 RMD160 11d980069324d65eaea54b955cb2dbfc4eeed502 SHA1 697645ac576e062c7e2f2ace5ced16dff362abc5 SHA256 f3aa79cded429f6b0f7f77a554497c8cf8680d9ae614c7b4d9bd05a0a57113f1
MD5 aeb87b6641dabc50f7ccd3dfe0c5aae9 files/0.5.0-LCDd-conf-driver-path.patch 444
RMD160 11d980069324d65eaea54b955cb2dbfc4eeed502 files/0.5.0-LCDd-conf-driver-path.patch 444
SHA256 f3aa79cded429f6b0f7f77a554497c8cf8680d9ae614c7b4d9bd05a0a57113f1 files/0.5.0-LCDd-conf-driver-path.patch 444
-AUX LCDd 544 RMD160 554201b2ca62fb5496f06fc3bf40afcb36af9974 SHA1 594fd6be41199fb9a536ec8dd9b29f46de6f7f25 SHA256 d8009b3984169a819e95a73adc19d5b63c990d63a965a396e10b68703614a652
-MD5 d3107f6fcc0b4c876e4ed05170177365 files/LCDd 544
-RMD160 554201b2ca62fb5496f06fc3bf40afcb36af9974 files/LCDd 544
-SHA256 d8009b3984169a819e95a73adc19d5b63c990d63a965a396e10b68703614a652 files/LCDd 544
AUX lcdproc 512 RMD160 45c496b9f1f6e683c096d4a1ec09ffb6e9c9fdda SHA1 da36be607453db20eb7f29f95ce4b54e5f9f91e7 SHA256 c8fb7ec117015b7a32118bd8d653ada5950c0f6b214a18a098eb291c606e9cca
MD5 51af79cb647ae69176a97e1217b47d4c files/lcdproc 512
RMD160 45c496b9f1f6e683c096d4a1ec09ffb6e9c9fdda files/lcdproc 512
SHA256 c8fb7ec117015b7a32118bd8d653ada5950c0f6b214a18a098eb291c606e9cca files/lcdproc 512
DIST lcdproc-0.4.5.tar.bz2 291703 RMD160 07067bfb681a098494a105a290711d973ea0171a SHA1 9680b83d18da8569e8f58d6d0b7b0158f543c94d SHA256 8707767a1ddf85b7894f4f62d9af53121fefff4ab8182eb9491b49a6d56b8127
DIST lcdproc-0.5.0.tar.gz 711118 RMD160 44153db5fe24cc45aa1b7a4be8afb87a9cd58062 SHA1 e3e1b32ff2f1c534e4f31b5866cbbcd6fbea50fc SHA256 a7567f3f68517008e68d15b33630f36ba539540fbb361a2f9c440ce2ceb8393b
-EBUILD lcdproc-0.4.5.ebuild 2630 RMD160 1b8d9a62e1fc0f82ebf16ba3040fe7b5a1463b94 SHA1 5ef27a8ce766eed2d3c207df6eade94a7eddd660 SHA256 e654a5f1bab92e295c8f4a8da1134010f35a579717e9cd7b6d09da041954a10d
-MD5 c52e55c9684695749b6f83c467622b10 lcdproc-0.4.5.ebuild 2630
-RMD160 1b8d9a62e1fc0f82ebf16ba3040fe7b5a1463b94 lcdproc-0.4.5.ebuild 2630
-SHA256 e654a5f1bab92e295c8f4a8da1134010f35a579717e9cd7b6d09da041954a10d lcdproc-0.4.5.ebuild 2630
-EBUILD lcdproc-0.5.0.ebuild 5323 RMD160 2096a0ba41586dee2b725e5c2e5e0588e48738e6 SHA1 36bcfb7e53a190919211657471ee370554d30334 SHA256 57859da70b6336968f42771d809447491c6214612baefdac0a60ed98fb504f5d
-MD5 db4c71a6a9df71d066fe6a83c763e219 lcdproc-0.5.0.ebuild 5323
-RMD160 2096a0ba41586dee2b725e5c2e5e0588e48738e6 lcdproc-0.5.0.ebuild 5323
-SHA256 57859da70b6336968f42771d809447491c6214612baefdac0a60ed98fb504f5d lcdproc-0.5.0.ebuild 5323
-MISC ChangeLog 4673 RMD160 678ca7a386c471ac0b207425f5f9baa9eced4522 SHA1 53455e4ea4b1b7c8b53f6a0d57dadc0b551ca51e SHA256 c876e5dc2eb8692327661cdf80577e6b08035225556f08c807f52b2f936672b8
-MD5 f1c52aaeccc88779fe4fa642e86bfa52 ChangeLog 4673
-RMD160 678ca7a386c471ac0b207425f5f9baa9eced4522 ChangeLog 4673
-SHA256 c876e5dc2eb8692327661cdf80577e6b08035225556f08c807f52b2f936672b8 ChangeLog 4673
+EBUILD lcdproc-0.4.5.ebuild 2640 RMD160 213abdf6f87cbe3e73df5f3dac61f8cc685a3f92 SHA1 86bb720c8f069bd38d79d66474cced1dccb25654 SHA256 bce3d9eae2368de43d072fa8f59ec26332c1ae6f2111c9896f0aa6d2bd362b75
+MD5 4898e99d34bbe1acba3412684856ab27 lcdproc-0.4.5.ebuild 2640
+RMD160 213abdf6f87cbe3e73df5f3dac61f8cc685a3f92 lcdproc-0.4.5.ebuild 2640
+SHA256 bce3d9eae2368de43d072fa8f59ec26332c1ae6f2111c9896f0aa6d2bd362b75 lcdproc-0.4.5.ebuild 2640
+EBUILD lcdproc-0.5.0-r1.ebuild 5427 RMD160 fd74bbb4b8f7f305bf7fae5e9600260ac8753414 SHA1 56e89f2774a552285257ab4b3787f5c28b140442 SHA256 6fa07b963dfcbf8142ddca9406ae418b5272cadd71484d7bc127b3ebf055b0a7
+MD5 27a71b4661cef06a07343bb0afbe0a10 lcdproc-0.5.0-r1.ebuild 5427
+RMD160 fd74bbb4b8f7f305bf7fae5e9600260ac8753414 lcdproc-0.5.0-r1.ebuild 5427
+SHA256 6fa07b963dfcbf8142ddca9406ae418b5272cadd71484d7bc127b3ebf055b0a7 lcdproc-0.5.0-r1.ebuild 5427
+MISC ChangeLog 4921 RMD160 03cce4e650562e7beac60ab6e5346a7d1e641afc SHA1 8963787620ee642862afdb38162b42a1177c712e SHA256 66f261c73004e57dc658e8438796f978bc74a0fc06c5545012bb1ad785d66bff
+MD5 ea329ef3685d634c9d8f801e27cc217a ChangeLog 4921
+RMD160 03cce4e650562e7beac60ab6e5346a7d1e641afc ChangeLog 4921
+SHA256 66f261c73004e57dc658e8438796f978bc74a0fc06c5545012bb1ad785d66bff ChangeLog 4921
MISC metadata.xml 347 RMD160 57d9115a67602540437d61e4bf94f2f5e164e061 SHA1 2fc61586cd884fab52bf7db6056aee450d2bfa22 SHA256 1f8d5bf798f8c8fbdd3c05d5a65edfb149dd36dacd054f237078a748816d6b61
MD5 c64d0b3bf93b0d9a555d4faaaa5fa9f3 metadata.xml 347
RMD160 57d9115a67602540437d61e4bf94f2f5e164e061 metadata.xml 347
@@ -31,6 +35,6 @@ SHA256 1f8d5bf798f8c8fbdd3c05d5a65edfb149dd36dacd054f237078a748816d6b61 metadata
MD5 dd73d1296a9e0c2b636f440d8ec7108c files/digest-lcdproc-0.4.5 244
RMD160 8ac61a26eb229cd464fde4a99eae188c66cd7474 files/digest-lcdproc-0.4.5 244
SHA256 ec3e28b7b2139bc95d6d832b07f789aa55db4f469147309e40a5c06ae587511a files/digest-lcdproc-0.4.5 244
-MD5 6d44a04cfda3b2fc4e142c9e5f6c030f files/digest-lcdproc-0.5.0 241
-RMD160 0f9866a631a7ba250b3f31cd775862102e1f6a46 files/digest-lcdproc-0.5.0 241
-SHA256 93b5ec62e59ce1da93698995d0e96d014ab04be84ab1639c2a6f185033c7dd0c files/digest-lcdproc-0.5.0 241
+MD5 6d44a04cfda3b2fc4e142c9e5f6c030f files/digest-lcdproc-0.5.0-r1 241
+RMD160 0f9866a631a7ba250b3f31cd775862102e1f6a46 files/digest-lcdproc-0.5.0-r1 241
+SHA256 93b5ec62e59ce1da93698995d0e96d014ab04be84ab1639c2a6f185033c7dd0c files/digest-lcdproc-0.5.0-r1 241
diff --git a/app-misc/lcdproc/files/LCDd b/app-misc/lcdproc/files/LCDd
deleted file mode 100644
index 1d9ddba15d0e..000000000000
--- a/app-misc/lcdproc/files/LCDd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/LCDd,v 1.7 2004/10/05 22:21:14 vapier Exp $
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting LCDd"
- start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
- --background --exec /usr/sbin/LCDd -- -s -f -c /etc/LCDd.conf
- sleep 1
- eend $?
-}
-
-stop() {
- ebegin "Stopping LCDd"
- start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
- eend $?
-}
diff --git a/app-misc/lcdproc/files/digest-lcdproc-0.5.0 b/app-misc/lcdproc/files/digest-lcdproc-0.5.0
deleted file mode 100644
index 6fd0b99fd06c..000000000000
--- a/app-misc/lcdproc/files/digest-lcdproc-0.5.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4b67e421c19063fa322611a849ab5b80 lcdproc-0.5.0.tar.gz 711118
-RMD160 44153db5fe24cc45aa1b7a4be8afb87a9cd58062 lcdproc-0.5.0.tar.gz 711118
-SHA256 a7567f3f68517008e68d15b33630f36ba539540fbb361a2f9c440ce2ceb8393b lcdproc-0.5.0.tar.gz 711118
diff --git a/app-misc/lcdproc/lcdproc-0.5.0.ebuild b/app-misc/lcdproc/lcdproc-0.5.0.ebuild
deleted file mode 100644
index a64f408607ae..000000000000
--- a/app-misc/lcdproc/lcdproc-0.5.0.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.0.ebuild,v 1.3 2006/09/21 03:11:29 mr_bones_ Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
-HOMEPAGE="http://lcdproc.org/"
-SRC_URI="mirror://sourceforge/lcdproc/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc64 ~x86"
-
-# general use keywords in first line, drivers in line 2
-IUSE="doc debug ldap nfs samba usb
- graphlcd irman lirc ncurses svga ula200 xosd"
-
-DEPEND="sys-apps/sed
- >=sys-kernel/linux-headers-2.6.11
- doc? ( app-text/docbook-sgml-utils )
- ldap? ( net-nds/openldap )
- usb? ( dev-libs/libusb )
-
- graphlcd? ( app-misc/graphlcd-base )
- irman? ( media-libs/libirman )
- lirc? ( app-misc/lirc )
- ncurses? ( sys-libs/ncurses )
- svga? ( media-libs/svgalib )
- ula200? ( dev-embedded/libftdi dev-libs/libusb )
- xosd? ( x11-libs/xosd ) "
-
-USE_DRIVERS="curses glcdlib irman lirc svga ula200 xosd"
-EXTRA_DRIVERS="bayrad CFontz CFontz633 CFontzPacket CwLnx \
- glk hd44780 icp_a106 imon IOWarrior joy lb216 lcdm001 \
- lcterm ms6931 mtc_s16209x MtxOrb NoritakeVFD pyramid sed1330 \
- sed1520 serialVFD sli stv5730 t6963 text tyan "
-ALL_DRIVERS="${USE_DRIVERS} ${EXTRA_DRIVERS}"
-
-
-# compatibility with 1.4-ebuild format
-LCDPROC_DRIVERS=${LCDPROC_DRIVERS//,/ }
-
-# if no drivers or all are set, select the defaults
-has all ${LCDPROC_DRIVERS} \
- && LCDPROC_DRIVERS="${EXTRA_DRIVERS}"
-[ -z "${LCDPROC_DRIVERS}" ] \
- && LCDPROC_DRIVERS="${EXTRA_DRIVERS}"
-has none ${LCDPROC_DRIVERS} \
- && LCDPROC_DRIVERS=""
-
-pkg_setup() {
-
- echo
- einfo "If you are updating from lcdproc-0.4, note that the setup of drivers has changed:"
- einfo "The drivers curses, glcdlib, irman, lirc, svga, ula200 and xosd are controlled by use flags."
- einfo "All other drivers are built by default, or in respect to the env variable"
- einfo "LCDPROC_DRIVERS which can be a space separated list. Example:"
- einfo " LCDPROC_DRIVERS=\"text CFontz\" emerge lcdproc"
- einfo "You can also set this variable in your make.conf."
- echo
- einfo "Possible choices for LCDPROC_DRIVERS are:"
- einfo " bayrad CFontz CFontz633 CFontzPacket CwLnx glk hd44780 "
- einfo " icp_a106 imon IOWarrior joy lb216 lcdm001 lcterm "
- einfo " ms6931 mtc_s16209x MtxOrb NoritakeVFD pyramid sed1330 "
- einfo " sed1520 serialVFD sli stv5730 t6963 text tyan"
- einfo " 'all' if you want to include all drivers (default)."
- einfo " 'none' will not include any extra drivers."
- echo
-
- local FILTERED_DRIVERS
- for driver in ${LCDPROC_DRIVERS}; do
- if has ${driver} ${EXTRA_DRIVERS} ; then
- FILTERED_DRIVERS="${FILTERED_DRIVERS} ${driver}"
- else
- eerror "The extra driver '${driver}' is not available or has to be enabled by a USE flag."
- eerror "Please check your LCDPROC_DRIVERS-variable!"
- echo
- fi
- done
- LCDPROC_DRIVERS="${FILTERED_DRIVERS}"
-
- einfo "The following drivers will be built: "
- echo
-
- # add use-flag specific drivers to LCDPROC_DRIVERS
- use graphlcd && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} glcdlib"
- use irman && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} irman"
- use lirc && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} lirc"
- use ncurses && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} curses"
- use svga && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} svga"
- use ula200 && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} ula200"
- use xosd && LCDPROC_DRIVERS="${LCDPROC_DRIVERS} xosd"
-
- for driver in ${ALL_DRIVERS}; do
- has ${driver} ${LCDPROC_DRIVERS} \
- && einfo $driver ;
- done
- echo
-
- has glcdlib ${LCDPROC_DRIVERS} || has all ${LCDPROC_DRIVERS} \
- && ewarn "Support for glcdlib might not work if you do not manually install" \
- && ewarn "GLCDprocDriver from http://www.muresan.de/graphlcd/lcdproc/"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PV}-LCDd-conf-driver-path.patch"
-}
-
-src_compile() {
- # avoid executable stack as mentioned
- # in http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
- append-ldflags -Wl,-z,noexecstack
-
- # convert space separated LCDPROC_DRIVERS to comma separated COMMA_DRIVERS
- local COMMA_DRIVERS
- for driver in ${LCDPROC_DRIVERS}; do
- if [ -z "${COMMA_DRIVERS}" ] ; then
- COMMA_DRIVERS="${driver}"
- else
- COMMA_DRIVERS="${COMMA_DRIVERS},${driver}"
- fi
- done
-
- econf \
- $(use_enable debug) \
- $(use_enable ldap) \
- $(use_enable nfs stat-nfs) \
- $(use_enable samba stat-smbfs ) \
- $(use_enable usb libusb) \
- "--enable-drivers=${COMMA_DRIVERS}" \
- || die "configure failed"
-
- if use doc; then
- cd ${S}/docs/lcdproc-user
- docbook2html lcdproc-user.docbook
- fi
-
- emake || die "make failed"
-}
-
-src_install() {
- dosbin server/LCDd
- dobin clients/lcdproc/lcdproc clients/lcdexec/lcdexec
-
- insinto /usr/share/lcdproc/drivers
- doins server/drivers/*.so
-
- insinto /usr/share/lcdproc/clients
- doins clients/examples/*.pl
- doins clients/metar/lcdmetar.pl
- doins clients/headlines/lcdheadlines
-
- insinto /etc
- doins LCDd.conf
- doins scripts/lcdproc.conf
-
- exeinto /etc/init.d
- doexe ${FILESDIR}/LCDd
- doexe ${FILESDIR}/lcdproc
-
- doman docs/*.1 docs/*.8
- dodoc README CREDITS ChangeLog INSTALL
- dodoc docs/README.* docs/*.txt
-
- if use doc; then
- insinto /usr/share/doc/${PF}/lcdproc-user
- doins docs/lcdproc-user/*.html
- fi
-
-}