[Pkg-mozext-commits] [pwdhash] 02/07: Imported Upstream version 1.7.3

Benjamin Drung bdrung at moszumanska.debian.org
Sat Jan 9 20:59:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository pwdhash.

commit fc7a8b344bfc8a4848ff26d7e2c485a531f59a28
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat Jan 9 21:22:24 2016 +0100

    Imported Upstream version 1.7.3
---
 META-INF/manifest.mf                            |  77 +++++++++
 META-INF/mozilla.rsa                            | Bin 0 -> 4196 bytes
 META-INF/mozilla.sf                             |   4 +
 chrome.manifest                                 |   6 +-
 chrome/locale/en-US/stanford-pwdhash.properties |  14 +-
 install.js                                      | 210 ++++++++++++------------
 install.rdf                                     |  18 +-
 7 files changed, 203 insertions(+), 126 deletions(-)

diff --git a/META-INF/manifest.mf b/META-INF/manifest.mf
new file mode 100644
index 0000000..27ce6e5
--- /dev/null
+++ b/META-INF/manifest.mf
@@ -0,0 +1,77 @@
+Manifest-Version: 1.0
+
+Name: install.rdf
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: uKro8+Lng6zMRxeiCB8vLA==
+SHA1-Digest: 50RyNqZvbNndx4HGIfuSjcwqKpQ=
+
+Name: chrome.manifest
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: c79JMI43JMVMdwWVQa573w==
+SHA1-Digest: arTSHViKyWlFxmsKs99eoxlRc6s=
+
+Name: install.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: 4GPIcUuq3buK8nhxceezJQ==
+SHA1-Digest: 8Ay+tmo7RruT9MvgJSyaB6pit5E=
+
+Name: chrome/content/contents.rdf
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: PVFPOBsEsPZzPMx7V5uN4w==
+SHA1-Digest: Hax8sdnpKmmy2tVJTLMK6V/2+yw=
+
+Name: chrome/content/domain-extractor.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: P86xUZg4C9OcbdtpVXeDBg==
+SHA1-Digest: RCZnuF7x7XiIlnyckGPQ/EeFgRI=
+
+Name: chrome/content/hashed-password.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: m/7bf3JZq33skEwq4gqZdQ==
+SHA1-Digest: jhjzFAe8bm8/LO2bwQ6YGR5R208=
+
+Name: chrome/content/md5.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: bQMCX0VYaRhbV7XBOP0cAQ==
+SHA1-Digest: 5WQ0ajCkfEtqcm6YNklN25aPGNg=
+
+Name: chrome/content/stanford-pwdhash-overlay.css
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: Yy1HsXJBRGToWRN1csvg+A==
+SHA1-Digest: f2AfY9krhJcL/h3fNirP6bE3k9Q=
+
+Name: chrome/content/stanford-pwdhash-overlay.xul
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: 5G2AoPfgPlZ7UrCiP+Lp1w==
+SHA1-Digest: et3guOfyvR/dSlm206sXp34dPEk=
+
+Name: chrome/content/stanford-pwdhash-page.css
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: uhmto8xKZQZ3INObyrCtyg==
+SHA1-Digest: +zz5ZCginFEshsNOa9Inl5UGwOQ=
+
+Name: chrome/content/stanford-pwdhash-page.xml
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: 0WZ5SK9eEyEwdAdGId4tJQ==
+SHA1-Digest: GWMELEoy57gZArXo+Mm4/kkZ4KU=
+
+Name: chrome/content/stanford-pwdhash.js
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: YL9ry/elWdEYuATMjZX0jg==
+SHA1-Digest: 4CML0oG+cfRNXu7peMt2uDFKukM=
+
+Name: chrome/locale/en-US/contents.rdf
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: Xm41kJ5IueRgnNkj5xSycw==
+SHA1-Digest: 9GhC6pzH5ag9cwc/iAEsb2L8De8=
+
+Name: chrome/locale/en-US/stanford-pwdhash.properties
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: QzkPwc8Fk88MjA/ML5gj/Q==
+SHA1-Digest: sU8mKV8nsTILZLkOanyfXQ6SuLI=
+
+Name: LICENSE
+Digest-Algorithms: MD5 SHA1
+MD5-Digest: stViN22K8w6mR/OiBVxS6w==
+SHA1-Digest: BTeV9d37UPtystCeyv2ekpN7aMM=
+
diff --git a/META-INF/mozilla.rsa b/META-INF/mozilla.rsa
new file mode 100644
index 0000000..90a131f
Binary files /dev/null and b/META-INF/mozilla.rsa differ
diff --git a/META-INF/mozilla.sf b/META-INF/mozilla.sf
new file mode 100644
index 0000000..8d8285c
--- /dev/null
+++ b/META-INF/mozilla.sf
@@ -0,0 +1,4 @@
+Signature-Version: 1.0
+MD5-Digest-Manifest: 3sGaLJ4juktjs1P88gpw1A==
+SHA1-Digest-Manifest: s4CmKlGHz7duwjCNDmSvojLH9YI=
+
diff --git a/chrome.manifest b/chrome.manifest
index ae4e7e9..0b69701 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -1,3 +1,3 @@
-content  stanford-pwdhash chrome/content/
-locale	stanford-pwdhash	en-US	chrome/locale/en-US/
-overlay chrome://browser/content/browser.xul chrome://stanford-pwdhash/content/stanford-pwdhash-overlay.xul
+content  stanford-pwdhash chrome/content/
+locale	stanford-pwdhash	en-US	chrome/locale/en-US/
+overlay chrome://browser/content/browser.xul chrome://stanford-pwdhash/content/stanford-pwdhash-overlay.xul
diff --git a/chrome/locale/en-US/stanford-pwdhash.properties b/chrome/locale/en-US/stanford-pwdhash.properties
index 9f5e61a..5f1e638 100644
--- a/chrome/locale/en-US/stanford-pwdhash.properties
+++ b/chrome/locale/en-US/stanford-pwdhash.properties
@@ -1,7 +1,7 @@
-pwdhash.pwddisplay=Hashed password for %s: %s
-pwdhash.warningtitle=PwdHash Warning
-pwdhash.pwdkeywarn=PwdHash could not find a password field on this page.\nIt is possible, though unlikely, that the site trying to steal your password.\nDo not enter your PwdHash password into this page.
-pwdhash.pwdprefixwarn=You typed the PwdHash password prefix, but you are not currently in a password field that starts with the password prefix.\nIt is possible, though unlikely, that the site trying to steal your password.\nDo not enter your PwdHash password into this page.
-pwdhash.trustedeventwarn=JavaScript on this page may be interfering with your ability to enter a password.\nAs a precaution, the password field has been cleared.\nIf the problem persists, you might not be able to use PwdHash on this page.
-pwdhash.longpasswordwarn=Your password is too long to protect.
-pwdhash.shortpasswordwarn=Your password is too short to protect.
+pwdhash.pwddisplay=Hashed password for %s: %s
+pwdhash.warningtitle=PwdHash Warning
+pwdhash.pwdkeywarn=PwdHash could not find a password field on this page.\nIt is possible, though unlikely, that the site trying to steal your password.\nDo not enter your PwdHash password into this page.
+pwdhash.pwdprefixwarn=You typed the PwdHash password prefix, but you are not currently in a password field that starts with the password prefix.\nIt is possible, though unlikely, that the site trying to steal your password.\nDo not enter your PwdHash password into this page.
+pwdhash.trustedeventwarn=JavaScript on this page may be interfering with your ability to enter a password.\nAs a precaution, the password field has been cleared.\nIf the problem persists, you might not be able to use PwdHash on this page.
+pwdhash.longpasswordwarn=Your password is too long to protect.
+pwdhash.shortpasswordwarn=Your password is too short to protect.
diff --git a/install.js b/install.js
index d750a92..0801078 100644
--- a/install.js
+++ b/install.js
@@ -1,105 +1,105 @@
-// XpiInstaller
-// Modified by Nick, originally by Pike (Heavily inspired by code from Henrik Gemal and Stephen Clavering)
-
-var XpiInstaller = {
-
-	// --- Editable items begin ---
-	extFullName: 'PwdHash', // The name displayed to the user (don't include the version)
-	extShortName: 'stanford-pwdhash', // The leafname of the JAR file (without the .jar part)
-	extVersion: '0.9',
-	extAuthor: 'Stanford University',
-	extPostInstallMessage: 'Success! Please restart your browser to finish the installation.', // Set to null for no post-install message
-	// --- Editable items end ---
-
-	profileInstall: true,
-	silentInstall: false,
-
-	install: function()
-	{
-		var jarName = this.extShortName + '.jar';
-		var profileDir = Install.getFolder('Profile', 'chrome');
-
-		// Parse HTTP arguments
-		this.parseArguments();
-
-		// Check if extension is already installed in profile
-		if (File.exists(Install.getFolder(profileDir, jarName)))
-		{
-			if (!this.silentInstall)
-			{
-				Install.alert('Updating existing Profile install of ' + this.extFullName + ' to version ' + this.extVersion + '.');
-			}
-			this.profileInstall = true;
-		}
-		else if (!this.silentInstall)
-		{
-			// Ask user for install location, profile or browser dir?
-			this.profileInstall = Install.confirm('Install ' + this.extFullName + ' ' + this.extVersion + ' to your Profile directory (OK) or your Browser directory (Cancel)?');
-		}
-
-		// Init install
-		var dispName = this.extFullName + ' ' + this.extVersion;
-		var regName = '/' + this.extAuthor + '/' + this.extShortName;
-		Install.initInstall(dispName, regName, this.extVersion);
-
-		// Find directory to install into
-		var installPath;
-		if (this.profileInstall) installPath = profileDir;
-		else installPath = Install.getFolder('chrome');
-
-		// Add JAR file
-		Install.addFile(null, 'chrome/' + jarName, installPath, null);
-
-		// Register chrome
-		var jarPath = Install.getFolder(installPath, jarName);
-		var installType = this.profileInstall ? Install.PROFILE_CHROME : Install.DELAYED_CHROME;
-
-		// Register content
-		Install.registerChrome(Install.CONTENT | installType, jarPath, 'content/');
-
-		// Register locale
-		Install.registerChrome(Install.LOCALE | installType, jarPath, 'locale/');
-
-		// Perform install
-		var err = Install.performInstall();
-		if (err == Install.SUCCESS || err == Install.REBOOT_NEEDED)
-		{
-			if (!this.silentInstall && this.extPostInstallMessage)
-			{
-				Install.alert(this.extPostInstallMessage);
-			}
-		}
-		else
-		{
-			this.handleError(err);
-			return;
-		}
-	},
-
-	parseArguments: function()
-	{
-		// Can't use string handling in install, so use if statement instead
-		var args = Install.arguments;
-		if (args == 'p=0')
-		{
-			this.profileInstall = false;
-			this.silentInstall = true;
-		}
-		else if (args == 'p=1')
-		{
-			this.profileInstall = true;
-			this.silentInstall = true;
-		}
-	},
-
-	handleError: function(err)
-	{
-		if (!this.silentInstall)
-		{
-			Install.alert('Error: Could not install ' + this.extFullName + ' ' + this.extVersion + ' (Error code: ' + err + ')');
-		}
-		Install.cancelInstall(err);
-	}
-};
-
-XpiInstaller.install();
+// XpiInstaller
+// Modified by Nick, originally by Pike (Heavily inspired by code from Henrik Gemal and Stephen Clavering)
+
+var XpiInstaller = {
+
+	// --- Editable items begin ---
+	extFullName: 'PwdHash', // The name displayed to the user (don't include the version)
+	extShortName: 'stanford-pwdhash', // The leafname of the JAR file (without the .jar part)
+	extVersion: '1.7.3',
+	extAuthor: 'Stanford University',
+	extPostInstallMessage: 'Success! Please restart your browser to finish the installation.', // Set to null for no post-install message
+	// --- Editable items end ---
+
+	profileInstall: true,
+	silentInstall: false,
+
+	install: function()
+	{
+		var jarName = this.extShortName + '.jar';
+		var profileDir = Install.getFolder('Profile', 'chrome');
+
+		// Parse HTTP arguments
+		this.parseArguments();
+
+		// Check if extension is already installed in profile
+		if (File.exists(Install.getFolder(profileDir, jarName)))
+		{
+			if (!this.silentInstall)
+			{
+				Install.alert('Updating existing Profile install of ' + this.extFullName + ' to version ' + this.extVersion + '.');
+			}
+			this.profileInstall = true;
+		}
+		else if (!this.silentInstall)
+		{
+			// Ask user for install location, profile or browser dir?
+			this.profileInstall = Install.confirm('Install ' + this.extFullName + ' ' + this.extVersion + ' to your Profile directory (OK) or your Browser directory (Cancel)?');
+		}
+
+		// Init install
+		var dispName = this.extFullName + ' ' + this.extVersion;
+		var regName = '/' + this.extAuthor + '/' + this.extShortName;
+		Install.initInstall(dispName, regName, this.extVersion);
+
+		// Find directory to install into
+		var installPath;
+		if (this.profileInstall) installPath = profileDir;
+		else installPath = Install.getFolder('chrome');
+
+		// Add JAR file
+		Install.addFile(null, 'chrome/' + jarName, installPath, null);
+
+		// Register chrome
+		var jarPath = Install.getFolder(installPath, jarName);
+		var installType = this.profileInstall ? Install.PROFILE_CHROME : Install.DELAYED_CHROME;
+
+		// Register content
+		Install.registerChrome(Install.CONTENT | installType, jarPath, 'content/');
+
+		// Register locale
+		Install.registerChrome(Install.LOCALE | installType, jarPath, 'locale/');
+
+		// Perform install
+		var err = Install.performInstall();
+		if (err == Install.SUCCESS || err == Install.REBOOT_NEEDED)
+		{
+			if (!this.silentInstall && this.extPostInstallMessage)
+			{
+				Install.alert(this.extPostInstallMessage);
+			}
+		}
+		else
+		{
+			this.handleError(err);
+			return;
+		}
+	},
+
+	parseArguments: function()
+	{
+		// Can't use string handling in install, so use if statement instead
+		var args = Install.arguments;
+		if (args == 'p=0')
+		{
+			this.profileInstall = false;
+			this.silentInstall = true;
+		}
+		else if (args == 'p=1')
+		{
+			this.profileInstall = true;
+			this.silentInstall = true;
+		}
+	},
+
+	handleError: function(err)
+	{
+		if (!this.silentInstall)
+		{
+			Install.alert('Error: Could not install ' + this.extFullName + ' ' + this.extVersion + ' (Error code: ' + err + ')');
+		}
+		Install.cancelInstall(err);
+	}
+};
+
+XpiInstaller.install();
diff --git a/install.rdf b/install.rdf
index d889fa5..cbb0028 100644
--- a/install.rdf
+++ b/install.rdf
@@ -1,28 +1,24 @@
-<?xml version="1.0"?>
-
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-         xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+<?xml version='1.0' encoding='utf-8'?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
 
   <RDF:Description about="urn:mozilla:install-manifest">
 
   <em:id>{bb8d77b0-a845-4249-a205-ef7395587b69}</em:id>
-  <em:version>1.7</em:version>
+  <em:version>1.7.3.1-signed</em:version>
+  <em:type>2</em:type>
+
   <em:targetApplication>
     <RDF:Description>
       <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
       <em:minVersion>1.0</em:minVersion>
-      <em:maxVersion>3.5.*</em:maxVersion>
+      <em:maxVersion>45.0</em:maxVersion>
     </RDF:Description>
   </em:targetApplication>
 
   <em:name>PwdHash</em:name>
-
   <em:description>Automatically generates per-site passwords if you prefix your password with @@ or F2.</em:description>
-
   <em:creator>Stanford University</em:creator>
-
   <em:homepageURL>http://crypto.stanford.edu/PwdHash</em:homepageURL>
 
   </RDF:Description>
-</RDF:RDF>
-
+</RDF:RDF>
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/pwdhash.git



More information about the Pkg-mozext-commits mailing list