netutil: On FreeBSD replace call to lsof(1) with sockstat(1).

sockstat(1) is in the base system image, whereas lsof(1) is only avaible
through ports.

The addresses Issue 190

Change-Id: I5e3cd6b6c10d2aa75f799320d80acfd61275ea62
camweb,buildbot: Update camlistore git repo URLs.

Also add redirect for /code/ request with a commit hash to new code host.

Change-Id: I68a8746dacb6f0a4fc6719e3f5ed23ee0f37778b
Merge "netutil: On FreeBSD replace call to lsof(1) with sockstat(1)."
netutil: for better backtraces use named function.

Per feedback on https://camlistore-review.googlesource.com/507

Change-Id: Id6c0e4f66d221e6677167aaf590dc3cc696e5391
server-config doc: fix google cloud storage config identifier.

Change-Id: I35769c851d67131581f3c3ef43b5daa5f4130ec7
camput: ignore files like .DS_Store with -filenodes

Also made initTrustedCertsOnce a field of the Client
object, as it is a similar change.

http://camlistore.org/issue/104

Change-Id: Iabbd7f06e06d31265f390a23c4bdaac956f856f7
google drive: fix import example to shut rewrite-imports.sh up

Change-Id: Id699b35e9beb99f2ba84a1e427a04c892a5e7b73
server config: document implicit mirroring for blob storage

http://camlistore.org/issue/201

Change-Id: Icda250242f88dad80cd48d6417d4944341e3dd26
devcam appengine: replaces ./dev-appengine

Change-Id: Ic4adcb8898fc3ead801aefd679682bcc646f3573
Merge "devcam appengine: replaces ./dev-appengine"
serverconfig: conditionally install pprof handler.

This change enables the ability to profile with:
go tool pprof http://<host>:<port>/debug/pprof/profile

Setting CAMLI_HTTP_PPROF=1 in your environment before running camlistored will
enable the handler.

Change-Id: I91993f5166e257e5be406a4d2c3e6bc0028a435a
perf: perform password auth before checking UID.

On FreeBSD DevAuth was showing up as consuming ~10% of the time when doing big
camputs.  It disappears with this change. FreeBSD and Mac exec external
programs for localhost auth, so I imagine they'll both benefit.
On linux, checking the password in memory is (probably) still faster than
reading from /proc (which I'm assuming turns into a roundtrip
userland->kernel->userland which is nice to avoid).

Making the change to UserPass under the assumption the performance improvement
would be similar.  Untested/unprofiled though.

Change-Id: Idb7e888df6e9a36db0be671a44911e018eb7986e
make.go: fix cross-compiling

http://camlistore.org/issue/198

Change-Id: Ic1bf1e458d8e197b85137ad1721820fbf31cb755
Merge "serverconfig: conditionally install pprof handler."
Merge "perf: perform password auth before checking UID."
localdisk: don't allocate 512 KB on each readdir

Change-Id: I3e71605f0ef53351f0ee50bb78bdfbf6b5d7dca1
auth: Fixed regression introduced with a4d187f

Tested with:

(shell1) host1$ devcam server -all
(shell2) host1$  curl -i http://localhost:3179/ui/
HTTP/1.1 200 OK
...

(shell1) host2$  wget -qS http://sagan:3179/ui/ -O -
  HTTP/1.1 401 Unauthorized
  Www-Authenticate: Basic realm="Any username, password is: pass3179"
  Content-Type: text/html; charset=utf-8
  Content-Length: 33
  Date: Wed, 21 Aug 2013 03:07:50 GMT

(shell1) host2$ wget -qS http://user:pass3179@sagan:3179/ui/ -O -
  HTTP/1.1 401 Unauthorized
  Www-Authenticate: Basic realm="Any username, password is: pass3179"
  Content-Type: text/html; charset=utf-8
  Content-Length: 33
  Date: Wed, 21 Aug 2013 03:06:54 GMT
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Content-Length: 1213
  Content-Type: text/html; charset=utf-8
  Last-Modified: Thu, 04 Jul 2013 02:08:28 GMT
  Vary: Accept
  Date: Wed, 21 Aug 2013 03:06:54 GMT
<!doctype html>
...

This should resolve https://code.google.com/p/camlistore/issues/detail?id=204

Change-Id: I68ef2a0d93df56172033c2cbac4170e54d6452be
serverconfig: idle synchandler when no localdisk as primary storage

Because no localdisk means either s3 or google is the primary,
and none of them support efficient replication.

1) Added a dummy synchandler constructor for when config has "idle"
2) Set "idle" for synchandler config when no localdisk
3) fixed corresponding tests

Also:
- added error (and test) when no localdisk and both s3 and google
in config
- added s3 + mysql test

http://camlistore.org/issue/201

Change-Id: I861fdca0c203bc0181ab6d548adab501ed98d2f0
Merge "serverconfig: idle synchandler when no localdisk as primary storage"
Merge "auth: Fixed regression introduced with a4d187f"