diff options
author | David P <megver83@parabola.nu> | 2018-05-08 23:47:57 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-05-08 23:47:57 -0300 |
commit | 9556dbbea0457492bc96d22c9e0065798b79b12e (patch) | |
tree | 0e732e6150f141b9510f8560d5d61161c5cb6786 /nonsystemd/your-initfreedom | |
parent | 40a0ca9eb80616bf2bc7ad9db4e3cf4eb0d9e0e7 (diff) | |
download | abslibre-9556dbbea0457492bc96d22c9e0065798b79b12e.tar.gz abslibre-9556dbbea0457492bc96d22c9e0065798b79b12e.tar.bz2 abslibre-9556dbbea0457492bc96d22c9e0065798b79b12e.zip |
nonsystemd/your-initfreedom: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/your-initfreedom')
-rw-r--r-- | nonsystemd/your-initfreedom/PKGBUILD | 37 | ||||
-rw-r--r-- | nonsystemd/your-initfreedom/your-initfreedom-blacklist.txt | 13 | ||||
-rw-r--r-- | nonsystemd/your-initfreedom/your-initfreedom.install | 35 |
3 files changed, 85 insertions, 0 deletions
diff --git a/nonsystemd/your-initfreedom/PKGBUILD b/nonsystemd/your-initfreedom/PKGBUILD new file mode 100644 index 000000000..94545fe80 --- /dev/null +++ b/nonsystemd/your-initfreedom/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Parabola Project <dev@lists.parabola.nu> + +pkgname=your-initfreedom +pkgdesc="This package will remove systemd and support for it." +license=('GPL3') +url="https://git.parabola.nu/blacklist.git" +pkgver=20180509 +_gitver=ce104115ea671c4dd4bf7dc0b70ba9cf40948ee3 +pkgrel=1 + +arch=('any') +groups=('base-openrc') +install=${pkgname}.install + +makedepends=(librelib) +# source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) +source=(${pkgname}-blacklist.txt) +sha512sums=('fba5eaef2137d090a4f6d8692930ba5bfba3300a0176741cba67112698b00480700c5724e4869fcc6bd19925d38972cc019653200f2acf084eb0bec739bb0c1b') + +pkgver() { + date +%Y%m%d +} + +package() { + cd "$srcdir" + + conflicts=($( + < ${pkgname}-blacklist.txt \ + libreblacklist normalize | + cut -d: -f1,2 | + sed -n 's/:$//p' | + sort -u + )) + +# install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt + install -Dm644 ${pkgname}-blacklist.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt +} diff --git a/nonsystemd/your-initfreedom/your-initfreedom-blacklist.txt b/nonsystemd/your-initfreedom/your-initfreedom-blacklist.txt new file mode 100644 index 000000000..5842c77fa --- /dev/null +++ b/nonsystemd/your-initfreedom/your-initfreedom-blacklist.txt @@ -0,0 +1,13 @@ +gnome-logs:::: made for systemd +kodi-standalone-service:::: systemd service for kodi +libsystemd:libeudev-systemd::: is part of systemd +libsystemd-standalone:libeudev-systemd::: is part of systemd +netctl:::: is part of systemd +nss-resolv:::: is part of systemd +nss-systemd:::: is part of systemd +python-systemd:::: made for systemd +systemd:eudev-systemd::: +systemd-kcm:::: made for systemd +systemd-swap:::: +systemd-sysvcompat:init::: +systemd-ui:::: diff --git a/nonsystemd/your-initfreedom/your-initfreedom.install b/nonsystemd/your-initfreedom/your-initfreedom.install new file mode 100644 index 000000000..b794447fa --- /dev/null +++ b/nonsystemd/your-initfreedom/your-initfreedom.install @@ -0,0 +1,35 @@ + +pre_install() { + cat <<EOM + == IMPORTANT NOTICE == + + This package will help you identify if packages that support or have a hard + dependency on systemd 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 supports or needs systemd is identified, + later updates will ask you for its removal. + + Have in mind that, if you want to retain certain packages that support + systemd installed on your system, you'll have to remove your-initfreedom :) + + Please report back to the Parabola Project on the usual channels: + * https://labs.parabola.nu + * irc://freenode.net/#parabola + * mailto:dev@lists.parabola.nu +EOM +} + +pre_upgrade() { + pre_install +} + +post_install() { + echo ":: WARNING: You must install an init provider in order to have a bootable system!" +} + +post_upgrade() { + post_install +} + +# vim:set ts=2 sw=2 et: |