]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/commitdiff
add new package pm-utils (required by libvirt)
authorjonaschl <jonnyschlag@gmail.com>
Mon, 14 Mar 2016 16:28:32 +0000 (17:28 +0100)
committerjonaschl <jonnyschlag@gmail.com>
Mon, 14 Mar 2016 16:28:32 +0000 (17:28 +0100)
config/rootfiles/packages/pm-utils [new file with mode: 0644]
lfs/pm-utils [new file with mode: 0644]

diff --git a/config/rootfiles/packages/pm-utils b/config/rootfiles/packages/pm-utils
new file mode 100644 (file)
index 0000000..707a5ee
--- /dev/null
@@ -0,0 +1,55 @@
+usr/bin/on_ac_power
+usr/bin/pm-is-supported
+usr/etc/pm
+usr/etc/pm/config.d
+usr/etc/pm/power.d
+usr/etc/pm/sleep.d
+usr/lib/pkgconfig/pm-utils.pc
+usr/lib/pm-utils
+usr/lib/pm-utils/bin
+usr/lib/pm-utils/bin/pm-action
+usr/lib/pm-utils/bin/pm-pmu
+usr/lib/pm-utils/bin/pm-reset-swap
+usr/lib/pm-utils/bin/service
+usr/lib/pm-utils/defaults
+usr/lib/pm-utils/functions
+usr/lib/pm-utils/module.d
+usr/lib/pm-utils/module.d/kernel
+usr/lib/pm-utils/module.d/tuxonice
+usr/lib/pm-utils/module.d/uswsusp
+usr/lib/pm-utils/pm-functions
+usr/lib/pm-utils/power.d
+usr/lib/pm-utils/power.d/disable_wol
+usr/lib/pm-utils/power.d/hal-cd-polling
+usr/lib/pm-utils/power.d/harddrive
+usr/lib/pm-utils/power.d/intel-audio-powersave
+usr/lib/pm-utils/power.d/journal-commit
+usr/lib/pm-utils/power.d/laptop-mode
+usr/lib/pm-utils/power.d/pcie_aspm
+usr/lib/pm-utils/power.d/readahead
+usr/lib/pm-utils/power.d/sata_alpm
+usr/lib/pm-utils/power.d/sched-powersave
+usr/lib/pm-utils/power.d/wireless
+usr/lib/pm-utils/power.d/xfs_buffer
+usr/lib/pm-utils/sleep.d
+usr/lib/pm-utils/sleep.d/00logging
+usr/lib/pm-utils/sleep.d/00powersave
+usr/lib/pm-utils/sleep.d/01grub
+usr/lib/pm-utils/sleep.d/49bluetooth
+usr/lib/pm-utils/sleep.d/55NetworkManager
+usr/lib/pm-utils/sleep.d/75modules
+usr/lib/pm-utils/sleep.d/90clock
+usr/lib/pm-utils/sleep.d/94cpufreq
+usr/lib/pm-utils/sleep.d/95led
+usr/lib/pm-utils/sleep.d/98video-quirk-db-handler
+usr/lib/pm-utils/sleep.d/99video
+usr/sbin/pm-hibernate
+usr/sbin/pm-powersave
+usr/sbin/pm-suspend
+usr/sbin/pm-suspend-hybrid
+#usr/share/doc/pm-utils
+#usr/share/doc/pm-utils/HOWTO.hooks
+#usr/share/doc/pm-utils/HOWTO.modules
+#usr/share/doc/pm-utils/README
+#usr/share/doc/pm-utils/README.debugging
+#usr/share/doc/pm-utils/README.distributions
diff --git a/lfs/pm-utils b/lfs/pm-utils
new file mode 100644 (file)
index 0000000..a026c90
--- /dev/null
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.4.1
+
+THISAPP    = pm-utils-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = http://pm-utils.freedesktop.org/releases/
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = pm-utils
+PAK_VER    = 1
+
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 1742a556089c36c3a89eb1b957da5a60
+
+install : $(TARGET)
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+md5 : $(subst %,%_MD5,$(objects))
+dist:.
+       $(PAK)
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+###############################################################################
+# Installation Details
+###############################################################################
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) &&  tar xvf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
+       @$(POSTBUILD)