From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 03:50:10 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB87CD80; Sun, 17 Feb 2013 03:50:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B78A2875; Sun, 17 Feb 2013 03:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1H3oATi086409; Sun, 17 Feb 2013 03:50:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1H3oANG086405; Sun, 17 Feb 2013 03:50:10 GMT (envelope-from edwin) Date: Sun, 17 Feb 2013 03:50:10 GMT Message-Id: <201302170350.r1H3oANG086405@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, gnome@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/176203: [patch] devel/gamin: Drop privileges to effective user and group X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 03:50:10 -0000 Synopsis: [patch] devel/gamin: Drop privileges to effective user and group Responsible-Changed-From-To: freebsd-ports-bugs->gnome Responsible-Changed-By: edwin Responsible-Changed-When: Sun Feb 17 03:50:10 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=176203 From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 03:50:16 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0D94ADAE; Sun, 17 Feb 2013 03:50:16 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DEDD1877; Sun, 17 Feb 2013 03:50:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1H3oFje086491; Sun, 17 Feb 2013 03:50:15 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1H3oFFm086487; Sun, 17 Feb 2013 03:50:15 GMT (envelope-from edwin) Date: Sun, 17 Feb 2013 03:50:15 GMT Message-Id: <201302170350.r1H3oFFm086487@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, gnome@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/176202: devel/dbus-glib update X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 03:50:16 -0000 Synopsis: devel/dbus-glib update Responsible-Changed-From-To: freebsd-ports-bugs->gnome Responsible-Changed-By: edwin Responsible-Changed-When: Sun Feb 17 03:50:15 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=176202 From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 04:30:01 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3A1E938B for ; Sun, 17 Feb 2013 04:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 247C394D for ; Sun, 17 Feb 2013 04:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1H4U1j0094280 for ; Sun, 17 Feb 2013 04:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1H4U1d0094279; Sun, 17 Feb 2013 04:30:01 GMT (envelope-from gnats) Date: Sun, 17 Feb 2013 04:30:01 GMT Message-Id: <201302170430.r1H4U1d0094279@freefall.freebsd.org> To: gnome@FreeBSD.org From: Danny Warren Subject: Re: ports/176203: [patch] devel/gamin: Drop privileges to effective user and group X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Danny Warren List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 04:30:01 -0000 The following reply was made to PR ports/176203; it has been noted by GNATS. From: Danny Warren To: bug-followup@FreeBSD.org, danny@dannywarren.com Cc: Subject: Re: ports/176203: [patch] devel/gamin: Drop privileges to effective user and group Date: Sat, 16 Feb 2013 20:17:55 -0800 This is a multi-part message in MIME format. --------------090305060503020705000402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Apologies, I forgot to include one of the files in the patch (and instead included one of them twice). Here is an updated patch. --------------090305060503020705000402 Content-Type: text/plain; charset=windows-1252; name="gamin-drop_privileges.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gamin-drop_privileges.patch.txt" --- Makefile.orig 2013-02-16 19:09:52.507178348 -0800 +++ Makefile 2013-02-16 16:18:30.230098850 -0800 @@ -27,9 +27,10 @@ GNU_CONFIGURE= yes .if !defined(GAMIN_SLAVE) -OPTIONS_DEFINE= GAM_POLLER LIBINOTIFY +OPTIONS_DEFINE= GAM_POLLER LIBINOTIFY RUN_AS_EUID GAM_POLLER_DESC=Use gamin's poller instead of kqueue's LIBINOTIFY_DESC=Use libinotify as the FAM backend +RUN_AS_EUID_DESC=Drop privileges to effective user .endif .include @@ -48,6 +49,10 @@ .endif .endif +.if ${PORT_OPTIONS:MRUN_AS_EUID} +CPPFLAGS+= -DRUN_AS_EUID=1 +.endif + post-patch: @${REINPLACE_CMD} "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/server/gam_conf.c --- libgamin/gam_api.c.orig 2007-08-27 03:21:03.000000000 -0700 +++ libgamin/gam_api.c 2013-02-16 15:51:11.927100135 -0800 @@ -14,6 +14,7 @@ #include #include #include +#include #include "fam.h" #include "gam_protocol.h" #include "gam_data.h" @@ -117,7 +118,11 @@ if (user_name[0] != 0) return (user_name); +#ifdef RUN_AS_EUID + pw = getpwuid(geteuid()); +#else pw = getpwuid(getuid()); +#endif if (pw != NULL) { strncpy(user_name, pw->pw_name, 99); @@ -224,7 +229,11 @@ free(dir); return(0); } +#ifdef RUN_AS_EUID + if (st.st_uid != geteuid()) { +#else if (st.st_uid != getuid()) { +#endif gam_error(DEBUG_INFO, "Socket directory %s has different owner\n", dir); @@ -301,7 +310,11 @@ if (ret < 0) return(0); +#ifdef RUN_AS_EUID + if (st.st_uid != geteuid()) { +#else if (st.st_uid != getuid()) { +#endif gam_error(DEBUG_INFO, "Socket %s has different owner\n", path); @@ -428,10 +441,10 @@ { char data[2] = { 0, 0 }; int written; -#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) - struct { +#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__)) + union { struct cmsghdr hdr; - struct cmsgcred cred; + char cred[CMSG_SPACE (sizeof (struct cmsgcred))]; } cmsg; struct iovec iov; struct msghdr msg; @@ -443,16 +456,16 @@ msg.msg_iov = &iov; msg.msg_iovlen = 1; - msg.msg_control = &cmsg; - msg.msg_controllen = sizeof (cmsg); + msg.msg_control = (caddr_t) &cmsg; + msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); memset (&cmsg, 0, sizeof (cmsg)); - cmsg.hdr.cmsg_len = sizeof (cmsg); + cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred)); cmsg.hdr.cmsg_level = SOL_SOCKET; cmsg.hdr.cmsg_type = SCM_CREDS; #endif retry: -#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) +#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__)) written = sendmsg(fd, &msg, 0); #else written = write(fd, &data[0], 1); @@ -654,15 +667,20 @@ gid_t c_gid; #ifdef HAVE_CMSGCRED - struct { + struct cmsgcred *cred; + union { struct cmsghdr hdr; - struct cmsgcred cred; + char cred[CMSG_SPACE (sizeof (struct cmsgcred))]; } cmsg; #endif +#ifdef RUN_AS_EUID + s_uid = geteuid(); +#else s_uid = getuid(); +#endif -#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED) +#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED) && !defined(__FreeBSD__) /* Set the socket to receive credentials on the next message */ { int on = 1; @@ -683,8 +701,8 @@ #ifdef HAVE_CMSGCRED memset(&cmsg, 0, sizeof(cmsg)); - msg.msg_control = &cmsg; - msg.msg_controllen = sizeof(cmsg); + msg.msg_control = (caddr_t) &cmsg; + msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); #endif retry: @@ -701,7 +719,7 @@ goto failed; } #ifdef HAVE_CMSGCRED - if (cmsg.hdr.cmsg_len < sizeof(cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS) { + if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred)) || cmsg.hdr.cmsg_type != SCM_CREDS) { GAM_DEBUG(DEBUG_INFO, "Message from recvmsg() was not SCM_CREDS\n"); goto failed; @@ -727,9 +745,10 @@ goto failed; } #elif defined(HAVE_CMSGCRED) - c_pid = cmsg.cred.cmcred_pid; - c_uid = cmsg.cred.cmcred_euid; - c_gid = cmsg.cred.cmcred_groups[0]; + cred = (struct cmsgcred *) CMSG_DATA (&cmsg); + c_pid = cred->cmcred_pid; + c_uid = cred->cmcred_euid; + c_gid = cred->cmcred_groups[0]; #else /* !SO_PEERCRED && !HAVE_CMSGCRED */ GAM_DEBUG(DEBUG_INFO, "Socket credentials not supported on this OS\n"); @@ -1288,14 +1307,17 @@ // FIXME: drop and reacquire lock while blocked? gamin_data_lock(conn); - if (!gamin_data_event_ready(conn)) { + while ((ret = gamin_data_event_ready(conn)) == 0) { if (gamin_read_data(conn, fc->fd, 1) < 0) { gamin_try_reconnect(conn, fc->fd); FAMErrno = FAM_CONNECT; return (-1); } } - ret = gamin_data_read_event(conn, fe); + + if (ret > 0) + ret = gamin_data_read_event(conn, fe); + gamin_data_unlock(conn); if (ret < 0) { --- libgamin/gam_fork.c.orig 2007-07-04 06:36:48.000000000 -0700 +++ libgamin/gam_fork.c 2013-02-16 19:02:46.360093751 -0800 @@ -42,6 +42,82 @@ return NULL; } +#ifdef RUN_AS_EUID +/** + * gamin_drop_privileges + * + * Attempt to drop privileges to the effective uid and gid before + * forking a copy of the gamin server + * + * Return 0 in case of success or -1 in case of detected error. + */ +int +gamin_drop_privileges(void) +{ + GAM_DEBUG(DEBUG_INFO, "Dropping privileges to effective user and group\n"); + + /* get the current real user and group */ + int from_uid = getuid(); + int from_gid = getgid(); + + /* get the effective user and group */ + int to_uid = geteuid(); + int to_gid = getegid(); + + /* make sure we were able to get the user and group values */ + if ( from_uid == -1 || to_uid == -1 || from_gid == -1 || to_gid == -1 ) { + gam_error(DEBUG_INFO, "failed to get user or group info, unable to drop privileges\n"); + return(-1); + } + + /* refuse to run setuid if it would escalate privileges */ + if ( from_uid != 0 && to_uid == 0 ) + { + gam_error(DEBUG_INFO, "refusing to escalate user privileges from=%d to=%d\n", from_uid, to_uid); + return(-1); + } + + /* refuse to run setgid if it would escalate privileges */ + if ( from_gid != 0 && to_gid == 0 ) + { + gam_error(DEBUG_INFO, "refusing to escalate group privileges from=%d to=%d\n", from_gid, to_gid); + return(-1); + } + + /* run setuid to drop privileges to the effective user */ + if ( from_uid != to_uid ) { + GAM_DEBUG(DEBUG_INFO, "Attempting setuid from=%d to=%d\n", from_uid, to_uid); + + /* run setuid and check for errors */ + if (setuid(to_uid) == -1) { + gam_error(DEBUG_INFO, "failed to run setuid from=%d to=%d\n", from_uid, to_uid); + return(-1); + } + } + else { + GAM_DEBUG(DEBUG_INFO, "Already running as effective user, skipping setuid\n"); + } + + /* run setgid to drop privileges to the effective group */ + if ( from_gid != to_gid ) { + GAM_DEBUG(DEBUG_INFO, "Attempting setgid from=%d to=%d\n", from_gid, to_gid); + + /* run setuid and check for errors */ + if (setgid(to_gid) == -1) { + gam_error(DEBUG_INFO, "failed to run setgid from=%d to=%d\n", from_uid, to_uid); + return(-1); + } + } + else { + GAM_DEBUG(DEBUG_INFO, "Already running as effective group, skipping setgid\n"); + } + + GAM_DEBUG(DEBUG_INFO, "Succeeded in dropping privileges from %d:%d to %d:%d\n", from_uid, from_gid, to_uid, to_gid); + + return(0); +} +#endif + /** * gamin_fork_server: * @fam_client_id: the client ID string to use @@ -71,6 +147,14 @@ long open_max; long i; +#ifdef RUN_AS_EUID + /* Drop privileges to the current uid/gid and return on failure */ + if(gamin_drop_privileges() == -1) + { + return(-1); + } +#endif + /* don't hold open fd opened from the client of the library */ open_max = sysconf (_SC_OPEN_MAX); for (i = 0; i < open_max; i++) --- libgamin/gam_fork.h.orig 2007-07-04 06:36:48.000000000 -0700 +++ libgamin/gam_fork.h 2013-02-16 18:55:08.220102407 -0800 @@ -32,6 +32,9 @@ #endif int gamin_fork_server (const char *fam_client_id); +#ifdef RUN_AS_EUID +int gamin_drop_privileges (void); +#endif #ifdef __cplusplus } --------------090305060503020705000402-- From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 04:50:01 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E381768E for ; Sun, 17 Feb 2013 04:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C30519AB for ; Sun, 17 Feb 2013 04:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1H4o1Iq097551 for ; Sun, 17 Feb 2013 04:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1H4o17g097546; Sun, 17 Feb 2013 04:50:01 GMT (envelope-from gnats) Date: Sun, 17 Feb 2013 04:50:01 GMT Message-Id: <201302170450.r1H4o17g097546@freefall.freebsd.org> To: gnome@FreeBSD.org From: Danny Warren Subject: Re: ports/176203: [patch] devel/gamin: Drop privileges to effective user and group X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Danny Warren List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 04:50:02 -0000 The following reply was made to PR ports/176203; it has been noted by GNATS. From: Danny Warren To: bug-followup@FreeBSD.org, danny@dannywarren.com Cc: Subject: Re: ports/176203: [patch] devel/gamin: Drop privileges to effective user and group Date: Sat, 16 Feb 2013 20:47:01 -0800 This is a multi-part message in MIME format. --------------020205000508090601030105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Alright, this should hopefully be the last change. * fixed typo in setgid debug message * reworked "gamin_drop_privileges" method to accept a uid and gid value instead of assuming you always want the effective user, so that it can be used in other parts of the code if needed * changed call to "gamin_drop_privileges" to pass the effective uid/gid after fork --------------020205000508090601030105 Content-Type: text/plain; charset=windows-1252; name="gamin-drop_privileges.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gamin-drop_privileges.patch.txt" --- Makefile.orig 2013-02-16 19:09:52.507178348 -0800 +++ Makefile 2013-02-16 16:18:30.230098850 -0800 @@ -27,9 +27,10 @@ GNU_CONFIGURE= yes .if !defined(GAMIN_SLAVE) -OPTIONS_DEFINE= GAM_POLLER LIBINOTIFY +OPTIONS_DEFINE= GAM_POLLER LIBINOTIFY RUN_AS_EUID GAM_POLLER_DESC=Use gamin's poller instead of kqueue's LIBINOTIFY_DESC=Use libinotify as the FAM backend +RUN_AS_EUID_DESC=Drop privileges to effective user .endif .include @@ -48,6 +49,10 @@ .endif .endif +.if ${PORT_OPTIONS:MRUN_AS_EUID} +CPPFLAGS+= -DRUN_AS_EUID=1 +.endif + post-patch: @${REINPLACE_CMD} "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/server/gam_conf.c --- libgamin/gam_api.c.orig 2007-08-27 03:21:03.000000000 -0700 +++ libgamin/gam_api.c 2013-02-16 15:51:11.927100135 -0800 @@ -14,6 +14,7 @@ #include #include #include +#include #include "fam.h" #include "gam_protocol.h" #include "gam_data.h" @@ -117,7 +118,11 @@ if (user_name[0] != 0) return (user_name); +#ifdef RUN_AS_EUID + pw = getpwuid(geteuid()); +#else pw = getpwuid(getuid()); +#endif if (pw != NULL) { strncpy(user_name, pw->pw_name, 99); @@ -224,7 +229,11 @@ free(dir); return(0); } +#ifdef RUN_AS_EUID + if (st.st_uid != geteuid()) { +#else if (st.st_uid != getuid()) { +#endif gam_error(DEBUG_INFO, "Socket directory %s has different owner\n", dir); @@ -301,7 +310,11 @@ if (ret < 0) return(0); +#ifdef RUN_AS_EUID + if (st.st_uid != geteuid()) { +#else if (st.st_uid != getuid()) { +#endif gam_error(DEBUG_INFO, "Socket %s has different owner\n", path); @@ -428,10 +441,10 @@ { char data[2] = { 0, 0 }; int written; -#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) - struct { +#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__)) + union { struct cmsghdr hdr; - struct cmsgcred cred; + char cred[CMSG_SPACE (sizeof (struct cmsgcred))]; } cmsg; struct iovec iov; struct msghdr msg; @@ -443,16 +456,16 @@ msg.msg_iov = &iov; msg.msg_iovlen = 1; - msg.msg_control = &cmsg; - msg.msg_controllen = sizeof (cmsg); + msg.msg_control = (caddr_t) &cmsg; + msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); memset (&cmsg, 0, sizeof (cmsg)); - cmsg.hdr.cmsg_len = sizeof (cmsg); + cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred)); cmsg.hdr.cmsg_level = SOL_SOCKET; cmsg.hdr.cmsg_type = SCM_CREDS; #endif retry: -#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) +#if defined(HAVE_CMSGCRED) && (!defined(LOCAL_CREDS) || defined(__FreeBSD__)) written = sendmsg(fd, &msg, 0); #else written = write(fd, &data[0], 1); @@ -654,15 +667,20 @@ gid_t c_gid; #ifdef HAVE_CMSGCRED - struct { + struct cmsgcred *cred; + union { struct cmsghdr hdr; - struct cmsgcred cred; + char cred[CMSG_SPACE (sizeof (struct cmsgcred))]; } cmsg; #endif +#ifdef RUN_AS_EUID + s_uid = geteuid(); +#else s_uid = getuid(); +#endif -#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED) +#if defined(LOCAL_CREDS) && defined(HAVE_CMSGCRED) && !defined(__FreeBSD__) /* Set the socket to receive credentials on the next message */ { int on = 1; @@ -683,8 +701,8 @@ #ifdef HAVE_CMSGCRED memset(&cmsg, 0, sizeof(cmsg)); - msg.msg_control = &cmsg; - msg.msg_controllen = sizeof(cmsg); + msg.msg_control = (caddr_t) &cmsg; + msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred)); #endif retry: @@ -701,7 +719,7 @@ goto failed; } #ifdef HAVE_CMSGCRED - if (cmsg.hdr.cmsg_len < sizeof(cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS) { + if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred)) || cmsg.hdr.cmsg_type != SCM_CREDS) { GAM_DEBUG(DEBUG_INFO, "Message from recvmsg() was not SCM_CREDS\n"); goto failed; @@ -727,9 +745,10 @@ goto failed; } #elif defined(HAVE_CMSGCRED) - c_pid = cmsg.cred.cmcred_pid; - c_uid = cmsg.cred.cmcred_euid; - c_gid = cmsg.cred.cmcred_groups[0]; + cred = (struct cmsgcred *) CMSG_DATA (&cmsg); + c_pid = cred->cmcred_pid; + c_uid = cred->cmcred_euid; + c_gid = cred->cmcred_groups[0]; #else /* !SO_PEERCRED && !HAVE_CMSGCRED */ GAM_DEBUG(DEBUG_INFO, "Socket credentials not supported on this OS\n"); @@ -1288,14 +1307,17 @@ // FIXME: drop and reacquire lock while blocked? gamin_data_lock(conn); - if (!gamin_data_event_ready(conn)) { + while ((ret = gamin_data_event_ready(conn)) == 0) { if (gamin_read_data(conn, fc->fd, 1) < 0) { gamin_try_reconnect(conn, fc->fd); FAMErrno = FAM_CONNECT; return (-1); } } - ret = gamin_data_read_event(conn, fe); + + if (ret > 0) + ret = gamin_data_read_event(conn, fe); + gamin_data_unlock(conn); if (ret < 0) { --- libgamin/gam_fork.c.orig 2007-07-04 06:36:48.000000000 -0700 +++ libgamin/gam_fork.c 2013-02-16 20:37:31.298176973 -0800 @@ -42,6 +42,78 @@ return NULL; } +#ifdef RUN_AS_EUID +/** + * gamin_drop_privileges + * + * Attempt to drop privileges to another user and group before forking + * a copy of the gam server + * + * Return 0 in case of success or -1 in case of detected error. + */ +int +gamin_drop_privileges(int to_uid, int to_gid) +{ + GAM_DEBUG(DEBUG_INFO, "Dropping privileges to %d:%d before forking server\n", to_uid, to_gid); + + /* Get the current real user and group */ + int from_uid = getuid(); + int from_gid = getgid(); + + /* Make sure we were able to get the user and group values */ + if ( from_uid == -1 || to_uid == -1 || from_gid == -1 || to_gid == -1 ) { + gam_error(DEBUG_INFO, "failed to get user or group info, unable to drop privileges\n"); + return(-1); + } + + /* Refuse to run setuid if it would escalate privileges */ + if ( from_uid != 0 && to_uid == 0 ) + { + gam_error(DEBUG_INFO, "refusing to escalate user privileges from=%d to=%d\n", from_uid, to_uid); + return(-1); + } + + /* Refuse to run setgid if it would escalate privileges */ + if ( from_gid != 0 && to_gid == 0 ) + { + gam_error(DEBUG_INFO, "refusing to escalate group privileges from=%d to=%d\n", from_gid, to_gid); + return(-1); + } + + /* Run setuid to drop privileges to the effective user */ + if ( from_uid != to_uid ) { + GAM_DEBUG(DEBUG_INFO, "Attempting setuid from=%d to=%d\n", from_uid, to_uid); + + /* run setuid and check for errors */ + if (setuid(to_uid) == -1) { + gam_error(DEBUG_INFO, "failed to run setuid from=%d to=%d\n", from_uid, to_uid); + return(-1); + } + } + else { + GAM_DEBUG(DEBUG_INFO, "Already running as effective user, skipping setuid\n"); + } + + /* Run setgid to drop privileges to the effective group */ + if ( from_gid != to_gid ) { + GAM_DEBUG(DEBUG_INFO, "Attempting setgid from=%d to=%d\n", from_gid, to_gid); + + /* run setuid and check for errors */ + if (setgid(to_gid) == -1) { + gam_error(DEBUG_INFO, "failed to run setgid from=%d to=%d\n", from_gid, to_gid); + return(-1); + } + } + else { + GAM_DEBUG(DEBUG_INFO, "Already running as effective group, skipping setgid\n"); + } + + GAM_DEBUG(DEBUG_INFO, "Succeeded in dropping privileges from %d:%d to %d:%d\n", from_uid, from_gid, to_uid, to_gid); + + return(0); +} +#endif + /** * gamin_fork_server: * @fam_client_id: the client ID string to use @@ -71,6 +143,13 @@ long open_max; long i; +#ifdef RUN_AS_EUID + /* Drop privileges to the current effective uid/gid and return on failure */ + if(gamin_drop_privileges( geteuid(), getegid() ) == -1) { + return(-1); + } +#endif + /* don't hold open fd opened from the client of the library */ open_max = sysconf (_SC_OPEN_MAX); for (i = 0; i < open_max; i++) --- libgamin/gam_fork.h.orig 2007-07-04 06:36:48.000000000 -0700 +++ libgamin/gam_fork.h 2013-02-16 20:38:00.328594608 -0800 @@ -32,6 +32,9 @@ #endif int gamin_fork_server (const char *fam_client_id); +#ifdef RUN_AS_EUID +int gamin_drop_privileges (int to_uid, int to_gid); +#endif #ifdef __cplusplus } --------------020205000508090601030105-- From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 16:09:37 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 35B12359 for ; Sun, 17 Feb 2013 16:09:37 +0000 (UTC) (envelope-from sulabh.kaushal78@gmail.com) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx1.freebsd.org (Postfix) with ESMTP id DD759D8F for ; Sun, 17 Feb 2013 16:09:36 +0000 (UTC) Received: by mail-vb0-f50.google.com with SMTP id ft2so3100705vbb.9 for ; Sun, 17 Feb 2013 08:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Iivyhm/Kh2fFdb1Ms4BRWWVO9QFyYtL/FH4/Uxgt+9I=; b=sWre2qW/lTbZ/gmrFVQtAubPDKAjJPWLdmCkWR3L4CG+6tmLIMjCR3LckvkR7hnm7W D3dt7XwFtaozLQDWDDZOYlX0aCjTOFJBaWW+UX/NVFQwPE433a+SuYSD1zS4isjntq0t nxycYc49/2B28PrCDItx6dI4ONOOGBKOqImS1LZaSegKTl6vMEY6cNUgbQUByy0j/omK jpCUt00DbwkMCMvvlbWpMKplwlVmqlApKDNZgxUptViX3GOMqFI3LL1lN6hQpZ0VOou0 UCJYYOcuRcnAV8LxXHx03SRZX9j0m3KcLlNpbx8ZkS56Dg/g6cKwnQBD4RilKeO0Wcak IT4g== X-Received: by 10.58.161.41 with SMTP id xp9mr12015364veb.56.1361117369922; Sun, 17 Feb 2013 08:09:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.95.105 with HTTP; Sun, 17 Feb 2013 08:09:09 -0800 (PST) In-Reply-To: References: From: Sulabh Kausal Date: Sun, 17 Feb 2013 21:39:09 +0530 Message-ID: Subject: Re: Mouse and Keyboard not working KDE4 To: gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 16:09:37 -0000 Hi, Please help, I am stuck and not able to take any decision. Thanks, Sulabh K. On Sat, Feb 16, 2013 at 10:45 PM, Sulabh Kausal wrote: > Hi, > > I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My mouse > and keyboard work in command prompt but when I configure rc.conf file to > start KDE4 desktop automatically and reboot the machine, on login screen I > can't move mouse and can't type with keyboard. My rc.conf and Xorg.0.log > files are attached with this mail. > > I will be very thankful to you for the help! > > -- > Regards, > Sulabh K. > -- Regards, Sulabh K. From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 17 17:17:52 2013 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5C28E49C for ; Sun, 17 Feb 2013 17:17:52 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0607FFA4 for ; Sun, 17 Feb 2013 17:17:52 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward12.mail.yandex.net (Yandex) with ESMTP id 67B54C203EB for ; Sun, 17 Feb 2013 21:17:49 +0400 (MSK) Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 4EEE016A021C for ; Sun, 17 Feb 2013 21:17:49 +0400 (MSK) Received: from 93.91.2.200.tel.ru (93.91.2.200.tel.ru [93.91.2.200]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HmmiDoeg-HnmKKwoa; Sun, 17 Feb 2013 21:17:49 +0400 Message-ID: <512110BB.9030501@passap.ru> Date: Sun, 17 Feb 2013 21:17:47 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-gnome@freebsd.org Subject: Re: Mouse and Keyboard not working KDE4 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 17:17:52 -0000 17.02.2013 20:09, Sulabh Kausal пишет: > Hi, > > Please help, I am stuck and not able to take any decision. This is the wrong maillist. You use KDE but write to gnome ML. An actually the question is about x11. Please read archieves of x11@freebsd.org ML for more info. I suspect that a new keywork "hal" may be of use to you. > Thanks, > Sulabh K. > > On Sat, Feb 16, 2013 at 10:45 PM, Sulabh Kausal > wrote: > >> Hi, >> >> I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My mouse >> and keyboard work in command prompt but when I configure rc.conf file to >> start KDE4 desktop automatically and reboot the machine, on login screen I >> can't move mouse and can't type with keyboard. My rc.conf and Xorg.0.log >> files are attached with this mail. >> >> I will be very thankful to you for the help! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 18 11:07:05 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1F2902A8 for ; Mon, 18 Feb 2013 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E9D00E61 for ; Mon, 18 Feb 2013 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1IB743i061949 for ; Mon, 18 Feb 2013 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1IB74R5061947 for gnome@FreeBSD.org; Mon, 18 Feb 2013 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Feb 2013 11:07:04 GMT Message-Id: <201302181107.r1IB74R5061947@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: gnome@FreeBSD.org Subject: Current problem reports assigned to gnome@FreeBSD.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/176203 gnome [patch] devel/gamin: Drop privileges to effective user o ports/176202 gnome devel/dbus-glib update o ports/176183 gnome devel/libical doesn't pick up python2.7 header files o ports/176173 gnome x11-toolkits/gtk30 - patch appears to have been missed o ports/175973 gnome multimedia/totem broken with clang o ports/175970 gnome x11/libxklavier missing dependency o ports/175858 gnome graphics/dia update to 0.97.2 [patch] o ports/175773 gnome [FIX] graphics/gegl (gegl-0.1.8_6) fails to make packa o ports/175758 gnome Upgrading 'gegl-0.1.8_5' to 'gegl-0.1.8_6' (graphics/g o ports/175640 gnome [patch] print/freetype2: convert to optionsNG o ports/175603 gnome graphics/gegl: ./tools/create-reference.rb:331:in `blo o ports/175276 gnome [patch] devel/py-gobject OPTIONSFILE eval order proble o ports/175235 gnome [PATCH] lang/vala, lang/vala-vapigen update to 0.18.1 o ports/175161 gnome misc/shared-mime-info: Missing build dependency o ports/175128 gnome build of misc/shared-mime-info fails if glib is built o ports/175125 gnome net/avahi-app fails to rebuild against devel/icu-50.1 o ports/175062 gnome net/opal3 needs zrtpcpp shared library dependency vers o ports/174900 gnome devel/gvfs: process gvfs* take 100% of CPU o ports/174493 gnome Fix sysutils/gnome-system-tools compliing with clang o ports/174492 gnome Fix devel/glibmm compliing with clang o ports/173577 gnome devel/devhelp doesn't recognize GTK+ reference documen p ports/172157 gnome x11/babl: Version 0.1.10 avaialble and usable o ports/170410 gnome devel/gvfs: gvfs-hal-volume-monitor crashes when new m o ports/167645 gnome x11/gnome2: Cannot see KDE software on GNOME applicati o ports/167199 gnome x11-fm/nautilus 2.32.2.1 Gnome2.32 Doesn't auto mount s ports/165227 gnome [UPDATE] libgsf-1.14.22, goffice-0.9.1, gnumeric-1.11. o ports/164222 gnome switching users in gnome3 invokes sanity check p ports/162227 gnome [patch] devel/glade3: update to 3.8.0 p ports/161676 gnome databases/libgda4: [UPDATE] to 4.2.9; improvements p ports/161164 gnome [PATCH] devel/glade3: update to 3.10.0 p ports/160490 gnome [PATCH] x11-toolkits/gtk20: drag and drop broken in vn p ports/159928 gnome Updates graphics/clutter to 1.6.16 a ports/159613 gnome [PATCH] misc/gnomehier: use dirrmtry for PREFIX/share/ f ports/148244 gnome x11/gnome2: gnome desktop and HAL prevent umount witho s ports/145301 gnome [patch] sysutils/hal: /usr/local/etc/rc.d/hald startup 35 problems total. From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 18 12:00:09 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 892D1A09; Mon, 18 Feb 2013 12:00:09 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6617E2F9; Mon, 18 Feb 2013 12:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1IC09ue073552; Mon, 18 Feb 2013 12:00:09 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1IC09iV073548; Mon, 18 Feb 2013 12:00:09 GMT (envelope-from edwin) Date: Mon, 18 Feb 2013 12:00:09 GMT Message-Id: <201302181200.r1IC09iV073548@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, gnome@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/176235: [patch] Fix devel/dconf build with gcc 4.6.3 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 12:00:09 -0000 Synopsis: [patch] Fix devel/dconf build with gcc 4.6.3 Responsible-Changed-From-To: freebsd-ports-bugs->gnome Responsible-Changed-By: edwin Responsible-Changed-When: Mon Feb 18 12:00:08 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=176235 From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 18 20:32:08 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DA54192 for ; Mon, 18 Feb 2013 20:32:08 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3D99768D for ; Mon, 18 Feb 2013 20:32:08 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id cz10so5144291veb.21 for ; Mon, 18 Feb 2013 12:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=qtmlVsWJ4k8m8oPkD8HrSYrTz7MmDeV3U7oGWj50G5U=; b=VCX/lhxiY6pHNqVKEMrzruoER8JWNlgnKg0TE168tTkkBxtj6xqH5qIPHx4jebCFK4 GAs/oWZd5lEJ3m9GClKgLOgWT7x2OqjvHM63QqcakuM0B+caMZUd97PlYUSbetld5Ti8 +yl1WgYOsHpsHpT/HoYq5m62dykRs9IEqASNKyWGm3tDK7qU/3OFRNeEXp/H0odAx3nj mM2a3NuBGixULawxbrZp0p8wPjuF8h49zKTuAJFGf6HnjbkRTvS3V4Mtz1qDOCT9sjv1 rL/dw+ldYxvZnw0DrzCVFf6CCqQN9c+Q5pyZSJIv2KyyAOQ+M4c2c4lvBj+L6Of/3zEB qtsA== MIME-Version: 1.0 X-Received: by 10.58.232.226 with SMTP id tr2mr17641172vec.48.1361219527758; Mon, 18 Feb 2013 12:32:07 -0800 (PST) Received: by 10.58.151.65 with HTTP; Mon, 18 Feb 2013 12:32:07 -0800 (PST) In-Reply-To: References: Date: Mon, 18 Feb 2013 14:32:07 -0600 Message-ID: Subject: Re: Mouse and Keyboard not working KDE4 From: Jeremy Messenger To: Sulabh Kausal Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 20:32:08 -0000 On Sat, Feb 16, 2013 at 11:15 AM, Sulabh Kausal wrote: > Hi, > > I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My mouse > and keyboard work in command prompt but when I configure rc.conf file to > start KDE4 desktop automatically and reboot the machine, on login screen I > can't move mouse and can't type with keyboard. My rc.conf and Xorg.0.log > files are attached with this mail. > > I will be very thankful to you for the help! Have you tried to follow the handbook? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html The mouse/keyboard is at 6.4.2 chapter. > -- > Regards, > Sulabh K. > > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 18 21:18:41 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6676CAE6; Mon, 18 Feb 2013 21:18:41 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id B4DBC835; Mon, 18 Feb 2013 21:18:39 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id 15so4852063wgd.4 for ; Mon, 18 Feb 2013 13:18:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=FKPowjNyA7GAbCFjhTyxmFAAV/uEyOgTLpWgoNTj1VM=; b=L9AdCRd1gd2a67VmNj5Iau7FpkTZMVXa+B6q7S81Lky3GW0sGiVmwjdvilMoz7+NQu RsYBxi7LE+qzkjc67K0aEjseqf+QPYiHQMpxoYTVvUIbA23G/Dt6hy0Ahmb69P6TRQB4 e3p2+PSanhA1ZZW+fyNpCBwF8IB+oAjXBfq+O+W2GO+Vs1LaVJevW3eeIdSkQxbiMD5e 5Hyfs7f6j9SbTEiE8baV69Dbxs1q5yU6OvsIU7e19TDhgMnvw/8XRmJ1h3leA/8xQX2G AR2oJ9+mo0LeSfAK8D/4gTOmOjwRxO0FsTyIZUuC+eSEQPEt74CBo3XI7YGsd/nPY+QI Di+g== MIME-Version: 1.0 X-Received: by 10.194.119.68 with SMTP id ks4mr21935472wjb.3.1361222318336; Mon, 18 Feb 2013 13:18:38 -0800 (PST) Received: by 10.216.99.199 with HTTP; Mon, 18 Feb 2013 13:18:38 -0800 (PST) Date: Mon, 18 Feb 2013 22:18:38 +0100 Message-ID: Subject: graphics/gegl fails to update with portupgrade, works with make x 2 From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@FreeBSD.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 21:18:41 -0000 The port graphics/gegl fail to upgrade with portupgrade (doing 'portupgrade -R gegl') but works if I cd to the port directory and run make twice. (I got the idea from another thread on the ports mailinglist) Details: tingo@kg-v2$ uname -a FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 tingo@kg-v2$ portversion -v gegl gegl-0.1.8_4 < needs updating (port has 0.1.8_6) HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 18 21:50:15 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9B99937A; Mon, 18 Feb 2013 21:50:15 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9902C952; Mon, 18 Feb 2013 21:50:14 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep11-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130218215006.VZKQ25433.viefep11-int.chello.at@edge03.upcmail.net>; Mon, 18 Feb 2013 22:50:06 +0100 Received: from [127.0.0.1] ([178.84.132.32]) by edge03.upcmail.net with edge id 1xq41l01e0i5fp603xq5qR; Mon, 18 Feb 2013 22:50:06 +0100 X-SourceIP: 178.84.132.32 Message-ID: <5122A20F.3040106@rainbow-runner.nl> Date: Mon, 18 Feb 2013 22:50:07 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Torfinn Ingolfsen Subject: Re: graphics/gegl fails to update with portupgrade, works with make x 2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130218-0, 18-02-2013), Outbound message X-Antivirus-Status: Clean Cc: gnome@FreeBSD.org, FreeBSD Ports ML X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 21:50:15 -0000 On 18-2-2013 22:18, Torfinn Ingolfsen wrote: > The port graphics/gegl fail to upgrade with portupgrade (doing > 'portupgrade -R gegl') but works if I cd to the port directory and run > make twice. > (I got the idea from another thread on the ports mailinglist) > Details: > tingo@kg-v2$ uname -a > FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 > 23:50:55 CEST 2012 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC > amd64 > > tingo@kg-v2$ portversion -v gegl > gegl-0.1.8_4 < needs updating (port has 0.1.8_6) > > HTH Without the actually failure message we can't really do anything. -Koop From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 19 14:22:24 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2FCAEF03 for ; Tue, 19 Feb 2013 14:22:24 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id E955B8B4 for ; Tue, 19 Feb 2013 14:22:23 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r1JEMNfB058690 for ; Tue, 19 Feb 2013 09:22:23 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r1JEMNUm058482; Tue, 19 Feb 2013 09:22:23 -0500 (EST) (envelope-from portscout) Message-Id: <201302191422.r1JEMNUm058482@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Tue, 19 Feb 2013 09:22:23 -0500 From: portscout@portscout.freebsd.org To: gnome@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 14:22:24 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/gnome@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ accessibility/atk | 2.0.1 | 2.7.90 ------------------------------------------------+-----------------+------------ accessibility/atk-reference | 2.0.1 | 2.7.90 ------------------------------------------------+-----------------+------------ devel/libsoup | 2.34.3 | 2.41.90 ------------------------------------------------+-----------------+------------ devel/libsoup-gnome | 2.34.3 | 2.41.90 ------------------------------------------------+-----------------+------------ devel/libsoup-reference | 2.34.3 | 2.41.90 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 19 18:02:47 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6B09BDD7 for ; Tue, 19 Feb 2013 18:02:47 +0000 (UTC) (envelope-from sulabh.kaushal78@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 9E6E7A32 for ; Tue, 19 Feb 2013 18:02:46 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id ez12so5159309wid.17 for ; Tue, 19 Feb 2013 10:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=CYkm4WwxRHnly6Nv8HhPNr03v1YW5/JZwVHOzJAwc+A=; b=ONonAIangy6E3vk2NKTbQCivpgcIAm8ZgfW1ouz4RqAS60t2rIyj1rp+Q//W/jyv8j icF08WqdyPHr08fSiGKY+a9FaFNhFz47bciwi3sdoV9WcBU7jx4XD9FTxQbuefCEkL1k 7I2Veb3d8r1oZ/VnQAAgX5Hi1TaDsOawApVN1q6r7jXSdw3PC/kjv9m8fw3XpmsbG7Yp 1UymqloyAJHuAlDzbr3KBNpXQnX2Knx9XIBt3+jiXGwO+GF0iOVhuW6Ec2/yrP8GuluN dk9cnvG8PKC4pxEc5SuEACqfnIONAbfL6AUm+LnChqNf+EiDW4X2mYMRNwbiMWzs39p4 0UXg== X-Received: by 10.194.158.198 with SMTP id ww6mr2185019wjb.44.1361296952281; Tue, 19 Feb 2013 10:02:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.103.138 with HTTP; Tue, 19 Feb 2013 10:02:10 -0800 (PST) In-Reply-To: References: From: Sulabh Kausal Date: Tue, 19 Feb 2013 23:32:10 +0530 Message-ID: Subject: Re: Mouse and Keyboard not working KDE4 To: Jeremy Messenger Content-Type: multipart/mixed; boundary=089e013c6b1846494004d617a5d7 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 18:02:47 -0000 --089e013c6b1846494004d617a5d7 Content-Type: text/plain; charset=ISO-8859-1 Hi Jeremy, I tried instruction given in handbook. But I am getting following error while starting X: (EE) config/hal: couldn't initialise context : unknown error (null) I have attached screenshot for this error with this mail. I modified xorg.conf file to add option "AutoAddDevice" "off' but still getting above error. I have attached my xorg.conf file as well with this mail. Please let me know, if I am doing something wrong. I am installing FreeBsd on Vmware. Thanks, Sulabh K. On Tue, Feb 19, 2013 at 2:02 AM, Jeremy Messenger wrote: > On Sat, Feb 16, 2013 at 11:15 AM, Sulabh Kausal > wrote: > > Hi, > > > > I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My mouse > > and keyboard work in command prompt but when I configure rc.conf file to > > start KDE4 desktop automatically and reboot the machine, on login screen > I > > can't move mouse and can't type with keyboard. My rc.conf and Xorg.0.log > > files are attached with this mail. > > > > I will be very thankful to you for the help! > > Have you tried to follow the handbook? > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html > > The mouse/keyboard is at 6.4.2 chapter. > > > -- > > Regards, > > Sulabh K. > > > > _______________________________________________ > > freebsd-gnome@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > > > > -- > mezz.freebsd@gmail.com - mezz@FreeBSD.org > FreeBSD GNOME Team > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > -- Regards, Sulabh K. --089e013c6b1846494004d617a5d7 Content-Type: application/octet-stream; name="xorg.conf" Content-Disposition: attachment; filename="xorg.conf" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hddd1by81 U2VjdGlvbiAiU2VydmVyTGF5b3V0Ig0KCUlkZW50aWZpZXIgICAgICJYLm9yZyBDb25maWd1cmVk Ig0KCVNjcmVlbiAgICAgIDAgICJTY3JlZW4wIiAwIDANCglJbnB1dERldmljZSAgICAiTW91c2Uw IiAiQ29yZVBvaW50ZXIiDQoJSW5wdXREZXZpY2UgICAgIktleWJvYXJkMCIgIkNvcmVLZXlib2Fy ZCINCkVuZFNlY3Rpb24NCg0KU2VjdGlvbiAiU2VydmVyRmxhZ3MiDQoJT3B0aW9uCSJBdXRvQWRk RGV2aWNlcyIgIm9mZiINCkVuZFNlY3Rpb24NCg0KU2VjdGlvbiAiRmlsZXMiDQoJTW9kdWxlUGF0 aCAgICIvdXNyL2xvY2FsL2xpYi94b3JnL21vZHVsZXMiDQoJRm9udFBhdGggICAgICIvdXNyL2xv Y2FsL2xpYi9YMTEvZm9udHMvbWlzYy8iDQoJRm9udFBhdGggICAgICIvdXNyL2xvY2FsL2xpYi9Y MTEvZm9udHMvVFRGLyINCglGb250UGF0aCAgICAgIi91c3IvbG9jYWwvbGliL1gxMS9mb250cy9P VEYiDQoJRm9udFBhdGggICAgICIvdXNyL2xvY2FsL2xpYi9YMTEvZm9udHMvVHlwZTEvIg0KCUZv bnRQYXRoICAgICAiL3Vzci9sb2NhbC9saWIvWDExL2ZvbnRzLzEwMGRwaS8iDQoJRm9udFBhdGgg ICAgICIvdXNyL2xvY2FsL2xpYi9YMTEvZm9udHMvNzVkcGkvIg0KRW5kU2VjdGlvbg0KDQpTZWN0 aW9uICJNb2R1bGUiDQoJTG9hZCAgImV4dG1vZCINCglMb2FkICAicmVjb3JkIg0KCUxvYWQgICJk YmUiDQoJTG9hZCAgImRyaSINCglMb2FkICAiZHJpMiINCglMb2FkICAiZ2x4Ig0KRW5kU2VjdGlv bg0KDQpTZWN0aW9uICJJbnB1dERldmljZSINCglJZGVudGlmaWVyICAiS2V5Ym9hcmQwIg0KCURy aXZlciAgICAgICJrYmQiDQpFbmRTZWN0aW9uDQoNClNlY3Rpb24gIklucHV0RGV2aWNlIg0KCUlk ZW50aWZpZXIgICJNb3VzZTAiDQoJRHJpdmVyICAgICAgIm1vdXNlIg0KCU9wdGlvbgkgICAgIlBy b3RvY29sIiAiYXV0byINCglPcHRpb24JICAgICJEZXZpY2UiICIvZGV2L3N5c21vdXNlIg0KCU9w dGlvbgkgICAgIlpBeGlzTWFwcGluZyIgIjQgNSA2IDciDQpFbmRTZWN0aW9uDQoNClNlY3Rpb24g Ik1vbml0b3IiDQoJSWRlbnRpZmllciAgICJNb25pdG9yMCINCglWZW5kb3JOYW1lICAgIk1vbml0 b3IgVmVuZG9yIg0KCU1vZGVsTmFtZSAgICAiTW9uaXRvciBNb2RlbCINCkVuZFNlY3Rpb24NCg0K U2VjdGlvbiAiRGV2aWNlIg0KICAgICAgICAjIyMgQXZhaWxhYmxlIERyaXZlciBvcHRpb25zIGFy ZTotDQogICAgICAgICMjIyBWYWx1ZXM6IDxpPjogaW50ZWdlciwgPGY+OiBmbG9hdCwgPGJvb2w+ OiAiVHJ1ZSIvIkZhbHNlIiwNCiAgICAgICAgIyMjIDxzdHJpbmc+OiAiU3RyaW5nIiwgPGZyZXE+ OiAiPGY+IEh6L2tIei9NSHoiDQogICAgICAgICMjIyBbYXJnXTogYXJnIG9wdGlvbmFsDQogICAg ICAgICNPcHRpb24gICAgICJTaGFkb3dGQiIgICAgICAgICAgIAkjIFs8Ym9vbD5dDQogICAgICAg ICNPcHRpb24gICAgICJEZWZhdWx0UmVmcmVzaCIgICAgIAkjIFs8Ym9vbD5dDQogICAgICAgICNP cHRpb24gICAgICJNb2RlU2V0Q2xlYXJTY3JlZW4iIAkjIFs8Ym9vbD5dDQoJSWRlbnRpZmllciAg IkNhcmQwIg0KCURyaXZlciAgICAgICJ2ZXNhIg0KCVZlbmRvck5hbWUgICJWTXdhcmUiDQoJQm9h cmROYW1lICAgIlNWR0EgSUkgQWRhcHRlciINCglCdXNJRCAgICAgICAiUENJOjA6MTU6MCINCkVu ZFNlY3Rpb24NCg0KU2VjdGlvbiAiU2NyZWVuIg0KCUlkZW50aWZpZXIgIlNjcmVlbjAiDQoJRGV2 aWNlICAgICAiQ2FyZDAiDQoJTW9uaXRvciAgICAiTW9uaXRvcjAiDQoJU3ViU2VjdGlvbiAiRGlz cGxheSINCgkJVmlld3BvcnQgICAwIDANCgkJRGVwdGggICAgIDENCglFbmRTdWJTZWN0aW9uDQoJ U3ViU2VjdGlvbiAiRGlzcGxheSINCgkJVmlld3BvcnQgICAwIDANCgkJRGVwdGggICAgIDQNCglF bmRTdWJTZWN0aW9uDQoJU3ViU2VjdGlvbiAiRGlzcGxheSINCgkJVmlld3BvcnQgICAwIDANCgkJ RGVwdGggICAgIDgNCglFbmRTdWJTZWN0aW9uDQoJU3ViU2VjdGlvbiAiRGlzcGxheSINCgkJVmll d3BvcnQgICAwIDANCgkJRGVwdGggICAgIDE1DQoJRW5kU3ViU2VjdGlvbg0KCVN1YlNlY3Rpb24g IkRpc3BsYXkiDQoJCVZpZXdwb3J0ICAgMCAwDQoJCURlcHRoICAgICAxNg0KCUVuZFN1YlNlY3Rp b24NCglTdWJTZWN0aW9uICJEaXNwbGF5Ig0KCQlWaWV3cG9ydCAgIDAgMA0KCQlEZXB0aCAgICAg MjQNCglFbmRTdWJTZWN0aW9uDQpFbmRTZWN0aW9uDQoNCg== --089e013c6b1846494004d617a5d7-- From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 19 21:16:59 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9221AAAE; Tue, 19 Feb 2013 21:16:59 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id DD1B5830; Tue, 19 Feb 2013 21:16:58 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id o1so5416746wic.5 for ; Tue, 19 Feb 2013 13:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=niuCjuNMqCspTzrDnaEkZJFYrpzRuAkm4NzkzpZnEyA=; b=ndXjLthArdbC4SoZeDD82lKRKSs+uN2yY7eB+4533s60NuTf8adFhhmzz3RYPY6r3d e5sloqP74c2vohjXVd8iPm0hoxpBQalBZoUM/IUWztuLO0DIu9xGCDUoxAjUOFR1iZdH k0zC8i1R2dZXWXxOOcchv0/DbIf8/KZXKK8/qtr+voFu5mSxyteCplTJxntGIanGyW4G HgedVG3/HO+ajCGXojOUyajZA7fCKs8oq9fl0nqHUjM02P+06y5zANBdupz6nxuok3kY 0VOOVi/PuTZKrfPG12ilPM4mRDw4nVYw13/yHnlZ8wm8E0YEfvmi26zCtAPzc3fhI2Tt GKKQ== MIME-Version: 1.0 X-Received: by 10.194.174.196 with SMTP id bu4mr29324328wjc.35.1361308611841; Tue, 19 Feb 2013 13:16:51 -0800 (PST) Received: by 10.216.99.199 with HTTP; Tue, 19 Feb 2013 13:16:51 -0800 (PST) In-Reply-To: <5122A20F.3040106@rainbow-runner.nl> References: <5122A20F.3040106@rainbow-runner.nl> Date: Tue, 19 Feb 2013 22:16:51 +0100 Message-ID: Subject: Re: graphics/gegl fails to update with portupgrade, works with make x 2 From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 21:16:59 -0000 On Mon, Feb 18, 2013 at 10:50 PM, Koop Mast wrote: > > > Without the actually failure message we can't really do anything. Hm, I forgot to include the error - sorry about that. it is the exact same problem as the one in the earlier thread about gegl. this: ../tools/gobj2dot.rb .. | /usr/local/bin/dot png > images/inheritance.png Error: dot: can't open png HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 19 21:44:56 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6012D65E; Tue, 19 Feb 2013 21:44:56 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep12.mx.upcmail.net (fep12.mx.upcmail.net [62.179.121.32]) by mx1.freebsd.org (Postfix) with ESMTP id 69A44965; Tue, 19 Feb 2013 21:44:54 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep12-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130219214448.EXBG29668.viefep12-int.chello.at@edge04.upcmail.net>; Tue, 19 Feb 2013 22:44:48 +0100 Received: from [127.0.0.1] ([178.84.132.32]) by edge04.upcmail.net with edge id 2Mkn1l00F0i5fp604MknpV; Tue, 19 Feb 2013 22:44:48 +0100 X-SourceIP: 178.84.132.32 Message-ID: <5123F24F.7000808@rainbow-runner.nl> Date: Tue, 19 Feb 2013 22:44:47 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Torfinn Ingolfsen Subject: Re: graphics/gegl fails to update with portupgrade, works with make x 2 References: <5122A20F.3040106@rainbow-runner.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130219-1, 19-02-2013), Outbound message X-Antivirus-Status: Clean Cc: gnome@freebsd.org, FreeBSD Ports ML X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 21:44:56 -0000 On 19-2-2013 22:16, Torfinn Ingolfsen wrote: > On Mon, Feb 18, 2013 at 10:50 PM, Koop Mast wrote: >> >> Without the actually failure message we can't really do anything. > Hm, I forgot to include the error - sorry about that. > it is the exact same problem as the one in the earlier thread about gegl. > this: > > ../tools/gobj2dot.rb .. | /usr/local/bin/dot png > images/inheritance.png > Error: dot: can't open png > > HTH Haven't seen this error I think, but can you make sure that the pangocairo option in graphics/graphviz is selected and rebuild if needed? -Koop From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 20 14:08:40 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CA3562C8 for ; Wed, 20 Feb 2013 14:08:40 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 8E36D681 for ; Wed, 20 Feb 2013 14:08:40 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r1KE8dXX038163 for ; Wed, 20 Feb 2013 09:08:39 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r1KE8dSJ037933; Wed, 20 Feb 2013 09:08:39 -0500 (EST) (envelope-from portscout) Message-Id: <201302201408.r1KE8dSJ037933@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Wed, 20 Feb 2013 09:08:39 -0500 From: portscout@portscout.freebsd.org To: gnome@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 14:08:40 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/gnome@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ accessibility/atk | 2.0.1 | 2.7.91 ------------------------------------------------+-----------------+------------ accessibility/atk-reference | 2.0.1 | 2.7.91 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 20 15:27:24 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D259F340 for ; Wed, 20 Feb 2013 15:27:24 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx1.freebsd.org (Postfix) with ESMTP id 98399AF4 for ; Wed, 20 Feb 2013 15:27:24 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id fq11so5111109vbb.10 for ; Wed, 20 Feb 2013 07:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=xdmQ+KH6nnq6LEWM41n9UAibWcBKc3GKvuvOb6egsKc=; b=yzodynm5v4ZEpE+VquN/Dlb1wNfzkzXuFyTFTO7JuEnH7NUW+fm+N63z0xfe4sfOlK LPMWSPV8zolJwHa7HwyrXo2B+yrkKiFUUfNQEeNTTyxDvyjexBpT4qcoXBNUv9BI4txS FYiVJIRr3hoe4sMfAeZPDIivPT70L/MkO2LRizy4N5cZNhi9vKuSQupmGPP85ZMnkHrQ VcLYji4a4Af0psmFIbI1x3mh3uwxZTow9DBnVEt68ocjPlbSBu+T61b78DlZgLAo5aQJ xrClEf9zyqnlOAZB1ELL9UpW02Se7JS6FR/51NzRa42o2y1DmlysfDYBQYN6/BcT4wap C/Ig== MIME-Version: 1.0 X-Received: by 10.58.254.33 with SMTP id af1mr27403740ved.0.1361374026432; Wed, 20 Feb 2013 07:27:06 -0800 (PST) Received: by 10.58.151.65 with HTTP; Wed, 20 Feb 2013 07:27:06 -0800 (PST) In-Reply-To: References: Date: Wed, 20 Feb 2013 09:27:06 -0600 Message-ID: Subject: Re: Mouse and Keyboard not working KDE4 From: Jeremy Messenger To: Sulabh Kausal Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 15:27:24 -0000 On Tue, Feb 19, 2013 at 12:02 PM, Sulabh Kausal wrote: > Hi Jeremy, > > I tried instruction given in handbook. But I am getting following error > while starting X: > > (EE) config/hal: couldn't initialise context : unknown error (null) > > I have attached screenshot for this error with this mail. > > I modified xorg.conf file to add option "AutoAddDevice" "off' but still > getting above error. I have attached my xorg.conf file as well with this > mail. > > Please let me know, if I am doing something wrong. I am installing FreeBsd > on Vmware. Try to install x11-drivers/xf86-input-vmmouse . It's my best guess as I know nothing about vmware, so you are better off to emulation@FreeBSD.org. > Thanks, > Sulabh K. > > On Tue, Feb 19, 2013 at 2:02 AM, Jeremy Messenger > wrote: >> >> On Sat, Feb 16, 2013 at 11:15 AM, Sulabh Kausal >> wrote: >> > Hi, >> > >> > I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My >> > mouse >> > and keyboard work in command prompt but when I configure rc.conf file to >> > start KDE4 desktop automatically and reboot the machine, on login screen >> > I >> > can't move mouse and can't type with keyboard. My rc.conf and Xorg.0.log >> > files are attached with this mail. >> > >> > I will be very thankful to you for the help! >> >> Have you tried to follow the handbook? >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html >> >> The mouse/keyboard is at 6.4.2 chapter. >> >> > -- >> > Regards, >> > Sulabh K. >> > >> > _______________________________________________ >> > freebsd-gnome@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome >> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >> >> >> >> -- >> mezz.freebsd@gmail.com - mezz@FreeBSD.org >> FreeBSD GNOME Team >> http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > > > > > -- > Regards, > Sulabh K. -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 20 23:34:51 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 38CFF63B; Wed, 20 Feb 2013 23:34:51 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-wi0-x22a.google.com (wi-in-x022a.1e100.net [IPv6:2a00:1450:400c:c05::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 99C47283; Wed, 20 Feb 2013 23:34:50 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hm11so114680wib.1 for ; Wed, 20 Feb 2013 15:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=f4O1zCVeCvzenzv7IQBt/v2Fpkf5Enc09ZcY8OVnm7Q=; b=EWE8fWIklie9qKmq04LWLlc1xdCZvC3BXLv0+G9wBXTMWe5NSCWHKtvmsHmZKpQP6f Ymii44784Wo1b/SqkVTxs+dxPmuU1NP+Fvz5lVm8QccWLmm5ieb2rBNmEPns5Q1l6STc qe/mW8URf0WJxv0pEwhm2WdbD5sg0R1edzNO3YQCw3AlamGA96rli1bKRQpdVoGNdNh3 VVfaSbrOulzL4Lzr7dHVZSldeKVkHsYT6/MkZykwoTrxN659roJ+9V1JpdR+bHdyUhYP Ja+NgEYwpDBtFzhI+R05zrYTRwA5vMFHasNlKxTud8TBoWNycotBJKwITAZ2+Xb//DPr ukuA== MIME-Version: 1.0 X-Received: by 10.180.72.148 with SMTP id d20mr37588298wiv.31.1361403289236; Wed, 20 Feb 2013 15:34:49 -0800 (PST) Received: by 10.216.99.199 with HTTP; Wed, 20 Feb 2013 15:34:49 -0800 (PST) In-Reply-To: <5123F24F.7000808@rainbow-runner.nl> References: <5122A20F.3040106@rainbow-runner.nl> <5123F24F.7000808@rainbow-runner.nl> Date: Thu, 21 Feb 2013 00:34:49 +0100 Message-ID: Subject: Re: graphics/gegl fails to update with portupgrade, works with make x 2 From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 23:34:51 -0000 On Tue, Feb 19, 2013 at 10:44 PM, Koop Mast wrote: > On 19-2-2013 22:16, Torfinn Ingolfsen wrote: >> >> On Mon, Feb 18, 2013 at 10:50 PM, Koop Mast wrote: >>> >>> >>> Without the actually failure message we can't really do anything. >> >> Hm, I forgot to include the error - sorry about that. >> it is the exact same problem as the one in the earlier thread about gegl. >> this: >> >> ../tools/gobj2dot.rb .. | /usr/local/bin/dot png > images/inheritance.png >> Error: dot: can't open png >> >> HTH > > > Haven't seen this error I think, but can you make sure that the pangocairo > option in graphics/graphviz is selected and rebuild if needed? I have already rebuilt (that was the 'make x 2' part). If you can tell me how I can get back to my previous situation, I can always try to reproduce the problem. Sorry, no backups of the ports before the upgrade. FWIW, the pangocairo option in graphviz is 'off'. HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 21 12:25:06 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8ECEF8BC for ; Thu, 21 Feb 2013 12:25:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1A597F for ; Thu, 21 Feb 2013 12:25:06 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id r1L8SKYu079799 for ; Thu, 21 Feb 2013 08:28:20 GMT (envelope-from linimon@FreeBSD.org) Date: Thu, 21 Feb 2013 08:28:20 GMT Message-Id: <201302210828.r1L8SKYu079799@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: gnome@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 12:25:06 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: graphics/py-clutter broken because: bad plist build errors: http://pointyhat.FreeBSD.org/errorlogs/sparc64-errorlogs/e.8.20120812220927/py27-clutter-1.0.2_3.log (_Aug_19_04:43:00_UTC_2012) overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=py-clutter portname: x11/gnome-shell broken because: Doesn't build build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11&portname=gnome-shell If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 21 12:47:26 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2EBE2A8; Thu, 21 Feb 2013 12:47:25 +0000 (UTC) (envelope-from awarecons@gmail.com) Received: from mail-ia0-x229.google.com (mail-ia0-x229.google.com [IPv6:2607:f8b0:4001:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id C2B3EE22; Thu, 21 Feb 2013 12:47:25 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id j5so8178525iaf.14 for ; Thu, 21 Feb 2013 04:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=Y1/6Yk7s4k0MNbnW17a+PoLVSVCmGhBvTMMjqR5nE30=; b=pHE5S7BHw/JAzw9hGp3RHc4xHaBaa3r+c5D/TPw1LKHYGWWK9jU0AkmjujWbL/e0B/ Kzaqkp/DoAYvnV2G/Y1kavAPHDS9YaTVwyWbNnOlg+Ho93paN2Huw08nGiP8kjX6utYL AEYtvuelxv/u+Squ1m1fwrosJSN2Jo6J9ggc/8hfHmb2LaSGDvEX76QZcuAWqoBN/+WJ H/JE7cbNCGdeCnDfikhtCahyjZ3Z+7nhtri06FR3JpWngTSztkAp/5zTl/l1qsJGpVoL +ZvJhAawoBpefRvOHwnzoikFzqjZlZsZCy9I9KMtPyUUog/91gJQLJCo7L9nRvyPUhpi 5Imw== MIME-Version: 1.0 X-Received: by 10.50.15.138 with SMTP id x10mr12966560igc.16.1361450845431; Thu, 21 Feb 2013 04:47:25 -0800 (PST) Received: by 10.64.16.131 with HTTP; Thu, 21 Feb 2013 04:47:25 -0800 (PST) Date: Thu, 21 Feb 2013 16:47:25 +0400 Message-ID: Subject: net/libproxy-mozjs ISSUE 'JS_GetStringBytes' was not declared in this scope From: awarecons To: ports-bugs@freebsd.org, gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 12:47:26 -0000 FreeBSD xxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #3: Sat Dec 29 20:04:22 MSK 2012 root@xxx:/sys/i386/compile/GENERIC i386 ... Scanning dependencies of target pacrunner_mozjs [ 84%] Building CXX object libproxy/CMakeFiles/pacrunner_mozjs.dir/modules/pacrunner_mozjs.cpp.o /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp: In function 'JSBool dnsResolve(JSContext*, JSObject*, uintN, jsval*, jsval*)': /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:47: error: 'JS_GetStringBytes' was not declared in this scope /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:69: error: 'JS_NewString' was not declared in this scope /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp: In function 'JSBool myIpAddress(JSContext*, JSObject*, uintN, jsval*, jsval*)': /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:81: error: 'JS_NewString' was not declared in this scope /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp: At global scope: /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:97: error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*, jsid, jsval*)' to 'JSBool (*)(JSContext*, JSObject*, jsid, JSBool, jsval*)' /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp: In constructor 'mozjs_pacrunner::mozjs_pacrunner(std::string, const libproxy::url&)': /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:118: error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*, uintN, jsval*, jsval*)' to 'JSBool (*)(JSContext*, uintN, jsval*)' /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:118: error: initializing argument 4 of 'JSFunction* JS_DefineFunction(JSContext*, JSObject*, const char*, JSBool (*)(JSContext*, uintN, jsval*), uintN, uintN)' /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:119: error: invalid conversion from 'JSBool (*)(JSContext*, JSObject*, uintN, jsval*, jsval*)' to 'JSBool (*)(JSContext*, uintN, jsval*)' /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:119: error: initializing argument 4 of 'JSFunction* JS_DefineFunction(JSContext*, JSObject*, const char*, JSBool (*)(JSContext*, uintN, jsval*), uintN, uintN)' /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp: In member function 'virtual std::string mozjs_pacrunner::run(const libproxy::url&)': /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:150: error: 'JS_NewString' was not declared in this scope /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:158: error: 'JS_GetStringBytes' was not declared in this scope *** Error code 1 Stop in /usr/ports/net/libproxy-mozjs/work/libproxy-0.4.6. *** Error code 1 From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 21 12:47:52 2013 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C576F2FF; Thu, 21 Feb 2013 12:47:52 +0000 (UTC) (envelope-from awarecons@gmail.com) Received: from mail-ia0-x230.google.com (mail-ia0-x230.google.com [IPv6:2607:f8b0:4001:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA60E30; Thu, 21 Feb 2013 12:47:52 +0000 (UTC) Received: by mail-ia0-f176.google.com with SMTP id i18so7956297iac.7 for ; Thu, 21 Feb 2013 04:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=UWisWHilWj//1n5y2d+POLL6xvpUGtCeuPlOTbv96ew=; b=aP1ii8Z9a/l887tGzfLVxTjaUcDbglGkDgQIqgfjkaUCV0My0EZhBPAlDJqHNzd9B2 fW2Y96VFs1Ud5pJCACamN2iQSB6qp2mcUsNPdkgf261OlHG8XjjLVgZEmSwq2vUjjyWZ FKrzwvEDf4an8NtJejvMugHWPsYkcTjz8Sg6nroJG8sC0Gf1buxyFDsoAnE2i45vqJCY vc9GxzbZ1nCBkUqUO+9ILuOPpfiAqlmErThk9ORg/K3eB7iX1KdKtDk6AKmqXMdYzis/ t0dSONYIv2/wiZZ9dsieNz5wmI0OKv60suQXAyzirCvw1bvw5jDgc/xuoyoBKluJYs5O 9Rcg== MIME-Version: 1.0 X-Received: by 10.42.91.7 with SMTP id n7mr10651055icm.40.1361450872288; Thu, 21 Feb 2013 04:47:52 -0800 (PST) Received: by 10.64.16.131 with HTTP; Thu, 21 Feb 2013 04:47:52 -0800 (PST) Date: Thu, 21 Feb 2013 16:47:52 +0400 Message-ID: Subject: net/libproxy-mozjs ISSUE Found libxul-10.0.12, but you need to upgrade to libxul<2 From: awarecons To: ports-bugs@freebsd.org, gnome@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 12:47:52 -0000 FreeBSD xxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #3: Sat Dec 29 20:04:22 MSK 2012 root@xxx:/sys/i386/compile/GENERIC i386 ... libproxy is using libxul19 for gecko support, but you can change that by defining WITH_GECKO to the following values: libxul19 ===> Extracting for libproxy-mozjs-0.4.6_2 => SHA256 Checksum OK for libproxy-0.4.6.tar.gz. ===> Patching for libproxy-mozjs-0.4.6_2 ===> Applying FreeBSD patches for libproxy-mozjs-0.4.6_2 ===> libproxy-mozjs-0.4.6_2 depends on package: libxul<2 - not found ===> Found libxul-10.0.12, but you need to upgrade to libxul<2. *** Error code 1 Stop in /usr/ports/net/libproxy-mozjs. In Makefile USE_GECKO=<---->libxul19 should be changed for libxul From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 21 13:50:10 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D3A3B17 for ; Thu, 21 Feb 2013 13:50:10 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAEA3E2 for ; Thu, 21 Feb 2013 13:50:10 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r1LDo4C5048394 for ; Thu, 21 Feb 2013 08:50:04 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r1LDo4eK048307; Thu, 21 Feb 2013 08:50:04 -0500 (EST) (envelope-from portscout) Message-Id: <201302211350.r1LDo4eK048307@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Thu, 21 Feb 2013 08:50:04 -0500 From: portscout@portscout.freebsd.org To: gnome@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 13:50:10 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/gnome@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/py-gobject | 2.28.6 | 3.7.90 ------------------------------------------------+-----------------+------------ lang/vala | 0.12.1 | 0.19.0 ------------------------------------------------+-----------------+------------ lang/vala-vapigen | 0.12.1 | 0.19.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 21 18:07:22 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CF8AF5AE; Thu, 21 Feb 2013 18:07:22 +0000 (UTC) (envelope-from sulabh.kaushal78@gmail.com) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx1.freebsd.org (Postfix) with ESMTP id 75ABDD4B; Thu, 21 Feb 2013 18:07:22 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so8288449veb.33 for ; Thu, 21 Feb 2013 10:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=u1UUldQF2a8WpKZNthl6DzaBB7+Pf2wNElVE6vu56Jg=; b=eUkFFksxC2kUraoZNG8td6+fmRjXQ7vl3f5CDOR7LbtEkyU3mkR7vzI12alpvFUiYw AI5D4T1gpNafnzboGHATezesKiM3jE7B8qKTfhs76pp18c0NLVATrFnWQrJViUd8Qnfj NTyAtmdsIqMo5dnIYx4wSxWad1a8zQZBTEIQcP2uax/k3CTHz2MhMjWioHbqSTH0kCiT mIXDo1kCGEGH1CNhr4Z5D/9YyVeg8NNWmlkxJUkNn7qYiimh/VOz/LHHKsNPGQAaCL38 MRIzVqEVtQ3pg0ib1kzx3YNA01F6kDPaiRnsSiD1UpdnFcvriDSgxPwfDesw4Sodo9gU in9g== X-Received: by 10.52.30.48 with SMTP id p16mr29102292vdh.118.1361470041645; Thu, 21 Feb 2013 10:07:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.95.105 with HTTP; Thu, 21 Feb 2013 10:07:01 -0800 (PST) In-Reply-To: References: From: Sulabh Kausal Date: Thu, 21 Feb 2013 23:37:01 +0530 Message-ID: Subject: Re: Mouse and Keyboard not working KDE4 To: Jeremy Messenger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: gnome@freebsd.org, emulation@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 18:07:22 -0000 Hi Jeremy, Today I started FreeBsd on vmware and it is working fine. I opened it to install drivers suggested by you but before installing I was just checking and mouse and keyboard is working fine. May be after following handbook, it started working. I think, I didn't restarted vm that's why it was not working yestereday. Thanks for the help! Thanks, Sulabh K. On Wed, Feb 20, 2013 at 8:57 PM, Jeremy Messenger wrote: > On Tue, Feb 19, 2013 at 12:02 PM, Sulabh Kausal > wrote: > > Hi Jeremy, > > > > I tried instruction given in handbook. But I am getting following error > > while starting X: > > > > (EE) config/hal: couldn't initialise context : unknown error (null) > > > > I have attached screenshot for this error with this mail. > > > > I modified xorg.conf file to add option "AutoAddDevice" "off' but still > > getting above error. I have attached my xorg.conf file as well with this > > mail. > > > > Please let me know, if I am doing something wrong. I am installing > FreeBsd > > on Vmware. > > Try to install x11-drivers/xf86-input-vmmouse . It's my best guess as > I know nothing about vmware, so you are better off to > emulation@FreeBSD.org. > > > Thanks, > > Sulabh K. > > > > On Tue, Feb 19, 2013 at 2:02 AM, Jeremy Messenger < > mezz.freebsd@gmail.com> > > wrote: > >> > >> On Sat, Feb 16, 2013 at 11:15 AM, Sulabh Kausal > >> wrote: > >> > Hi, > >> > > >> > I have installed KDE4 and Xorg in FreeBsd 9.1. I am new to Unix. My > >> > mouse > >> > and keyboard work in command prompt but when I configure rc.conf file > to > >> > start KDE4 desktop automatically and reboot the machine, on login > screen > >> > I > >> > can't move mouse and can't type with keyboard. My rc.conf and > Xorg.0.log > >> > files are attached with this mail. > >> > > >> > I will be very thankful to you for the help! > >> > >> Have you tried to follow the handbook? > >> > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html > >> > >> The mouse/keyboard is at 6.4.2 chapter. > >> > >> > -- > >> > Regards, > >> > Sulabh K. > >> > > >> > _______________________________________________ > >> > freebsd-gnome@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > >> > To unsubscribe, send any mail to " > freebsd-gnome-unsubscribe@freebsd.org" > >> > >> > >> > >> -- > >> mezz.freebsd@gmail.com - mezz@FreeBSD.org > >> FreeBSD GNOME Team > >> http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > > > > > > > > > > -- > > Regards, > > Sulabh K. > > > > -- > mezz.freebsd@gmail.com - mezz@FreeBSD.org > FreeBSD GNOME Team > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > -- Regards, Sulabh K. From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 22 14:08:28 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 14D198D8 for ; Fri, 22 Feb 2013 14:08:28 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id CCAFD1E5 for ; Fri, 22 Feb 2013 14:08:27 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r1MDqVtx006892 for ; Fri, 22 Feb 2013 08:52:31 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r1MDqVn3006863; Fri, 22 Feb 2013 08:52:31 -0500 (EST) (envelope-from portscout) Message-Id: <201302221352.r1MDqVn3006863@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Fri, 22 Feb 2013 08:52:31 -0500 From: portscout@portscout.freebsd.org To: gnome@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 14:08:28 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/gnome@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/glibmm | 2.28.2 | 2.35.8 ------------------------------------------------+-----------------+------------ devel/glibmm-reference | 2.28.2 | 2.35.8 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 22 16:35:56 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 15799BE5 for ; Fri, 22 Feb 2013 16:35:56 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id B500AA96 for ; Fri, 22 Feb 2013 16:35:55 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1U8vae-0004Q9-6u for gnome@freebsd.org; Fri, 22 Feb 2013 23:35:16 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r1MGZXOP053108 for ; Fri, 22 Feb 2013 23:35:33 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r1MGZHfs053029 for gnome@freebsd.org; Fri, 22 Feb 2013 23:35:17 +0700 (NOVT) (envelope-from danfe) Date: Fri, 22 Feb 2013 23:35:16 +0700 From: Alexey Dokuchaev To: gnome@freebsd.org Subject: [patch] devel/libgsf: make GCONF really OPTIONal Message-ID: <20130222163516.GA51990@regency.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 16:35:56 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi there, it's a bit inconvenient to manually specify WITHOUT_GCONF every time i build devel/libgsf. mind if i commit attached patch? ./danfe --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="libgsf.diff" Index: Makefile =================================================================== --- Makefile (revision 312694) +++ Makefile (working copy) @@ -1,10 +1,6 @@ -# New ports collection makefile for: libgsf -# Date created: 11 September 2002 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ # $MCom: ports/devel/libgsf/Makefile,v 1.35 2010/04/10 08:51:15 kwm Exp $ -# PORTNAME= libgsf PORTVERSION= 1.14.21 @@ -14,7 +10,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -COMMENT?= An extensible i/o abstraction for dealing with structured file formats +COMMENT?= Extensible I/O abstraction for dealing with structured file formats .if !exists(/usr/lib/libbz2.so) LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2 @@ -35,7 +31,12 @@ MAN1= gsf.1 gsf-office-thumbnailer.1 gsf-vba-dump.1 .endif -.if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2) +OPTIONS_DEFINE= GCONF +OPTIONS_DEFAULT= GCONF + +.include + +.if ${PORT_OPTIONS:MGCONF} || exists(${LOCALBASE}/bin/gconftool-2) USE_GNOME+= gconf2 PLIST_SUB+= THUMB="" . if !defined(GSF_SLAVE) --tThc/1wpZn/ma/RB-- From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 22 18:46:59 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BCC776B8 for ; Fri, 22 Feb 2013 18:46:59 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx1.freebsd.org (Postfix) with ESMTP id 8551D236 for ; Fri, 22 Feb 2013 18:46:59 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so589278vby.5 for ; Fri, 22 Feb 2013 10:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=kAOFroZZVT9iT1+z2ZZh530Ku9oVHZ62tavpKkkJYDU=; b=Rt9jYAi9VtfKqNP7whZZrdH7mjxdPMMFlE3f5GLPjJ+jaaeOH93joxL9uTg9UGw4N9 ioiqeauujQlZp2aKSvGabRR1g06AQ2FlTV/Qjm0UgD4zEI8eQIu3+Oue3GMdZrudi72q JWhynwuTbZ4HJjWZQTlTizoYQro/AP2FaI/iwlULTBuyDIU6wjjiqlv/QxhqhXQYOwVC aisuMZ5zNC1rToGCMgPKsrP/xM+K311gGUWaqOdKT22WQd8USyqAT1J9zBQaGGVruA59 cgQG+Q8fjJVkfFLKt88V48Ul8/l3KbJsCAajrI2EpWGlnEeDwASrADSizoGNmnYfpfPX W9nw== MIME-Version: 1.0 X-Received: by 10.52.93.235 with SMTP id cx11mr3461923vdb.51.1361558813235; Fri, 22 Feb 2013 10:46:53 -0800 (PST) Received: by 10.58.151.65 with HTTP; Fri, 22 Feb 2013 10:46:53 -0800 (PST) In-Reply-To: <20130222163516.GA51990@regency.nsu.ru> References: <20130222163516.GA51990@regency.nsu.ru> Date: Fri, 22 Feb 2013 12:46:53 -0600 Message-ID: Subject: Re: [patch] devel/libgsf: make GCONF really OPTIONal From: Jeremy Messenger To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 18:46:59 -0000 On Fri, Feb 22, 2013 at 10:35 AM, Alexey Dokuchaev wrote: > hi there, > > it's a bit inconvenient to manually specify WITHOUT_GCONF every time i > build devel/libgsf. mind if i commit attached patch? We can't use OPTIONS with the auto check dependency. It breaks the user usability, IMO. I can't access to the FreeBSD for a few weeks, so can you check to see if there is flag in its configure to disable gconf? If it does then remove that auto check and add the disable flag then you can commit it. Thanks! > ./danfe -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 22 20:37:56 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 40AF64EC for ; Fri, 22 Feb 2013 20:37:56 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp3.insight.synacor.com [208.47.185.25]) by mx1.freebsd.org (Postfix) with ESMTP id 04DC3A3F for ; Fri, 22 Feb 2013 20:37:55 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=UL9f7Vjy c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=tOJEX92gVZIA:10 a=DvSzqBOGy98A:10 a=pedpZTtsAAAA:8 a=nIul4yvvJOkA:10 a=dA9VykujAAAA:8 a=oHhj8_htVXSvAeht9i0A:9 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller6724@bellsouth.net; sender-id=neutral Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:40394] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id CD/60-09449-776D7215; Fri, 22 Feb 2013 15:35:04 -0500 Date: Fri, 22 Feb 2013 15:35:03 -0500 Message-ID: From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Status of math/gnumeric unable to keep up with upstream releases? Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 20:37:56 -0000 What is the status of gnumeric being stuck at 1.10.17 when upstream has released 1.12.0 ? I think gnumeric >= 1.11.x has gtk+ >= 3.0.0 as a dependency? I checked gnumeric web site www.gnumeric.org . I see this is the same snag that prevents transmission > 2.5 from building, though possibly one could do portmaster -o transmission-cli transmission ? So what is the status now of gtk+ 3.x ? Tom From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 23 04:20:17 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 912BFAB0 for ; Sat, 23 Feb 2013 04:20:17 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC10AFC for ; Sat, 23 Feb 2013 04:20:16 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1U96am-0005f2-9l; Sat, 23 Feb 2013 11:20:08 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r1N4KPxY001712; Sat, 23 Feb 2013 11:20:25 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r1N4K9Rk001693; Sat, 23 Feb 2013 11:20:09 +0700 (NOVT) (envelope-from danfe) Date: Sat, 23 Feb 2013 11:20:09 +0700 From: Alexey Dokuchaev To: Jeremy Messenger Subject: Re: [patch] devel/libgsf: make GCONF really OPTIONal Message-ID: <20130223042009.GA99230@regency.nsu.ru> References: <20130222163516.GA51990@regency.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 04:20:17 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 22, 2013 at 12:46:53PM -0600, Jeremy Messenger wrote: > On Fri, Feb 22, 2013 at 10:35 AM, Alexey Dokuchaev wrote: > > hi there, > > > > it's a bit inconvenient to manually specify WITHOUT_GCONF every time i > > build devel/libgsf. mind if i commit attached patch? > > We can't use OPTIONS with the auto check dependency. It breaks the > user usability, IMO. I can't access to the FreeBSD for a few weeks, > so can you check to see if there is flag in its configure to disable > gconf? If it does then remove that auto check and add the disable flag > then you can commit it. Thanks! Yes, there is a --without-gconf switch, and it works as advertised. I've also removed PLIST_SUB magic, as it seems a bit excessive for just one file, and used PLIST_FILES instead. New diff is attached. ./danfe --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="libgsf2.diff" Index: Makefile =================================================================== --- Makefile (revision 312694) +++ Makefile (working copy) @@ -1,10 +1,6 @@ -# New ports collection makefile for: libgsf -# Date created: 11 September 2002 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ # $MCom: ports/devel/libgsf/Makefile,v 1.35 2010/04/10 08:51:15 kwm Exp $ -# PORTNAME= libgsf PORTVERSION= 1.14.21 @@ -14,7 +10,7 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -COMMENT?= An extensible i/o abstraction for dealing with structured file formats +COMMENT?= Extensible I/O abstraction for dealing with structured file formats .if !exists(/usr/lib/libbz2.so) LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2 @@ -35,14 +31,19 @@ MAN1= gsf.1 gsf-office-thumbnailer.1 gsf-vba-dump.1 .endif -.if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2) +OPTIONS_DEFINE= GCONF +OPTIONS_DEFAULT= GCONF + +.include + +.if ${PORT_OPTIONS:MGCONF} USE_GNOME+= gconf2 -PLIST_SUB+= THUMB="" +PLIST_FILES+= bin/gsf-office-thumbnailer . if !defined(GSF_SLAVE) GCONF_SCHEMAS= gsf-office-thumbnailer.schemas . endif .else -PLIST_SUB+= THUMB="@comment " +CONFIGURE_ARGS+= --without-gconf .endif .include Index: pkg-plist =================================================================== --- pkg-plist (revision 312694) +++ pkg-plist (working copy) @@ -1,5 +1,4 @@ bin/gsf -%%THUMB%%bin/gsf-office-thumbnailer bin/gsf-vba-dump include/libgsf-1/gsf/gsf-blob.h include/libgsf-1/gsf/gsf-clip-data.h --IS0zKkzwUGydFO0o-- From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 23 09:39:15 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A12A7F21; Sat, 23 Feb 2013 09:39:15 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9FDDC316; Sat, 23 Feb 2013 09:39:14 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep11-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130223093906.QTDD25433.viefep11-int.chello.at@edge04.upcmail.net>; Sat, 23 Feb 2013 10:39:06 +0100 Received: from [127.0.0.1] ([178.84.132.32]) by edge04.upcmail.net with edge id 3lf01l00f0i5fp604lf0nR; Sat, 23 Feb 2013 10:39:06 +0100 X-SourceIP: 178.84.132.32 Message-ID: <51288E35.1070301@rainbow-runner.nl> Date: Sat, 23 Feb 2013 10:39:01 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Thomas Mueller Subject: Re: Status of math/gnumeric unable to keep up with upstream releases? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130222-1, 22-02-2013), Outbound message X-Antivirus-Status: Clean Cc: gnome@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 09:39:15 -0000 On 22-2-2013 21:35, Thomas Mueller wrote: > What is the status of gnumeric being stuck at 1.10.17 when upstream has released 1.12.0 ? > > I think gnumeric >= 1.11.x has gtk+ >= 3.0.0 as a dependency? I checked gnumeric web site www.gnumeric.org . > > I see this is the same snag that prevents transmission > 2.5 from building, though possibly one could do > > portmaster -o transmission-cli transmission ? > > So what is the status now of gtk+ 3.x ? > > > Tom I'm working on a update for glib20 and gtk+2 and gtk+3. gnumeric is on the list of ports to update afterwards. What I know of transmission is that only transmission-gtk is currently broken because it wants a newer gtk+3 version then we got in ports. -Koop From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 23 09:42:32 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB490EF; Sat, 23 Feb 2013 09:42:32 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x232.google.com (ie-in-x0232.1e100.net [IPv6:2607:f8b0:4001:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 8833033B; Sat, 23 Feb 2013 09:42:32 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id c13so1679471ieb.9 for ; Sat, 23 Feb 2013 01:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=xIJOe7LxIRCQmPRumXp5+vhcDKDmicH9yioVd33YZJY=; b=FLOGMZwQzP1ow8Dx1uixp7e0O0lhod2j/jHSMVwOelw4f55GlrNrldvHeK2RH/f4LA +BO6S/ncJ/CyDEwo8ckoQqUnDZng9FFPxw7kubtEj2HV7XMEO4CQJRQOu89XdMj6xhOu 3KRzHAUDWE0zxJPc5Q2G+CmXV2vi2ypwNEAiEWP/9tVV08of0UZUpzN6thno2v08STr3 3EsGxZOvWNDI+/xqdz9ZBJZxxSuVRs3QvJhpZcAoDj3Dg44ZMIpiTp7MRjHpPMo/nD9D IprMb/66dwJwZkk8TMDHc3pvXSUt9qQnjVETKEqtAT0qBDmwshWinbqqS6DqvgZuQ7OH eXzA== MIME-Version: 1.0 X-Received: by 10.50.197.170 with SMTP id iv10mr612657igc.62.1361612552246; Sat, 23 Feb 2013 01:42:32 -0800 (PST) Received: by 10.64.63.12 with HTTP; Sat, 23 Feb 2013 01:42:32 -0800 (PST) Received: by 10.64.63.12 with HTTP; Sat, 23 Feb 2013 01:42:32 -0800 (PST) In-Reply-To: <51288E35.1070301@rainbow-runner.nl> References: <51288E35.1070301@rainbow-runner.nl> Date: Sat, 23 Feb 2013 09:42:32 +0000 Message-ID: Subject: Re: Status of math/gnumeric unable to keep up with upstream releases? From: Chris Rees To: Koop Mast Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: gnome@freebsd.org, Thomas Mueller , FreeBSD Mailing List X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 09:42:33 -0000 On 23 Feb 2013 09:39, "Koop Mast" wrote: > > On 22-2-2013 21:35, Thomas Mueller wrote: >> >> What is the status of gnumeric being stuck at 1.10.17 when upstream has released 1.12.0 ? >> >> I think gnumeric >= 1.11.x has gtk+ >= 3.0.0 as a dependency? I checked gnumeric web site www.gnumeric.org . >> >> I see this is the same snag that prevents transmission > 2.5 from building, though possibly one could do >> >> portmaster -o transmission-cli transmission ? >> >> So what is the status now of gtk+ 3.x ? >> >> >> Tom > > > I'm working on a update for glib20 and gtk+2 and gtk+3. gnumeric is on the list of ports to update afterwards. What I know of transmission is that only transmission-gtk is currently broken because it wants a newer gtk+3 version then we got in ports. That's exactly right. Transmission's older version in the tree works just fine however. Chris From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 23 13:58:26 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AFAF8F00 for ; Sat, 23 Feb 2013 13:58:26 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 6B70BE76 for ; Sat, 23 Feb 2013 13:58:26 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r1NDwKgk022867 for ; Sat, 23 Feb 2013 08:58:20 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r1NDwKoD022838; Sat, 23 Feb 2013 08:58:20 -0500 (EST) (envelope-from portscout) Message-Id: <201302231358.r1NDwKoD022838@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Sat, 23 Feb 2013 08:58:20 -0500 From: portscout@portscout.freebsd.org To: gnome@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 13:58:26 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/gnome@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/dbus | 1.4.14 | 1.7.0 ------------------------------------------------+-----------------+------------ net-im/libnice | 0.0.13 | 0.1.4 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 23 17:30:01 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EE59BDA9 for ; Sat, 23 Feb 2013 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D24BCA1F for ; Sat, 23 Feb 2013 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1NHU1j0053504 for ; Sat, 23 Feb 2013 17:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1NHU1LE053503; Sat, 23 Feb 2013 17:30:01 GMT (envelope-from gnats) Date: Sat, 23 Feb 2013 17:30:01 GMT Message-Id: <201302231730.r1NHU1LE053503@freefall.freebsd.org> To: gnome@FreeBSD.org From: "John W. O'Brien" Subject: Re: ports/175276: [patch] devel/py-gobject OPTIONSFILE eval order problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "John W. O'Brien" List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 17:30:02 -0000 The following reply was made to PR ports/175276; it has been noted by GNATS. From: "John W. O'Brien" To: bug-followup@FreeBSD.org, jhein@symmetricom.com Cc: freebsd-python@freebsd.org Subject: Re: ports/175276: [patch] devel/py-gobject OPTIONSFILE eval order problem Date: Sat, 23 Feb 2013 12:23:35 -0500 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1. Should this be assigned to freebsd-python@? I realize that freebsd-gnome@ is the maintainer, but the root cause lies with the way Python ports use PKGNAMEPREFIX, and this is not the only affected port. 2. Allow me to elaborate on the originator's description, for those interested in the analysis. The common use of PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX} depends on lazy evaluation, because the right-hand side is not defined until the "pre" section of bsd.python.mk. Relatively early on in bsd.port.mk, we get a default definition for UNIQUENAME based on PKGNAMEPREFIX, unless LATEST_LINK is already defined, which doesn't ordinarily happen until the "post" section of bsd.port.mk. Shortly after that, between the "options" section and the "pre" section of bsd.port.mk, we include bsd.options.mk which provides a default definition of OPTIONSFILE, based on UNIQUENAME. At that point in bsd.options.mk, we haven't yet included bsd.python.mk, so PYTHON_PKGNAMEPREFIX is undefined. That means that when make reads the saved options (inside the first pass through bsd.options.mk) thereby triggering evaluation of OPTIONSFILE, it is as if we hadn't set PKGNAMEPREFIX at all. As the originator points out, the do-config target, where make performs the work of writing saved options, re-evaluates OPTIONSFILE after bsd.python.mk sets PYTHON_PKGNAMEPREFIX, because do-config is defined in the "post" section of bsd.port.mk. 3. What ports are affected? Any port that sets PKGNAMEPREFIX equal to a make variable that is not defined until the "pre" section or later, and fails to work-around the staggered evaluation by defining one of UNIQUENAME, LATEST_LINK, or OPTIONSFILE, is broken. It turns out that Python ports are disproportionately affected, but mainly because Python ports are heavy users of PKGNAMEPREFIX. The other PKGNAMEPREFIXs are: % egrep "^[A-Z_]+_PKGNAMEPREFIX" /usr/ports/Mk/* -h APACHE_PKGNAMEPREFIX= ap${APACHE_VERSION}- PYTHON_PKGNAMEPREFIX?= py*- LUA_PKGNAMEPREFIX?= lua${LUA_VER_STR}- PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}- RUBY_PKGNAMEPREFIX?= ruby${RUBY_SUFFIX}- But the distribution among these is heavily skewed toward Python. % find /usr/ports -depth 3 -type f -name Makefile \ | xargs egrep "^OPTIONS_DEFINE" -l \ | xargs egrep "^(OPTIONSFILE|UNIQUENAME|LATEST_LINK)" -L \ | xargs egrep '^PKGNAMEPREFIX=.*\$' -h \ | sed -e "s/[ ]//g" \ | sort | uniq -c | sort -n 1 PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX} 1 PKGNAMEPREFIX=${DMPKGNAMEPREFIX} 1 PKGNAMEPREFIX=${DN3DPKGNAMEPREFIX} 1 PKGNAMEPREFIX=${TGTARCH}-${TGTABI}- 1 PKGNAMEPREFIX=php${PHP_VER}- 2 PKGNAMEPREFIX=${LANG_PKGNAME}- 22 PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX} (That's supposed to be a tab and a space in the sed command, by the way.) So, let's focus on the 22 ports at the end. % find /usr/ports -depth 3 -type f -name Makefile \ | xargs egrep "^OPTIONS_DEFINE" -l \ | xargs egrep "^(OPTIONSFILE|UNIQUENAME|LATEST_LINK)" -L \ | xargs egrep '^PKGNAMEPREFIX=.*PYTHON' -l \ | cut -d/ -f4-5 | sort astro/py-RO audio/py-karaoke audio/py-pyaudio databases/py-sqlkit devel/py-bison devel/py-gobject devel/py-hgsubversion dns/ldns graphics/py-PyX graphics/py-gdal mail/py-spf math/py-sympy net/py-medusa security/arm security/py-volatility security/py-yara-editor www/py-django_compressor www/py-imdbpy www/py-qp www/py-qpy www/py-rhodecode www/py-satchmo I've checked every one of these by running make config-conditional twice in a row, and every one of them gave me a dialog the second time, which implies that they are reading and writing saved options in different places. 4. How can we fix this? As I see it, there are at least the following alternatives. A) Require each maintainer to choose and implement their preferred work-around, defining one or more of UNIQUENAME, LATEST_LINK, or OPTIONSFILE. This is what most affected ports do already, and what the originator is proposing for this port. 100 ports use PYTHON_PKGNAMEPREFIX and OPTIONS_DEFINE. 74 of those set OPTIONSFILE, 3 set LATEST_LINK, and 1 sets UNIQUENAME. In this case we should update the documentation in bsd.python.mk and the Porter's Handbook to make the requirement clear, and consider implementing a validation check somewhere in /usr/ports/Mk and/or portlint. B) Cause part or all of the "pre" section of bsd.python.mk to be processed earlier in bsd.port.mk, so that PYTHON_PKGNAMEPREFIX is defined by the time we hit bsd.options.mk and need OPTIONSFILE for reading. This would require additional analysis and testing to prevent collateral breakage, and it would mean that bsd.python.mk becomes a special case. I've skimmed the portion of bsd.python.mk prior to the definition of PYTHON_PKGNAMEPREFIX, and nothing major jumps out. If there is interest, I would be glad to prepare a patch at which to throw darts. C) Redefine OPTIONSFILE inside bsd.python.mk upon detecting that it changes after defining PYTHON_PKGNAMEPREFIX, so that OPTIONSFILE is the same when reading and writing saved options. I think we could do this without affecting bsd.port.mk, or the ports that have already implemented a workaround. It would mean that the default behavior when using PYTHON_PKGNAMEPREFIX is to put saved options in ${PORT_DBDIR}/${_PNP}${PORTNAME}/options, where _PNP is any literal used along with PYTHON_PKGNAMEPREFIX in the port's Makefile, which some might consider a POLA violation. On the other hand, doing one thing consistently that works is better than doing something that breaks your port unexpectedly. The big problem with this alternative is that PORTNAME by itself is nowhere near unique enough to avoid conflict with other ports, and would pretty much require bubbling up the definition of PYTHON_PKGNAMEPREFIX from bsd.python.mk to each affected port. 5. What is the best alternative? I find B very attractive because it frees maintainers from defining an extra variable if they don't want (i.e. good defaults), but still allows them to do so if they do want (i.e. good mechanism). It may be difficult, hackish, and error-prone though. Option A would be easiest, and least traumatic both to individual ports and to the ports infrastructure itself. For this reason alone, A is probably the right choice for now. Sadly, C may be a complete non-starter due to the uniqueness problem, but I wouldn't rule it out completely as a long-term follow-up to A. The way I see it working out is in three phases. Phase one is to implement option A but also invite maintainers to replace PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} with PKGNAMEPREFIX= py${PYTHON_SUFFIX}- Phase two is to implement option C. Phase three is to invite maintainers to remove the option A work-around if they like the then-default behavior. 6. Conclusion. I invite commentary and criticism, especially on the potential resolutions I proposed. When we reach consensus, I will set about preparing some patches, if need be, and seeking the help of a friendly committer. Thank you for your kind indulgence. Cheers, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRKPsXAAoJEEdKvTwaez9w6yEIALFz+xrYLMdR1AhcPE2jEBd6 uR4dOZye8PQFTHbvhA/t20NFTroalr2kXF49+PTqR6kCFes+vNgjIlWUdKsIngYk y5x32f60Bd/TtqPo6M2aeOE/M322U6cIH5jJhh3EBTEpm+Upd9enIetxR0NpjTnP G+6yf8e7P4oBaYGSk01i3pah00OR2YeC87rtcEdgs1sM94PjxbXZGcuA+K9UbgVQ 2WB8Z4IvrD3d2UqRnC8TRq1/bZyiPSHKNeMFBRJZ4gFe/wr9G0txDnH1LTy/q0Gq kVHvdbApLYytMX/VmMMgDRnbzGS/kDMvIED8dJnwWf9pMLmzsi0pcVX/vH0m1Vw= =q6eG -----END PGP SIGNATURE-----