summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-06-18 15:23:03 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-06-18 15:23:03 +0000
commit472aa9ed4a031e6a7241d8010786d8c6d3b19807 (patch)
tree8e2172fc360c146e2a724e9710f71f9f6064599d /app-misc/lirc
parentRename modprobe config file to em8300.conf (diff)
downloadgentoo-2-472aa9ed4a031e6a7241d8010786d8c6d3b19807.tar.gz
gentoo-2-472aa9ed4a031e6a7241d8010786d8c6d3b19807.tar.bz2
gentoo-2-472aa9ed4a031e6a7241d8010786d8c6d3b19807.zip
Rename modprobe config file to lirc.conf
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-misc/lirc')
-rw-r--r--app-misc/lirc/ChangeLog6
-rw-r--r--app-misc/lirc/lirc-0.8.4a.ebuild10
-rw-r--r--app-misc/lirc/lirc-0.8.5.ebuild10
3 files changed, 21 insertions, 5 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index f66758a5698e..e1df12bd1e28 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/lirc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.200 2009/06/17 21:02:36 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.201 2009/06/18 15:23:03 zzam Exp $
+
+ 18 Jun 2009; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.4a.ebuild,
+ lirc-0.8.5.ebuild:
+ Rename modprobe config file to lirc.conf
*lirc-0.8.5 (17 Jun 2009)
diff --git a/app-misc/lirc/lirc-0.8.4a.ebuild b/app-misc/lirc/lirc-0.8.4a.ebuild
index be10e20e785e..2237f1434bd3 100644
--- a/app-misc/lirc/lirc-0.8.4a.ebuild
+++ b/app-misc/lirc/lirc-0.8.4a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.4a.ebuild,v 1.4 2009/03/13 09:17:24 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.4a.ebuild,v 1.5 2009/06/18 15:23:03 zzam Exp $
inherit eutils linux-mod flag-o-matic autotools
@@ -279,7 +279,7 @@ src_install() {
newconfd "${FILESDIR}"/lircd.conf.2 lircd
insinto /etc/modprobe.d/
- newins "${FILESDIR}"/modprobed.lirc lirc
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
newinitd "${FILESDIR}"/irexec-initd irexec
newconfd "${FILESDIR}"/irexec-confd irexec
@@ -297,6 +297,12 @@ src_install() {
pkg_preinst() {
linux-mod_pkg_preinst
+ local dir="${ROOT}/etc/modprobe.d"
+ if [[ -a ${dir}/lirc && ! -a ${dir}/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf"
+ fi
+
# stop portage from deleting this file
if [[ -f ${ROOT}/etc/lircd.conf && ! -f ${D}/etc/lircd.conf ]]; then
cp "${ROOT}"/etc/lircd.conf "${D}"/etc/lircd.conf
diff --git a/app-misc/lirc/lirc-0.8.5.ebuild b/app-misc/lirc/lirc-0.8.5.ebuild
index 872e5334c7c8..9df0e17b960b 100644
--- a/app-misc/lirc/lirc-0.8.5.ebuild
+++ b/app-misc/lirc/lirc-0.8.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.1 2009/06/17 21:02:36 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.2 2009/06/18 15:23:03 zzam Exp $
inherit eutils linux-mod flag-o-matic autotools
@@ -285,7 +285,7 @@ src_install() {
newconfd "${FILESDIR}"/lircd.conf.2 lircd
insinto /etc/modprobe.d/
- newins "${FILESDIR}"/modprobed.lirc lirc
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
newinitd "${FILESDIR}"/irexec-initd irexec
newconfd "${FILESDIR}"/irexec-confd irexec
@@ -303,6 +303,12 @@ src_install() {
pkg_preinst() {
linux-mod_pkg_preinst
+ local dir="${ROOT}/etc/modprobe.d"
+ if [[ -a ${dir}/lirc && ! -a ${dir}/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf"
+ fi
+
# stop portage from deleting this file
if [[ -f ${ROOT}/etc/lircd.conf && ! -f ${D}/etc/lircd.conf ]]; then
cp "${ROOT}"/etc/lircd.conf "${D}"/etc/lircd.conf