Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2015 13:03:30 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378397 - in head/x11-wm/enlightenment: . files
Message-ID:  <201502041303.t14D3UcD027849@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Wed Feb  4 13:03:29 2015
New Revision: 378397
URL: https://svnweb.freebsd.org/changeset/ports/378397
QAT: https://qat.redports.org/buildarchive/r378397/

Log:
  - Add SUID bit to the cpufreq module [1]
  - Fix sysctl invocation [2]
  - Bump portrevision
  
  PR:		195481
  Submitted by:	hardy.schumacher at gmx.de [1],  Dmitry Luhtionov [2]
  Approved by:	maintainer timeout (gblach)

Added:
  head/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c   (contents, props changed)
Modified:
  head/x11-wm/enlightenment/Makefile
  head/x11-wm/enlightenment/pkg-plist

Modified: head/x11-wm/enlightenment/Makefile
==============================================================================
--- head/x11-wm/enlightenment/Makefile	Wed Feb  4 12:37:47 2015	(r378396)
+++ head/x11-wm/enlightenment/Makefile	Wed Feb  4 13:03:29 2015	(r378397)
@@ -3,6 +3,7 @@
 
 PORTNAME=	enlightenment
 PORTVERSION=	0.19.3
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	x11-wm enlightenment
 MASTER_SITES=	http://download.enlightenment.org/rel/apps/${PORTNAME}/
@@ -21,7 +22,8 @@ RUN_DEPENDS=	${LOCALBASE}/lib/evas/utils
 DIST_SUBDIR=	enlightenment
 USE_AUTOTOOLS=	autoconf aclocal
 GNU_CONFIGURE=	yes
-USES=		alias desktop-file-utils execinfo libtool pathfix iconv gmake pkgconfig tar:xz
+USES=		alias desktop-file-utils execinfo libtool pathfix iconv gmake \
+		pkgconfig tar:xz
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 SUB_FILES=	pkg-message

Added: head/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/enlightenment/files/patch-src-modules-cpufreq-freqset.c	Wed Feb  4 13:03:29 2015	(r378397)
@@ -0,0 +1,11 @@
+--- src/modules/cpufreq/freqset.c	2015-01-24 11:58:59.000000000 +0200
++++ src/modules/cpufreq/freqset.c	2015-01-24 11:58:51.000000000 +0200
+@@ -59,7 +59,7 @@ 
+      {
+         int new_frequency = atoi(argv[2]);
+         size_t len = sizeof(new_frequency);
+-        if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, &len) == -1)
++        if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, len) == -1)
+           {
+              fprintf(stderr, "Unable to open frequency interface for writing.\n");
+              return 1;

Modified: head/x11-wm/enlightenment/pkg-plist
==============================================================================
--- head/x11-wm/enlightenment/pkg-plist	Wed Feb  4 12:37:47 2015	(r378396)
+++ head/x11-wm/enlightenment/pkg-plist	Wed Feb  4 13:03:29 2015	(r378397)
@@ -225,7 +225,9 @@ lib/enlightenment/modules/conf_window_re
 lib/enlightenment/modules/conf_window_remembers/%%ENLIGHTENMENT_ARCH%%/module.so
 lib/enlightenment/modules/conf_window_remembers/module.desktop
 lib/enlightenment/modules/cpufreq/e-module-cpufreq.edj
+@mode 4555
 lib/enlightenment/modules/cpufreq/%%ENLIGHTENMENT_ARCH%%/freqset
+@mode
 lib/enlightenment/modules/cpufreq/%%ENLIGHTENMENT_ARCH%%/module.so
 lib/enlightenment/modules/cpufreq/module.desktop
 lib/enlightenment/modules/everything/e-module-everything-start.edj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502041303.t14D3UcD027849>