mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package: add initial package 'sshguard'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c956b465d4
commit
adb3fc8ed4
@ -34,3 +34,8 @@ PKG_LONGDESC="This is a Linux port of OpenBSD's excellent OpenSSH. OpenSSH is ba
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
if [ "$SSHGUARD_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS sshguard"
|
||||
fi
|
||||
|
||||
|
36
packages/security/sshguard/build
Executable file
36
packages/security/sshguard/build
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--with-firewall="iptables" \
|
||||
--with-iptables="/usr/sbin/iptables" \
|
||||
|
||||
make
|
26
packages/security/sshguard/install
Executable file
26
packages/security/sshguard/install
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp -P $PKG_BUILD/src/sshguard $INSTALL/usr/sbin
|
36
packages/security/sshguard/meta
Normal file
36
packages/security/sshguard/meta
Normal file
@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="sshguard"
|
||||
PKG_VERSION="1.5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.sshguard.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/project/sshguard/sshguard/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="iptables"
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="security"
|
||||
PKG_SHORTDESC="sshguard: monitors servers from their logging activity."
|
||||
PKG_LONGDESC="Sshguard monitors servers from their logging activity. When logs convey that someone is doing a Bad Thing, sshguard reacts by blocking he/she/it for a bit. Sshguard has a touchy personality: when a naughty tyke insists disturbing your host, it reacts firmer and firmer."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
@ -155,6 +155,9 @@
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install SSH Guard (yes / no)
|
||||
SSHGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter service (udisks)
|
||||
# this service provide auto mounting support for external drives
|
||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||
|
Loading…
x
Reference in New Issue
Block a user