diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 21:43:02 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 21:43:02 -0400 |
commit | ea871cfb29b7e9d438cb50c5a75642deee86f652 (patch) | |
tree | 90d5e6a86e65546541301bce6c2667950867d125 | |
parent | 22f7ae3e5c791694edf4c4b6e5f8623f9a9dddf4 (diff) |
rm -r yf/ yf-update # they aren't used anymore
-rw-r--r-- | local_config | 10 | ||||
-rwxr-xr-x | yf-update | 18 | ||||
-rw-r--r-- | yf/PKGBUILD | 28 | ||||
-rw-r--r-- | yf/your-freedom.install | 32 |
4 files changed, 0 insertions, 88 deletions
diff --git a/local_config b/local_config index 57725fe..3d6c709 100644 --- a/local_config +++ b/local_config @@ -1,7 +1,3 @@ -#/bin/bash # as a hint to text editors -_paraboladir=/srv/http/repo/public - -# db-sync #mirror="mirrors.uk2.net" mirror="mirrors.kernel.org" #mirror="mirror.umd.edu" @@ -9,9 +5,3 @@ mirror="mirrors.kernel.org" #mirror="mirror.us.leaseweb.net" #mirror="mirror.de.leaseweb.net" mirrorpath="archlinux" - -# yf-update -blacklist=${_paraboladir}/docs/blacklist.txt -whitelist=${_paraboladir}/docs/whitelist.txt - -unset _paraboladir diff --git a/yf-update b/yf-update deleted file mode 100755 index b6dff14..0000000 --- a/yf-update +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -source "$(dirname "$(readlink -e "$0")")/config" -source "$(dirname "$(readlink -e "$0")")/local_config" -source "$(dirname "$(readlink -e "$0")")/libremessages" - -blacklist_mtime=$(printf "%.0f" $(find ${blacklist} -printf "%T@")) -last_bl_mtime=$(cat "$(dirname "$(readlink -e "$0")")/yftime") - -if [ $blacklist_mtime -gt $last_bl_mtime ]; then - pushd "$(dirname "$(readlink -e "$0")")/yf" - makepkg -f - find . -name "*${PKGEXT}" -exec mv {} ${STAGING}/libre \; - popd - echo ${blacklist_mtime} > "$(dirname "$(readlink -e "$0")")/yftime" - msg2 "built and staged" -else - msg2 "nothing to do" -fi diff --git a/yf/PKGBUILD b/yf/PKGBUILD deleted file mode 100644 index e737482..0000000 --- a/yf/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Parabola Project <dev@list.parabolagnulinux.org> -pkgname=your-freedom -pkgver=$(LC_ALL=C date -u +%Y%m%d) -pkgrel=1 -pkgdesc="This package conflicts with every nonfree package known to date." -arch=('any') -url="https://parabolagnulinux.org" -license=('GPL') -groups=('base') -install=${pkgname}.install -source=() -md5sums=() -noextract=() - -build() { - cd ${srcdir} - source ~/repm/local_config - install -d ${pkgdir}/usr/share/doc/${pkgname} - install -m644 $blacklist $whitelist ${pkgdir}/usr/share/doc/${pkgname}/ -} - -package() { - conflicts=($(cut -d: -f1,2 ${pkgdir}/usr/share/doc/${pkgname}/blacklist.txt | \ - sed "s/:$//" | \ - grep -v ":" | \ - sort -u - )) -} diff --git a/yf/your-freedom.install b/yf/your-freedom.install deleted file mode 100644 index 731a575..0000000 --- a/yf/your-freedom.install +++ /dev/null @@ -1,32 +0,0 @@ - -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == - - This package will help you identify nonfree 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 nonfree package is identified, later updates will ask - you for it's removal. - - Have in mind that, if you want to retain certain nonfree 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 nonfree 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: |