summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-12-12 23:04:47 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-12-12 23:04:47 +0000
commit08cd4539282a8a5a3262029ec3f676cc25a2127f (patch)
tree0ea526d7dc5e01cc3558e128fa308469e9e01aac /sys-apps/pbbuttonsd
parentversion bump (diff)
downloadgentoo-2-08cd4539282a8a5a3262029ec3f676cc25a2127f.tar.gz
gentoo-2-08cd4539282a8a5a3262029ec3f676cc25a2127f.tar.bz2
gentoo-2-08cd4539282a8a5a3262029ec3f676cc25a2127f.zip
Minor fixes
Diffstat (limited to 'sys-apps/pbbuttonsd')
-rw-r--r--sys-apps/pbbuttonsd/ChangeLog8
-rw-r--r--sys-apps/pbbuttonsd/Manifest16
-rw-r--r--sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.6-r11
-rw-r--r--sys-apps/pbbuttonsd/files/pbbuttonsd.rc55
-rw-r--r--sys-apps/pbbuttonsd/pbbuttonsd-0.5.6-r1.ebuild54
5 files changed, 74 insertions, 10 deletions
diff --git a/sys-apps/pbbuttonsd/ChangeLog b/sys-apps/pbbuttonsd/ChangeLog
index 23491d4777eb..96b29184aa1f 100644
--- a/sys-apps/pbbuttonsd/ChangeLog
+++ b/sys-apps/pbbuttonsd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/pbbuttonsd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/ChangeLog,v 1.14 2003/11/30 03:38:03 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/ChangeLog,v 1.15 2003/12/12 23:04:47 lu_zero Exp $
+
+*pbbuttonsd-0.5.6-r1 (12 Dec 2003)
+
+ 12 Dec 2003; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.6-r1.ebuild,
+ files/pbbuttonsd.rc5:
+ Minor changes
30 Nov 2003; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.6.ebuild:
minor fix
diff --git a/sys-apps/pbbuttonsd/Manifest b/sys-apps/pbbuttonsd/Manifest
index 66d5204072d4..911b04fb3607 100644
--- a/sys-apps/pbbuttonsd/Manifest
+++ b/sys-apps/pbbuttonsd/Manifest
@@ -1,12 +1,14 @@
-MD5 2ce9daa4bc70abffcd35455bad7f97c0 ChangeLog 3198
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 bf0f34d3eaff3378d0d4f698a0ffe3c1 pbbuttonsd-0.5.6-r1.ebuild 1654
MD5 b2ef7a8c8043568b467e1b9e4f60eb3d pbbuttonsd-0.4.10a.ebuild 1100
-MD5 14c12e4205500fddadbfe120ae154558 pbbuttonsd-0.5.2-r1.ebuild 1432
+MD5 9022a4758ea0debbf945aa3ef309d836 ChangeLog 3352
MD5 4c2fbe0bf493d4f89d8cd6a645a378b7 pbbuttonsd-0.5.3a.ebuild 1206
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 14c12e4205500fddadbfe120ae154558 pbbuttonsd-0.5.2-r1.ebuild 1432
MD5 4bb22d5ff123c3df7956eb3a60755d87 pbbuttonsd-0.5.6.ebuild 1410
-MD5 c6901eb0354ffab93115cf7eb49935c8 files/digest-pbbuttonsd-0.4.10a 70
-MD5 459c829a59fb5afde8ec96244abbcd68 files/digest-pbbuttonsd-0.5.2-r1 68
+MD5 24e2d67283b739b2524909cf646646ac files/digest-pbbuttonsd-0.5.6-r1 68
+MD5 56622898666491660d75995555e987fa files/pbbuttons-0.5.2-replace_pmud.patch 715
MD5 8430f4f1507faa7643174433360e12eb files/digest-pbbuttonsd-0.5.3a 69
MD5 24e2d67283b739b2524909cf646646ac files/digest-pbbuttonsd-0.5.6 68
-MD5 56622898666491660d75995555e987fa files/pbbuttons-0.5.2-replace_pmud.patch 715
-MD5 41f99c842d74599a981cca0f506e249e files/pbbuttonsd.rc5 536
+MD5 459c829a59fb5afde8ec96244abbcd68 files/digest-pbbuttonsd-0.5.2-r1 68
+MD5 98d1a71b475bb608a16ebbe45d9dccd0 files/pbbuttonsd.rc5 563
+MD5 c6901eb0354ffab93115cf7eb49935c8 files/digest-pbbuttonsd-0.4.10a 70
diff --git a/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.6-r1 b/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.6-r1
new file mode 100644
index 000000000000..9f616369dfac
--- /dev/null
+++ b/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.6-r1
@@ -0,0 +1 @@
+MD5 39e11699dfaa666ca3639184670bba22 pbbuttonsd-0.5.6.tar.gz 246820
diff --git a/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5 b/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5
index ab25dc06e4c1..c0a099887a6a 100644
--- a/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5
+++ b/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5
@@ -1,12 +1,13 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5,v 1.4 2003/02/14 23:26:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5,v 1.5 2003/12/12 23:04:47 lu_zero Exp $
start() {
ebegin "Starting pbbuttonsd"
- start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d
+ start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d \
+ /var/run/pbbuttonsd.pid
eend $?
}
diff --git a/sys-apps/pbbuttonsd/pbbuttonsd-0.5.6-r1.ebuild b/sys-apps/pbbuttonsd/pbbuttonsd-0.5.6-r1.ebuild
new file mode 100644
index 000000000000..cbbca8f58254
--- /dev/null
+++ b/sys-apps/pbbuttonsd/pbbuttonsd-0.5.6-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.5.6-r1.ebuild,v 1.1 2003/12/12 23:04:47 lu_zero Exp $
+
+DESCRIPTION="program to map special Powerbook/iBook keys in Linux"
+HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html"
+SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc"
+
+DEPEND="virtual/glibc
+ >=sys-apps/baselayout-1.8.6.12-r1"
+
+RDEPEND=""
+
+#src_unpack() {
+# unpack ${A}
+# cd ${S}
+#}
+
+src_compile() {
+ econf || die
+ make || die "compile failed"
+}
+
+src_install() {
+ local mydir=/var/lib
+ export CONFIG_PROTECT="${CONFIG_PROTECT}:${mydir}/pbbuttonsd"
+ dodir /etc/power
+ make sysconfdir=${D}/etc \
+ localstatedir=${D}/${mydir} \
+ DESTDIR=${D} install || die "failed to install"
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd
+ dodoc README COPYING
+ #fix the symlink
+ rm ${D}/etc/pbbuttonsd.conf
+# mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf
+# dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf
+ dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf
+ dodir /etc/env.d
+ echo "CONFIG_PROTECT=${mydir}/pbbuttonsd" \
+ >${D}/etc/env.d/10pbbuttonsd
+}
+
+pkg_postinst(){
+ einfo "This version of pbbuttonsd can replace PMUD functionality."
+ einfo "If you want PMUD installed and running, you should set"
+ einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can"
+ einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and"
+ einfo "disabling PMUD"
+}