unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74812] [PATCH] gnu: Add privacy-redirect-icecat.
@ 2024-12-12  7:32 Hilton Chain
  2024-12-12  7:42 ` [bug#74812] [PATCH v2] " Hilton Chain
       [not found] ` <handler.74812.B.173398876915107.ack@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Hilton Chain @ 2024-12-12  7:32 UTC (permalink / raw)
  To: 74812
  Cc: Hilton Chain, André Batista, Clément Lassieur,
	Jonathan Brielmaier, Mark H Weaver

* gnu/packages/browser-extensions.scm (privacy-redirect)
(privacy-redirect/icecat): New variables.

Change-Id: I92778c4b46a30f88f23758cc65837b4aecccbd09
---
 gnu/packages/browser-extensions.scm | 32 +++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index 33d3caf34d..b0e4161312 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -333,3 +333,35 @@ (define noscript
 
 (define-public noscript/icecat
   (make-icecat-extension noscript))
+
+(define privacy-redirect
+  (package
+    (name "privacy-redirect")
+    (version "1.1.49")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/SimonBrazell/privacy-redirect")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "13j5i6vh4lq9hcqmqbmn8fnymnplwra5rm696h6magbjxnj3nkyz"))))
+    (build-system copy-build-system)
+    (arguments
+     (list
+      #:install-plan
+      #~'(("src" #$(assq-ref (package-properties this-package) 'addon-id)))))
+    (home-page "https://github.com/SimonBrazell/privacy-redirect")
+    (synopsis "Redirect to privacy friendly alternative frontends")
+    (description
+     "This package provides a browser extension that redirects sites to their
+privacy friendly alternative frontends.  It's possible to toggle all redirects
+on and off and the extension will default to using random instances if none are
+selected.")
+    (license license:expat)
+    (properties '((addon-id . "{b7f9d2cd-d772-4302-8c3f-eb941af36f76}")))))
+
+(define-public privacy-redirect/icecat
+  (make-icecat-extension privacy-redirect))

base-commit: c2e2b0376b82a503e064fa826d1b153d94bf0b06
prerequisite-patch-id: f132b4af7b85df465998e4f459bf729f8b66f320
prerequisite-patch-id: ecd87e69b7aebebd64256db106ed96dc12f6c12d
prerequisite-patch-id: f27c33b6c7f5dcb37c36551ecde29f1f0c734935
prerequisite-patch-id: fc6ad5af54f75869a657c065c86b262d74a1efff
prerequisite-patch-id: 1665e62d1990a460bc5679bc89d600e94bab407a
prerequisite-patch-id: e1cd1fdc5036bbd74d338df158ae7c348b180cf4
prerequisite-patch-id: bea29848814b393ccd3619f0a744ee36632ac5df
prerequisite-patch-id: 41d13263266c55b695d0a28d173d795fca52e440
prerequisite-patch-id: 4ed8a51618fd43ffcbbbe458492aa8ca674da9b9
prerequisite-patch-id: 40a1f686ccb58ca654ebdd06de2a5369707bfd3e
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#74812] [PATCH v2] gnu: Add privacy-redirect-icecat.
  2024-12-12  7:32 [bug#74812] [PATCH] gnu: Add privacy-redirect-icecat Hilton Chain
@ 2024-12-12  7:42 ` Hilton Chain
  2024-12-21  3:51   ` Mark H Weaver
       [not found] ` <handler.74812.B.173398876915107.ack@debbugs.gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Hilton Chain @ 2024-12-12  7:42 UTC (permalink / raw)
  To: 74812
  Cc: Hilton Chain, André Batista, Clément Lassieur,
	Jonathan Brielmaier, Mark H Weaver

* gnu/packages/browser-extensions.scm (privacy-redirect)
(privacy-redirect/icecat): New variables.

Change-Id: I92778c4b46a30f88f23758cc65837b4aecccbd09
---

V1->V2: Correct license.

 gnu/packages/browser-extensions.scm | 32 +++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index 33d3caf34d..1a073aea93 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -333,3 +333,35 @@ (define noscript

 (define-public noscript/icecat
   (make-icecat-extension noscript))
+
+(define privacy-redirect
+  (package
+    (name "privacy-redirect")
+    (version "1.1.49")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/SimonBrazell/privacy-redirect")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "13j5i6vh4lq9hcqmqbmn8fnymnplwra5rm696h6magbjxnj3nkyz"))))
+    (build-system copy-build-system)
+    (arguments
+     (list
+      #:install-plan
+      #~'(("src" #$(assq-ref (package-properties this-package) 'addon-id)))))
+    (home-page "https://github.com/SimonBrazell/privacy-redirect")
+    (synopsis "Redirect to privacy friendly alternative frontends")
+    (description
+     "This package provides a browser extension that redirects sites to their
+privacy friendly alternative frontends.  It's possible to toggle all redirects
+on and off and the extension will default to using random instances if none are
+selected.")
+    (license license:gpl3)
+    (properties '((addon-id . "{b7f9d2cd-d772-4302-8c3f-eb941af36f76}")))))
+
+(define-public privacy-redirect/icecat
+  (make-icecat-extension privacy-redirect))

base-commit: c2e2b0376b82a503e064fa826d1b153d94bf0b06
prerequisite-patch-id: f132b4af7b85df465998e4f459bf729f8b66f320
prerequisite-patch-id: ecd87e69b7aebebd64256db106ed96dc12f6c12d
prerequisite-patch-id: f27c33b6c7f5dcb37c36551ecde29f1f0c734935
prerequisite-patch-id: fc6ad5af54f75869a657c065c86b262d74a1efff
prerequisite-patch-id: 1665e62d1990a460bc5679bc89d600e94bab407a
prerequisite-patch-id: e1cd1fdc5036bbd74d338df158ae7c348b180cf4
prerequisite-patch-id: bea29848814b393ccd3619f0a744ee36632ac5df
prerequisite-patch-id: 41d13263266c55b695d0a28d173d795fca52e440
prerequisite-patch-id: 4ed8a51618fd43ffcbbbe458492aa8ca674da9b9
prerequisite-patch-id: 40a1f686ccb58ca654ebdd06de2a5369707bfd3e
--
2.46.0




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#74812: Acknowledgement ([PATCH] gnu: Add privacy-redirect-icecat.)
       [not found] ` <handler.74812.B.173398876915107.ack@debbugs.gnu.org>
@ 2024-12-18 15:47   ` Hilton Chain
  0 siblings, 0 replies; 5+ messages in thread
From: Hilton Chain @ 2024-12-18 15:47 UTC (permalink / raw)
  To: 74812-done

Applied v2 as 573f47a2b06a76d1a74a370ad443178a7041ae34, closing.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#74812] [PATCH v2] gnu: Add privacy-redirect-icecat.
  2024-12-12  7:42 ` [bug#74812] [PATCH v2] " Hilton Chain
@ 2024-12-21  3:51   ` Mark H Weaver
  2024-12-21  6:06     ` Hilton Chain
  0 siblings, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2024-12-21  3:51 UTC (permalink / raw)
  To: Hilton Chain, 74812
  Cc: André Batista, Jonathan Brielmaier, Clément Lassieur

Hi,

Apologies for the late reply.

Hilton Chain <hako@ultrarare.space> writes:
> * gnu/packages/browser-extensions.scm (privacy-redirect)
> (privacy-redirect/icecat): New variables.

[...]

> +(define privacy-redirect
> +  (package
> +    (name "privacy-redirect")
> +    (version "1.1.49")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/SimonBrazell/privacy-redirect")

If you check the git repository above, I think you'll find that it has
not been updated in over 3 years, and that most (if not all) of the
sites that it redirects to no longer work.  Therefore, I see no benefit
to adding this package in its current form.

There's also an additional problem: GNU IceCat comes bundled with a
modified and updated version of this extension.  I have concerns about
how GNU IceCat might be affected if this extremely out-of-date extension
is installed in the user's profile.

What do you think?

      Thanks,
        Mark




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#74812] [PATCH v2] gnu: Add privacy-redirect-icecat.
  2024-12-21  3:51   ` Mark H Weaver
@ 2024-12-21  6:06     ` Hilton Chain
  0 siblings, 0 replies; 5+ messages in thread
From: Hilton Chain @ 2024-12-21  6:06 UTC (permalink / raw)
  To: Mark H Weaver
  Cc: André Batista, Jonathan Brielmaier, 74812,
	Clément Lassieur

Hi Mark,

On Sat, 21 Dec 2024 11:51:01 +0800,
Mark H Weaver wrote:
>
> Hi,
>
> Apologies for the late reply.
>
> Hilton Chain <hako@ultrarare.space> writes:
> > * gnu/packages/browser-extensions.scm (privacy-redirect)
> > (privacy-redirect/icecat): New variables.
>
> [...]
>
> > +(define privacy-redirect
> > +  (package
> > +    (name "privacy-redirect")
> > +    (version "1.1.49")
> > +    (source
> > +     (origin
> > +       (method git-fetch)
> > +       (uri (git-reference
> > +             (url "https://github.com/SimonBrazell/privacy-redirect")
>
> If you check the git repository above, I think you'll find that it has
> not been updated in over 3 years, and that most (if not all) of the
> sites that it redirects to no longer work.  Therefore, I see no benefit
> to adding this package in its current form.
>
> There's also an additional problem: GNU IceCat comes bundled with a
> modified and updated version of this extension.  I have concerns about
> how GNU IceCat might be affected if this extremely out-of-date extension
> is installed in the user's profile.

Just tried 'guix shell icecat privacy-redirect-icecat', IceCat uses the bundled
one.

> What do you think?

How about using the source from IceCat for this package?


Thanks




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-21  6:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12  7:32 [bug#74812] [PATCH] gnu: Add privacy-redirect-icecat Hilton Chain
2024-12-12  7:42 ` [bug#74812] [PATCH v2] " Hilton Chain
2024-12-21  3:51   ` Mark H Weaver
2024-12-21  6:06     ` Hilton Chain
     [not found] ` <handler.74812.B.173398876915107.ack@debbugs.gnu.org>
2024-12-18 15:47   ` bug#74812: Acknowledgement ([PATCH] gnu: Add privacy-redirect-icecat.) Hilton Chain

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).