mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge branch 'master' of git://github.com/OpenELEC/OpenELEC.tv into openelec-next
Conflicts: packages/sysutils/busybox-initramfs/scripts/init
This commit is contained in:
commit
4d0a1a94c3
16
.gitignore
vendored
16
.gitignore
vendored
@ -1,17 +1,17 @@
|
||||
# build directorys
|
||||
build.*/
|
||||
.fakeroot.*
|
||||
/build.*/
|
||||
/.fakeroot.*
|
||||
|
||||
# automatically downloaded source files
|
||||
sources/
|
||||
.stamps/
|
||||
/sources/
|
||||
/.stamps/
|
||||
|
||||
# prebuild target binarys to provide
|
||||
target/
|
||||
/target/
|
||||
|
||||
# scripts for getting and packing source packages
|
||||
tools/mkpkg/*
|
||||
!tools/mkpkg/mkpkg_*
|
||||
/tools/mkpkg/*
|
||||
!/tools/mkpkg/mkpkg_*
|
||||
|
||||
# private working directory
|
||||
.work/
|
||||
/.work/
|
||||
|
339
licenses/APSL.txt
Normal file
339
licenses/APSL.txt
Normal file
@ -0,0 +1,339 @@
|
||||
PPLE PUBLIC SOURCE LICENSE
|
||||
Version 2.0 - August 6, 2003
|
||||
|
||||
Please read this License carefully before downloading this software. By
|
||||
downloading or using this software, you are agreeing to be bound by the terms
|
||||
of this License. If you do not or cannot agree to the terms of this License,
|
||||
please do not download or use the software.
|
||||
|
||||
Apple Note: In January 2007, Apple changed its corporate name from "Apple
|
||||
Computer, Inc." to "Apple Inc." This change has been reflected below and
|
||||
copyright years updated, but no other changes have been made to the APSL 2.0.
|
||||
|
||||
1. General; Definitions. This License applies to any program or other
|
||||
work which Apple Inc. ("Apple") makes publicly available and which contains a
|
||||
notice placed by Apple identifying such program or work as "Original Code" and
|
||||
stating that it is subject to the terms of this Apple Public Source License
|
||||
version 2.0 ("License"). As used in this License:
|
||||
|
||||
1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the
|
||||
grantor of rights, (i) claims of patents that are now or hereafter acquired,
|
||||
owned by or assigned to Apple and (ii) that cover subject matter contained in
|
||||
the Original Code, but only to the extent necessary to use, reproduce and/or
|
||||
distribute the Original Code without infringement; and (b) in the case where
|
||||
You are the grantor of rights, (i) claims of patents that are now or hereafter
|
||||
acquired, owned by or assigned to You and (ii) that cover subject matter in
|
||||
Your Modifications, taken alone or in combination with Original Code.
|
||||
|
||||
1.2 "Contributor" means any person or entity that creates or contributes
|
||||
to the creation of Modifications.
|
||||
|
||||
1.3 "Covered Code" means the Original Code, Modifications, the
|
||||
combination of Original Code and any Modifications, and/or any respective
|
||||
portions thereof.
|
||||
|
||||
1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise
|
||||
make Covered Code available, directly or indirectly, to anyone other than You;
|
||||
and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way
|
||||
to provide a service, including but not limited to delivery of content,
|
||||
through electronic communication with a client other than You.
|
||||
|
||||
1.5 "Larger Work" means a work which combines Covered Code or portions
|
||||
thereof with code not governed by the terms of this License.
|
||||
|
||||
1.6 "Modifications" mean any addition to, deletion from, and/or change to,
|
||||
the substance and/or structure of the Original Code, any previous
|
||||
Modifications, the combination of Original Code and any previous
|
||||
Modifications, and/or any respective portions thereof. When code is released
|
||||
as a series of files, a Modification is: (a) any addition to or deletion from
|
||||
the contents of a file containing Covered Code; and/or (b) any new file or
|
||||
other representation of computer program statements that contains any part of
|
||||
Covered Code.
|
||||
|
||||
1.7 "Original Code" means (a) the Source Code of a program or other work
|
||||
as originally made available by Apple under this License, including the Source
|
||||
Code of any updates or upgrades to such programs or works made available by
|
||||
Apple under this License, and that has been expressly identified by Apple as
|
||||
such in the header file(s) of such work; and (b) the object code compiled from
|
||||
such Source Code and originally made available by Apple under this License
|
||||
|
||||
1.8 "Source Code" means the human readable form of a program or other work
|
||||
that is suitable for making modifications to it, including all modules it
|
||||
contains, plus any associated interface definition files, scripts used to
|
||||
control compilation and installation of an executable (object code).
|
||||
|
||||
1.9 "You" or "Your" means an individual or a legal entity exercising
|
||||
rights under this License. For legal entities, "You" or "Your" includes any
|
||||
entity which controls, is controlled by, or is under common control with, You,
|
||||
where "control" means (a) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or otherwise, or
|
||||
(b) ownership of fifty percent (50%) or more of the outstanding shares or
|
||||
beneficial ownership of such entity.
|
||||
|
||||
2. Permitted Uses; Conditions & Restrictions. Subject to the terms and
|
||||
conditions of this License, Apple hereby grants You, effective on the date You
|
||||
accept this License and download the Original Code, a world-wide,
|
||||
royalty-free, non-exclusive license, to the extent of Apple's Applicable
|
||||
Patent Rights and copyrights covering the Original Code, to do the following:
|
||||
|
||||
2.1 Unmodified Code. You may use, reproduce, display, perform, internally
|
||||
distribute within Your organization, and Externally Deploy verbatim,
|
||||
unmodified copies of the Original Code, for commercial or non-commercial
|
||||
purposes, provided that in each instance:
|
||||
|
||||
(a) You must retain and reproduce in all copies of Original Code the
|
||||
copyright and other proprietary notices and disclaimers of Apple as they
|
||||
appear in the Original Code, and keep intact all notices in the Original Code
|
||||
that refer to this License; and
|
||||
|
||||
(b) You must include a copy of this License with every copy of Source Code
|
||||
of Covered Code and documentation You distribute or Externally Deploy, and You
|
||||
may not offer or impose any terms on such Source Code that alter or restrict
|
||||
this License or the recipients' rights hereunder, except as permitted under
|
||||
Section 6.
|
||||
|
||||
2.2 Modified Code. You may modify Covered Code and use, reproduce,
|
||||
display, perform, internally distribute within Your organization, and
|
||||
Externally Deploy Your Modifications and Covered Code, for commercial or
|
||||
non-commercial purposes, provided that in each instance You also meet all of
|
||||
these conditions:
|
||||
|
||||
(a) You must satisfy all the conditions of Section 2.1 with respect to the
|
||||
Source Code of the Covered Code;
|
||||
|
||||
(b) You must duplicate, to the extent it does not already exist, the
|
||||
notice in Exhibit A in each file of the Source Code of all Your Modifications,
|
||||
and cause the modified files to carry prominent notices stating that You
|
||||
changed the files and the date of any change; and
|
||||
|
||||
(c) If You Externally Deploy Your Modifications, You must make Source Code
|
||||
of all Your Externally Deployed Modifications either available to those to
|
||||
whom You have Externally Deployed Your Modifications, or publicly available.
|
||||
Source Code of Your Externally Deployed Modifications must be released under
|
||||
the terms set forth in this License, including the license grants set forth in
|
||||
Section 3 below, for as long as you Externally Deploy the Covered Code or
|
||||
twelve (12) months from the date of initial External Deployment, whichever is
|
||||
longer. You should preferably distribute the Source Code of Your Externally
|
||||
Deployed Modifications electronically (e.g. download from a web site).
|
||||
|
||||
2.3 Distribution of Executable Versions. In addition, if You Externally
|
||||
Deploy Covered Code (Original Code and/or Modifications) in object code,
|
||||
executable form only, You must include a prominent notice, in the code itself
|
||||
as well as in related documentation, stating that Source Code of the Covered
|
||||
Code is available under the terms of this License with information on how and
|
||||
where to obtain such Source Code.
|
||||
|
||||
2.4 Third Party Rights. You expressly acknowledge and agree that although
|
||||
Apple and each Contributor grants the licenses to their respective portions of
|
||||
the Covered Code set forth herein, no assurances are provided by Apple or any
|
||||
Contributor that the Covered Code does not infringe the patent or other
|
||||
intellectual property rights of any other entity. Apple and each Contributor
|
||||
disclaim any liability to You for claims brought by any other entity based on
|
||||
infringement of intellectual property rights or otherwise. As a condition to
|
||||
exercising the rights and licenses granted hereunder, You hereby assume sole
|
||||
responsibility to secure any other intellectual property rights needed, if
|
||||
any. For example, if a third party patent license is required to allow You to
|
||||
distribute the Covered Code, it is Your responsibility to acquire that license
|
||||
before distributing the Covered Code.
|
||||
|
||||
3. Your Grants. In consideration of, and as a condition to, the licenses
|
||||
granted to You under this License, You hereby grant to any person or entity
|
||||
receiving or distributing Covered Code under this License a non-exclusive,
|
||||
royalty-free, perpetual, irrevocable license, under Your Applicable Patent
|
||||
Rights and other intellectual property rights (other than patent) owned or
|
||||
controlled by You, to use, reproduce, display, perform, modify, sublicense,
|
||||
distribute and Externally Deploy Your Modifications of the same scope and
|
||||
extent as Apple's licenses under Sections 2.1 and 2.2 above.
|
||||
|
||||
4. Larger Works. You may create a Larger Work by combining Covered Code
|
||||
with other code not governed by the terms of this License and distribute the
|
||||
Larger Work as a single product. In each such instance, You must make sure
|
||||
the requirements of this License are fulfilled for the Covered Code or any
|
||||
portion thereof.
|
||||
|
||||
5. Limitations on Patent License. Except as expressly stated in Section
|
||||
2, no other patent rights, express or implied, are granted by Apple herein.
|
||||
Modifications and/or Larger Works may require additional patent licenses from
|
||||
Apple which Apple may grant in its sole discretion.
|
||||
|
||||
6. Additional Terms. You may choose to offer, and to charge a fee for,
|
||||
warranty, support, indemnity or liability obligations and/or other rights
|
||||
consistent with the scope of the license granted herein ("Additional Terms")
|
||||
to one or more recipients of Covered Code. However, You may do so only on Your
|
||||
own behalf and as Your sole responsibility, and not on behalf of Apple or any
|
||||
Contributor. You must obtain the recipient's agreement that any such
|
||||
Additional Terms are offered by You alone, and You hereby agree to indemnify,
|
||||
defend and hold Apple and every Contributor harmless for any liability
|
||||
incurred by or claims asserted against Apple or such Contributor by reason of
|
||||
any such Additional Terms.
|
||||
|
||||
7. Versions of the License. Apple may publish revised and/or new
|
||||
versions of this License from time to time. Each version will be given a
|
||||
distinguishing version number. Once Original Code has been published under a
|
||||
particular version of this License, You may continue to use it under the terms
|
||||
of that version. You may also choose to use such Original Code under the terms
|
||||
of any subsequent version of this License published by Apple. No one other
|
||||
than Apple has the right to modify the terms applicable to Covered Code
|
||||
created under this License.
|
||||
|
||||
8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in
|
||||
part pre-release, untested, or not fully tested works. The Covered Code may
|
||||
contain errors that could cause failures or loss of data, and may be
|
||||
incomplete or contain inaccuracies. You expressly acknowledge and agree that
|
||||
use of the Covered Code, or any portion thereof, is at Your sole and entire
|
||||
risk. THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR
|
||||
SUPPORT OF ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED
|
||||
TO AS "APPLE" FOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS
|
||||
EXPRESSLY DISCLAIM ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF
|
||||
MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE,
|
||||
OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR
|
||||
ENJOYMENT OF THE COVERED CODE, THAT THE FUNCTIONS CONTAINED IN THE COVERED
|
||||
CODE WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE COVERED CODE WILL
|
||||
BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE
|
||||
CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE
|
||||
AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY. You
|
||||
acknowledge that the Covered Code is not intended for use in the operation of
|
||||
nuclear facilities, aircraft navigation, communication systems, or air traffic
|
||||
control machines in which case the failure of the Covered Code could lead to
|
||||
death, personal injury, or severe physical or environmental damage.
|
||||
|
||||
9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
|
||||
EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL,
|
||||
INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO THIS LICENSE
|
||||
OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY PORTION THEREOF,
|
||||
WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE),
|
||||
PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING THE FAILURE OF
|
||||
ESSENTIAL PURPOSE OF ANY REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE
|
||||
LIMITATION OF LIABILITY OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS
|
||||
LIMITATION MAY NOT APPLY TO YOU. In no event shall Apple's total liability to
|
||||
You for all damages (other than as may be required by applicable law) under
|
||||
this License exceed the amount of fifty dollars ($50.00).
|
||||
|
||||
10. Trademarks. This License does not grant any rights to use the
|
||||
trademarks or trade names "Apple", "Mac", "Mac OS", "QuickTime", "QuickTime
|
||||
Streaming Server" or any other trademarks, service marks, logos or trade names
|
||||
belonging to Apple (collectively "Apple Marks") or to any trademark, service
|
||||
mark, logo or trade name belonging to any Contributor. You agree not to use
|
||||
any Apple Marks in or as part of the name of products derived from the
|
||||
Original Code or to endorse or promote products derived from the Original Code
|
||||
other than as expressly permitted by and in strict compliance at all times
|
||||
with Apple's third party trademark usage guidelines which are posted at
|
||||
http://www.apple.com/legal/guidelinesfor3rdparties.html.
|
||||
|
||||
11. Ownership. Subject to the licenses granted under this License, each
|
||||
Contributor retains all rights, title and interest in and to any Modifications
|
||||
made by such Contributor. Apple retains all rights, title and interest in and
|
||||
to the Original Code and any Modifications made by or on behalf of Apple
|
||||
("Apple Modifications"), and such Apple Modifications will not be
|
||||
automatically subject to this License. Apple may, at its sole discretion,
|
||||
choose to license such Apple Modifications under this License, or on different
|
||||
terms from those contained in this License or may choose not to license them
|
||||
at all.
|
||||
|
||||
12. Termination.
|
||||
|
||||
12.1 Termination. This License and the rights granted hereunder will
|
||||
terminate:
|
||||
|
||||
(a) automatically without notice from Apple if You fail to comply with any
|
||||
term(s) of this License and fail to cure such breach within 30 days of
|
||||
becoming aware of such breach;
|
||||
(b) immediately in the event of the circumstances described in Section
|
||||
13.5(b); or
|
||||
(c) automatically without notice from Apple if You, at any time during the
|
||||
term of this License, commence an action for patent infringement against
|
||||
Apple; provided that Apple did not first commence an action for patent
|
||||
infringement against You in that instance.
|
||||
|
||||
12.2 Effect of Termination. Upon termination, You agree to immediately
|
||||
stop any further use, reproduction, modification, sublicensing and
|
||||
distribution of the Covered Code. All sublicenses to the Covered Code which
|
||||
have been properly granted prior to termination shall survive any termination
|
||||
of this License. Provisions which, by their nature, should remain in effect
|
||||
beyond the termination of this License shall survive, including but not
|
||||
limited to Sections 3, 5, 8, 9, 10, 11, 12.2 and 13. No party will be liable
|
||||
to any other for compensation, indemnity or damages of any sort solely as a
|
||||
result of terminating this License in accordance with its terms, and
|
||||
termination of this License will be without prejudice to any other right or
|
||||
remedy of any party.
|
||||
|
||||
13. Miscellaneous.
|
||||
|
||||
13.1 Government End Users. The Covered Code is a "commercial item" as
|
||||
defined in FAR 2.101. Government software and technical data rights in the
|
||||
Covered Code include only those rights customarily provided to the public as
|
||||
defined in this License. This customary commercial license in technical data
|
||||
and software is provided in accordance with FAR 12.211 (Technical Data) and
|
||||
12.212 (Computer Software) and, for Department of Defense purchases, DFAR
|
||||
252.227-7015 (Technical Data -- Commercial Items) and 227.7202-3 (Rights in
|
||||
Commercial Computer Software or Computer Software Documentation).
|
||||
Accordingly, all U.S. Government End Users acquire Covered Code with only
|
||||
those rights set forth herein.
|
||||
|
||||
13.2 Relationship of Parties. This License will not be construed as
|
||||
creating an agency, partnership, joint venture or any other form of legal
|
||||
association between or among You, Apple or any Contributor, and You will not
|
||||
represent to the contrary, whether expressly, by implication, appearance or
|
||||
otherwise.
|
||||
|
||||
13.3 Independent Development. Nothing in this License will impair Apple's
|
||||
right to acquire, license, develop, have others develop for it, market and/or
|
||||
distribute technology or products that perform the same or similar functions
|
||||
as, or otherwise compete with, Modifications, Larger Works, technology or
|
||||
products that You may develop, produce, market or distribute.
|
||||
|
||||
13.4 Waiver; Construction. Failure by Apple or any Contributor to enforce
|
||||
any provision of this License will not be deemed a waiver of future
|
||||
enforcement of that or any other provision. Any law or regulation which
|
||||
provides that the language of a contract shall be construed against the
|
||||
drafter will not apply to this License.
|
||||
|
||||
13.5 Severability. (a) If for any reason a court of competent jurisdiction
|
||||
finds any provision of this License, or portion thereof, to be unenforceable,
|
||||
that provision of the License will be enforced to the maximum extent
|
||||
permissible so as to effect the economic benefits and intent of the parties,
|
||||
and the remainder of this License will continue in full force and effect. (b)
|
||||
Notwithstanding the foregoing, if applicable law prohibits or restricts You
|
||||
from fully and/or specifically complying with Sections 2 and/or 3 or prevents
|
||||
the enforceability of either of those Sections, this License will immediately
|
||||
terminate and You must immediately discontinue any use of the Covered Code and
|
||||
destroy all copies of it that are in your possession or control.
|
||||
|
||||
13.6 Dispute Resolution. Any litigation or other dispute resolution
|
||||
between You and Apple relating to this License shall take place in the
|
||||
Northern District of California, and You and Apple hereby consent to the
|
||||
personal jurisdiction of, and venue in, the state and federal courts within
|
||||
that District with respect to this License. The application of the United
|
||||
Nations Convention on Contracts for the International Sale of Goods is
|
||||
expressly excluded.
|
||||
|
||||
13.7 Entire Agreement; Governing Law. This License constitutes the entire
|
||||
agreement between the parties with respect to the subject matter hereof. This
|
||||
License shall be governed by the laws of the United States and the State of
|
||||
California, except that body of California law concerning conflicts of law.
|
||||
|
||||
Where You are located in the province of Quebec, Canada, the following clause
|
||||
applies: The parties hereby confirm that they have requested that this
|
||||
License and all related documents be drafted in English. Les parties ont
|
||||
exigé que le présent contrat et tous les documents connexes soient rédigés
|
||||
en anglais.
|
||||
|
||||
EXHIBIT A.
|
||||
|
||||
"Portions Copyright (c) 1999-2007 Apple Inc. All Rights Reserved.
|
||||
|
||||
This file contains Original Code and/or Modifications of Original Code as
|
||||
defined in and that are subject to the Apple Public Source License Version 2.0
|
||||
(the 'License'). You may not use this file except in compliance with the
|
||||
License. Please obtain a copy of the License at
|
||||
http://www.opensource.apple.com/apsl/ and read it before using this file.
|
||||
|
||||
The Original Code and all software distributed under the License are
|
||||
distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
|
||||
OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
|
||||
LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the
|
||||
specific language governing rights and limitations under the License."
|
@ -24,7 +24,7 @@ PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.alsa-project.org/"
|
||||
PKG_URL="ftp://ftp.alsa-project.org/pub/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -24,7 +24,7 @@ PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.alsa-project.org/"
|
||||
PKG_URL="ftp://ftp.alsa-project.org/pub/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="alsa-lib"
|
||||
PKG_BUILD_DEPENDS="toolchain alsa-lib"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -19,12 +19,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mysql"
|
||||
PKG_VERSION="5.1.55"
|
||||
PKG_VERSION="5.1.57"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.mysql.com"
|
||||
PKG_URL="ftp://mirror.switch.ch/mirror/$PKG_NAME/Downloads/MySQL-5.1/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="http://ftp.gwdg.de/pub/misc/$PKG_NAME/Downloads/MySQL-5.1/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="zlib ncurses"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib ncurses mysql-hosttools"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
sed -i -e "/^PAM_CAP/s:=.*:=no:" Make.Rules
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
make CC=$HOST_CC -C libcap _makenames
|
||||
|
@ -23,10 +23,12 @@
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
make SYSTEM=linux GLEW_DEST=/usr CC=$TARGET_CC
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp -PR lib/* $SYSROOT_PREFIX/usr/lib
|
||||
make GLEW_DEST="/usr" \
|
||||
CC="$CC" \
|
||||
LD="$CC" \
|
||||
AR="$AR" \
|
||||
POPT="$CFLAGS" \
|
||||
LDFLAGS.EXTRA="$LDFLAGS"
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||
cp -PR include/* $SYSROOT_PREFIX/usr/include
|
||||
make GLEW_DEST="$SYSROOT_PREFIX/usr" install
|
||||
|
@ -22,11 +22,5 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/install libX11
|
||||
$SCRIPTS/install libXext
|
||||
$SCRIPTS/install libXi
|
||||
$SCRIPTS/install libXmu
|
||||
$SCRIPTS/install Mesa
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/lib/lib*.so* $INSTALL/usr/lib
|
||||
|
@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="glew"
|
||||
PKG_VERSION="1.5.8"
|
||||
PKG_VERSION="1.6.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
|
@ -1,25 +0,0 @@
|
||||
diff -Naur glew-1.5.2/config/Makefile.linux glew-1.5.2.patch/config/Makefile.linux
|
||||
--- glew-1.5.2/config/Makefile.linux 2009-12-31 18:06:19.000000000 +0100
|
||||
+++ glew-1.5.2.patch/config/Makefile.linux 2010-02-25 17:56:39.061037970 +0100
|
||||
@@ -1,19 +1,13 @@
|
||||
NAME = $(GLEW_NAME)
|
||||
-CC = cc
|
||||
-LD = cc
|
||||
+CC = $(CC)
|
||||
+LD = $(CC)
|
||||
ifneq (undefined, $(origin GLEW_MX))
|
||||
CFLAGS.EXTRA = -DGLEW_MX
|
||||
endif
|
||||
PICFLAG = -fPIC
|
||||
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
||||
M_ARCH ?= $(shell uname -m)
|
||||
-ifeq (x86_64,${M_ARCH})
|
||||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||
-LIBDIR = $(GLEW_DEST)/lib64
|
||||
-else
|
||||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
LIBDIR = $(GLEW_DEST)/lib
|
||||
-endif
|
||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
18
packages/graphics/glew/patches/glew-1.6.0-crosscompile.patch
Normal file
18
packages/graphics/glew/patches/glew-1.6.0-crosscompile.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- glew-1.6.0/config/Makefile.linux.orig 2011-05-07 12:17:35.143944898 -0600
|
||||
+++ glew-1.6.0/config/Makefile.linux 2011-05-07 12:17:59.207718777 -0600
|
||||
@@ -1,15 +1,7 @@
|
||||
NAME = $(GLEW_NAME)
|
||||
-CC = cc
|
||||
-LD = cc
|
||||
PICFLAG = -fPIC
|
||||
M_ARCH ?= $(shell uname -m)
|
||||
-ifeq (x86_64,${M_ARCH})
|
||||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib64
|
||||
-LIBDIR = $(GLEW_DEST)/lib64
|
||||
-else
|
||||
-LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
LIBDIR = $(GLEW_DEST)/lib
|
||||
-endif
|
||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
107576
packages/linux/patches/linux-2.6.39-rc6-041-add_rtl8192se_driver-0.2.patch
Normal file
107576
packages/linux/patches/linux-2.6.39-rc6-041-add_rtl8192se_driver-0.2.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
|
||||
diff -Naur linux-2.6.39-rc6/drivers/ata/libata-core.c linux-2.6.39-rc6.patch/drivers/ata/libata-core.c
|
||||
--- linux-2.6.39-rc6/drivers/ata/libata-core.c 2011-05-04 04:59:13.000000000 +0200
|
||||
+++ linux-2.6.39-rc6.patch/drivers/ata/libata-core.c 2011-05-04 19:59:38.952317088 +0200
|
||||
@@ -4139,6 +4139,7 @@
|
||||
*/
|
||||
{ "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER },
|
||||
{ "PIONEER DVD-RW DVR-212D", "1.28", ATA_HORKAGE_NOSETXFER },
|
||||
+ { "PIONEER DVD-RW DVR-216D", "1.07", ATA_HORKAGE_NOSETXFER },
|
||||
{ "PIONEER DVD-RW DVR-216D", "1.08", ATA_HORKAGE_NOSETXFER },
|
||||
|
||||
/* End Marker */
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,13 @@
|
||||
diff -Naur xbmc-10.1-Dharma/xbmc/Application.cpp xbmc-10.1-Dharma.patch/xbmc/Application.cpp
|
||||
--- xbmc-10.1-Dharma/xbmc/Application.cpp 2011-03-08 02:49:14.000000000 +0100
|
||||
+++ xbmc-10.1-Dharma.patch/xbmc/Application.cpp 2011-05-06 01:41:52.853741840 +0200
|
||||
@@ -2515,8 +2515,8 @@
|
||||
if (!m_pPlayer->IsPaused())
|
||||
{ // unpaused - set the playspeed back to normal
|
||||
SetPlaySpeed(1);
|
||||
+ g_audioManager.Enable(m_pPlayer->IsPaused() && !g_audioContext.IsPassthroughActive());
|
||||
}
|
||||
- g_audioManager.Enable(m_pPlayer->IsPaused() && !g_audioContext.IsPassthroughActive());
|
||||
return true;
|
||||
}
|
||||
if (!m_pPlayer->IsPaused())
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xbmc-10.1-Dharma/xbmc/FileSystem/File.cpp xbmc-10.1-Dharma.patch/xbmc/FileSystem/File.cpp
|
||||
--- xbmc-10.1-Dharma/xbmc/FileSystem/File.cpp 2011-03-08 02:49:14.000000000 +0100
|
||||
+++ xbmc-10.1-Dharma.patch/xbmc/FileSystem/File.cpp 2011-05-04 17:59:12.093724017 +0200
|
||||
@@ -217,7 +217,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- if ( (flags & READ_NO_CACHE) == 0 && CUtil::IsInternetStream(strFileName) && !CUtil::IsPicture(strFileName) )
|
||||
+ if ( (flags & READ_NO_CACHE) == 0 && ( CUtil::IsInternetStream(strFileName) || CUtil::IsOnLAN(strFileName) ) && !CUtil::IsPicture(strFileName) )
|
||||
m_flags |= READ_CACHED;
|
||||
|
||||
CURL url(strFileName);
|
@ -27,6 +27,7 @@ add_group sshd 74
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/* $INSTALL/etc
|
||||
cp $PKG_BUILD/moduli $INSTALL/etc
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/scp $INSTALL/usr/bin/
|
||||
@ -37,3 +38,8 @@ mkdir -p $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/sshd $INSTALL/usr/sbin/
|
||||
|
||||
if [ $SFTP_SERVER = "yes" ]; then
|
||||
mkdir -p $INSTALL/usr/libexec
|
||||
cp $PKG_BUILD/sftp-server $INSTALL/usr/libexec
|
||||
fi
|
||||
|
@ -26,8 +26,8 @@ cd $PKG_BUILD/$1
|
||||
|
||||
cp $ROOT/$PKG_DIR/config/makefile.config .config
|
||||
|
||||
echo "CONFIG_TLS=gnutls" >> .config
|
||||
echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
# echo "CONFIG_TLS=gnutls" >> .config
|
||||
# echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
[ "$DEBUG" = "no" ] && echo "CONFIG_NO_STDOUT_DEBUG=y" >> .config
|
||||
|
||||
make
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://hostap.epitest.fi/wpa_supplicant/"
|
||||
PKG_URL="http://hostap.epitest.fi/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="dbus libnl gnutls"
|
||||
PKG_BUILD_DEPENDS="toolchain dbus libnl gnutls"
|
||||
PKG_DEPENDS="dbus libnl openssl"
|
||||
PKG_BUILD_DEPENDS="toolchain dbus libnl openssl"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network"
|
||||
PKG_SHORTDESC="wpa_supplicant: An IEEE 802.11i supplicant implementation"
|
||||
|
@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="distribute"
|
||||
PKG_VERSION="0.6.15"
|
||||
PKG_VERSION="0.6.16"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
|
@ -0,0 +1,24 @@
|
||||
diff -Naur libgcrypt-1.4.6/cipher/Makefile.am libgcrypt-1.4.6.patch/cipher/Makefile.am
|
||||
--- libgcrypt-1.4.6/cipher/Makefile.am 2009-12-11 16:31:38.000000000 +0100
|
||||
+++ libgcrypt-1.4.6.patch/cipher/Makefile.am 2011-05-08 03:21:56.463021968 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
camellia.c camellia.h camellia-glue.c
|
||||
|
||||
if ENABLE_O_FLAG_MUNGING
|
||||
-o_flag_munging = sed -e 's/-O[2-9s]*/-O1/g'
|
||||
+o_flag_munging = sed -e 's/-O[2-9s]/-O1/g'
|
||||
else
|
||||
o_flag_munging = cat
|
||||
endif
|
||||
diff -Naur libgcrypt-1.4.6/cipher/Makefile.in libgcrypt-1.4.6.patch/cipher/Makefile.in
|
||||
--- libgcrypt-1.4.6/cipher/Makefile.in 2010-07-13 17:42:20.000000000 +0200
|
||||
+++ libgcrypt-1.4.6.patch/cipher/Makefile.in 2011-05-08 03:22:12.059208971 +0200
|
||||
@@ -274,7 +274,7 @@
|
||||
camellia.c camellia.h camellia-glue.c
|
||||
|
||||
@ENABLE_O_FLAG_MUNGING_FALSE@o_flag_munging = cat
|
||||
-@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O[2-9s]*/-O1/g'
|
||||
+@ENABLE_O_FLAG_MUNGING_TRUE@o_flag_munging = sed -e 's/-O[2-9s]/-O1/g'
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="ConsoleKit"
|
||||
PKG_VERSION="0.4.4"
|
||||
PKG_VERSION="0.4.5"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -86,11 +86,23 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
|
||||
}
|
||||
|
||||
show_splash() {
|
||||
if [ ! -e /dev/fb0 ]; then
|
||||
SPLASH=no
|
||||
fi
|
||||
|
||||
if [ -f /flash/oemsplash.png ]; then
|
||||
SPLASHIMAGE="/flash/oemsplash.png"
|
||||
elif [ -f /splash/splash.png ]; then
|
||||
SPLASHIMAGE="/splash/splash.png"
|
||||
else
|
||||
SPLASH=no
|
||||
fi
|
||||
|
||||
if [ "$SPLASH" = "no" ]; then
|
||||
break
|
||||
else
|
||||
if [ -f "/sbin/ply-image" -a -f "/splash/splash.png" ]; then
|
||||
/sbin/ply-image /splash/splash.png
|
||||
if [ -f "/sbin/ply-image" ]; then
|
||||
/sbin/ply-image "$SPLASHIMAGE"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
@ -166,6 +178,8 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
|
||||
mount_disk() {
|
||||
mount_part "$boot" "/flash" "ro,noatime"
|
||||
|
||||
show_splash
|
||||
|
||||
if [ -n "$disk" ]; then
|
||||
mount_part "$disk" "/storage" "rw,noatime"
|
||||
update "Kernel" "$IMAGE_KERNEL" "/flash/$IMAGE_KERNEL"
|
||||
@ -193,8 +207,6 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
|
||||
fi
|
||||
}
|
||||
|
||||
show_splash
|
||||
|
||||
if [ -z "$NETBOOT" ]; then
|
||||
mount_disk
|
||||
else
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Busybox version: 1.18.4
|
||||
# Tue May 3 19:22:30 2011
|
||||
# Fri May 6 21:33:25 2011
|
||||
#
|
||||
CONFIG_HAVE_DOT_CONFIG=y
|
||||
|
||||
@ -163,7 +163,7 @@ CONFIG_XZ=y
|
||||
#
|
||||
# Coreutils
|
||||
#
|
||||
# CONFIG_BASENAME is not set
|
||||
CONFIG_BASENAME=y
|
||||
CONFIG_CAT=y
|
||||
CONFIG_DATE=y
|
||||
CONFIG_FEATURE_DATE_ISOFMT=y
|
||||
@ -242,7 +242,7 @@ CONFIG_PRINTF=y
|
||||
CONFIG_PWD=y
|
||||
CONFIG_READLINK=y
|
||||
CONFIG_FEATURE_READLINK_FOLLOW=y
|
||||
# CONFIG_REALPATH is not set
|
||||
CONFIG_REALPATH=y
|
||||
CONFIG_RM=y
|
||||
CONFIG_RMDIR=y
|
||||
CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y
|
||||
|
27
packages/sysutils/busybox/init.d/10_cdrom
Normal file
27
packages/sysutils/busybox/init.d/10_cdrom
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# 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
|
||||
################################################################################
|
||||
|
||||
#
|
||||
# setup cdrom settings
|
||||
#
|
||||
# runlevels: openelec, installer, textmode
|
||||
|
||||
progress "Setup some CDROM settings"
|
||||
sysctl -w dev.cdrom.lock=0 > /dev/null 2>&1 &
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.busybox.net"
|
||||
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="grep hdparm"
|
||||
PKG_DEPENDS="grep hdparm speedcontrol"
|
||||
PKG_BUILD_DEPENDS="toolchain busybox-hosttools"
|
||||
PKG_PRIORITY="required"
|
||||
PKG_SECTION="system"
|
||||
|
27
packages/sysutils/diskdev_cmds/build
Executable file
27
packages/sysutils/diskdev_cmds/build
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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
|
||||
|
||||
make -f Makefile.lnx CC=$CC
|
32
packages/sysutils/diskdev_cmds/install
Executable file
32
packages/sysutils/diskdev_cmds/install
Executable file
@ -0,0 +1,32 @@
|
||||
#!/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 $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/usr/sbin
|
||||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfs
|
||||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfsplus
|
||||
|
||||
cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/usr/sbin
|
||||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfs
|
||||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfsplus
|
36
packages/sysutils/diskdev_cmds/meta
Normal file
36
packages/sysutils/diskdev_cmds/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="diskdev_cmds"
|
||||
PKG_VERSION="332.14"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="APSL"
|
||||
PKG_SITE="http://src.gnu-darwin.org/DarwinSourceArchive/expanded/diskdev_cmds/"
|
||||
PKG_URL="http://src.gnu-darwin.org/DarwinSourceArchive/apsl/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="diskdev_cmds: hfs filesystem utilities"
|
||||
PKG_LONGDESC="The fsck and mkfs utliities for hfs and hfsplus filesystems."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
--- diskdev_cmds-332.14/Makefile.lnx.bak 2009-07-22 11:58:10.000000000 -0400
|
||||
+++ diskdev_cmds-332.14/Makefile.lnx 2009-07-22 11:57:37.000000000 -0400
|
||||
@@ -1,5 +1,5 @@
|
||||
CC := gcc
|
||||
-CFLAGS := -g3 -Wall -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
|
||||
+CFLAGS += -Wall -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
|
||||
SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj
|
||||
|
||||
all clean:
|
@ -43,7 +43,7 @@
|
||||
|
||||
# sleep another 3sec. to for irserver loading
|
||||
usleep 3000000
|
||||
LCDd -c $LCD_CONFIG -d $LCD_DRIVER > /dev/null 2>&1
|
||||
LCDd -c $LCD_CONFIG -d $LCD_DRIVER -s true > /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
)&
|
||||
|
27
packages/sysutils/speedcontrol/build
Executable file
27
packages/sysutils/speedcontrol/build
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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
|
||||
|
||||
$CC -o $1 $1.c
|
27
packages/sysutils/speedcontrol/init.d/10_cdrom
Normal file
27
packages/sysutils/speedcontrol/init.d/10_cdrom
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# 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
|
||||
################################################################################
|
||||
|
||||
#
|
||||
# setup cdrom settings
|
||||
#
|
||||
# runlevels: openelec, installer, textmode
|
||||
|
||||
progress "Deactivate CDROM lock"
|
||||
sysctl -w dev.cdrom.lock=0 > /dev/null 2>&1 &
|
26
packages/sysutils/speedcontrol/install
Executable file
26
packages/sysutils/speedcontrol/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/bin
|
||||
cp $PKG_BUILD/$1 $INSTALL/usr/bin
|
36
packages/sysutils/speedcontrol/meta
Normal file
36
packages/sysutils/speedcontrol/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="speedcontrol"
|
||||
PKG_VERSION="1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://noto.de"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="speedcontrol: a tool to setup cdrom drive speed"
|
||||
PKG_LONGDESC="speedcontrol is a tool to setup cdrom drive speed"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
136
packages/sysutils/speedcontrol/sources/speedcontrol.c
Normal file
136
packages/sysutils/speedcontrol/sources/speedcontrol.c
Normal file
@ -0,0 +1,136 @@
|
||||
/*
|
||||
* SpeedControl - use SET STREAMING command to set the speed of DVD-drives
|
||||
*
|
||||
*
|
||||
* Copyright (c) 2004 Thomas Fritzsche <tf@noto.de>
|
||||
*
|
||||
* 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 of the License, 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 this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/cdrom.h>
|
||||
|
||||
|
||||
void dump_sense(unsigned char *cdb, struct request_sense *sense)
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("Command failed: ");
|
||||
|
||||
for (i=0; i<12; i++)
|
||||
printf("%02x ", cdb[i]);
|
||||
|
||||
if (sense) {
|
||||
printf(" - sense: %02x.%02x.%02x\n", sense->sense_key, sense->asc,
|
||||
sense->ascq);
|
||||
} else {
|
||||
printf(", no sense\n");
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char *device = "/dev/cdrom";
|
||||
int c,fd;
|
||||
int speed = 0;
|
||||
unsigned long rw_size;
|
||||
|
||||
unsigned char buffer[28];
|
||||
|
||||
struct cdrom_generic_command cgc;
|
||||
struct request_sense sense;
|
||||
extern char * optarg;
|
||||
|
||||
while((c=getopt(argc,argv,"x:"))!=EOF) {
|
||||
switch(c) {
|
||||
case 'x': speed = atoi(optarg); break;
|
||||
default:
|
||||
printf("Usage: speedcontrol [-x speed] [device]");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (argc > optind) device = argv[optind];
|
||||
|
||||
fd = open(device, O_RDONLY | O_NONBLOCK);
|
||||
if (fd < 0) {
|
||||
printf("Can't open device %s\n", device);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
memset(&cgc, 0, sizeof(cgc));
|
||||
memset(&sense, 0, sizeof(sense));
|
||||
memset(&buffer, 0, sizeof(buffer));
|
||||
|
||||
/* SET STREAMING command */
|
||||
cgc.cmd[0] = 0xb6;
|
||||
/* 28 byte parameter list length */
|
||||
cgc.cmd[10] = 28;
|
||||
|
||||
cgc.sense = &sense;
|
||||
cgc.buffer = buffer;
|
||||
cgc.buflen = sizeof(buffer);
|
||||
cgc.data_direction = CGC_DATA_WRITE;
|
||||
cgc.quiet = 1;
|
||||
|
||||
if(speed == 0) {
|
||||
/* set Restore Drive Defaults */
|
||||
buffer[0] = 4;
|
||||
}
|
||||
|
||||
buffer[8] = 0xff;
|
||||
buffer[9] = 0xff;
|
||||
buffer[10] = 0xff;
|
||||
buffer[11] = 0xff;
|
||||
|
||||
rw_size = 177 * speed;
|
||||
|
||||
/* read size */
|
||||
buffer[12] = (rw_size >> 24) & 0xff;
|
||||
buffer[13] = (rw_size >> 16) & 0xff;
|
||||
buffer[14] = (rw_size >> 8) & 0xff;
|
||||
buffer[15] = rw_size & 0xff;
|
||||
|
||||
/* read time 1 sec. */
|
||||
buffer[18] = 0x03;
|
||||
buffer[19] = 0xE8;
|
||||
|
||||
/* write size */
|
||||
buffer[20] = (rw_size >> 24) & 0xff;
|
||||
buffer[21] = (rw_size >> 16) & 0xff;
|
||||
buffer[22] = (rw_size >> 8) & 0xff;
|
||||
buffer[23] = rw_size & 0xff;
|
||||
|
||||
/* write time 1 sec. */
|
||||
buffer[26] = 0x03;
|
||||
buffer[27] = 0xE8;
|
||||
|
||||
if (ioctl(fd, CDROM_SEND_PACKET, &cgc) != 0)
|
||||
if (ioctl(fd, CDROM_SELECT_SPEED, speed) != 0) {
|
||||
dump_sense(cgc.cmd, cgc.sense);
|
||||
printf("ERROR.\n");
|
||||
return -1;
|
||||
}
|
||||
printf("OK...\n");
|
||||
return 0;
|
||||
}
|
||||
|
27
packages/sysutils/speedcontrol/udev.d/61-cdrom.rules
Normal file
27
packages/sysutils/speedcontrol/udev.d/61-cdrom.rules
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# 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
|
||||
################################################################################
|
||||
|
||||
# only do anything on block devices which are not removed
|
||||
ACTION!="add|change", GOTO="cdrom_end"
|
||||
|
||||
# set CDROM speed
|
||||
KERNEL=="sr*", RUN+="/usr/bin/speedcontrol -x8 /dev/%k"
|
||||
|
||||
LABEL="cdrom_end"
|
@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="upower"
|
||||
PKG_VERSION="0.9.9"
|
||||
PKG_VERSION="0.9.10"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -1,137 +0,0 @@
|
||||
diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
|
||||
--- mpfr-3.0.1-a/PATCHES 2011-04-12 10:50:02.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/PATCHES 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+asin_exprange
|
||||
diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
|
||||
--- mpfr-3.0.1-a/VERSION 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/VERSION 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.0.1
|
||||
+3.0.1-p1
|
||||
diff -Naurd mpfr-3.0.1-a/asin.c mpfr-3.0.1-b/asin.c
|
||||
--- mpfr-3.0.1-a/asin.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/asin.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -63,11 +63,14 @@
|
||||
|
||||
compared = mpfr_cmp_ui (xp, 1);
|
||||
|
||||
+ MPFR_SAVE_EXPO_MARK (expo);
|
||||
+
|
||||
if (MPFR_UNLIKELY (compared >= 0))
|
||||
{
|
||||
mpfr_clear (xp);
|
||||
if (compared > 0) /* asin(x) = NaN for |x| > 1 */
|
||||
{
|
||||
+ MPFR_SAVE_EXPO_FREE (expo);
|
||||
MPFR_SET_NAN (asin);
|
||||
MPFR_RET_NAN;
|
||||
}
|
||||
@@ -80,13 +83,11 @@
|
||||
inexact = -mpfr_const_pi (asin, MPFR_INVERT_RND(rnd_mode));
|
||||
MPFR_CHANGE_SIGN (asin);
|
||||
}
|
||||
- mpfr_div_2ui (asin, asin, 1, rnd_mode); /* May underflow */
|
||||
- return inexact;
|
||||
+ mpfr_div_2ui (asin, asin, 1, rnd_mode);
|
||||
}
|
||||
}
|
||||
-
|
||||
- MPFR_SAVE_EXPO_MARK (expo);
|
||||
-
|
||||
+ else
|
||||
+ {
|
||||
/* Compute exponent of 1 - ABS(x) */
|
||||
mpfr_ui_sub (xp, 1, xp, MPFR_RNDD);
|
||||
MPFR_ASSERTD (MPFR_GET_EXP (xp) <= 0);
|
||||
@@ -115,6 +116,7 @@
|
||||
inexact = mpfr_set (asin, xp, rnd_mode);
|
||||
|
||||
mpfr_clear (xp);
|
||||
+ }
|
||||
|
||||
MPFR_SAVE_EXPO_FREE (expo);
|
||||
return mpfr_check_range (asin, inexact, rnd_mode);
|
||||
diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
|
||||
--- mpfr-3.0.1-a/mpfr.h 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/mpfr.h 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 0
|
||||
#define MPFR_VERSION_PATCHLEVEL 1
|
||||
-#define MPFR_VERSION_STRING "3.0.1"
|
||||
+#define MPFR_VERSION_STRING "3.0.1-p1"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.0.1-a/tests/tasin.c mpfr-3.0.1-b/tests/tasin.c
|
||||
--- mpfr-3.0.1-a/tests/tasin.c 2011-04-04 10:19:17.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/tests/tasin.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -219,6 +219,49 @@
|
||||
mpfr_clear (y);
|
||||
}
|
||||
|
||||
+static void
|
||||
+reduced_expo_range (void)
|
||||
+{
|
||||
+ mpfr_exp_t emin, emax;
|
||||
+ mpfr_t x, y, ex_y;
|
||||
+ int inex, ex_inex;
|
||||
+ unsigned int flags, ex_flags;
|
||||
+
|
||||
+ emin = mpfr_get_emin ();
|
||||
+ emax = mpfr_get_emax ();
|
||||
+
|
||||
+ mpfr_inits2 (4, x, y, ex_y, (mpfr_ptr) 0);
|
||||
+ mpfr_set_str (x, "-0.1e1", 2, MPFR_RNDN);
|
||||
+
|
||||
+ mpfr_set_emin (1);
|
||||
+ mpfr_set_emax (1);
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex = mpfr_asin (y, x, MPFR_RNDA);
|
||||
+ flags = __gmpfr_flags;
|
||||
+ mpfr_set_emin (emin);
|
||||
+ mpfr_set_emax (emax);
|
||||
+
|
||||
+ mpfr_set_str (ex_y, "-0.1101e1", 2, MPFR_RNDN);
|
||||
+ ex_inex = -1;
|
||||
+ ex_flags = MPFR_FLAGS_INEXACT;
|
||||
+
|
||||
+ if (SIGN (inex) != ex_inex || flags != ex_flags ||
|
||||
+ ! mpfr_equal_p (y, ex_y))
|
||||
+ {
|
||||
+ printf ("Error in reduced_expo_range\non x = ");
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags);
|
||||
+ printf ("Got y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", SIGN (inex), flags);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+
|
||||
+ mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
@@ -226,6 +269,7 @@
|
||||
|
||||
special ();
|
||||
special_overflow ();
|
||||
+ reduced_expo_range ();
|
||||
|
||||
test_generic (2, 100, 15);
|
||||
|
||||
diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
--- mpfr-3.0.1-a/version.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/version.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.0.1";
|
||||
+ return "3.0.1-p1";
|
||||
}
|
@ -0,0 +1,320 @@
|
||||
diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
|
||||
--- mpfr-3.0.1-a/PATCHES 2011-04-12 10:50:02.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/PATCHES 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+asin_exprange
|
||||
diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
|
||||
--- mpfr-3.0.1-a/VERSION 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/VERSION 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.0.1
|
||||
+3.0.1-p1
|
||||
diff -Naurd mpfr-3.0.1-a/asin.c mpfr-3.0.1-b/asin.c
|
||||
--- mpfr-3.0.1-a/asin.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/asin.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -63,11 +63,14 @@
|
||||
|
||||
compared = mpfr_cmp_ui (xp, 1);
|
||||
|
||||
+ MPFR_SAVE_EXPO_MARK (expo);
|
||||
+
|
||||
if (MPFR_UNLIKELY (compared >= 0))
|
||||
{
|
||||
mpfr_clear (xp);
|
||||
if (compared > 0) /* asin(x) = NaN for |x| > 1 */
|
||||
{
|
||||
+ MPFR_SAVE_EXPO_FREE (expo);
|
||||
MPFR_SET_NAN (asin);
|
||||
MPFR_RET_NAN;
|
||||
}
|
||||
@@ -80,13 +83,11 @@
|
||||
inexact = -mpfr_const_pi (asin, MPFR_INVERT_RND(rnd_mode));
|
||||
MPFR_CHANGE_SIGN (asin);
|
||||
}
|
||||
- mpfr_div_2ui (asin, asin, 1, rnd_mode); /* May underflow */
|
||||
- return inexact;
|
||||
+ mpfr_div_2ui (asin, asin, 1, rnd_mode);
|
||||
}
|
||||
}
|
||||
-
|
||||
- MPFR_SAVE_EXPO_MARK (expo);
|
||||
-
|
||||
+ else
|
||||
+ {
|
||||
/* Compute exponent of 1 - ABS(x) */
|
||||
mpfr_ui_sub (xp, 1, xp, MPFR_RNDD);
|
||||
MPFR_ASSERTD (MPFR_GET_EXP (xp) <= 0);
|
||||
@@ -115,6 +116,7 @@
|
||||
inexact = mpfr_set (asin, xp, rnd_mode);
|
||||
|
||||
mpfr_clear (xp);
|
||||
+ }
|
||||
|
||||
MPFR_SAVE_EXPO_FREE (expo);
|
||||
return mpfr_check_range (asin, inexact, rnd_mode);
|
||||
diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
|
||||
--- mpfr-3.0.1-a/mpfr.h 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/mpfr.h 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 0
|
||||
#define MPFR_VERSION_PATCHLEVEL 1
|
||||
-#define MPFR_VERSION_STRING "3.0.1"
|
||||
+#define MPFR_VERSION_STRING "3.0.1-p1"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.0.1-a/tests/tasin.c mpfr-3.0.1-b/tests/tasin.c
|
||||
--- mpfr-3.0.1-a/tests/tasin.c 2011-04-04 10:19:17.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/tests/tasin.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -219,6 +219,49 @@
|
||||
mpfr_clear (y);
|
||||
}
|
||||
|
||||
+static void
|
||||
+reduced_expo_range (void)
|
||||
+{
|
||||
+ mpfr_exp_t emin, emax;
|
||||
+ mpfr_t x, y, ex_y;
|
||||
+ int inex, ex_inex;
|
||||
+ unsigned int flags, ex_flags;
|
||||
+
|
||||
+ emin = mpfr_get_emin ();
|
||||
+ emax = mpfr_get_emax ();
|
||||
+
|
||||
+ mpfr_inits2 (4, x, y, ex_y, (mpfr_ptr) 0);
|
||||
+ mpfr_set_str (x, "-0.1e1", 2, MPFR_RNDN);
|
||||
+
|
||||
+ mpfr_set_emin (1);
|
||||
+ mpfr_set_emax (1);
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex = mpfr_asin (y, x, MPFR_RNDA);
|
||||
+ flags = __gmpfr_flags;
|
||||
+ mpfr_set_emin (emin);
|
||||
+ mpfr_set_emax (emax);
|
||||
+
|
||||
+ mpfr_set_str (ex_y, "-0.1101e1", 2, MPFR_RNDN);
|
||||
+ ex_inex = -1;
|
||||
+ ex_flags = MPFR_FLAGS_INEXACT;
|
||||
+
|
||||
+ if (SIGN (inex) != ex_inex || flags != ex_flags ||
|
||||
+ ! mpfr_equal_p (y, ex_y))
|
||||
+ {
|
||||
+ printf ("Error in reduced_expo_range\non x = ");
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags);
|
||||
+ printf ("Got y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", SIGN (inex), flags);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+
|
||||
+ mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
@@ -226,6 +269,7 @@
|
||||
|
||||
special ();
|
||||
special_overflow ();
|
||||
+ reduced_expo_range ();
|
||||
|
||||
test_generic (2, 100, 15);
|
||||
|
||||
diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
--- mpfr-3.0.1-a/version.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/version.c 2011-04-12 10:50:02.000000000 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.0.1";
|
||||
+ return "3.0.1-p1";
|
||||
}
|
||||
diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
|
||||
--- mpfr-3.0.1-a/PATCHES 2011-05-04 11:18:33.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/PATCHES 2011-05-04 11:18:33.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+rec_sqrt-carry
|
||||
diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
|
||||
--- mpfr-3.0.1-a/VERSION 2011-04-12 10:50:02.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/VERSION 2011-05-04 11:18:33.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.0.1-p1
|
||||
+3.0.1-p2
|
||||
diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
|
||||
--- mpfr-3.0.1-a/mpfr.h 2011-04-12 10:50:02.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/mpfr.h 2011-05-04 11:18:33.000000000 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 0
|
||||
#define MPFR_VERSION_PATCHLEVEL 1
|
||||
-#define MPFR_VERSION_STRING "3.0.1-p1"
|
||||
+#define MPFR_VERSION_STRING "3.0.1-p2"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.0.1-a/rec_sqrt.c mpfr-3.0.1-b/rec_sqrt.c
|
||||
--- mpfr-3.0.1-a/rec_sqrt.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/rec_sqrt.c 2011-05-04 11:18:33.000000000 +0000
|
||||
@@ -375,20 +375,37 @@
|
||||
MPFR_ASSERTD(un == ln + 1 || un == ln + 2);
|
||||
/* the high un-ln limbs of u will overlap the low part of {x+ln,xn},
|
||||
we need to add or subtract the overlapping part {u + ln, un - ln} */
|
||||
+ /* Warning! th may be 0, in which case the mpn_add_1 and mpn_sub_1
|
||||
+ below (with size = th) mustn't be used. In such a case, the limb
|
||||
+ (carry) will be 0, so that this is semantically a no-op, but if
|
||||
+ mpn_add_1 and mpn_sub_1 are used, GMP (currently) still does a
|
||||
+ non-atomic read/write in a place that is not always allocated,
|
||||
+ with the possible consequences: a crash if the corresponding
|
||||
+ address is not mapped, or (rather unlikely) memory corruption
|
||||
+ if another process/thread writes at the same place; things may
|
||||
+ be worse with future GMP versions. Hence the tests carry != 0. */
|
||||
if (neg == 0)
|
||||
{
|
||||
if (ln > 0)
|
||||
MPN_COPY (x, u, ln);
|
||||
cy = mpn_add (x + ln, x + ln, xn, u + ln, un - ln);
|
||||
/* add cu at x+un */
|
||||
- cy += mpn_add_1 (x + un, x + un, th, cu);
|
||||
+ if (cu != 0)
|
||||
+ {
|
||||
+ MPFR_ASSERTD (th != 0);
|
||||
+ cy += mpn_add_1 (x + un, x + un, th, cu);
|
||||
+ }
|
||||
}
|
||||
else /* negative case */
|
||||
{
|
||||
/* subtract {u+ln, un-ln} from {x+ln,un} */
|
||||
cy = mpn_sub (x + ln, x + ln, xn, u + ln, un - ln);
|
||||
/* carry cy is at x+un, like cu */
|
||||
- cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
|
||||
+ if (cy + cu != 0)
|
||||
+ {
|
||||
+ MPFR_ASSERTD (th != 0);
|
||||
+ cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
|
||||
+ }
|
||||
/* cy cannot be zero, since the most significant bit of Xh is 1,
|
||||
and the correction is bounded by 2^{-h+3} */
|
||||
MPFR_ASSERTD(cy == 0);
|
||||
diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
--- mpfr-3.0.1-a/version.c 2011-04-12 10:50:02.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/version.c 2011-05-04 11:18:33.000000000 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.0.1-p1";
|
||||
+ return "3.0.1-p2";
|
||||
}
|
||||
diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
|
||||
--- mpfr-3.0.1-a/PATCHES 2011-05-05 00:00:35.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/PATCHES 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+atan-expo-range
|
||||
diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
|
||||
--- mpfr-3.0.1-a/VERSION 2011-05-04 11:18:33.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/VERSION 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.0.1-p2
|
||||
+3.0.1-p3
|
||||
diff -Naurd mpfr-3.0.1-a/atan.c mpfr-3.0.1-b/atan.c
|
||||
--- mpfr-3.0.1-a/atan.c 2011-04-04 10:19:18.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/atan.c 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -431,5 +431,5 @@
|
||||
MPFR_GROUP_CLEAR (group);
|
||||
|
||||
MPFR_SAVE_EXPO_FREE (expo);
|
||||
- return mpfr_check_range (arctgt, inexact, rnd_mode);
|
||||
+ return mpfr_check_range (atan, inexact, rnd_mode);
|
||||
}
|
||||
diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
|
||||
--- mpfr-3.0.1-a/mpfr.h 2011-05-04 11:18:33.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/mpfr.h 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 0
|
||||
#define MPFR_VERSION_PATCHLEVEL 1
|
||||
-#define MPFR_VERSION_STRING "3.0.1-p2"
|
||||
+#define MPFR_VERSION_STRING "3.0.1-p3"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.0.1-a/tests/tatan.c mpfr-3.0.1-b/tests/tatan.c
|
||||
--- mpfr-3.0.1-a/tests/tatan.c 2011-04-04 10:19:17.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/tests/tatan.c 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -535,6 +535,52 @@
|
||||
mpfr_clears (a, x, y, (mpfr_ptr) 0);
|
||||
}
|
||||
|
||||
+/* http://websympa.loria.fr/wwsympa/arc/mpfr/2011-05/msg00008.html
|
||||
+ * Incorrect flags (in debug mode on a 32-bit machine, assertion failure).
|
||||
+ */
|
||||
+static void
|
||||
+reduced_expo_range (void)
|
||||
+{
|
||||
+ mpfr_exp_t emin, emax;
|
||||
+ mpfr_t x, y, ex_y;
|
||||
+ int inex, ex_inex;
|
||||
+ unsigned int flags, ex_flags;
|
||||
+
|
||||
+ emin = mpfr_get_emin ();
|
||||
+ emax = mpfr_get_emax ();
|
||||
+
|
||||
+ mpfr_inits2 (12, x, y, ex_y, (mpfr_ptr) 0);
|
||||
+ mpfr_set_str (x, "0.1e-5", 2, MPFR_RNDN);
|
||||
+
|
||||
+ mpfr_set_emin (-5);
|
||||
+ mpfr_set_emax (-5);
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex = mpfr_atan (y, x, MPFR_RNDN);
|
||||
+ flags = __gmpfr_flags;
|
||||
+ mpfr_set_emin (emin);
|
||||
+ mpfr_set_emax (emax);
|
||||
+
|
||||
+ mpfr_set_str (ex_y, "0.1e-5", 2, MPFR_RNDN);
|
||||
+ ex_inex = 1;
|
||||
+ ex_flags = MPFR_FLAGS_INEXACT;
|
||||
+
|
||||
+ if (SIGN (inex) != ex_inex || flags != ex_flags ||
|
||||
+ ! mpfr_equal_p (y, ex_y))
|
||||
+ {
|
||||
+ printf ("Error in reduced_expo_range\non x = ");
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags);
|
||||
+ printf ("Got y = ");
|
||||
+ mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
|
||||
+ printf ("\n inex = %d, flags = %u\n", SIGN (inex), flags);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+
|
||||
+ mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
@@ -546,6 +592,7 @@
|
||||
smallvals_atan2 ();
|
||||
atan2_bug_20071003 ();
|
||||
atan2_different_prec ();
|
||||
+ reduced_expo_range ();
|
||||
|
||||
test_generic_atan (2, 200, 17);
|
||||
test_generic_atan2 (2, 200, 17);
|
||||
diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
|
||||
--- mpfr-3.0.1-a/version.c 2011-05-04 11:18:33.000000000 +0000
|
||||
+++ mpfr-3.0.1-b/version.c 2011-05-05 00:00:35.000000000 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.0.1-p2";
|
||||
+ return "3.0.1-p3";
|
||||
}
|
@ -19,7 +19,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="pixman"
|
||||
PKG_VERSION="0.21.8"
|
||||
PKG_VERSION="0.22.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/i386 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/i386 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_X86_32=y
|
||||
@ -968,10 +968,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
# CONFIG_B43 is not set
|
||||
# CONFIG_B43LEGACY is not set
|
||||
@ -1001,12 +1001,12 @@ CONFIG_RT2800USB=m
|
||||
CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
# CONFIG_RTL8192CE is not set
|
||||
# CONFIG_RTL8192SE is not set
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1014,6 +1014,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -121,9 +121,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="rtl8192se"
|
||||
# e.g. ADDITIONAL_DRIVERS="bcm_sta"
|
||||
ADDITIONAL_DRIVERS="bcm_sta"
|
||||
|
||||
# build with network support (yes / no)
|
||||
@ -141,6 +140,9 @@
|
||||
# build and install Samba Server (yes / no)
|
||||
SAMBA_SERVER="yes"
|
||||
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install some tools for including in release (yes / no)
|
||||
# some of this tools are: htop, nano, wgetpaste
|
||||
TOOLS="yes"
|
||||
@ -156,6 +158,9 @@
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="yes"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="yes"
|
||||
|
||||
# build and install Apple device mount support (via ifuse) (yes / no)
|
||||
APPLEMOUNT="yes"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/i386 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/i386 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_X86_32=y
|
||||
@ -1074,10 +1074,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
CONFIG_B43=m
|
||||
CONFIG_B43_PCI_AUTOSELECT=y
|
||||
@ -1152,12 +1152,12 @@ CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_PCI=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
CONFIG_RTL8192CE=m
|
||||
CONFIG_RTL8192SE=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1165,6 +1165,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -121,10 +121,9 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="rtl8192se"
|
||||
ADDITIONAL_DRIVERS="rtl8192se"
|
||||
# e.g. ADDITIONAL_DRIVERS="bcm_sta"
|
||||
ADDITIONAL_DRIVERS=""
|
||||
|
||||
# build with network support (yes / no)
|
||||
NETWORK="yes"
|
||||
@ -141,6 +140,9 @@
|
||||
# build and install Samba Server (yes / no)
|
||||
SAMBA_SERVER="yes"
|
||||
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install some tools for including in release (yes / no)
|
||||
# some of this tools are: htop, nano, wgetpaste
|
||||
TOOLS="yes"
|
||||
@ -156,6 +158,9 @@
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="yes"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="no"
|
||||
|
||||
# build and install Apple device mount support (via ifuse) (yes / no)
|
||||
APPLEMOUNT="yes"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/i386 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/i386 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_X86_32=y
|
||||
@ -1029,10 +1029,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
# CONFIG_B43 is not set
|
||||
# CONFIG_B43LEGACY is not set
|
||||
@ -1067,12 +1067,12 @@ CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_PCI=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
# CONFIG_RTL8192CE is not set
|
||||
CONFIG_RTL8192SE=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1080,6 +1080,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/x86_64 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/x86_64 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
CONFIG_64BIT=y
|
||||
# CONFIG_X86_32 is not set
|
||||
@ -978,10 +978,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
# CONFIG_B43 is not set
|
||||
# CONFIG_B43LEGACY is not set
|
||||
@ -1016,12 +1016,12 @@ CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_PCI=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
# CONFIG_RTL8192CE is not set
|
||||
CONFIG_RTL8192SE=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1029,6 +1029,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -121,10 +121,9 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="rtl8192se"
|
||||
ADDITIONAL_DRIVERS="rtl8192se"
|
||||
# e.g. ADDITIONAL_DRIVERS="bcm_sta"
|
||||
ADDITIONAL_DRIVERS=""
|
||||
|
||||
# build with network support (yes / no)
|
||||
NETWORK="yes"
|
||||
@ -141,6 +140,9 @@
|
||||
# build and install Samba Server (yes / no)
|
||||
SAMBA_SERVER="yes"
|
||||
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install some tools for including in release (yes / no)
|
||||
# some of this tools are: htop, nano, wgetpaste
|
||||
TOOLS="yes"
|
||||
@ -156,6 +158,9 @@
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="yes"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="no"
|
||||
|
||||
# build and install Apple device mount support (via ifuse) (yes / no)
|
||||
APPLEMOUNT="yes"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/i386 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/i386 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_X86_32=y
|
||||
@ -993,10 +993,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
# CONFIG_B43 is not set
|
||||
# CONFIG_B43LEGACY is not set
|
||||
@ -1043,12 +1043,12 @@ CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_PCI=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
# CONFIG_RTL8192CE is not set
|
||||
CONFIG_RTL8192SE=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1056,6 +1056,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux/x86_64 2.6.39-rc5-git4 Kernel Configuration
|
||||
# Linux/x86_64 2.6.39-rc6 Kernel Configuration
|
||||
#
|
||||
CONFIG_64BIT=y
|
||||
# CONFIG_X86_32 is not set
|
||||
@ -943,10 +943,10 @@ CONFIG_ATH5K_PCI=y
|
||||
CONFIG_ATH9K_HW=m
|
||||
CONFIG_ATH9K_COMMON=m
|
||||
CONFIG_ATH9K=m
|
||||
CONFIG_ATH9K_PCI=y
|
||||
# CONFIG_ATH9K_AHB is not set
|
||||
CONFIG_ATH9K_RATE_CONTROL=y
|
||||
CONFIG_ATH9K_HTC=m
|
||||
CONFIG_AR9170_USB=m
|
||||
CONFIG_AR9170_LEDS=y
|
||||
# CONFIG_CARL9170 is not set
|
||||
# CONFIG_B43 is not set
|
||||
# CONFIG_B43LEGACY is not set
|
||||
@ -993,12 +993,12 @@ CONFIG_RT2800_LIB=m
|
||||
CONFIG_RT2X00_LIB_PCI=m
|
||||
CONFIG_RT2X00_LIB_USB=m
|
||||
CONFIG_RT2X00_LIB=m
|
||||
CONFIG_RT2X00_LIB_HT=y
|
||||
CONFIG_RT2X00_LIB_FIRMWARE=y
|
||||
CONFIG_RT2X00_LIB_CRYPTO=y
|
||||
CONFIG_RT2X00_LIB_LEDS=y
|
||||
# CONFIG_RT2X00_DEBUG is not set
|
||||
# CONFIG_RTL8192CE is not set
|
||||
CONFIG_RTL8192SE=m
|
||||
CONFIG_RTL8192CU=m
|
||||
CONFIG_RTLWIFI=m
|
||||
CONFIG_RTL8192C_COMMON=m
|
||||
@ -1006,6 +1006,7 @@ CONFIG_RTL8192C_COMMON=m
|
||||
# CONFIG_WL12XX_MENU is not set
|
||||
CONFIG_ZD1211RW=m
|
||||
# CONFIG_ZD1211RW_DEBUG is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
@ -121,10 +121,9 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# bcm_sta: Broadcom STA WLAN Driver
|
||||
# rtl8192se: Realtek RTL8192SE WLAN driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="rtl8192se"
|
||||
ADDITIONAL_DRIVERS="rtl8192se"
|
||||
# e.g. ADDITIONAL_DRIVERS="bcm_sta"
|
||||
ADDITIONAL_DRIVERS=""
|
||||
|
||||
# build with network support (yes / no)
|
||||
NETWORK="yes"
|
||||
@ -141,6 +140,9 @@
|
||||
# build and install Samba Server (yes / no)
|
||||
SAMBA_SERVER="yes"
|
||||
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="yes"
|
||||
|
||||
# build and install some tools for including in release (yes / no)
|
||||
# some of this tools are: htop, nano, wgetpaste
|
||||
TOOLS="yes"
|
||||
@ -156,6 +158,9 @@
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="yes"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="no"
|
||||
|
||||
# build and install Apple device mount support (via ifuse) (yes / no)
|
||||
APPLEMOUNT="yes"
|
||||
|
||||
|
@ -112,6 +112,9 @@ mkdir -p $INSTALL
|
||||
# NTFS 3G support
|
||||
[ "$NTFS3G" = "yes" ] && $SCRIPTS/install ntfs-3g_ntfsprogs
|
||||
|
||||
# hfs utils support
|
||||
[ "$HFSTOOLS" = "yes" ] && $SCRIPTS/install diskdev_cmds
|
||||
|
||||
# Apple mount (ifuse) support
|
||||
[ "$APPLEMOUNT" = "yes" ] && $SCRIPTS/install ifuse
|
||||
|
||||
|
@ -64,8 +64,8 @@ if [ -n "$PKG_URL" ]; then
|
||||
fi
|
||||
|
||||
if [ -d "$PKG_DIR/sources" ]; then
|
||||
[ ! -d "$BUILD/$1*" ] && mkdir -p $BUILD/$1
|
||||
cp -PRf $PKG_DIR/sources/* $BUILD/$1*/
|
||||
[ ! -d "$BUILD/${PKG_NAME}-${PKG_VERSION}" ] && mkdir -p $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
fi
|
||||
|
||||
[ -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user