Merge pull request #1518 from CvH/cleanup_iana

netbase: initial package
This commit is contained in:
MilhouseVH 2017-04-18 15:44:24 -07:00 committed by GitHub
commit f7ee67aea0
3 changed files with 42 additions and 42 deletions

View File

@ -1,41 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC 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 of the License, or
# (at your option) any later version.
#
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="iana-etc"
PKG_VERSION="2.30"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.linuxfromscratch.org/lfs/view/development/chapter06/iana-etc.html"
PKG_URL="http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/conglomeration/iana-etc/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="network"
PKG_SHORTDESC="iana-etc: The Iana-Etc package provides data for network services and protocols."
PKG_LONGDESC="The Iana-Etc package provides data for network services and protocols."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
post_make_target() {
sed -e 's,^sunrpc,rpcbind,' -i services
}
makeinstall_target() {
mkdir -p $INSTALL/etc
cp protocols $INSTALL/etc
cp services $INSTALL/etc
}

View File

@ -0,0 +1,41 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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 of the License, or
# (at your option) any later version.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="netbase"
PKG_VERSION="5.4"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://anonscm.debian.org/cgit/users/md/netbase.git/"
PKG_URL="http://ftp.debian.org/debian/pool/main/n/netbase/netbase_$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="network"
PKG_SHORTDESC="The netbase package provides data for network services and protocols from the iana db."
PKG_LONGDESC="The netbase package provides data for network services and protocols from the iana db."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {
:
}
makeinstall_target() {
mkdir -p $INSTALL/etc
cp etc-protocols $INSTALL/etc/protocols
cp etc-services $INSTALL/etc/services
}

View File

@ -22,7 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="various" PKG_LICENSE="various"
PKG_SITE="http://www.openelec.tv" PKG_SITE="http://www.openelec.tv"
PKG_URL="" PKG_URL=""
PKG_DEPENDS_TARGET="toolchain connman iana-etc ethtool openssh" PKG_DEPENDS_TARGET="toolchain connman netbase ethtool openssh"
PKG_SECTION="virtual" PKG_SECTION="virtual"
PKG_SHORTDESC="network: Metapackage for packages to install network support" PKG_SHORTDESC="network: Metapackage for packages to install network support"
PKG_LONGDESC="network: Metapackage for various packages to install network support" PKG_LONGDESC="network: Metapackage for various packages to install network support"