summaryrefslogtreecommitdiff
path: root/waterfox-ublock-origin
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox-ublock-origin')
-rw-r--r--waterfox-ublock-origin/debian/Makefile17
-rw-r--r--waterfox-ublock-origin/debian/README.Debian9
-rw-r--r--waterfox-ublock-origin/debian/changelog60
-rw-r--r--waterfox-ublock-origin/debian/compat1
-rw-r--r--waterfox-ublock-origin/debian/control20
-rw-r--r--waterfox-ublock-origin/debian/copyright8
-rw-r--r--waterfox-ublock-origin/debian/patches/series1
-rwxr-xr-xwaterfox-ublock-origin/debian/rules18
-rw-r--r--waterfox-ublock-origin/debian/source/format1
-rw-r--r--waterfox-ublock-origin/debian/source/local-options2
-rw-r--r--waterfox-ublock-origin/debian/watch5
-rw-r--r--waterfox-ublock-origin/waterfox-ublock-origin.spec42
12 files changed, 179 insertions, 5 deletions
diff --git a/waterfox-ublock-origin/debian/Makefile b/waterfox-ublock-origin/debian/Makefile
new file mode 100644
index 0000000..4717e98
--- /dev/null
+++ b/waterfox-ublock-origin/debian/Makefile
@@ -0,0 +1,17 @@
+# Makefile for waterfox-ublock-origin for devuan
+SOURCE0=uBlock0.firefox-legacy.xpi
+MOZ_EXTENSIONS=/usr/lib/waterfox/browser/extensions
+
+# this needs to be overwritten by the debian/rules file.
+DESTDIR=/tmp
+
+install:
+ unzip ${SOURCE0} install.rdf
+ mkdir -p $(DESTDIR)${MOZ_EXTENSIONS}
+ newfilename="$$( grep 'em:id' install.rdf 2>/dev/null | head -n1 | sed -r -e 's/^.*<em:id>//;' -e 's/<\/em:id>.*$$//;' ).xpi" ; \
+ test -z "$${newfilename}" && newfilename="$$( basename $${SOURCE0} )" ; \
+ install -Dp -m0644 ${SOURCE0} $(DESTDIR)${MOZ_EXTENSIONS}/$${newfilename}
+ rm -f install.rdf || :
+
+uninstall:
+ rm -f $(DESTDIR)${MOZ_EXTENSIONS}/uBlock0@raymondhill.net.xpi
diff --git a/waterfox-ublock-origin/debian/README.Debian b/waterfox-ublock-origin/debian/README.Debian
new file mode 100644
index 0000000..e2b7e3c
--- /dev/null
+++ b/waterfox-ublock-origin/debian/README.Debian
@@ -0,0 +1,9 @@
+waterfox-ublock-origin for Devuan
+
+Initial release of waterfox-ublock-origin for devuan.
+Build orig tarball to resemble:
+$ tar -ztf waterfox-ublock-origin_1.16.4.8.orig.tar.gz
+waterfox-ublock-origin/
+waterfox-ublock-origin/uBlock0.firefox-legacy.xpi
+
+ -- B Stack <bgstack15@gmail.com> Wed, 13 Feb 2019 17:38:58 -0500
diff --git a/waterfox-ublock-origin/debian/changelog b/waterfox-ublock-origin/debian/changelog
new file mode 100644
index 0000000..60a2b1b
--- /dev/null
+++ b/waterfox-ublock-origin/debian/changelog
@@ -0,0 +1,60 @@
+waterfox-ublock-origin (1.16.4.25-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Tue, 25 Aug 2020 14:33:11 -0400
+
+waterfox-ublock-origin (1.16.4.24-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Tue, 11 Aug 2020 09:09:33 -0400
+
+waterfox-ublock-origin (1.16.4.23-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Wed, 22 Jul 2020 21:08:22 -0400
+
+waterfox-ublock-origin (1.16.4.22-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Sat, 04 Jul 2020 11:51:55 -0400
+
+waterfox-ublock-origin (1.16.4.21-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Mon, 29 Jun 2020 10:21:52 -0400
+
+waterfox-ublock-origin (1.16.4.20-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Wed, 18 Mar 2020 08:33:02 -0400
+
+waterfox-ublock-origin (1.16.4.19-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Tue, 03 Mar 2020 14:30:03 -0500
+
+waterfox-ublock-origin (1.16.4.18-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Tue, 18 Feb 2020 13:44:00 -0500
+
+waterfox-ublock-origin (1.16.4.16-1+devuan) obs; urgency=medium
+
+ * Update
+ * Upstream changed locations
+
+ -- B Stack <bgstack15@gmail.com> Mon, 27 Jan 2020 08:46:37 -0500
+
+waterfox-ublock-origin (1.16.4.14-1+devuan) obs; urgency=medium
+
+ * Update
+
+ -- B Stack <bgstack15@gmail.com> Tue, 14 Jan 2020 17:47:55 -0500
diff --git a/waterfox-ublock-origin/debian/compat b/waterfox-ublock-origin/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/waterfox-ublock-origin/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/waterfox-ublock-origin/debian/control b/waterfox-ublock-origin/debian/control
new file mode 100644
index 0000000..1380e7a
--- /dev/null
+++ b/waterfox-ublock-origin/debian/control
@@ -0,0 +1,20 @@
+Source: waterfox-ublock-origin
+Section: web
+Priority: optional
+Maintainer: B Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>=12~),
+ unzip,
+ make
+Standards-Version: 4.1.4
+Homepage: https://github.com/gorhill/uBlock/releases
+
+Package: waterfox-ublock-origin
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: An efficient blocker for Chromium and Firefox. Fast and lean.
+ uBlock Origin is NOT an "ad blocker": it is a
+ wide-spectrum blocker -- which happens to be able
+ to function as a mere "ad blocker". The default
+ behavior of uBlock Origin when newly installed is
+ to block ads, trackers and malware sites
diff --git a/waterfox-ublock-origin/debian/copyright b/waterfox-ublock-origin/debian/copyright
new file mode 100644
index 0000000..a3f3db0
--- /dev/null
+++ b/waterfox-ublock-origin/debian/copyright
@@ -0,0 +1,8 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: waterfox-ublock
+Source: https://github.com/gorhill/uBlock/releases/
+uBlock0.firefox-legacy.xpi GPLv3
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/waterfox-ublock-origin/debian/patches/series b/waterfox-ublock-origin/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/waterfox-ublock-origin/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/waterfox-ublock-origin/debian/rules b/waterfox-ublock-origin/debian/rules
new file mode 100755
index 0000000..55e8022
--- /dev/null
+++ b/waterfox-ublock-origin/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export NAME=waterfox-ublock-origin
+export MOZ_EXTENSIONS=/usr/lib/waterfox/browser/extensions
+export SOURCE0=uBlock0.firefox-legacy.xpi
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ make -e -f debian/Makefile install -- DESTDIR=debian/${NAME}
+
+#override_dh_auto_clean:
+# rm -rf debian/usr
diff --git a/waterfox-ublock-origin/debian/source/format b/waterfox-ublock-origin/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/waterfox-ublock-origin/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/waterfox-ublock-origin/debian/source/local-options b/waterfox-ublock-origin/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/waterfox-ublock-origin/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/waterfox-ublock-origin/debian/watch b/waterfox-ublock-origin/debian/watch
new file mode 100644
index 0000000..e7e7f09
--- /dev/null
+++ b/waterfox-ublock-origin/debian/watch
@@ -0,0 +1,5 @@
+# This can pull in the source code, but not the real xpi file. Unfortunately you need to hand-assemble a tarball with the xpi file in it. See README.debian
+version=4
+# uscan will make a nice symlink, so no name mangling is required.
+#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/firefox-legacy-$1\.tar\.gz/ \
+ https://github.com/gorhill/uBlock-for-firefox-legacy/tags .*/firefox-legacy-v?([\d\.]+)\.tar\.gz
diff --git a/waterfox-ublock-origin/waterfox-ublock-origin.spec b/waterfox-ublock-origin/waterfox-ublock-origin.spec
index 0d05a2e..5c8a2b4 100644
--- a/waterfox-ublock-origin/waterfox-ublock-origin.spec
+++ b/waterfox-ublock-origin/waterfox-ublock-origin.spec
@@ -4,14 +4,15 @@
%global app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
Name: %{app_name}-ublock-origin
-Version: 1.16.4.12
+Version: 1.16.4.25
Release: 1
Summary: uBlock Origin installed to system Waterfox extensions directory
Group: Applications/Internet
License: GPLv3+ and LGPLv3 and MIT and OFL
URL: https://github.com/gorhill/uBlock
-Source0: https://github.com/gorhill/uBlock/releases/download/firefox-legacy-%{version}/uBlock0.firefox-legacy.xpi
+Source0: README.md
+Source1: https://github.com/gorhill/uBlock-for-firefox-legacy/releases/download/firefox-legacy-%{version}/uBlock0_%{version}.firefox-legacy.xpi
BuildRequires: unzip
BuildRequires: coreutils
BuildArch: noarch
@@ -34,12 +35,12 @@ EasyPrivacy, and Peter Lowe's ad/tracking/malware servers.
%install
# learn extension id to name the file
-%{__unzip} -o %{SOURCE0} install.rdf
+%{__unzip} -o %{SOURCE1} install.rdf
newfilename="$( grep 'em:id' install.rdf 2>/dev/null | head -n1 | sed -r -e 's/^.*<em:id>//;' -e 's/<\/em:id>.*$//;' ).xpi"
-test -z "${newfilename}" && newfilename="$( basename %{SOURCE0} )"
+test -z "${newfilename}" && newfilename="$( basename %{SOURCE1} )"
mkdir -p %{buildroot}%{moz_extensions}/%{app_id}
-install -Dp -m0644 %{SOURCE0} %{buildroot}%{moz_extensions}/%{app_id}/${newfilename}
+install -Dp -m0644 %{SOURCE1} %{buildroot}%{moz_extensions}/%{app_id}/${newfilename}
rm -rf install.rdf
@@ -51,6 +52,37 @@ rm -rf %{buildroot}
%{moz_extensions}/*/*.xpi
%changelog
+* Tue Aug 25 2020 B Stack <bgstack15@gmail.com> - 1.16.4.25-1
+- Update
+
+* Tue Aug 11 2020 B Stack <bgstack15@gmail.com> - 1.16.4.24-1
+- Update
+
+* Wed Jul 22 2020 B Stack <bgstack15@gmail.com> - 1.16.4.23-1
+- Update
+
+* Sat Jul 04 2020 B Stack <bgstack15@gmail.com> - 1.16.4.22-1
+- Update
+
+* Mon Jun 29 2020 B Stack <bgstack15@gmail.com> - 1.16.4.21-1
+- Update
+
+* Wed Mar 18 2020 B Stack <bgstack15@gmail.com> - 1.16.4.20-1
+- Update
+
+* Tue Mar 03 2020 B Stack <bgstack15@gmail.com> - 1.16.4.19-1
+- Update
+
+* Tue Feb 18 2020 B Stack <bgstack15@gmail.com> - 1.16.4.18-1
+- Update
+
+* Mon Jan 27 2020 B Stack <bgstack15@gmail.com> - 1.16.4.16-1
+- Update
+- Upstream changed locations
+
+* Tue Jan 14 2020 B Stack <bgstack15@gmail.com> - 1.16.4.14-1
+- Update
+
* Wed Dec 18 2019 B Stack <bgstack15@gmail.com> - 1.16.4.12-1
- Update
bgstack15