diff options
Diffstat (limited to 'waterfox-ublock-origin/debian')
-rw-r--r-- | waterfox-ublock-origin/debian/Makefile | 17 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/README.Debian | 9 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/changelog | 5 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/compat | 1 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/control | 15 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/copyright | 8 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/patches/series | 1 | ||||
-rwxr-xr-x | waterfox-ublock-origin/debian/rules | 18 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/source/format | 1 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/source/local-options | 2 | ||||
-rw-r--r-- | waterfox-ublock-origin/debian/watch | 5 |
11 files changed, 82 insertions, 0 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..ad35d72 --- /dev/null +++ b/waterfox-ublock-origin/debian/changelog @@ -0,0 +1,5 @@ +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..13a72ca --- /dev/null +++ b/waterfox-ublock-origin/debian/control @@ -0,0 +1,15 @@ +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. 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..23b0381 --- /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/tags .*/firefox-legacy-v?([\d\.]+)\.tar\.gz |