summaryrefslogtreecommitdiff
path: root/nonprism/your-privacy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
committerroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
commit1ae31a85e191bbf7313077b472a66d1c24af1f74 (patch)
tree91f021858c2e33e1a6633c12b80e54105fd7500b /nonprism/your-privacy
parent26606f981048ee9efcda690b619d3c53501a7a58 (diff)
Tue Aug 20 02:14:51 PDT 2013
Diffstat (limited to 'nonprism/your-privacy')
-rw-r--r--nonprism/your-privacy/PKGBUILD25
-rw-r--r--nonprism/your-privacy/your-privacy.install30
2 files changed, 55 insertions, 0 deletions
diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD
new file mode 100644
index 000000000..3dbc1c733
--- /dev/null
+++ b/nonprism/your-privacy/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-privacy
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL3')
+install=${pkgname}.install
+replaces=your-coherence
+source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt)
+
+package() {
+ conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ grep -v '^#' | \
+ sort -u
+ ))
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+md5sums=('5fd14982619414fea1882b351607291e')
diff --git a/nonprism/your-privacy/your-privacy.install b/nonprism/your-privacy/your-privacy.install
new file mode 100644
index 000000000..965fdbf43
--- /dev/null
+++ b/nonprism/your-privacy/your-privacy.install
@@ -0,0 +1,30 @@
+
+pre_install() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package will help you identify if packages that support
+ unsafe/dangerous for privacy protocols/services are installed on your
+ system at the time of its installation, as well as protecting you from
+ (accidentally) installing them.
+
+ Also, if any other package that support unsafe/dangerous for privacy
+ protocols/services is identified, later updates will ask you for its
+ removal.
+
+ Have in mind that, if you want to retain certain packages that support
+ unsafe/dangerous for privacy protocols/services installed on your system,
+ you'll have to remove your-privacy :)
+
+ Please report any issue to the Nonprism Team on the usual channels:
+ * https://labs.parabola.nu
+ * irc://freenode.net/#nonprism
+ * mailto:dev@lists.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: