From 200b2bc13e75f7c171f39878e191f698479ff5a4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 2 Apr 2011 12:35:52 +0200 Subject: [PATCH] Revert "cifs-utils: remove package 'cifs-utils', CIFS mounts now supported via busybox" This reverts commit 5bc7eaeba1cea7c7cc226380f5937ec7f5e101b9. --- packages/network/cifs-utils/build | 37 +++++++++++++++++++++++++++++ packages/network/cifs-utils/install | 26 ++++++++++++++++++++ packages/network/cifs-utils/meta | 36 ++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100755 packages/network/cifs-utils/build create mode 100755 packages/network/cifs-utils/install create mode 100644 packages/network/cifs-utils/meta diff --git a/packages/network/cifs-utils/build b/packages/network/cifs-utils/build new file mode 100755 index 0000000000..45000a9a45 --- /dev/null +++ b/packages/network/cifs-utils/build @@ -0,0 +1,37 @@ +#!/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 + +cd $PKG_BUILD +ac_cv_func_malloc_0_nonnull=yes \ +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-cifsupcall \ + --disable-cifscreds \ + --with-libcap \ + +make diff --git a/packages/network/cifs-utils/install b/packages/network/cifs-utils/install new file mode 100755 index 0000000000..2cfcc0c72a --- /dev/null +++ b/packages/network/cifs-utils/install @@ -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/sbin + cp $PKG_BUILD/mount.cifs $INSTALL/sbin diff --git a/packages/network/cifs-utils/meta b/packages/network/cifs-utils/meta new file mode 100644 index 0000000000..5df114a051 --- /dev/null +++ b/packages/network/cifs-utils/meta @@ -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="cifs-utils" +PKG_VERSION="4.8.1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.samba.org" +PKG_URL="ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="libcap" +PKG_BUILD_DEPENDS="toolchain libcap" +PKG_PRIORITY="optional" +PKG_SECTION="network" +PKG_SHORTDESC="cifs-utils: a set of user-space tools to mount/umount CIFS filesystems" +PKG_LONGDESC="The in-kernel CIFS filesystem relies on a set of user-space tools. That package of tools is called cifs-utils. Although not really part of Samba proper, these tools were originally part of the Samba package. For several reasons, shipping these tools as part of Samba was problematic and it was deemed better to split them off into their own package." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="yes"