summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-02-08 16:39:27 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-02-08 16:39:27 -0300
commit9914c841a834b344650212d0b5ba751b1d04f3f9 (patch)
tree6bd1341ca4b8abf6e6933174e82b6a7324a283df
parent59dae79e5a199052c0a0a6726a8adbc94b6f3d51 (diff)
downloadabslibre-9914c841a834b344650212d0b5ba751b1d04f3f9.tar.gz
abslibre-9914c841a834b344650212d0b5ba751b1d04f3f9.tar.bz2
abslibre-9914c841a834b344650212d0b5ba751b1d04f3f9.zip
your-freedom-20110208-1
-rw-r--r--libre/your-freedom/PKGBUILD32
-rw-r--r--libre/your-freedom/your-freedom.install32
2 files changed, 64 insertions, 0 deletions
diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD
new file mode 100644
index 000000000..26df281b6
--- /dev/null
+++ b/libre/your-freedom/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-freedom
+pkgver=$(LC_ALL=C date +%Y%m%d)
+pkgrel=1
+pkgdesc="This package conflicts with every unfree package known to date."
+arch=('any')
+url="http://parabolagnulinux.org"
+license=('GPL')
+groups=('base')
+install=${pkgname}.install
+source=(http://repo.parabolagnulinux.org/docs/blacklist.txt
+ http://repo.parabolagnulinux.org/docs/whitelist.txt)
+noextract=()
+md5sums=() #generate with 'makepkg -g'
+
+get_blacklist() {
+ unfree=($(wget -q -O - ${source[0]} | \
+ cut -d':' -f1,2 | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ sort -u))
+ echo "conflicts=(${unfree[@]})"
+}
+
+build() {
+ install -d $pkgdir/usr/share/doc/${pkgname}
+ install -m644 $srcdir/{black,white}list.txt
+}
+
+md5sums=('2637ca96bd9e39dacd452bec01307345'
+ '98d40d324ed474a9b2a222432fb97f02')
+conflicts=(abyssws aqua-data-studio arch-artwork arch-firefox-search archlinux-artwork archlinux-menus archlinux-themes-kde archlinux-themes-kdm archlinux-themes-slim archlinux-wallpaper arch-wiki-docs b43-fwcutter bass blobwars boinc boinc-nox chromium-bsu crafty d4x dina-font dosemu faac firefox-i18n firefox-spell-pt-br firefox-spell-ru flashplugin fmodex font-mathematica foomatic-db-nonfree gstreamer0.10-bad ipw2100-fw ipw2200-fw iwlwifi-1000-ucode iwlwifi-3945-ucode iwlwifi-4965-ucode iwlwifi-5000-ucode iwlwifi-5150-ucode iwlwifi-6000-ucode java-sun jdk jre kernel26-firmware lha lib32-libflashsupport lib32-nvidia-utils libflashsupport linux-firmware mac martian martian-utils mesa-demos mod_fastcgi monaco-linux-font ndiswrapper ndiswrapper-utils netperf nouveau-firmware nvidia nvidia-173xx nvidia-173xx-utils nvidia-96xx nvidia-96xx-utils nvidia-cg-toolkit nvidia-lts nvidia-utils nxclient openttd-opensfx opera povray profont pypy qingy-theme-arch qstat rt2870usb-fw rt2x00-rt61-fw rt2x00-rt71w-fw sdlmame sfarkxtc skype skype-oss skype-staticqt slim-themes snes9x sopcast sqlite3-doc tarsnap ttf-hannom ttf-ms-fonts urbanterror urbanterror-data vbaexpress virtualbox-additions virtualbox-additions-modules visualboyadvance warsow-data xdm-archlinux xf86-input-vmmouse xf86-video-vmware xorg-xlsfonts xpdf-chinese-simplified xpdf-chinese-traditional xpdf-japanese xpdf-korean xsnow xv zd1211-firmware)
diff --git a/libre/your-freedom/your-freedom.install b/libre/your-freedom/your-freedom.install
new file mode 100644
index 000000000..49ae04510
--- /dev/null
+++ b/libre/your-freedom/your-freedom.install
@@ -0,0 +1,32 @@
+
+pre_install() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package will help you identify unfree packages that are installed
+ on your system at the time of it's installation, as well as protecting
+ you from (accidentally) installing them.
+
+ Also, if any other unfree package is identified, later updates will ask
+ you for it's removal.
+
+ Have in mind that, if you want to retain certain unfree packages
+ installed on your system, you'll have to remove your-freedom :)
+
+ If you find out any of the following:
+ * Cascade package removal due to unfree dependencies,
+ * Your-freedom conflicting with a *-libre package,
+ * Etc.
+
+ Please report back to the Parabola Project on the usual channels:
+ * http://bugs.parabolagnulinux.org
+ * irc://freenode.net/#parabola
+ * mailto:dev@list.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: