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) (unidiff) | |
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 | |||
@@ -11,12 +11,15 @@ XPI=${PACKAGE}-${VERSION}.xpi | |||
11 | xpi: ${XPI} | 11 | xpi: ${XPI} |
12 | 12 | ||
13 | ${XPI}: install | 13 | ${XPI}: install |
14 | test -z "${NO_UPDATE}" || sed -i -e '/em:updateURL/d' ${xpidir}/install.rdf | 14 | test -z "${NO_UPDATE}" || sed -i -e '/em:update\(URL\|Key\)/d' ${xpidir}/install.rdf |
15 | cd ${xpichromedir} \ | 15 | cd ${xpichromedir} \ |
16 | && ${ZIP} -r -m ${PACKAGE}.jar */ | 16 | && ${ZIP} -r -m ${PACKAGE}.jar */ |
17 | cd ${xpidir} \ | 17 | cd ${xpidir} \ |
18 | && ${ZIP} -r @abs_builddir@/$@ . | 18 | && ${ZIP} -r @abs_builddir@/$@ . |
19 | 19 | ||
20 | update.rdf: update-template.rdf ${XPI} | ||
21 | sed -e "s/<!--SHA1-->/$$(sha1sum ${XPI}|cut -d\ -f1)/" <$< >$@ | ||
22 | |||
20 | install-data-local: ${xpidir}/chrome.manifest | 23 | install-data-local: ${xpidir}/chrome.manifest |
21 | 24 | ||
22 | ${xpidir}/chrome.manifest: chrome.manifest Makefile | 25 | ${xpidir}/chrome.manifest: chrome.manifest Makefile |
diff --git a/configure.ac b/configure.ac index 61b9747..6a478db 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -20,7 +20,7 @@ AC_SUBST([COPYING]) | |||
20 | AC_CONFIG_FILES([ | 20 | AC_CONFIG_FILES([ |
21 | Makefile | 21 | Makefile |
22 | install.rdf | 22 | install.rdf |
23 | update.rdf | 23 | update-template.rdf |
24 | content/Makefile | 24 | content/Makefile |
25 | content/autoconf.dtd | 25 | content/autoconf.dtd |
26 | locale/Makefile | 26 | locale/Makefile |
diff --git a/install.rdf.in b/install.rdf.in index 9a00e0d..8ccdf34 100644 --- a/install.rdf.in +++ b/install.rdf.in | |||
@@ -13,6 +13,7 @@ | |||
13 | <em:iconURL>chrome://fireflix/content/icons/32x32/fireflix.png</em:iconURL> | 13 | <em:iconURL>chrome://fireflix/content/icons/32x32/fireflix.png</em:iconURL> |
14 | <em:updateURL>http://kin.klever.net/fireflix/update?v=@VERSION@</em:updateURL> | 14 | <em:updateURL>http://kin.klever.net/fireflix/update?v=@VERSION@</em:updateURL> |
15 | <em:aboutURL>chrome://fireflix/content/about.xul</em:aboutURL> | 15 | <em:aboutURL>chrome://fireflix/content/about.xul</em:aboutURL> |
16 | <em:updateKey>MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDc/WnetE1dTmWKY+KzphLYfqrjOc88fK7FaGSnHbwa4lpvt3gt6W0GwiCjUATvXu9zWoDU60VKPVhN0ohIOAnUuvtqSTfxjDBwDcsRXjg7fg4nofmA2mTeZtULYMymSCYZB+w6krmlOpEBpWZl14yf5Jc93Lc3gCZPDvH0xXZl9QIDAQAB</em:updateKey> | ||
16 | 17 | ||
17 | <!-- Firefox --> | 18 | <!-- Firefox --> |
18 | <em:targetApplication> | 19 | <em:targetApplication> |
diff --git a/update.rdf.in b/update-template.rdf.in index aa368a6..4326468 100644 --- a/update.rdf.in +++ b/update-template.rdf.in | |||
@@ -19,6 +19,7 @@ | |||
19 | <em:minVersion>1.5</em:minVersion> | 19 | <em:minVersion>1.5</em:minVersion> |
20 | <em:maxVersion>2.0.0.*</em:maxVersion> | 20 | <em:maxVersion>2.0.0.*</em:maxVersion> |
21 | <em:updateLink>http://kin.klever.net/dist/@PACKAGE@-@VERSION@.xpi</em:updateLink> | 21 | <em:updateLink>http://kin.klever.net/dist/@PACKAGE@-@VERSION@.xpi</em:updateLink> |
22 | <em:updateHash>sha1:<!--SHA1--></em:updateHash> | ||
22 | </Description> | 23 | </Description> |
23 | </em:targetApplication> | 24 | </em:targetApplication> |
24 | </RDF:Description> | 25 | </RDF:Description> |