[79661] branches/gsoc11-statistics/base

derek at macports.org derek at macports.org
Wed Jun 22 13:23:05 PDT 2011


Revision: 79661
          http://trac.macports.org/changeset/79661
Author:   derek at macports.org
Date:     2011-06-22 13:23:05 -0700 (Wed, 22 Jun 2011)
Log Message:
-----------
configure.ac
  -Added STATS_UUID autoconf variable

macports.conf.in
  - Added stats_url variable (set to localhost for now). This specifies where to submit data
  - Added stats_id variable. This is set to @STATS_UUID@ defined through autoconf. This is the user's unique identification string

Modified Paths:
--------------
    branches/gsoc11-statistics/base/configure
    branches/gsoc11-statistics/base/configure.ac
    branches/gsoc11-statistics/base/doc/macports.conf.in

Modified: branches/gsoc11-statistics/base/configure
===================================================================
--- branches/gsoc11-statistics/base/configure	2011-06-22 20:11:46 UTC (rev 79660)
+++ branches/gsoc11-statistics/base/configure	2011-06-22 20:23:05 UTC (rev 79661)
@@ -730,6 +730,7 @@
 LDFLAGS
 CFLAGS
 CC
+STATS_UUID
 DEVELOPER_DIR
 XCODE_SELECT
 DEFAULTS
@@ -823,10 +824,6 @@
 CPPFLAGS
 OBJC
 OBJCFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-OBJC
 MTREE
 CVS
 SVN
@@ -842,9 +839,7 @@
 XAR
 OPEN
 OBJCPP
-CPPFLAGS
-CPP
-CPPFLAGS'
+CPP'
 ac_subdirs_all='src/thread2.6'
 
 # Initialize some variables set by options.
@@ -2979,6 +2974,10 @@
     ;;
 esac
 
+# Generate UUID for data collection
+STATS_UUID=`uuidgen`
+
+
 # Checks for programs.
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'

Modified: branches/gsoc11-statistics/base/configure.ac
===================================================================
--- branches/gsoc11-statistics/base/configure.ac	2011-06-22 20:11:46 UTC (rev 79660)
+++ branches/gsoc11-statistics/base/configure.ac	2011-06-22 20:23:05 UTC (rev 79661)
@@ -80,6 +80,10 @@
     ;;
 esac
 
+# Generate UUID for data collection
+STATS_UUID=`uuidgen`
+AC_SUBST(STATS_UUID)
+
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_OBJC

Modified: branches/gsoc11-statistics/base/doc/macports.conf.in
===================================================================
--- branches/gsoc11-statistics/base/doc/macports.conf.in	2011-06-22 20:11:46 UTC (rev 79660)
+++ branches/gsoc11-statistics/base/doc/macports.conf.in	2011-06-22 20:23:05 UTC (rev 79661)
@@ -133,4 +133,10 @@
 # Options for MacPorts usage statistics collection
 # If you would like to participate change this value to yes
 # The default is no
-stats_participate	no
\ No newline at end of file
+stats_participate	no
+
+# Where to submit usage data
+stats_url	localhost
+
+# Unique identifier for usage statistics
+stats_id	@STATS_UUID@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110622/8c0f8a7f/attachment.html>


More information about the macports-changes mailing list