|
|
b59a10d |
%global moz_extensions %{_datadir}/mozilla/extensions
|
|
|
b59a10d |
|
|
|
b59a10d |
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
|
|
b59a10d |
%global src_ext_id https-everywhere@eff.org
|
|
|
a942ead |
%global firefox_inst_dir %{moz_extensions}/%{firefox_app_id}/%{src_ext_id}
|
|
|
b59a10d |
|
|
|
b59a10d |
%global seamonkey_app_id \{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
|
|
|
a942ead |
%global seamonkey_inst_dir %{moz_extensions}/%{seamonkey_app_id}
|
|
|
b59a10d |
|
|
|
b59a10d |
Name: mozilla-https-everywhere
|
|
|
f7d2da1 |
Version: 1.2
|
|
|
a942ead |
Release: 1%{?dist}
|
|
|
b59a10d |
Summary: HTTPS/HSTS enforcement extension for Mozilla Firefox and SeaMonkey
|
|
|
b59a10d |
|
|
|
b59a10d |
Group: Applications/Internet
|
|
|
b59a10d |
License: GPLv2+
|
|
|
b59a10d |
URL: https://eff.org/https-everywhere
|
|
|
b59a10d |
# A git repo is available at git://git.torproject.org/https-everywhere.git
|
|
|
b59a10d |
Source0: https://www.eff.org/files/https-everywhere-%{version}.xpi
|
|
|
b59a10d |
|
|
|
b59a10d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b59a10d |
|
|
|
b59a10d |
BuildRequires: dos2unix
|
|
|
b59a10d |
%if 0%{?rhel} == 5
|
|
|
b59a10d |
Requires: firefox
|
|
|
b59a10d |
%else
|
|
|
b59a10d |
Requires: mozilla-filesystem
|
|
|
b59a10d |
%endif
|
|
|
b59a10d |
BuildArch: noarch
|
|
|
b59a10d |
|
|
|
b59a10d |
|
|
|
b59a10d |
%description
|
|
|
b59a10d |
HTTPS Everywhere is a Firefox extension produced as a collaboration between
|
|
|
b59a10d |
The Tor Project and the Electronic Frontier Foundation. It encrypts your
|
|
|
b59a10d |
communications with a number of major websites.
|
|
|
b59a10d |
|
|
|
b59a10d |
Many sites on the web offer some limited support for encryption over HTTPS,
|
|
|
b59a10d |
but make it difficult to use. For instance, they may default to unencrypted
|
|
|
b59a10d |
HTTP, or fill encrypted pages with links that go back to the unencrypted site.
|
|
|
b59a10d |
|
|
|
b59a10d |
The HTTPS Everywhere extension fixes these problems by rewriting all requests
|
|
|
b59a10d |
to these sites to HTTPS.
|
|
|
b59a10d |
|
|
|
b59a10d |
|
|
|
b59a10d |
%prep
|
|
|
b59a10d |
%setup -q -c
|
|
|
b59a10d |
dos2unix -f LICENSE.txt
|
|
|
b59a10d |
|
|
|
b59a10d |
%build
|
|
|
b59a10d |
|
|
|
b59a10d |
|
|
|
b59a10d |
%install
|
|
|
b59a10d |
rm -rf %{buildroot}
|
|
|
a942ead |
install -Dp -m 644 chrome.manifest %{buildroot}%{firefox_inst_dir}/chrome.manifest
|
|
|
a942ead |
install -Dp -m 644 install.rdf %{buildroot}%{firefox_inst_dir}/install.rdf
|
|
|
a942ead |
install -Dp -m 644 Changelog %{buildroot}%{firefox_inst_dir}/Changelog
|
|
|
a942ead |
install -Dp -m 644 components/https-everywhere.js %{buildroot}%{firefox_inst_dir}/components/https-everywhere.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/about.xul %{buildroot}%{firefox_inst_dir}/chrome/content/about.xul
|
|
|
a942ead |
install -Dp -m 644 chrome/content/preferences.css %{buildroot}%{firefox_inst_dir}/chrome/content/preferences.css
|
|
|
a942ead |
install -Dp -m 644 chrome/content/preferences.js %{buildroot}%{firefox_inst_dir}/chrome/content/preferences.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/preferences.xul %{buildroot}%{firefox_inst_dir}/chrome/content/preferences.xul
|
|
|
a942ead |
install -Dp -m 644 chrome/content/toolbar_button.js %{buildroot}%{firefox_inst_dir}/chrome/content/toolbar_button.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/toolbar_button.xul %{buildroot}%{firefox_inst_dir}/chrome/content/toolbar_button.xul
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/ApplicableList.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/ApplicableList.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/Cookie.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/Cookie.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/Class.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/Class.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/HTTPS.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/HTTPS.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/HTTPSRules.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/HTTPSRules.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/IOUtil.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/IOUtil.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/Main.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/Main.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/STS.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/STS.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/code/Thread.js %{buildroot}%{firefox_inst_dir}/chrome/content/code/Thread.js
|
|
|
a942ead |
install -Dp -m 644 chrome/content/rules/00README %{buildroot}%{firefox_inst_dir}/chrome/content/rules/00README
|
|
|
a942ead |
install -Dp -m 644 chrome/content/rules/default.rulesets %{buildroot}%{firefox_inst_dir}/chrome/content/rules/default.rulesets
|
|
|
a942ead |
install -Dp -m 644 chrome/locale/en/https-everywhere.dtd %{buildroot}%{firefox_inst_dir}/chrome/locale/en/https-everywhere.dtd
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/cross.png %{buildroot}%{firefox_inst_dir}/chrome/skin/cross.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere-16.png %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere-16.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere-24.png %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere-24.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere-half-24.png %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere-half-24.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere.css %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere.css
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere.png %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/https-everywhere.xcf %{buildroot}%{firefox_inst_dir}/chrome/skin/https-everywhere.xcf
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/tick-moot.png %{buildroot}%{firefox_inst_dir}/chrome/skin/tick-moot.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/tick-red.png %{buildroot}%{firefox_inst_dir}/chrome/skin/tick-red.png
|
|
|
a942ead |
install -Dp -m 644 chrome/skin/tick.png %{buildroot}%{firefox_inst_dir}/chrome/skin/tick.png
|
|
|
b59a10d |
|
|
|
b59a10d |
# symlink from seamonkey extension to firefox extension
|
|
|
a942ead |
mkdir -p %{buildroot}%{seamonkey_inst_dir}
|
|
|
a942ead |
ln -s %{firefox_inst_dir} %{buildroot}%{seamonkey_inst_dir}
|
|
|
b59a10d |
|
|
|
b59a10d |
%clean
|
|
|
b59a10d |
rm -rf %{buildroot}
|
|
|
b59a10d |
|
|
|
b59a10d |
|
|
|
b59a10d |
%files
|
|
|
b59a10d |
%defattr(-,root,root,-)
|
|
|
b59a10d |
%doc LICENSE.txt
|
|
|
a942ead |
%{firefox_inst_dir}
|
|
|
a942ead |
%{seamonkey_inst_dir}
|
|
|
b59a10d |
|
|
|
b59a10d |
|
|
|
b59a10d |
%changelog
|
|
|
f7d2da1 |
* Tue Nov 15 2011 Russell Golden <niveusluna@niveusluna.org> - 1.2-1
|
|
|
f7d2da1 |
- Fixes: WordPress, Statcounter, Java, Bahn.de, SICS.se
|
|
|
f7d2da1 |
- Improvements: use fancy new HTTPS Wikipedia
|
|
|
f7d2da1 |
- Disable broken: OpenUniversity, TV.com, Random.org, kb.CERT
|
|
|
f7d2da1 |
|
|
|
a942ead |
* Thu Oct 20 2011 Russell Golden <niveusluna@niveusluna.org> - 1.1-1
|
|
|
a942ead |
- Further tweaks to internals, will hopefully fix a number of weird issues:
|
|
|
a942ead |
-- https://trac.torproject.org/projects/tor/ticket/4194
|
|
|
a942ead |
-- https://trac.torproject.org/projects/tor/ticket/4149
|
|
|
a942ead |
-- https://mail1.eff.org/pipermail/https-everywhere/2011-October/001208.html
|
|
|
a942ead |
- YouTube is enabled by default!
|
|
|
a942ead |
- Fixes: Yandex, Statcounter, Polldaddy, SBB.ch
|
|
|
a942ead |
- Improvements: Facebook+
|
|
|
a942ead |
- Disable broken: Bloglines, EPEAT
|
|
|
a942ead |
|
|
|
b59a10d |
* Sat Oct 8 2011 Russell Golden <niveusluna@niveusluna.org> - 1.0.3-2
|
|
|
b59a10d |
- Changelog added for current version
|
|
|
b59a10d |
|
|
|
b59a10d |
* Fri Sep 16 2011 Russell Golden <niveusluna@niveusluna.org> - 1.0.1-1
|
|
|
b59a10d |
- Initial packaging for Fedora
|
|
|
b59a10d |
|