From e867f045d4f5aea7ec06211ca4191a19fd5fdd9a Mon Sep 17 00:00:00 2001 From: cvh Date: Mon, 17 Apr 2017 21:49:14 +0200 Subject: [PATCH 1/2] netbase: initial package --- packages/network/netbase/package.mk | 41 +++++++++++++++++++++++++++++ packages/virtual/network/package.mk | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 packages/network/netbase/package.mk diff --git a/packages/network/netbase/package.mk b/packages/network/netbase/package.mk new file mode 100644 index 0000000000..a5b8a55a2f --- /dev/null +++ b/packages/network/netbase/package.mk @@ -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 . +################################################################################ + +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 +} diff --git a/packages/virtual/network/package.mk b/packages/virtual/network/package.mk index 747f2e8786..fd08142e42 100644 --- a/packages/virtual/network/package.mk +++ b/packages/virtual/network/package.mk @@ -22,7 +22,7 @@ PKG_ARCH="any" PKG_LICENSE="various" PKG_SITE="http://www.openelec.tv" PKG_URL="" -PKG_DEPENDS_TARGET="toolchain connman iana-etc ethtool openssh" +PKG_DEPENDS_TARGET="toolchain connman netbase ethtool openssh" PKG_SECTION="virtual" PKG_SHORTDESC="network: Metapackage for packages to install network support" PKG_LONGDESC="network: Metapackage for various packages to install network support" From 3af2b9d36d058e3c4090a8248a7b2303fe6eeac2 Mon Sep 17 00:00:00 2001 From: cvh Date: Mon, 17 Apr 2017 21:49:31 +0200 Subject: [PATCH 2/2] iana-etc: remove package --- packages/network/iana-etc/package.mk | 41 ---------------------------- 1 file changed, 41 deletions(-) delete mode 100644 packages/network/iana-etc/package.mk diff --git a/packages/network/iana-etc/package.mk b/packages/network/iana-etc/package.mk deleted file mode 100644 index c336a28577..0000000000 --- a/packages/network/iana-etc/package.mk +++ /dev/null @@ -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 . -################################################################################ - -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 -}