summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 15:30:19 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-16 15:30:19 -0300
commit8525d9ebe07bc49c2b37686cbedb2d7ca4fc1057 (patch)
tree0c5be17eea886cd30ce0300ef1e40861f76dc1ea /libre
parent47c36815a8ba28db89b1b29ae77fe1287a150db9 (diff)
add your-coherence to libre repo
Diffstat (limited to 'libre')
-rw-r--r--libre/your-coherence/PKGBUILD24
-rw-r--r--libre/your-coherence/your-coherence.install31
2 files changed, 55 insertions, 0 deletions
diff --git a/libre/your-coherence/PKGBUILD b/libre/your-coherence/PKGBUILD
new file mode 100644
index 000000000..e13429664
--- /dev/null
+++ b/libre/your-coherence/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-coherence
+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
+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/libre/your-coherence/your-coherence.install b/libre/your-coherence/your-coherence.install
new file mode 100644
index 000000000..ce83fb9c8
--- /dev/null
+++ b/libre/your-coherence/your-coherence.install
@@ -0,0 +1,31 @@
+
+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-coherence :)
+
+
+ Please report any issue to the Coherence Team on the usual channels:
+ * https://labs.parabola.nu
+ * irc://freenode.net/#your-coherence
+ * mailto:dev@lists.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: