From 485db16f068599bd58c1ebe09122f6b875b6c659 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 25 Aug 2010 18:19:04 +0200 Subject: [PATCH] networkmanager: Added networkmanager 0.8.1 - A set of co-operative tools that make networking simple (see note) Note: Integration of NetworkManager into OpenSDE is in a very early stage and I am sure that there will be quite some issues! So use it with care! --- network/networkmanager/networkmanager.conf | 20 ++++++++++++ network/networkmanager/networkmanager.desc | 38 ++++++++++++++++++++++ network/networkmanager/no-distro.patch | 38 ++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 network/networkmanager/networkmanager.conf create mode 100644 network/networkmanager/networkmanager.desc create mode 100644 network/networkmanager/no-distro.patch diff --git a/network/networkmanager/networkmanager.conf b/network/networkmanager/networkmanager.conf new file mode 100644 index 000000000..9eaab7747 --- /dev/null +++ b/network/networkmanager/networkmanager.conf @@ -0,0 +1,20 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../networkmanager/networkmanager.conf +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# 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; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# HACK! Fake to be a redhat +var_append extraconfopt ' ' "--with-distro=redhat" + +if pkginstalled gnutls; then + var_append extraconfopt ' ' "--with-crypto=gnutls" +fi diff --git a/network/networkmanager/networkmanager.desc b/network/networkmanager/networkmanager.desc new file mode 100644 index 000000000..453300d8b --- /dev/null +++ b/network/networkmanager/networkmanager.desc @@ -0,0 +1,38 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../networkmanager/networkmanager.desc +[COPY] Copyright (C) 2010 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A set of co-operative tools that make networking simple + +[T] NetworkManager is a set of co-operative tools that make networking simple +[T] and straightforward. Whether WiFi, wired, 3G, or Bluetooth, NetworkManager +[T] allows you to quickly move from one network to another: once a network has +[T] been configured and joined once, it can be detected and re-joined +[T] automatically the next time its available. + +[U] http://projects.gnome.org/NetworkManager/ + +[A] The NetworkManager Team +[M] The OpenSDE Community + +[C] extra/network +[F] NOPARALLEL + +[L] GPL +[S] Stable +[V] 0.8.1 +[P] X -----5---9 120.000 + +[O] . $base/package/*/*/gtk+-conf.in + +[D] 3116007653 NetworkManager-0.8.1.tar.bz2 http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.8/ diff --git a/network/networkmanager/no-distro.patch b/network/networkmanager/no-distro.patch new file mode 100644 index 000000000..4762059de --- /dev/null +++ b/network/networkmanager/no-distro.patch @@ -0,0 +1,38 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../networkmanager/no-distro.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- NetworkManager-0.8.1/configure.orig 2010-08-25 14:12:38.012004123 +0200 ++++ NetworkManager-0.8.1/configure 2010-08-25 14:14:10.636635167 +0200 +@@ -13677,19 +13677,6 @@ + fi + with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' ` + +-if test "z$with_distro" = "z"; then +- echo "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO" +- exit 1 +-else +- case $with_distro in +- redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus) ;; +- *) +- echo "Your distribution (${with_distro}) is not yet supported! (patches welcome)" +- exit 1 +- ;; +- esac +-fi +- + if test x"$with_distro" = xredhat; then + TARGET_REDHAT_TRUE= + TARGET_REDHAT_FALSE='#'