net-firewall/pglinux: initial import of version 2.3.1
This commit is contained in:
parent
0bb2fb1eec
commit
bf000c6164
@ -12,6 +12,7 @@ games-roguelike
|
|||||||
games-rpg
|
games-rpg
|
||||||
games-strategy
|
games-strategy
|
||||||
media-sound
|
media-sound
|
||||||
|
net-firewall
|
||||||
net-misc
|
net-misc
|
||||||
net-www
|
net-www
|
||||||
sci-mathematics
|
sci-mathematics
|
||||||
|
79
packages/net-firewall/pglinux/pglinux-2.3.1.exheres-0
Normal file
79
packages/net-firewall/pglinux/pglinux-2.3.1.exheres-0
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require gtk-icon-cache
|
||||||
|
|
||||||
|
MY_P="pgl-${PV}"
|
||||||
|
|
||||||
|
SUMMARY="Privacy oriented firewall application"
|
||||||
|
HOMEPAGE="https://sourceforge.net/projects/peerguardian/"
|
||||||
|
DOWNLOADS="mirror://sourceforge/peerguardian/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
MYOPTIONS="
|
||||||
|
dbus
|
||||||
|
gui [[ requires = [ dbus ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
sys-devel/libtool
|
||||||
|
build+run:
|
||||||
|
net-libs/libnetfilter_queue
|
||||||
|
net-libs/libnfnetlink
|
||||||
|
gui? (
|
||||||
|
sys-auth/polkit-qt
|
||||||
|
x11-libs/qt:4[dbus]
|
||||||
|
|| ( kde-apps/kdesu x11-libs/gksu x11-misc/ktsuss )
|
||||||
|
)
|
||||||
|
run:
|
||||||
|
net-firewall/iptables
|
||||||
|
sys-apps/sysvinit
|
||||||
|
recommendation:
|
||||||
|
virtual/unzip [[ description = [ needed for blocklists packed as .zip ] ]]
|
||||||
|
suggestion:
|
||||||
|
app-admin/logrotate [[ description = [ Use logrotate for rotating
|
||||||
|
logs ] ]]
|
||||||
|
app-arch/p7zip [[ description = [ needed for blocklists packed as .7z ] ]]
|
||||||
|
net-apps/NetworkManager [[ description = [ pglinux provides a
|
||||||
|
networkmanager script ] ]]
|
||||||
|
virtual/cron
|
||||||
|
virtual/mta [[ description = [ needed to send informational (blocklist
|
||||||
|
updates) and warning mails (if pglcmd.wd
|
||||||
|
detects a problem.) ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_P}
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
||||||
|
--localstatedir=/var
|
||||||
|
--with-piddir=/run
|
||||||
|
--docdir=/usr/share/doc/${PNVR}
|
||||||
|
--enable-logrotate
|
||||||
|
--enable-cron
|
||||||
|
--enable-networkmanager
|
||||||
|
--enable-zlib
|
||||||
|
--disable-lowmem
|
||||||
|
--with-iconsdir=/usr/share/icons/hicolor/128x128/apps
|
||||||
|
--with-gentoo-init
|
||||||
|
--with-systemd="${SYSTEMDSYSTEMUNITDIR}"
|
||||||
|
)
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||||
|
'dbus'
|
||||||
|
)
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
|
||||||
|
'gui qt4'
|
||||||
|
)
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
keepdir /var/{lib,log,spool}/pgl
|
||||||
|
keepdir /etc/pgl/blocklists.local
|
||||||
|
edo rm -r "${IMAGE%/}"/{tmp,run}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user