From ea871cfb29b7e9d438cb50c5a75642deee86f652 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 17 Jun 2014 21:43:02 -0400 Subject: rm -r yf/ yf-update # they aren't used anymore --- local_config | 10 ---------- yf-update | 18 ------------------ yf/PKGBUILD | 28 ---------------------------- yf/your-freedom.install | 32 -------------------------------- 4 files changed, 88 deletions(-) delete mode 100755 yf-update delete mode 100644 yf/PKGBUILD delete mode 100644 yf/your-freedom.install 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 -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 <