summaryrefslogtreecommitdiff
path: root/pcr/firewalld-openrc
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/firewalld-openrc')
-rw-r--r--pcr/firewalld-openrc/PKGBUILD32
-rw-r--r--pcr/firewalld-openrc/firewalld-openrc.install16
-rw-r--r--pcr/firewalld-openrc/firewalld.init13
3 files changed, 0 insertions, 61 deletions
diff --git a/pcr/firewalld-openrc/PKGBUILD b/pcr/firewalld-openrc/PKGBUILD
deleted file mode 100644
index d90d71b95..000000000
--- a/pcr/firewalld-openrc/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Maintainer (Arch): Chris Cromer <chris@cromer.cl>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=firewalld-openrc
-pkgver=1.0
-pkgrel=2.2
-pkgdesc="OpenRC scripts for firewalld."
-arch=('any')
-provides=('firewalld-openrc')
-conflicts=('iptables-openrc')
-pkgname=('firewalld-openrc')
-depends=('firewalld' 'openrc')
-url="https://github.com/cromerc/arch-openrc"
-license=("GPL2")
-source=("firewalld.init")
-sha256sums=('96593cc0e8efcb60b0aa6b9e994dae31ec31cd812aca1145b7829b0a40e0dfa6')
-
-_inst_initd(){
- install -Dm755 firewalld.init ${pkgdir}/etc/init.d/firewalld
-
- sed -e 's|/var/run|/run|g' \
- -e 's|/usr/sbin|/usr/bin|g' \
- -i ${pkgdir}/etc/init.d/$1
-}
-
-package_firewalld-openrc() {
- pkgdesc="OpenRC scripts for firewalld."
- depends=('firewalld' 'openrc')
- install=firewalld-openrc.install
-
- _inst_initd 'firewalld'
-}
diff --git a/pcr/firewalld-openrc/firewalld-openrc.install b/pcr/firewalld-openrc/firewalld-openrc.install
deleted file mode 100644
index ddab9e43a..000000000
--- a/pcr/firewalld-openrc/firewalld-openrc.install
+++ /dev/null
@@ -1,16 +0,0 @@
-_svc="firewalld"
-_rlvl="default"
-
-post_install() {
- _cmd="rc-update add ${_svc} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-post_remove() {
- _cmd="rc-update del ${_svc} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}
diff --git a/pcr/firewalld-openrc/firewalld.init b/pcr/firewalld-openrc/firewalld.init
deleted file mode 100644
index b1d7d15d9..000000000
--- a/pcr/firewalld-openrc/firewalld.init
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="FirewallD"
-command=/usr/sbin/firewalld
-pidfile=/var/run/firewalld.pid
-
-depend() {
- need dbus
- provide iptables ip6tables ebtables
-}