Date: Tue, 15 Aug 2006 14:29:38 +0600 (YEKST) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102081: [NEW PORT] x11/e17-module-mbar: An e17 module to easily mount devices Message-ID: <20060815082938.B5195120A3@fonon.realnet> Resent-Message-ID: <200608151110.k7FBAFen007882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102081 >Category: ports >Synopsis: [NEW PORT] x11/e17-module-mbar: An e17 module to easily mount devices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 15 11:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: Mbar is an E17 module which displays a list of devices which can be mounted or unmounted by clicking on them. Author: devilhorns (Christopher Michael) <devilhorns@comcast.net> WWW: http://www.enlightenment.org/ Note: this depends on x11-toolkits/etk PR >How-To-Repeat: >Fix: --- e17-module-mbar-20060807.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # e17-module-mbar # e17-module-mbar/files # e17-module-mbar/files/patch-e_mod_main.c # e17-module-mbar/pkg-descr # e17-module-mbar/Makefile # e17-module-mbar/pkg-plist # e17-module-mbar/distinfo # echo c - e17-module-mbar mkdir -p e17-module-mbar > /dev/null 2>&1 echo c - e17-module-mbar/files mkdir -p e17-module-mbar/files > /dev/null 2>&1 echo x - e17-module-mbar/files/patch-e_mod_main.c sed 's/^X//' >e17-module-mbar/files/patch-e_mod_main.c << 'END-of-e17-module-mbar/files/patch-e_mod_main.c' X--- e_mod_main.c.orig Tue Aug 15 10:16:27 2006 X+++ e_mod_main.c Tue Aug 15 10:51:38 2006 X@@ -2207,51 +2207,10 @@ X info[i++] = strdup (token); X while ((token = strtok (NULL, " \t")) && (i < 4)) X info[i++] = strdup (token); X+ X if ((i != 4) || (!(*info[--i]))) X continue; X X- u = 0; X- for (p = strtok (info[3], ","); p; p = strtok (NULL, ",")) X- { X- if (!strcmp (p, "nouser")) X- u = 0; X- else if ((!strcmp (p, "user")) || (!strcmp (p, "users"))) X- u = 1; X- else if (!strcmp (p, "owner")) X- { X- struct stat st; X- X- if (stat (info[0], &st) == 0 && st.st_uid == geteuid ()) X- { X- u = 1; X- break; X- } X- } X- else if (!strcmp (p, "group")) X- { X- struct stat st; X- X- if (stat (info[0], &st) == 0) X- { X- gid_t gids[NGROUPS_MAX]; X- int gidn; X- X- if ((gidn = getgroups (NGROUPS_MAX, gids)) != -1) X- { X- while (gidn >= 0 && st.st_gid != gids[gidn]) X- gidn--; X- if (gidn != -1) X- { X- u = 1; X- break; X- } X- } X- } X- } X- } X- X- if (u) X- { X char path[4096]; X char eap[1024]; X E_App *a; X@@ -2282,7 +2241,6 @@ X if (!ret) X _mbar_add_order (mb->conf->appdir, eap); X } X- } X X for (i = 0; i < 4; i++) X { END-of-e17-module-mbar/files/patch-e_mod_main.c echo x - e17-module-mbar/pkg-descr sed 's/^X//' >e17-module-mbar/pkg-descr << 'END-of-e17-module-mbar/pkg-descr' XMbar is an E17 module which displays a list of devices which can be mounted Xor unmounted by clicking on them. X XAuthor: devilhorns (Christopher Michael) <devilhorns@comcast.net> XWWW: http://www.enlightenment.org/ END-of-e17-module-mbar/pkg-descr echo x - e17-module-mbar/Makefile sed 's/^X//' >e17-module-mbar/Makefile << 'END-of-e17-module-mbar/Makefile' X# New ports collection makefile for: mbar X# Date created: 2006-08-15 X# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> X# X# $MBSDlabs$ X# $FreeBSD$ X# X XPORTNAME= mbar XPORTVERSION= 20060807 XCATEGORIES= x11 XMASTER_SITES= http://mbsd.msk.ru/dist/ XPKGNAMEPREFIX= e17-module- X XMAINTAINER= ssedov@mbsd.msk.ru XCOMMENT= An e17 module to easily mount devices X XBUILD_DEPENDS= enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes XUSE_GNOME= gnomehack pkgconfig gnometarget XUSE_EFL= edje XGNU_CONFIGURE= yes X XPLIST_SUB+= MODULE_ARCH=freebsd${OSREL}-${ARCH} X X.include <bsd.port.pre.mk> X.include "${PORTSDIR}/x11-toolkits/etk/bsd.efl.mk" X.include <bsd.port.post.mk> END-of-e17-module-mbar/Makefile echo x - e17-module-mbar/pkg-plist sed 's/^X//' >e17-module-mbar/pkg-plist << 'END-of-e17-module-mbar/pkg-plist' Xlib/enlightenment/modules/mbar/%%MODULE_ARCH%%/module.a Xlib/enlightenment/modules/mbar/%%MODULE_ARCH%%/module.la Xlib/enlightenment/modules/mbar/%%MODULE_ARCH%%/module.so Xlib/enlightenment/modules/mbar/mbar.edj Xlib/enlightenment/modules/mbar/module.eap Xlib/enlightenment/modules/mbar/module_icon.png X@dirrm lib/enlightenment/modules/mbar/%%MODULE_ARCH%% X@dirrm lib/enlightenment/modules/mbar X@dirrmtry lib/enlightenment/modules X@dirrmtry lib/enlightenment END-of-e17-module-mbar/pkg-plist echo x - e17-module-mbar/distinfo sed 's/^X//' >e17-module-mbar/distinfo << 'END-of-e17-module-mbar/distinfo' XMD5 (mbar-20060807.tar.bz2) = 7254ea3294229252b3a5d536b9d5e2c8 XSHA256 (mbar-20060807.tar.bz2) = 22442056aa699e51203b2d0664d7bf6132f7511c40d6f6a012685515bc1d573c XSIZE (mbar-20060807.tar.bz2) = 341342 END-of-e17-module-mbar/distinfo exit --- e17-module-mbar-20060807.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060815082938.B5195120A3>