author | Michael Krelin <hacker@klever.net> | 2008-06-28 20:32:41 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-06-28 20:32:41 (UTC) |
commit | 67d1afa3006aa8b9956fa955322ace45a8f8e56e (patch) (side-by-side diff) | |
tree | aca587148f6500033109e203842342bea09957a4 | |
parent | 2006dedac467448e2f58964244d26d0c22129a83 (diff) | |
download | fireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.zip fireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.tar.gz fireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.tar.bz2 |
provisions for signing
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | install.rdf.in | 1 | ||||
-rw-r--r-- | update-template.rdf.in (renamed from update.rdf.in) | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 06aeaae..a3236ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,3 +13,3 @@ xpi: ${XPI} ${XPI}: install - test -z "${NO_UPDATE}" || sed -i -e '/em:updateURL/d' ${xpidir}/install.rdf + test -z "${NO_UPDATE}" || sed -i -e '/em:update\(URL\|Key\)/d' ${xpidir}/install.rdf cd ${xpichromedir} \ @@ -19,2 +19,5 @@ ${XPI}: install +update.rdf: update-template.rdf ${XPI} + sed -e "s/<!--SHA1-->/$$(sha1sum ${XPI}|cut -d\ -f1)/" <$< >$@ + install-data-local: ${xpidir}/chrome.manifest diff --git a/configure.ac b/configure.ac index 61b9747..6a478db 100644 --- a/configure.ac +++ b/configure.ac @@ -22,3 +22,3 @@ AC_CONFIG_FILES([ install.rdf - update.rdf + update-template.rdf content/Makefile diff --git a/install.rdf.in b/install.rdf.in index 9a00e0d..8ccdf34 100644 --- a/install.rdf.in +++ b/install.rdf.in @@ -15,2 +15,3 @@ <em:aboutURL>chrome://fireflix/content/about.xul</em:aboutURL> + <em:updateKey>MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDc/WnetE1dTmWKY+KzphLYfqrjOc88fK7FaGSnHbwa4lpvt3gt6W0GwiCjUATvXu9zWoDU60VKPVhN0ohIOAnUuvtqSTfxjDBwDcsRXjg7fg4nofmA2mTeZtULYMymSCYZB+w6krmlOpEBpWZl14yf5Jc93Lc3gCZPDvH0xXZl9QIDAQAB</em:updateKey> diff --git a/update.rdf.in b/update-template.rdf.in index aa368a6..4326468 100644 --- a/update.rdf.in +++ b/update-template.rdf.in @@ -21,2 +21,3 @@ <em:updateLink>http://kin.klever.net/dist/@PACKAGE@-@VERSION@.xpi</em:updateLink> + <em:updateHash>sha1:<!--SHA1--></em:updateHash> </Description> |