From 4ecfc656e6bc4719cac235025a104f935f9112fc Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 14 Feb 2019 10:27:46 -0500 Subject: pm-ublock dpkg for devuan --- .../palemoon-ublock-origin/installed-by-dh_installdocs | 0 palemoon-ublock-origin/debian/Makefile | 17 +++++++++++++++++ palemoon-ublock-origin/debian/README.Debian | 9 +++++++++ palemoon-ublock-origin/debian/changelog | 5 +++++ palemoon-ublock-origin/debian/compat | 1 + palemoon-ublock-origin/debian/control | 15 +++++++++++++++ palemoon-ublock-origin/debian/copyright | 8 ++++++++ palemoon-ublock-origin/debian/debhelper-build-stamp | 1 + palemoon-ublock-origin/debian/files | 2 ++ .../debian/palemoon-ublock-origin.substvars | 2 ++ palemoon-ublock-origin/debian/patches/series | 1 + palemoon-ublock-origin/debian/rules | 18 ++++++++++++++++++ palemoon-ublock-origin/debian/source/format | 1 + palemoon-ublock-origin/debian/source/local-options | 2 ++ palemoon-ublock-origin/debian/watch | 2 ++ 15 files changed, 84 insertions(+) create mode 100644 palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs create mode 100644 palemoon-ublock-origin/debian/Makefile create mode 100644 palemoon-ublock-origin/debian/README.Debian create mode 100644 palemoon-ublock-origin/debian/changelog create mode 100644 palemoon-ublock-origin/debian/compat create mode 100644 palemoon-ublock-origin/debian/control create mode 100644 palemoon-ublock-origin/debian/copyright create mode 100644 palemoon-ublock-origin/debian/debhelper-build-stamp create mode 100644 palemoon-ublock-origin/debian/files create mode 100644 palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars create mode 100644 palemoon-ublock-origin/debian/patches/series create mode 100755 palemoon-ublock-origin/debian/rules create mode 100644 palemoon-ublock-origin/debian/source/format create mode 100644 palemoon-ublock-origin/debian/source/local-options create mode 100644 palemoon-ublock-origin/debian/watch (limited to 'palemoon-ublock-origin/debian') diff --git a/palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs b/palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs new file mode 100644 index 0000000..e69de29 diff --git a/palemoon-ublock-origin/debian/Makefile b/palemoon-ublock-origin/debian/Makefile new file mode 100644 index 0000000..3531a3e --- /dev/null +++ b/palemoon-ublock-origin/debian/Makefile @@ -0,0 +1,17 @@ +# Makefile for palemoon-ublock-origin for devuan +SOURCE0=uBlock0.firefox-legacy.xpi +MOZ_EXTENSIONS=/usr/lib/palemoon/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/^.*//;' -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/palemoon-ublock-origin/debian/README.Debian b/palemoon-ublock-origin/debian/README.Debian new file mode 100644 index 0000000..3d345f5 --- /dev/null +++ b/palemoon-ublock-origin/debian/README.Debian @@ -0,0 +1,9 @@ +palemoon-ublock-origin for Devuan + +Initial release of palemoon-ublock-origin for devuan. +Build orig tarball to resemble: +$ tar -ztf palemoon-ublock-origin_1.16.4.8.orig.tar.gz +palemoon-ublock-origin/ +palemoon-ublock-origin/uBlock0.firefox-legacy.xpi + + -- B Stack Wed, 13 Feb 2019 17:38:58 -0500 diff --git a/palemoon-ublock-origin/debian/changelog b/palemoon-ublock-origin/debian/changelog new file mode 100644 index 0000000..dc2a54d --- /dev/null +++ b/palemoon-ublock-origin/debian/changelog @@ -0,0 +1,5 @@ +palemoon-ublock-origin (1.16.4.8-1devuan) manual; urgency=low + + * Initial release for devuan + + -- B Stack Wed, 13 Feb 2019 17:38:58 -0500 diff --git a/palemoon-ublock-origin/debian/compat b/palemoon-ublock-origin/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/palemoon-ublock-origin/debian/compat @@ -0,0 +1 @@ +11 diff --git a/palemoon-ublock-origin/debian/control b/palemoon-ublock-origin/debian/control new file mode 100644 index 0000000..a58a276 --- /dev/null +++ b/palemoon-ublock-origin/debian/control @@ -0,0 +1,15 @@ +Source: palemoon-ublock-origin +Section: web +Priority: optional +Maintainer: B Stack +Build-Depends: debhelper (>=11~), + unzip, + make +Standards-Version: 4.1.4 +Homepage: https://github.com/gorhill/uBlock/releases + +Package: palemoon-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/palemoon-ublock-origin/debian/copyright b/palemoon-ublock-origin/debian/copyright new file mode 100644 index 0000000..bb755b9 --- /dev/null +++ b/palemoon-ublock-origin/debian/copyright @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: palemoon-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/palemoon-ublock-origin/debian/debhelper-build-stamp b/palemoon-ublock-origin/debian/debhelper-build-stamp new file mode 100644 index 0000000..cdc3502 --- /dev/null +++ b/palemoon-ublock-origin/debian/debhelper-build-stamp @@ -0,0 +1 @@ +palemoon-ublock-origin diff --git a/palemoon-ublock-origin/debian/files b/palemoon-ublock-origin/debian/files new file mode 100644 index 0000000..b0dc4d6 --- /dev/null +++ b/palemoon-ublock-origin/debian/files @@ -0,0 +1,2 @@ +palemoon-ublock-origin_1.16.4.8-1devuan_all.deb web optional +palemoon-ublock-origin_1.16.4.8-1devuan_amd64.buildinfo web optional diff --git a/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars b/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/palemoon-ublock-origin/debian/patches/series b/palemoon-ublock-origin/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/palemoon-ublock-origin/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/palemoon-ublock-origin/debian/rules b/palemoon-ublock-origin/debian/rules new file mode 100755 index 0000000..cc4c963 --- /dev/null +++ b/palemoon-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=palemoon-ublock-origin +export MOZ_EXTENSIONS=/usr/lib/palemoon/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/palemoon-ublock-origin/debian/source/format b/palemoon-ublock-origin/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/palemoon-ublock-origin/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/palemoon-ublock-origin/debian/source/local-options b/palemoon-ublock-origin/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/palemoon-ublock-origin/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/palemoon-ublock-origin/debian/watch b/palemoon-ublock-origin/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/palemoon-ublock-origin/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit