Compare commits

...
12 Commits
Author SHA1 Message Date
Frank Denis be119200b0 Be more liberal with the /Library/Application Support/DNSCrypt perms. 2012-09-07 14:23:41 -07:00
Frank Denis a9d5162dd4 chmod 755 "$DNSCRYPT_VAR_BASE_DIR" because the default perms are too restrictive. 2012-09-07 14:21:51 -07:00
Frank Denis 35b6f29267 sign 0.15 packages 2012-09-07 11:41:14 -07:00
Frank Denis 50e259112c Bump installer version to 0.15 2012-09-07 11:37:38 -07:00
Frank Denis 61c30c56df Prepare for release 0.15 of the OSX GUI. 2012-09-07 11:33:20 -07:00
Frank Denis 1e36414f46 Uninstall the dnscrypt plugins, too. 2012-09-06 10:57:17 -07:00
Frank Denis cfff4c9145 Regen 2012-08-20 17:18:51 -07:00
Frank Denis 0e9ebd325e Only chown/chmod the control dir if the permissions on the parent doesn't
match the current console owner.
If things go bad, it will make them even worse, but it avoids triggering
handle-control-change when not necessary.
2012-08-18 10:18:31 -07:00
Frank Denis d06b75393c Add nowtv.com to the list of exceptions.
Looks like a necessary evil.
2012-08-16 20:18:36 -07:00
Frank Denis 16a6ea8ff6 Add fritz.box to the list of domain exceptions. 2012-08-16 07:41:05 -07:00
Frank Denis 9da622c3fb Uninstaller: cd to the script directory before reverting to dhcp 2012-08-11 09:20:40 -07:00
Frank Denis c5bc5be9f7 Have the uninstaller uninstall files from GUI versions > 0.10 2012-08-10 21:40:04 -07:00
13 changed files with 61 additions and 25 deletions
@@ -194,7 +194,7 @@ DNSConfigurationState currentState = kDNS_CONFIGURATION_UNKNOWN;
_statusItem.toolTip = @"DNSCrypt";
_statusItem.menu = _dnscryptMenu;
NSString *versionStringFormat = NSLocalizedString(@"Client version: %@", @"Current version in the menu");
NSString *versionStringFormat = NSLocalizedString(@"Client UI version: %@", @"Current UI version as shown in the menu");
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
_versionMenuItem.title = [NSString stringWithFormat: versionStringFormat, version];
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.14 (beta)</string>
<string>0.15 (beta)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.14</string>
<string>0.15</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
@@ -634,7 +634,7 @@
<key>USE_HFS+_COMPRESSION</key>
<true/>
<key>VERSION</key>
<string>1.0.1</string>
<string>1.1.0.1</string>
</dict>
<key>UUID</key>
<string>7F7D70AB-F7A2-4027-8304-3063C7B9532F</string>
@@ -1241,7 +1241,7 @@
<key>USE_HFS+_COMPRESSION</key>
<true/>
<key>VERSION</key>
<string>0.14</string>
<string>0.15</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
@@ -1734,7 +1734,7 @@
<key>USE_HFS+_COMPRESSION</key>
<true/>
<key>VERSION</key>
<string>0.14</string>
<string>0.15</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
@@ -1756,7 +1756,7 @@
ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIj4KPHRp
dGxlPjwvdGl0bGU+CjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29u
dGVudD0iQ29jb2EgSFRNTCBXcml0ZXIiPgo8bWV0YSBuYW1lPSJD
b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjExNTcuNyI+CjxzdHlsZSB0
b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjExODcuMiI+CjxzdHlsZSB0
eXBlPSJ0ZXh0L2NzcyI+Cjwvc3R5bGU+CjwvaGVhZD4KPGJvZHk+
CjwvYm9keT4KPC9odG1sPgo=
</data>
@@ -1994,7 +1994,7 @@
<key>IC_REQUIREMENT_CPU_ARCHITECTURE_FAMILY</key>
<integer>2</integer>
<key>IC_REQUIREMENT_CPU_INTEL_ARCHITECTURE_TYPE</key>
<integer>2</integer>
<integer>0</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_CPU_CORES_COUNT</key>
<integer>1</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_FREQUENCY</key>
@@ -2014,7 +2014,7 @@
<key>SECONDARY_VALUE</key>
<string></string>
<key>VALUE</key>
<string>The DNSCrypt GUI for Mac currently requires at least an Intel Core 2 CPU.</string>
<string>The DNSCrypt GUI for Mac currently requires at least an Intel Core CPU.</string>
</dict>
</array>
<key>NAME</key>
@@ -8,7 +8,7 @@ exec 2>/dev/null
/bin/mkdir -p '/Library/Application Support/DNSCrypt/states'
/bin/mkdir -p '/Library/Application Support/DNSCrypt/tickets'
/usr/sbin/chown -R 0:0 '/Library/Application Support/DNSCrypt'
/bin/chmod 710 '/Library/Application Support/DNSCrypt'
/bin/chmod 755 '/Library/Application Support/DNSCrypt'
eval $(/usr/bin/stat -s '/dev/console')
if [ $? != 0 ]; then
+1 -1
View File
@@ -1,6 +1,6 @@
#! /bin/sh
VERSION='0.14'
VERSION='0.15'
cd build || exit 1
(
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.14</string>
<string>0.15</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.14</string>
<string>0.15</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2011-2012 OpenDNS Inc. All rights reserved.</string>
<key>NSMainNibFile</key>
+1 -1
View File
@@ -9,7 +9,7 @@
#import <PreferencePanes/PreferencePanes.h>
#import <WebKit/WebKit.h>
#define kDNSCRYPT_PACKAGE_VERSION @"0.14"
#define kDNSCRYPT_PACKAGE_VERSION @"0.15"
#define kDNSCRYPT_PREFPANE_APP_PATH @"/Library/PreferencePanes/DNSCrypt.prefPane"
#define kDNSCRYPT_USR_BASE_DIR kDNSCRYPT_PREFPANE_APP_PATH @"/Contents/Resources/usr"
@@ -15,8 +15,8 @@
<body>
<h1>About DNSCrypt</h1>
<p>
This software encrypts DNS packets between your computer and
OpenDNS. This prevents man-in-the-middle attacks and snooping of DNS
This software encrypts and authenticates DNS packets between your computer
and OpenDNS. This prevents man-in-the-middle attacks and snooping of DNS
traffic by ISPs or others.
</p>
<p>
@@ -2,7 +2,7 @@
%html{lang: "en"}
%head
%meta{charset: "utf-8"}
%title Release notes
%title Release notes for the user interface
%style{type: "text/css"}
:sass
body
@@ -19,7 +19,18 @@
font:
style: italic
%body
%h1 Release Notes
%h1 Release Notes for the user interface
%article
%h2 Version 0.15 released!
%time Wed, 07 Sep 2012
%ul
%li dnscrypt-proxy has been updated to 1.1.0-RC1
%li
Queries for nowtv.com and fritz.com are now bypassing dnscrypt.
%li
The user interface doesn't update the DNS settings any more when
using an interactive shell.
%article
%h2 Version 0.14 released!
@@ -2,7 +2,7 @@
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>Release notes</title>
<title>Release notes for the user interface</title>
<style type='text/css'>
body {
font-family: arial, helvetica, sans-serif;
@@ -22,7 +22,21 @@
</style>
</head>
<body>
<h1>Release Notes</h1>
<h1>Release Notes for the user interface</h1>
<article>
<h2>Version 0.15 released!</h2>
<time>Wed, 07 Sep 2012</time>
<ul>
<li>dnscrypt-proxy has been updated to 1.1.0-RC1</li>
<li>
Queries for nowtv.com and fritz.com are now bypassing dnscrypt.
</li>
<li>
The user interface doesn't update the DNS settings any more when
using an interactive shell.
</li>
</ul>
</article>
<article>
<h2>Version 0.14 released!</h2>
<time>Wed, 08 Aug 2012</time>
@@ -23,7 +23,9 @@ INTERFACE_PROXY_MASK="24"
INTERFACE_PROBES="127.0.0.55"
INTERFACE_PROBES_MASK="24"
DOMAINS_EXCEPTIONS='routerlogin.net lan localdomain private intranet'
DOMAINS_EXCEPTIONS='
fritz.box intranet lan localdomain nowtv.com private routerlogin.net
'
export PATH="${DNSCRYPT_USR_BASE_DIR}/bin:${DNSCRYPT_USR_BASE_DIR}/scripts:$PATH"
@@ -7,9 +7,18 @@ wanted_uid="$st_uid"
if [ ! -d "$DNSCRYPT_VAR_BASE_DIR" ]; then
mkdir -p "$DNSCRYPT_VAR_BASE_DIR" || exit 1
chown -R 0:0 "$DNSCRYPT_VAR_BASE_DIR"
chmod 755 "$DNSCRYPT_VAR_BASE_DIR"
fi
mkdir -p "$CONTROL_DIR" || exit 1
mkdir -p "$TICKETS_DIR" || exit 1
chown -R "${wanted_uid}:0" "$CONTROL_DIR"
mkdir -m 755 -p "$TICKETS_DIR" || exit 1
chown -R "${wanted_uid}:0" "$TICKETS_DIR"
find "$DNSCRYPT_VAR_BASE_DIR" -type d -exec chmod 755 {} \;
eval $(stat -s "$CONTROL_DIR") || exit 1
if [ $? != 0 ]; then
mkdir -m 755 -p "$CONTROL_DIR" || exit 1
current_uid='nonexistent'
else
current_uid="$st_uid"
fi
[ x"$current_uid" != x"$wanted_uid" ] && \
chown -R "${wanted_uid}:0" "$CONTROL_DIR"
Binary file not shown.