summaryrefslogtreecommitdiff
path: root/palemoon-stackrpms-ublock-origin
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-19 14:11:17 -0500
committerB Stack <bgstack15@gmail.com>2019-02-19 14:11:17 -0500
commitc033cdd7200d654ada811d9ef769de96a7c87b0b (patch)
treee3b0ba772fa2d5b0ad3e601126eae22998dcbaaf /palemoon-stackrpms-ublock-origin
parentrename pm-stack-ublock spec (diff)
downloadstackrpms-c033cdd7200d654ada811d9ef769de96a7c87b0b.tar.gz
stackrpms-c033cdd7200d654ada811d9ef769de96a7c87b0b.tar.bz2
stackrpms-c033cdd7200d654ada811d9ef769de96a7c87b0b.zip
split pm-ublock into two dirs
Diffstat (limited to 'palemoon-stackrpms-ublock-origin')
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs0
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/Makefile17
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/README.Debian9
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/changelog5
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/compat1
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/control15
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/copyright8
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/debhelper-build-stamp1
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/files2
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/palemoon-ublock-origin.substvars2
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/patches/series1
-rwxr-xr-xpalemoon-stackrpms-ublock-origin/debian/rules18
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/source/format1
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/source/local-options2
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/watch2
-rw-r--r--palemoon-stackrpms-ublock-origin/palemoon-stackrpms-ublock-origin.spec68
16 files changed, 152 insertions, 0 deletions
diff --git a/palemoon-stackrpms-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs b/palemoon-stackrpms-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs
diff --git a/palemoon-stackrpms-ublock-origin/debian/Makefile b/palemoon-stackrpms-ublock-origin/debian/Makefile
new file mode 100644
index 0000000..3531a3e
--- /dev/null
+++ b/palemoon-stackrpms-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/^.*<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/palemoon-stackrpms-ublock-origin/debian/README.Debian b/palemoon-stackrpms-ublock-origin/debian/README.Debian
new file mode 100644
index 0000000..3d345f5
--- /dev/null
+++ b/palemoon-stackrpms-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 <bgstack15@gmail.com> Wed, 13 Feb 2019 17:38:58 -0500
diff --git a/palemoon-stackrpms-ublock-origin/debian/changelog b/palemoon-stackrpms-ublock-origin/debian/changelog
new file mode 100644
index 0000000..dc2a54d
--- /dev/null
+++ b/palemoon-stackrpms-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 <bgstack15@gmail.com> Wed, 13 Feb 2019 17:38:58 -0500
diff --git a/palemoon-stackrpms-ublock-origin/debian/compat b/palemoon-stackrpms-ublock-origin/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/palemoon-stackrpms-ublock-origin/debian/control b/palemoon-stackrpms-ublock-origin/debian/control
new file mode 100644
index 0000000..a58a276
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/control
@@ -0,0 +1,15 @@
+Source: palemoon-ublock-origin
+Section: web
+Priority: optional
+Maintainer: B Stack <bgstack15@gmail.com>
+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-stackrpms-ublock-origin/debian/copyright b/palemoon-stackrpms-ublock-origin/debian/copyright
new file mode 100644
index 0000000..bb755b9
--- /dev/null
+++ b/palemoon-stackrpms-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-stackrpms-ublock-origin/debian/debhelper-build-stamp b/palemoon-stackrpms-ublock-origin/debian/debhelper-build-stamp
new file mode 100644
index 0000000..cdc3502
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/debhelper-build-stamp
@@ -0,0 +1 @@
+palemoon-ublock-origin
diff --git a/palemoon-stackrpms-ublock-origin/debian/files b/palemoon-stackrpms-ublock-origin/debian/files
new file mode 100644
index 0000000..b0dc4d6
--- /dev/null
+++ b/palemoon-stackrpms-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-stackrpms-ublock-origin/debian/palemoon-ublock-origin.substvars b/palemoon-stackrpms-ublock-origin/debian/palemoon-ublock-origin.substvars
new file mode 100644
index 0000000..978fc8b
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/palemoon-ublock-origin.substvars
@@ -0,0 +1,2 @@
+misc:Depends=
+misc:Pre-Depends=
diff --git a/palemoon-stackrpms-ublock-origin/debian/patches/series b/palemoon-stackrpms-ublock-origin/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/palemoon-stackrpms-ublock-origin/debian/rules b/palemoon-stackrpms-ublock-origin/debian/rules
new file mode 100755
index 0000000..cc4c963
--- /dev/null
+++ b/palemoon-stackrpms-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-stackrpms-ublock-origin/debian/source/format b/palemoon-stackrpms-ublock-origin/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/palemoon-stackrpms-ublock-origin/debian/source/local-options b/palemoon-stackrpms-ublock-origin/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/palemoon-stackrpms-ublock-origin/debian/watch b/palemoon-stackrpms-ublock-origin/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
diff --git a/palemoon-stackrpms-ublock-origin/palemoon-stackrpms-ublock-origin.spec b/palemoon-stackrpms-ublock-origin/palemoon-stackrpms-ublock-origin.spec
new file mode 100644
index 0000000..784f94f
--- /dev/null
+++ b/palemoon-stackrpms-ublock-origin/palemoon-stackrpms-ublock-origin.spec
@@ -0,0 +1,68 @@
+# palemoon globals
+%global app_name palemoon-stackrpms
+%global moz_extensions %{_libdir}/%{app_name}/browser/extensions
+#%%global app_id
+
+Name: %{app_name}-ublock-origin
+Version: 1.16.4.8
+Release: 1
+Summary: uBlock Origin installed to the system Pale Moon extensions directory
+
+Group: Applications/Internet
+License: GPLv3
+URL: https://github.com/gorhill/uBlock
+Source0: https://github.com/gorhill/uBlock/releases/download/firefox-legacy-%{version}/uBlock0.firefox-legacy.xpi
+BuildRequires: unzip
+BuildRequires: coreutils
+BuildArch: noarch
+
+#Requires: mozilla-filesystem
+#Requires: %%{app_name}-filesystem
+
+%description
+The "legacy" release of uBlock Origin (NPAPI) for tradional Mozilla-style
+web browsers. This is packaged for %{app_name}.
+
+More than just an ad blocker, uBlock Origin provides the ability to block
+at will and easy defaults based on various common lists, such as EasyList,
+EasyPrivacy, and Peter Lowe's ad/tracking/malware servers.
+
+%prep
+#%setup -q -c
+
+%build
+
+%install
+# learn extension id to name the file
+%{__unzip} -o %{SOURCE0} 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} )"
+
+mkdir -p %{buildroot}%{moz_extensions}
+install -Dp -m0644 %{SOURCE0} %{buildroot}%{moz_extensions}/${newfilename}
+
+rm -rf install.rdf
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{moz_extensions}/*.xpi
+
+%changelog
+* Sat Sep 15 2018 B Stack <bgstack15@gmail.com> 1.16.4.4-2
+- Customize for stackrpms
+
+* Wed Aug 2 2017 Ian Firns <firnsy@kororaproject.org>- 1.13.8-1
+- Update to 1.13.8 release
+
+* Thu Jan 7 2016 Chris Smart <csmart@kororaproject.org>- 1.9.16-1
+- Update to 1.9.16 release
+
+* Thu Jan 7 2016 Chris Smart <csmart@kororaproject.org>- 1.5.3-1
+- Update to 1.5.3 release
+- Use signed xpi from Mozilla so that it works in Firefox 43
+
+* Tue Nov 3 2015 Chris Smart <csmart@kororaproject.org>- 1.3.2-1
+- Initial build
bgstack15