]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
cpufrequtils: Remove package.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Mar 2012 23:11:50 +0000 (00:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Mar 2012 23:11:50 +0000 (00:11 +0100)
The functionality is now provided by cpupower which
comes with the Linux kernel (kernel-tools).

cpufrequtils/cpufrequtils.nm [deleted file]
cpufrequtils/patches/cpufrequtils-008-aperf-32bit.patch [deleted file]
cpufrequtils/patches/cpufrequtils-008-no-aperf-on-ppc.patch [deleted file]
cpufrequtils/patches/cpufrequtils-multilib.patch [deleted file]
cpufrequtils/patches/disable-gsic.patch [deleted file]

diff --git a/cpufrequtils/cpufrequtils.nm b/cpufrequtils/cpufrequtils.nm
deleted file mode 100644 (file)
index 6465a45..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = cpufrequtils
-version    = 008
-release    = 5
-
-groups     = Applications/System
-url        = http://htop.sourceforge.net/
-license    = GPLv2
-summary    = Command line tools to determine current CPUfreq settings and to modify them
-
-description
-       Command line tools to determine current CPUfreq settings and to modify them
-end
-
-source_dl  =
-
-build
-       requires
-               gettext
-               libtool
-               sysfsutils
-       end
-
-       make_install_targets += mandir=/usr/share/man
-end
-
-packages
-       package %{name}
-               groups += Base
-       end
-
-       package %{name}-devel
-               template DEVEL
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/cpufrequtils/patches/cpufrequtils-008-aperf-32bit.patch b/cpufrequtils/patches/cpufrequtils-008-aperf-32bit.patch
deleted file mode 100644 (file)
index ae94b0a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- cpufrequtils-008/utils/aperf.c     2010-07-05 17:43:17.000000000 +0200
-+++ cpufrequtils-008/utils/aperf.c.new 2011-02-07 16:34:17.421278000 +0100
-@@ -96,7 +96,7 @@
-               return -1;
-       if (lseek(fd, idx, SEEK_CUR) == -1)
-               goto err;
--      if (read(fd, val, sizeof val) != sizeof *val)
-+      if (read(fd, val, sizeof *val) != sizeof *val)
-               goto err;
-       close(fd);
-       return 0;
diff --git a/cpufrequtils/patches/cpufrequtils-008-no-aperf-on-ppc.patch b/cpufrequtils/patches/cpufrequtils-008-no-aperf-on-ppc.patch
deleted file mode 100644 (file)
index 8bfca01..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
---- cpufrequtils-008/Makefile  2011-02-10 13:04:49.235589962 +0100
-+++ cpufrequtils-008/Makefile.new      2011-02-10 13:08:00.481589942 +0100
-@@ -118,7 +118,7 @@
- CPPFLAGS += -DVERSION=\"$(VERSION)\" -DPACKAGE=\"$(PACKAGE)\" \
-               -DPACKAGE_BUGREPORT=\"$(PACKAGE_BUGREPORT)\" -D_GNU_SOURCE
--UTIL_SRC =    utils/info.c utils/set.c utils/aperf.c utils/cpuid.h
-+UTIL_SRC =    utils/info.c utils/set.c 
- LIB_HEADERS =         lib/cpufreq.h lib/interfaces.h
- LIB_SRC =     lib/cpufreq.c
- LIB_OBJS =    lib/cpufreq.o
-@@ -199,7 +199,7 @@
-       $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@ utils/$@.o -lcpufreq
-       $(QUIET) $(STRIPCMD) $@
--utils: cpufreq-info cpufreq-set cpufreq-aperf
-+utils: cpufreq-info cpufreq-set 
- po/$(PACKAGE).pot: $(UTIL_SRC)
-       @xgettext --default-domain=$(PACKAGE) --add-comments \
-@@ -229,7 +229,7 @@
- clean:
-       -find . \( -not -type d \) -and \( -name '*~' -o -name '*.[oas]' \) -type f -print \
-        | xargs rm -f
--      -rm -f cpufreq-info cpufreq-set cpufreq-aperf
-+      -rm -f cpufreq-info cpufreq-set 
-       -rm -f libcpufreq.so*
-       -rm -f build/ccdv
-       -rm -rf po/*.gmo po/*.pot
-@@ -246,7 +246,6 @@
-       $(INSTALL) -d $(DESTDIR)${bindir}
-       $(INSTALL_PROGRAM) cpufreq-set $(DESTDIR)${bindir}/cpufreq-set
-       $(INSTALL_PROGRAM) cpufreq-info $(DESTDIR)${bindir}/cpufreq-info
--      $(INSTALL_PROGRAM) cpufreq-aperf $(DESTDIR)${bindir}/cpufreq-aperf
- install-man:
-       $(INSTALL_DATA) -D man/cpufreq-set.1 $(DESTDIR)${mandir}/man1/cpufreq-set.1
-@@ -270,7 +269,6 @@
-       - rm -f $(DESTDIR)${includedir}/cpufreq.h
-       - rm -f $(DESTDIR)${bindir}/cpufreq-set
-       - rm -f $(DESTDIR)${bindir}/cpufreq-info
--      - rm -f $(DESTDIR)${bindir}/cpufreq-aperf
-       - rm -f $(DESTDIR)${mandir}/man1/cpufreq-set.1
-       - rm -f $(DESTDIR)${mandir}/man1/cpufreq-info.1
-       - for HLANG in $(LANGUAGES); do \
diff --git a/cpufrequtils/patches/cpufrequtils-multilib.patch b/cpufrequtils/patches/cpufrequtils-multilib.patch
deleted file mode 100644 (file)
index cc4d8d2..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- cpufrequtils-008/Makefile  2010-07-05 17:43:17.000000000 +0200
-+++ Makefile.multilib  2010-07-16 11:31:40.294161413 +0200
-@@ -206,6 +206,9 @@
-               --keyword=_ --keyword=N_ $(UTIL_SRC) && \
-       test -f $(PACKAGE).po && \
-       mv -f $(PACKAGE).po po/$(PACKAGE).pot
-+# Avoid multilib issues by forcing the POT creation date
-+      sed -i 's/POT-Creation-Date: .*\\/Pot-Creation-Date: 2010-07-16 11:00+0200\\/' \
-+              po/${PACKAGE}.pot
- update-gmo: po/$(PACKAGE).pot
-        @for HLANG in $(LANGUAGES); do \
diff --git a/cpufrequtils/patches/disable-gsic.patch b/cpufrequtils/patches/disable-gsic.patch
deleted file mode 100644 (file)
index ccf059c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- cpufrequtils-0.3/debug/i386/Makefile~      2004-12-04 15:58:54.287473296 -0500
-+++ cpufrequtils-0.3/debug/i386/Makefile       2004-12-04 15:59:08.035383296 -0500
-@@ -12,7 +12,7 @@ intel_gsic: intel_gsic.c
- powernow-k8-decode: powernow-k8-decode.c
-       $(CC) $(CFLAGS) -o powernow-k8-decode powernow-k8-decode.c
--all: centrino-decode dump_psb intel_gsic powernow-k8-decode
-+all: centrino-decode dump_psb powernow-k8-decode
- clean:
-       rm -rf centrino-decode dump_psb intel_gsic powernow-k8-decode