[main] Fixing more `SPECS-EXTENDED` packages (`lasso` fixed, few removals). (#2387)
* Removing 'hfsplus-tools'. * Removing 'mksh'. * Removing 'openrdate'. * Removing 'ksh'. * Fixing 'lasso'.
This commit is contained in:
Родитель
447901a47c
Коммит
25e014af28
|
@ -1,367 +0,0 @@
|
|||
APPLE 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.
|
||||
|
||||
1. General; Definitions. This License applies to any program or other
|
||||
work which Apple Computer, 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", "Apple Computer", "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 exige que le present contrat et tous les documents
|
||||
connexes soient rediges en anglais.
|
||||
|
||||
EXHIBIT A.
|
||||
|
||||
"Portions Copyright (c) 1999-2003 Apple Computer, 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."
|
|
@ -1,120 +0,0 @@
|
|||
diff -up diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c.jx diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c
|
||||
--- diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c.jx 2012-02-01 12:17:19.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c 2014-06-18 13:44:45.125620007 -0400
|
||||
@@ -296,11 +296,8 @@ static volatile int keep_going = 1;
|
||||
#undef printf
|
||||
|
||||
// prototype
|
||||
-void print_to_mem(int type, const char *fmt, const char *str, va_list ap);
|
||||
-
|
||||
-#define DO_VPRINT 1 // types for print_to_mem
|
||||
-#define DO_STR 2
|
||||
-
|
||||
+void vprint_to_mem(const char *fmt, va_list ap);
|
||||
+void print_to_mem(const char *fmt, ...);
|
||||
|
||||
static void *
|
||||
fsck_printing_thread(void *arg)
|
||||
@@ -547,8 +544,8 @@ setup_logging(void)
|
||||
cur_in_mem = in_mem_log;
|
||||
|
||||
t = time(NULL);
|
||||
- print_to_mem(DO_STR, "\n%s: ", cdevname ? cdevname : "UNKNOWN-DEV", NULL);
|
||||
- print_to_mem(DO_STR, "fsck_hfs run at %s", ctime(&t), NULL);
|
||||
+ print_to_mem("\n%s: ", cdevname ? cdevname : "UNKNOWN-DEV");
|
||||
+ print_to_mem("fsck_hfs run at %s", ctime(&t));
|
||||
|
||||
if (live_fsck && log_file) {
|
||||
pthread_cond_init(&mem_buf_cond, NULL);
|
||||
@@ -576,26 +573,20 @@ setup_logging(void)
|
||||
|
||||
|
||||
void
|
||||
-print_to_mem(int type, const char *fmt, const char *str, va_list ap)
|
||||
+vprint_to_mem(const char *fmt, va_list ap)
|
||||
{
|
||||
int ret;
|
||||
size_t size_remaining;
|
||||
va_list ap_copy;
|
||||
|
||||
- if (type == DO_VPRINT) {
|
||||
- va_copy(ap_copy, ap);
|
||||
- }
|
||||
+ va_copy(ap_copy, ap);
|
||||
|
||||
if (live_fsck) {
|
||||
pthread_mutex_lock(&mem_buf_lock);
|
||||
}
|
||||
|
||||
size_remaining = in_mem_size - (ptrdiff_t)(cur_in_mem - in_mem_log);
|
||||
- if (type == DO_VPRINT) {
|
||||
- ret = vsnprintf(cur_in_mem, size_remaining, fmt, ap);
|
||||
- } else {
|
||||
- ret = snprintf(cur_in_mem, size_remaining, fmt, str);
|
||||
- }
|
||||
+ ret = vsnprintf(cur_in_mem, size_remaining, fmt, ap);
|
||||
if (ret > size_remaining) {
|
||||
char *new_log;
|
||||
size_t amt;
|
||||
@@ -619,11 +610,7 @@ print_to_mem(int type, const char *fmt,
|
||||
cur_in_mem = new_log + (cur_in_mem - in_mem_log);
|
||||
in_mem_log = new_log;
|
||||
size_remaining = in_mem_size - (ptrdiff_t)(cur_in_mem - new_log);
|
||||
- if (type == DO_VPRINT) {
|
||||
- ret = vsnprintf(cur_in_mem, size_remaining, fmt, ap_copy);
|
||||
- } else {
|
||||
- ret = snprintf(cur_in_mem, size_remaining, fmt, str);
|
||||
- }
|
||||
+ ret = vsnprintf(cur_in_mem, size_remaining, fmt, ap_copy);
|
||||
if (ret <= size_remaining) {
|
||||
cur_in_mem += ret;
|
||||
}
|
||||
@@ -636,11 +623,18 @@ print_to_mem(int type, const char *fmt,
|
||||
pthread_mutex_unlock(&mem_buf_lock);
|
||||
}
|
||||
done:
|
||||
- if (type == DO_VPRINT) {
|
||||
- va_end(ap_copy);
|
||||
- }
|
||||
+ va_end(ap_copy);
|
||||
}
|
||||
|
||||
+void
|
||||
+print_to_mem(const char *fmt, ...)
|
||||
+{
|
||||
+ va_list ap;
|
||||
+
|
||||
+ va_start(ap, fmt);
|
||||
+ vprint_to_mem(fmt, ap);
|
||||
+ va_end(ap);
|
||||
+}
|
||||
|
||||
static int need_prefix=1;
|
||||
|
||||
@@ -662,7 +656,7 @@ static int need_prefix=1;
|
||||
LOG_PREFIX \
|
||||
vfprintf(log_file, fmt, ap); \
|
||||
} else { \
|
||||
- print_to_mem(DO_VPRINT, fmt, NULL, ap); \
|
||||
+ vprint_to_mem(fmt, ap); \
|
||||
}
|
||||
|
||||
#define FLOG(fmt, str) \
|
||||
@@ -670,7 +664,7 @@ static int need_prefix=1;
|
||||
LOG_PREFIX; \
|
||||
fprintf(log_file, fmt, str); \
|
||||
} else { \
|
||||
- print_to_mem(DO_STR, fmt, str, NULL); \
|
||||
+ print_to_mem(fmt, str); \
|
||||
}
|
||||
|
||||
|
||||
@@ -800,7 +794,7 @@ vplog(const char *fmt, va_list ap)
|
||||
LOG_PREFIX;
|
||||
vfprintf(log_file, fmt, ap);
|
||||
} else {
|
||||
- print_to_mem(DO_VPRINT, fmt, NULL, ap);
|
||||
+ vprint_to_mem(fmt, ap);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,147 +0,0 @@
|
|||
diff -up diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c.jx diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c
|
||||
--- diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c.jx 2012-02-02 17:16:56.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c 2014-06-18 13:01:42.716781467 -0400
|
||||
@@ -200,6 +200,22 @@ isMinorError(int msg, int *counts)
|
||||
}
|
||||
}
|
||||
|
||||
+static int *msgCounts = NULL;
|
||||
+static jmp_buf envBuf;
|
||||
+
|
||||
+static fsck_block_status_t
|
||||
+fsckAfterCallback(fsck_ctx_t c, int msgNum, va_list args)
|
||||
+{
|
||||
+ if (abs(msgNum) > E_FirstError && abs(msgNum) < E_LastError) {
|
||||
+ if (isMinorError(abs(msgNum), msgCounts) == 1)
|
||||
+ return fsckBlockContinue;
|
||||
+ longjmp(envBuf, 1);
|
||||
+ return fsckBlockAbort;
|
||||
+ } else {
|
||||
+ return fsckBlockContinue;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
/*------------------------------------------------------------------------------
|
||||
|
||||
External
|
||||
@@ -207,7 +223,6 @@ External
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
-static jmp_buf envBuf;
|
||||
int
|
||||
CheckHFS( const char *rdevnode, int fsReadRef, int fsWriteRef, int checkLevel,
|
||||
int repairLevel, fsck_ctx_t fsckContext, int lostAndFoundMode,
|
||||
@@ -222,7 +237,6 @@ CheckHFS( const char *rdevnode, int fsRe
|
||||
int isJournaled = 0;
|
||||
Boolean autoRepair;
|
||||
Boolean exitEarly = 0;
|
||||
- __block int *msgCounts = NULL;
|
||||
Boolean majorErrors = 0;
|
||||
|
||||
if (checkLevel == kMajorCheck) {
|
||||
@@ -292,16 +306,7 @@ CheckHFS( const char *rdevnode, int fsRe
|
||||
* the message in question corresponds to a major or a minor error. If it's
|
||||
* major, we longjmp just above, which causes us to exit out early.
|
||||
*/
|
||||
- fsckSetBlock(fsckContext, fsckPhaseAfterMessage, (fsckBlock_t) ^(fsck_ctx_t c, int msgNum, va_list args) {
|
||||
- if (abs(msgNum) > E_FirstError && abs(msgNum) < E_LastError) {
|
||||
- if (isMinorError(abs(msgNum), msgCounts) == 1)
|
||||
- return fsckBlockContinue;
|
||||
- longjmp(envBuf, 1);
|
||||
- return fsckBlockAbort;
|
||||
- } else {
|
||||
- return fsckBlockContinue;
|
||||
- }
|
||||
- });
|
||||
+ fsckSetBlock(fsckContext, fsckPhaseAfterMessage, fsckAfterCallback);
|
||||
}
|
||||
}
|
||||
DoAgain:
|
||||
diff -up diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c.jx diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c
|
||||
--- diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c.jx 2012-02-02 17:42:58.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c 2014-06-18 12:57:01.110952333 -0400
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
-#include <Block.h>
|
||||
|
||||
#include "fsck_messages.h"
|
||||
#include "fsck_keys.h"
|
||||
@@ -287,20 +286,10 @@ fsckSetBlock(fsck_ctx_t c, fsck_block_ph
|
||||
if (c != NULL) {
|
||||
switch (phase) {
|
||||
case fsckPhaseBeforeMessage:
|
||||
- if (ctx->preMessage) {
|
||||
- Block_release(ctx->preMessage);
|
||||
- ctx->preMessage = NULL;
|
||||
- }
|
||||
- if (bp)
|
||||
- ctx->preMessage = (fsckBlock_t)Block_copy(bp);
|
||||
+ ctx->preMessage = bp;
|
||||
break;
|
||||
case fsckPhaseAfterMessage:
|
||||
- if (ctx->postMessage) {
|
||||
- Block_release(ctx->postMessage);
|
||||
- ctx->postMessage = NULL;
|
||||
- }
|
||||
- if (bp)
|
||||
- ctx->postMessage = (fsckBlock_t)Block_copy(bp);
|
||||
+ ctx->postMessage = bp;
|
||||
break;
|
||||
case fsckPhaseNone:
|
||||
/* Just here for compiler warnings */
|
||||
@@ -591,12 +580,6 @@ fsckDestroy(fsck_ctx_t c)
|
||||
if (ctx->flags & cfFromFD) {
|
||||
fclose(ctx->fp);
|
||||
}
|
||||
- if (ctx->preMessage) {
|
||||
- Block_release(ctx->preMessage);
|
||||
- }
|
||||
- if (ctx->postMessage) {
|
||||
- Block_release(ctx->postMessage);
|
||||
- }
|
||||
|
||||
free(ctx);
|
||||
return;
|
||||
diff -up diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.h.jx diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.h
|
||||
--- diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.h.jx 2012-02-02 17:54:40.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.h 2014-06-18 12:31:48.602094998 -0400
|
||||
@@ -139,7 +139,7 @@ typedef enum fsck_block_phase_type fsck_
|
||||
* the third is a va_list of the arguments for the message.
|
||||
*/
|
||||
|
||||
-typedef fsck_block_status_t (^fsckBlock_t)(fsck_ctx_t, int, va_list);
|
||||
+typedef fsck_block_status_t (*fsckBlock_t)(fsck_ctx_t, int, va_list);
|
||||
|
||||
extern fsckBlock_t fsckGetBlock(fsck_ctx_t, fsck_block_phase_t);
|
||||
extern void fsckSetBlock(fsck_ctx_t, fsck_block_phase_t, fsckBlock_t);
|
||||
diff -up diskdev_cmds-540.1.linux3/fsck_hfs.tproj/Makefile.lnx.jx diskdev_cmds-540.1.linux3/fsck_hfs.tproj/Makefile.lnx
|
||||
--- diskdev_cmds-540.1.linux3/fsck_hfs.tproj/Makefile.lnx.jx 2012-02-03 11:25:21.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/fsck_hfs.tproj/Makefile.lnx 2014-06-18 12:52:03.146015370 -0400
|
||||
@@ -4,7 +4,7 @@ OFILES = $(CFILES:.c=.o)
|
||||
all: fsck_hfs
|
||||
|
||||
fsck_hfs: $(OFILES) dfalib/libdfa.a
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) $(OFILES) dfalib/libdfa.a -o fsck_hfs -lBlocksRunTime -lpthread
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OFILES) dfalib/libdfa.a -o fsck_hfs -lpthread
|
||||
|
||||
dfalib/libdfa.a: FORCE
|
||||
$(MAKE) -C dfalib -f Makefile.lnx libdfa.a
|
||||
diff -up diskdev_cmds-540.1.linux3/Makefile.jx diskdev_cmds-540.1.linux3/Makefile
|
||||
--- diskdev_cmds-540.1.linux3/Makefile.jx 2012-02-16 15:00:18.000000000 -0500
|
||||
+++ diskdev_cmds-540.1.linux3/Makefile 2014-06-18 12:42:59.015463500 -0400
|
||||
@@ -1,9 +1,8 @@
|
||||
VERSION=540.1.linux3
|
||||
|
||||
-CC := clang
|
||||
-CFLAGS := -g3 -Wall -fblocks -I$(PWD)/BlocksRunTime -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"$(VERSION)\"
|
||||
-LDFLAGS := -Wl,--build-id -L$(PWD)/BlocksRunTime
|
||||
-SUBDIRS := BlocksRunTime newfs_hfs.tproj fsck_hfs.tproj
|
||||
+CFLAGS += -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"$(VERSION)\"
|
||||
+LDFLAGS := -Wl,--build-id
|
||||
+SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj
|
||||
|
||||
all clean:
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d -f Makefile.lnx $@; done
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"apsl-2.0.txt": "e5881019d8766c1e88a5fe1dbca4ba40c78011d41fcb18f6e9f50df60182685b",
|
||||
"diskdev_cmds-540.1.linux3.tar.gz": "b01b203a97f9a3bf36a027c13ddfc59292730552e62722d690d33bd5c24f5497"
|
||||
}
|
||||
}
|
|
@ -1,220 +0,0 @@
|
|||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Name: hfsplus-tools
|
||||
Version: 540.1.linux3
|
||||
Release: 20%{?dist}
|
||||
Summary: Tools to create/check Apple HFS+ filesystems
|
||||
|
||||
License: APSL 2.0
|
||||
URL: http://gentoo-wiki.com/HOWTO_hfsplus
|
||||
|
||||
Source0: http://cavan.codon.org.uk/~mjg59/diskdev_cmds/diskdev_cmds-%{version}.tar.gz
|
||||
Patch0: hfsplus-tools-no-blocks.patch
|
||||
Patch1: hfsplus-tools-learn-to-stdarg.patch
|
||||
|
||||
Source100: http://www.opensource.org/licenses/apsl-2.0.txt
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libuuid-devel
|
||||
|
||||
# those tools are outdated, given the rebuilt mkfs/fsck.hfsplus in this
|
||||
# package. However, I don't want to Obsolete that package yet, as some people
|
||||
# may have a valid use for it on their systems.
|
||||
Conflicts: hfsplusutils
|
||||
|
||||
# we want this to end up with the other mkfs.*'s, in /sbin
|
||||
%define _exec_prefix /
|
||||
|
||||
|
||||
%description
|
||||
HFS+, HFS Plus, or Mac OS Extended are names for a file system developed by
|
||||
Apple Computer to replace their Hierarchical File System (HFS). In addition to
|
||||
being the default file system on modern Apple computers, HFS+ is one of two
|
||||
formats, FAT being the other, that are supported by the iPod hard-disk based
|
||||
music player. Unlike FAT, HFS+ supports UNIX style file permissions, which
|
||||
makes it useful, for serving and sharing files in a secured manner. As Apple
|
||||
Computer's devices and systems become increasingly ubiquitous, it becomes
|
||||
important that Linux fully support this format. This package provides tools
|
||||
to create and check HFS+ filesystems under Linux.
|
||||
|
||||
The Linux kernel does not support writing to HFS+ journals, writing to a
|
||||
hfsplus partition is recommended only after disabling journaling; however, the
|
||||
kernel, as of version 2.6.16, supports case-sensitivity (also known as HFSX)
|
||||
commit.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n hfsplus-mkfs-%{version} -n diskdev_cmds-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# remove errant execute bits
|
||||
find . -type f -name '*.[ch]' -exec chmod -c -x {} +
|
||||
|
||||
# make life easier on doc
|
||||
cp %{SOURCE100} .
|
||||
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} -f Makefile
|
||||
|
||||
|
||||
%install
|
||||
# the actual install...
|
||||
mkdir -p %{buildroot}/%{_sbindir}
|
||||
cp newfs_hfs.tproj/newfs_hfs %{buildroot}/%{_sbindir}/mkfs.hfsplus
|
||||
cp fsck_hfs.tproj/fsck_hfs %{buildroot}/%{_sbindir}/fsck.hfsplus
|
||||
|
||||
# man pages -- a mildly non-invasive name change is in order
|
||||
mkdir -p %{buildroot}/%{_mandir}/man8
|
||||
cat fsck_hfs.tproj/fsck_hfs.8 | sed -e 's/[F|f]sck_hfs/fsck.hfsplus/g' \
|
||||
> %{buildroot}/%{_mandir}/man8/fsck.hfsplus.8
|
||||
cat newfs_hfs.tproj/newfs_hfs.8 | sed -e 's/[N|n]ewfs_hfs/mkfs.hfsplus/g' \
|
||||
> %{buildroot}/%{_mandir}/man8/mkfs.hfsplus.8
|
||||
|
||||
# and a utility symlink...
|
||||
cd %{buildroot}/%{_sbindir}
|
||||
ln -s fsck.hfsplus fsck.hfs
|
||||
cd %{buildroot}/%{_mandir}/man8
|
||||
ln -s fsck.hfsplus.8 fsck.hfs.8
|
||||
|
||||
|
||||
%files
|
||||
%license apsl-2.0.txt
|
||||
%{_sbindir}/mkfs.hfsplus
|
||||
%{_sbindir}/fsck.hfsplus
|
||||
%{_sbindir}/fsck.hfs
|
||||
%{_mandir}/man8/mkfs.hfsplus.8.gz
|
||||
%{_mandir}/man8/fsck.hfsplus.8.gz
|
||||
%{_mandir}/man8/fsck.hfs.8.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 540.1.linux3-20
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 540.1.linux3-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Wed Jun 18 2014 Adam Jackson <ajax@redhat.com> 540.1.linux3-8
|
||||
- Remove asinine blocks usage so we don't need clang, build with gcc, and
|
||||
remove ExcludeArchery to match
|
||||
- Fix FTBFS on arm due to a... fascinating interpretation of how varargs work
|
||||
|
||||
* Tue Jun 10 2014 Richard W.M. Jones <rjones@redhat.com> - 540.1.linux3-7
|
||||
- ExcludeArch arm because clang doesn't select the correct float ABI.
|
||||
- Remove unnecessary cruft not required by modern RPM.
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jun 12 2013 Dan Horák <dan[at]danny.cz> - 540.1.linux3-4
|
||||
- exclude ppc and s390, no working clang there
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 540.1.linux3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Feb 16 2012 Matthew Garrett <mjg@redhat.com> 540.1.linux3-1
|
||||
- update to new upstream
|
||||
|
||||
* Fri Feb 03 2012 Matthew Garrett <mjg@redhat.com> 540.1.linux2-1
|
||||
- update to new upstream
|
||||
|
||||
* Fri Feb 03 2012 Matthew Garrett <mjg@redhat.com> 540.1.linux1-1
|
||||
- update to new upstream
|
||||
- No longer provides mkfs.hfs - use hfsutils instead
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 332.14-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Nov 19 2011 Matthew Garrett <mjg@redhat,com> 332.14-13
|
||||
- hfsplus-tools-332.14-fix-uuid.patch: Fix UUID generation
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 332.14-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 332.14 -11
|
||||
- hfsplus-tools-332.14-add-needed.patch: Fix FTBFS from --no-add-needed
|
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 332.14-11
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 332.14-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 332.14-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 332.14-8
|
||||
- rebuild with new openssl
|
||||
|
||||
* Wed Sep 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 332.14-7
|
||||
- RH Legal was kind enough to point out what I had overlooked, the clause in the APSL
|
||||
which permits "any subsequent version of this License published by Apple".
|
||||
- Fixed license tag
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 332.14-6
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 332.14-5
|
||||
- bump, minor spec fixes
|
||||
|
||||
* Tue Nov 21 2006 Chris Weyl <cweyl@alumni.drew.edu> 332.14-4
|
||||
- include hfsbootdata (BZ#213365)
|
||||
|
||||
* Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 332.14-3
|
||||
- bump for mass rebuild
|
||||
|
||||
* Fri Aug 18 2006 Chris Weyl <cweyl@alumni.drew.edu> 332.14-2
|
||||
- bump
|
||||
|
||||
* Wed Jul 26 2006 Chris Weyl <cweyl@alumni.drew.edu> 332.14-1
|
||||
- update to 332.14
|
||||
|
||||
* Thu Jul 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 332.11-1
|
||||
- add manpages
|
||||
- add a copy of the license
|
||||
- tweak makefiles to build with our CFLAG optimizations, not those hippy
|
||||
optimizations gentoo uses ;)
|
||||
|
||||
* Tue Jul 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 332.11-0
|
||||
- Build process snagged from Gentoo. Thanks, guys :)
|
||||
- Initial spec file for F-E
|
|
@ -1,12 +0,0 @@
|
|||
# .kshrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/kshrc ]; then
|
||||
. /etc/kshrc
|
||||
fi
|
||||
|
||||
# use emacs editing mode by default
|
||||
set -o emacs
|
||||
|
||||
# User specific aliases and functions
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
diff --git a/src/cmd/ksh93/sh/arith.c b/src/cmd/ksh93/sh/arith.c
|
||||
--- a/src/cmd/ksh93/sh/arith.c
|
||||
+++ b/src/cmd/ksh93/sh/arith.c
|
||||
@@ -567,19 +567,32 @@ Sfdouble_t sh_strnum(Shell_t *shp, const char *str, char **ptr, int mode) {
|
||||
char *last;
|
||||
|
||||
if (*str == 0) {
|
||||
- if (ptr) *ptr = (char *)str;
|
||||
- return 0;
|
||||
- }
|
||||
- errno = 0;
|
||||
- d = number(str, &last, shp->inarith ? 0 : 10, NULL);
|
||||
- if (*last) {
|
||||
- if (*last != '.' || last[1] != '.') {
|
||||
- d = strval(shp, str, &last, arith, mode);
|
||||
- Varsubscript = true;
|
||||
+ d = 0.0;
|
||||
+ last = (char *)str;
|
||||
+ } else {
|
||||
+ d = number(str, &last, shp->inarith ? 0 : 10, NULL);
|
||||
+ if (*last && !shp->inarith && sh_isstate(shp, SH_INIT)) {
|
||||
+ // This call is to handle "base#value" literals if we're importing untrusted env vars.
|
||||
+ d = number(str, &last, 0, NULL);
|
||||
+ }
|
||||
+ if (*last) {
|
||||
+ if (sh_isstate(shp, SH_INIT)) {
|
||||
+ // Initializing means importing untrusted env vars. Since the string does not appear
|
||||
+ // to be a recognized numeric literal give up. We can't safely call strval() since
|
||||
+ // that allows arbitrary expressions which would create a security vulnerability.
|
||||
+ d = 0.0;
|
||||
+ } else {
|
||||
+ if (*last != '.' || last[1] != '.') {
|
||||
+ d = strval(shp, str, &last, arith, mode);
|
||||
+ Varsubscript = true;
|
||||
+ }
|
||||
+ if (!ptr && *last && mode > 0) {
|
||||
+ errormsg(SH_DICT, ERROR_exit(1), e_lexbadchar, *last, str);
|
||||
+ }
|
||||
+ }
|
||||
+ } else if (d == 0.0 && *str == '-') {
|
||||
+ d = -0.0;
|
||||
}
|
||||
- if (!ptr && *last && mode > 0) errormsg(SH_DICT, ERROR_exit(1), e_lexbadchar, *last, str);
|
||||
- } else if (!d && *str == '-') {
|
||||
- d = -0.0;
|
||||
}
|
||||
if (ptr) *ptr = last;
|
||||
return d;
|
||||
diff --git a/src/cmd/ksh93/tests/subshell.sh b/src/cmd/ksh93/tests/subshell.sh
|
||||
--- a/src/cmd/ksh93/tests/subshell.sh
|
||||
+++ b/src/cmd/ksh93/tests/subshell.sh
|
||||
@@ -856,3 +856,26 @@ for exp in 65535 65536
|
||||
do got=$($SHELL -c 'x=$(printf "%.*c" '$exp' x); print ${#x}' 2>&1)
|
||||
[[ $got == $exp ]] || log_error "large command substitution failed" "$exp" "$got"
|
||||
done
|
||||
+
|
||||
+# ==========
|
||||
+# Verify that importing untrusted env vars does not allow evaluating arbitrary expressions but does
|
||||
+# recognize all integer literals recognized by ksh.
|
||||
+expect=8
|
||||
+actual=$(env SHLVL='7' $SHELL -c 'echo $SHLVL')
|
||||
+[[ $actual == $expect ]] || log_error "decimal int literal not recognized" "$expect" "$actual"
|
||||
+
|
||||
+expect=14
|
||||
+actual=$(env SHLVL='013' $SHELL -c 'echo $SHLVL')
|
||||
+[[ $actual == $expect ]] || log_error "leading zeros int literal not recognized" "$expect" "$actual"
|
||||
+
|
||||
+expect=4
|
||||
+actual=$(env SHLVL='2#11' $SHELL -c 'echo $SHLVL')
|
||||
+[[ $actual == $expect ]] || log_error "base#value int literal not recognized" "$expect" "$actual"
|
||||
+
|
||||
+expect=12
|
||||
+actual=$(env SHLVL='16#B' $SHELL -c 'echo $SHLVL')
|
||||
+[[ $actual == $expect ]] || log_error "base#value int literal not recognized" "$expect" "$actual"
|
||||
+
|
||||
+expect=1
|
||||
+actual=$(env SHLVL="2#11+x[\$($bin_echo DANGER WILL ROBINSON >&2)0]" $SHELL -c 'echo $SHLVL')
|
||||
+[[ $actual == $expect ]] || log_error "expression allowed on env var import" "$expect" "$actual"
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"dotkshrc": "9f8c2b7f46c8b2e3b816a44acc0075c5ef8a685c246b0562fcbd62a07e05e8cf",
|
||||
"ksh-2020.0.0.tar.gz": "8701c27211b0043ddd485e35f2ba7f4075fc8fc2818d0545e38b1dda4288b6f7",
|
||||
"kshcomp.conf": "fae3d0cbace24a3c450473630085c52c8bcf919dca06bab0a1f93ba1dd31afac",
|
||||
"kshrc.rhs": "e14e78859149f46305b223370967e48ba2f83ca1ffa6fbf17ec39b6093176ffe"
|
||||
}
|
||||
}
|
|
@ -1,657 +0,0 @@
|
|||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Name: ksh
|
||||
Summary: The Original ATT Korn Shell
|
||||
URL: http://www.kornshell.com/
|
||||
License: EPL
|
||||
Version: 2020.0.0
|
||||
Release: 5%{?dist}
|
||||
Source0: https://github.com/att/ast/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: kshcomp.conf
|
||||
Source2: kshrc.rhs
|
||||
Source3: dotkshrc
|
||||
|
||||
Patch1: ksh-2020.0.0-cve-2019-14868.patch
|
||||
|
||||
Provides: /bin/ksh
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel
|
||||
# This package is require by test cases
|
||||
# It should be enabled when we start running test cases in package builds
|
||||
# BuildRequires: glibc-langpack-zh
|
||||
BuildRequires: ed
|
||||
Conflicts: pdksh
|
||||
Requires(post): grep, coreutils, systemd-units
|
||||
Requires(postun): sed
|
||||
|
||||
Provides: /bin/ksh
|
||||
Provides: /usr/bin/ksh
|
||||
|
||||
%description
|
||||
KornShell is a shell programming language, which is upward compatible
|
||||
with "sh" (the Bourne Shell).
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%meson -Dbuild-api-tests=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
# Allow switching between different ksh implementations (for e.g. mksh) through alternatives.
|
||||
mv %{buildroot}/%{_bindir}/ksh %{buildroot}/%{_bindir}/ksh93
|
||||
mv %{buildroot}/%{_bindir}/shcomp %{buildroot}/%{_bindir}/shcomp93
|
||||
# http://mesonbuild.com/Release-notes-for-0-49-0.html#manpages-are-no-longer-compressed-implicitly
|
||||
# meson 0.49 does not compress man pages
|
||||
if [[ -e %{buildroot}/%{_mandir}/man1/ksh.1.gz ]]
|
||||
then
|
||||
mv %{buildroot}/%{_mandir}/man1/ksh.1.gz %{buildroot}/%{_mandir}/man1/ksh93.1.gz
|
||||
else
|
||||
mv %{buildroot}/%{_mandir}/man1/ksh.1 %{buildroot}/%{_mandir}/man1/ksh93.1
|
||||
fi
|
||||
|
||||
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/kshrc
|
||||
install -p -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/skel/.kshrc
|
||||
|
||||
%post
|
||||
for s in /bin/ksh /usr/bin/ksh
|
||||
do
|
||||
if [ ! -f /etc/shells ]; then
|
||||
echo "$s" > /etc/shells
|
||||
else
|
||||
if ! grep -q '^'"$s"'$' /etc/shells ; then
|
||||
echo "$s" >> /etc/shells
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
|
||||
|
||||
# Suppress any error encountered while upgrading from ksh-20120801-250
|
||||
%{_sbindir}/alternatives --install /bin/ksh ksh \
|
||||
/bin/ksh93 50 \
|
||||
--slave %{_mandir}/man1/ksh.1.gz ksh-man \
|
||||
%{_mandir}/man1/ksh93.1.gz \
|
||||
--slave /bin/shcomp shcomp93 \
|
||||
/bin/shcomp93 2>/dev/null
|
||||
|
||||
%preun
|
||||
# Do not remove ksh from alternatives on upgrades
|
||||
if [ $1 -eq 0 ]; then
|
||||
%{_sbindir}/alternatives --remove ksh /bin/ksh93
|
||||
fi
|
||||
|
||||
%postun
|
||||
for s in /bin/ksh /usr/bin/ksh
|
||||
do
|
||||
if [ ! -f $s ]; then
|
||||
sed -i '\|^'"$s"'$|d' /etc/shells
|
||||
fi
|
||||
done
|
||||
|
||||
# ksh-20120801-250 did not use alternatives, so while upgrading ensure that
|
||||
# alternatives are set correctly
|
||||
%triggerpostun -- ksh < 1:2020.0.0-0.1
|
||||
%{_sbindir}/alternatives --auto ksh
|
||||
|
||||
%files
|
||||
%doc src/cmd/ksh93/COMPATIBILITY src/cmd/ksh93/RELEASE src/cmd/ksh93/TYPES
|
||||
%license LICENSE
|
||||
%{_bindir}/ksh93
|
||||
%{_bindir}/shcomp93
|
||||
%{_mandir}/man1/*
|
||||
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
||||
%config(noreplace) %{_sysconfdir}/kshrc
|
||||
%config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||
|
||||
%changelog
|
||||
* Mon Nov 01 2021 Muhammad Falak <mwani@microsft.com> - 2020.0.0-5
|
||||
- Remove epoch
|
||||
|
||||
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1:2020.0.0-4
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
|
||||
* Fri Feb 07 2020 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-3
|
||||
- Do not evaluate arithmetic expressions from environment variables at startup
|
||||
Resolves: #1790549
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2020.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Oct 11 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-1
|
||||
- Rebase to 2020.0.0
|
||||
|
||||
* Tue Sep 03 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.4
|
||||
- Rebase to 2020.0.0-beta1
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2020.0.0-0.3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Apr 24 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.2
|
||||
- Add virtual provider for `/usr/bin/ksh`
|
||||
|
||||
* Wed Apr 17 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2020.0.0-0.1
|
||||
- Rebase to 2020.0.0-alpha1
|
||||
Resolves: #1700777
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-250
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Oct 14 2018 Peter Robinson <pbrobinson@fedoraproject.org> 20120801-249
|
||||
- chkconfig is no longer needed
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-248
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jun 04 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-247
|
||||
- Fix a crash caused by memcmp()
|
||||
Resolves: #1583226
|
||||
|
||||
* Mon Mar 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-246
|
||||
- Enable standard Fedora LDFLAGS
|
||||
Resolves: #1548549
|
||||
|
||||
* Fri Feb 16 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-245
|
||||
- Increase release number by 200 to ensure update path
|
||||
|
||||
* Mon Feb 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-45
|
||||
- Fix a crash due to out of bounds write
|
||||
Resolves: #1537053
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Tue Nov 21 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-43
|
||||
- Add virtual provide for /bin/ksh
|
||||
Resolves: #1513096
|
||||
|
||||
* Mon Aug 28 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-42
|
||||
- Fix a memory corruption
|
||||
Resolves: #1464409
|
||||
|
||||
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-41
|
||||
- Use posix exit code if last command exits due to a signal
|
||||
Resolves: #1471874
|
||||
|
||||
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-40
|
||||
- Fix condition to fork subshell
|
||||
Resolves: #1462347
|
||||
|
||||
* Mon Aug 14 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-39
|
||||
- Set terminal foreground process group while resuming process
|
||||
Resolves: #1459000
|
||||
|
||||
* Thu Aug 03 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-38
|
||||
- Fix build failures caused by update in glibc
|
||||
Resolves: #1477082
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon May 29 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-35
|
||||
- Fix memory corruption while parsing functions
|
||||
Resolves: #1451057
|
||||
|
||||
* Tue Apr 25 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-34
|
||||
- Fix parsing of iso8859 characters
|
||||
Resolves: #1417886
|
||||
|
||||
* Tue Apr 11 2017 Siteshwar Vashisht <svashisht@redhat.com> - 20120801-33
|
||||
- Avoid spurrious output in kia file creation
|
||||
Resolves: #1441142
|
||||
|
||||
* Fri Mar 10 2017 Michal Hlavinka <mhlavink@redhat.com> - 20120801-32
|
||||
- add /usr/bin/ksh to /etc/shells (#1381113)
|
||||
|
||||
* Fri Mar 03 2017 Michal Hlavinka <mhlavink@redhat.com> - 20120801-31
|
||||
- use latest set of patches
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20120801-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Aug 27 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-28
|
||||
- fix: in a login shell "( cmd & )" does nothing (#1217238)
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed May 06 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-26
|
||||
- do not crash, when disk is full, report an error (#1212994)
|
||||
|
||||
* Tue Apr 07 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-25
|
||||
- using trap DEBUG could cause segmentation fault
|
||||
|
||||
* Mon Mar 30 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-24
|
||||
- cd builtin could break IO redirection
|
||||
- fix segfault when handling a trap
|
||||
- exporting fixed with variable corrupted its data
|
||||
- and more fixes
|
||||
|
||||
* Fri Mar 06 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-23
|
||||
- exporting fixed with variable corrupted its data (#1192027)
|
||||
|
||||
* Fri Feb 27 2015 Michal Hlavinka <mhlavink@redhat.com> - 20120801-22
|
||||
- ksh hangs when command substitution containing a pipe fills out the pipe buffer (#1121204)
|
||||
|
||||
* Tue Aug 26 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-21
|
||||
- cd builtin file descriptor operations messed with IO redirections (#1133586)
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jul 22 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-19
|
||||
- fix segfault in job list code
|
||||
- do not resend signal on termination (#1092132)
|
||||
- fix brace expansion on/off
|
||||
- fix incorrect rounding of numsers 0.5 < |x| <1.0 in printf (#1080940)
|
||||
- fix parser errors related to the end of the here-document marker
|
||||
- ksh hangs when command substitution fills out the pipe buffer
|
||||
- using typeset -l with a restricted variabled caused segmentation fault
|
||||
- monitor mode was documented incorrectly
|
||||
- do not crash when unsetting running function from another one (#1105139)
|
||||
- should report an error when trying to cd into directory without execution bit
|
||||
- job locking mechanism did not survive compiler optimization
|
||||
- reading a file via command substitution did not work when any of stdin,
|
||||
stdout or stderr were closed (#1070308)
|
||||
- fix lexical parser crash
|
||||
|
||||
* Tue Jun 10 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-18
|
||||
- fix FTBFS(#1107070)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue Feb 11 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-16
|
||||
- ksh could hang when command substitution printed too much data
|
||||
|
||||
* Thu Feb 06 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-15
|
||||
- fix lexical parser crash (#960371)
|
||||
|
||||
* Fri Jan 17 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-14
|
||||
- fix overflow in subshell loop
|
||||
|
||||
* Mon Jan 06 2014 Michal Hlavinka <mhlavink@redhat.com> - 20120801-13
|
||||
- fix argv rewrite (#1047508)
|
||||
|
||||
* Wed Oct 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-12
|
||||
- ksh stops on read when monitor mode is enabled
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120801-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jun 12 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-10
|
||||
- fix memory leak
|
||||
|
||||
* Mon Jun 10 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-9
|
||||
- monitor mode in scripts wasn't working
|
||||
|
||||
* Thu Mar 07 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-8
|
||||
- fix another reproducer for tab completion
|
||||
|
||||
* Fri Feb 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-7
|
||||
- do not segfault on kill % (#914669)
|
||||
|
||||
* Fri Feb 01 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-6
|
||||
- cd file did not produce any error
|
||||
|
||||
* Fri Jan 25 2013 Michal Hlavinka <mhlavink@redhat.com> - 20120801-5
|
||||
- ksh could not enter directories with path containing /.something (#889748)
|
||||
- file name autocomplete prevented following numeric input (#889745)
|
||||
|
||||
* Wed Nov 21 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-4
|
||||
- bind Home, End, Delete,... key correctly for emacs mode
|
||||
- do not crash when executed from deleted directory
|
||||
|
||||
* Fri Sep 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-3
|
||||
- fix typo in binfmt config file
|
||||
- register binary format after package installation
|
||||
|
||||
* Thu Sep 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-2
|
||||
- add support for direct execution of compiled scripts
|
||||
|
||||
* Wed Aug 08 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-1
|
||||
- ksh updated to 20120801
|
||||
|
||||
* Tue Jul 31 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120727-1
|
||||
- ksh updated to 2012-07-27
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120628-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Mon Jul 02 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120628-1
|
||||
- ksh updated to 20120628
|
||||
|
||||
* Wed Jun 27 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120626-1
|
||||
- ksh updated to 20120626
|
||||
|
||||
* Fri Jun 22 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120620-1
|
||||
- ksh updated to 2012-06-20
|
||||
|
||||
* Wed Jun 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120612-1
|
||||
- ksh updated to 20120612
|
||||
|
||||
* Mon Jun 04 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120531-1
|
||||
- ksh updated to 2012-05-31
|
||||
|
||||
* Mon Mar 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-2
|
||||
- do not hang after return code 12
|
||||
|
||||
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120229-1
|
||||
- ksh updated to 2012-02-29
|
||||
|
||||
* Tue Mar 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-2
|
||||
- fix tilda expansion in scripts
|
||||
|
||||
* Mon Feb 20 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120214-1
|
||||
- ksh updated to 20120214
|
||||
|
||||
* Mon Feb 06 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120202-1
|
||||
- ksh updated to 20120202
|
||||
|
||||
* Thu Jan 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120101-1
|
||||
- ksh updated to 2012-01-01
|
||||
|
||||
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-9
|
||||
- do not crash when browsing through history containing comment (#733813)
|
||||
|
||||
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-8
|
||||
- do not crash when two subseguent dots are used in variable or command name (#733544)
|
||||
|
||||
* Mon Dec 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-7
|
||||
- fix: ksh can prematurely exit without crash or any error
|
||||
- make spec work in epel
|
||||
|
||||
* Thu Nov 10 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-6
|
||||
- add files to %%doc
|
||||
|
||||
* Thu Oct 06 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-5
|
||||
- ksh sometimes returns wrong exit code when pid numbers are being recycled
|
||||
|
||||
* Tue Oct 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-4
|
||||
- restore tty settings after timed out read (#572291)
|
||||
|
||||
* Fri Aug 12 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-3
|
||||
- do not crash when killing last bg job when there is not any
|
||||
|
||||
* Wed Aug 03 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-2
|
||||
- fix: IFS manipulation in a function can cause crash
|
||||
|
||||
* Fri Jul 01 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110630-1
|
||||
- ksh updated to 2011-06-30
|
||||
|
||||
* Wed Jun 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-2
|
||||
- fix: resume of suspended process using pipes does not work (#708909)
|
||||
|
||||
* Mon May 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110505-1
|
||||
- ksh updated to 2011-05-05
|
||||
|
||||
* Fri Apr 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110428-1
|
||||
- ksh updated to 2011-04-28
|
||||
|
||||
* Mon Apr 18 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110415-1
|
||||
- ksh updated to 2011-04-15
|
||||
|
||||
* Tue Mar 29 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-3
|
||||
- fix array definition being treated as fixed array
|
||||
- fix suspend crashing ksh
|
||||
|
||||
* Mon Mar 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-2
|
||||
- fix ( ) compound list altering environment
|
||||
|
||||
* Wed Feb 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110208-1
|
||||
- ksh updated to 2011-02-08
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110202-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Feb 04 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110202-1
|
||||
- ksh updated to 2011-02-02
|
||||
|
||||
* Wed Feb 02 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110131-1
|
||||
- ksh updated to 2011-01-31
|
||||
|
||||
* Fri Jan 28 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110127-1
|
||||
- ksh updated to 2011-01-27
|
||||
|
||||
* Thu Jan 20 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110118-1
|
||||
- ksh updated to 2011-01-18
|
||||
|
||||
* Mon Jan 17 2011 Michal Hlavinka <mhlavink@redhat.com> - 20110104-1
|
||||
- ksh updated to 2011-01-04
|
||||
|
||||
* Thu Dec 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-2.20101122
|
||||
- found ugly regression, reverting to 2010-11-22 (with io race patch) for now
|
||||
|
||||
* Thu Dec 16 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101212-1
|
||||
- ksh updated to 2010-12-12
|
||||
|
||||
* Mon Dec 06 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-2
|
||||
- fix file io race condition when file was created, but still does not exist
|
||||
|
||||
* Fri Dec 03 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101201-1
|
||||
- ksh updated to 2010-12-01
|
||||
|
||||
* Tue Nov 23 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101122-1
|
||||
- ksh updated to 2010-11-22
|
||||
|
||||
* Mon Nov 01 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101026-1
|
||||
- ksh updated to 2010-10-26
|
||||
|
||||
* Tue Oct 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 20101010-1
|
||||
- ksh updated to 2010-10-10
|
||||
|
||||
* Fri Oct 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-2
|
||||
- disable only known to be broken builtins, let other enabled
|
||||
- skip regression tests if /dev/fd is missing
|
||||
|
||||
* Tue Sep 28 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100924-1
|
||||
- ksh updated to 2010-09-24
|
||||
|
||||
* Mon Aug 30 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100826-1
|
||||
- ksh updated to 2010-08-26
|
||||
- make regression test suite usable during package build
|
||||
|
||||
* Fri Aug 13 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100811-1
|
||||
- ksh updated to 2010-08-11
|
||||
|
||||
* Thu Jul 08 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100701-1
|
||||
- updated to 2010-07-01
|
||||
|
||||
* Fri Jun 25 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100621-1
|
||||
- updated to 2010-06-21
|
||||
|
||||
* Tue Jun 15 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-2
|
||||
- add shcomp for shell compiling
|
||||
|
||||
* Thu Jun 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100527-1
|
||||
- updated to 2010-05-27
|
||||
|
||||
* Mon May 31 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-6
|
||||
- add pathmunge to /etc/kshrc
|
||||
|
||||
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-5
|
||||
- fix rare cd builtin crash (#578582)
|
||||
|
||||
* Wed May 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-4
|
||||
- fix infinite loop when whence builtin is used with -q option (#587127)
|
||||
- fix stdin for double command substitution (#584007)
|
||||
|
||||
* Mon Mar 29 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-3
|
||||
- fix typo in last patch
|
||||
|
||||
* Fri Mar 26 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-2
|
||||
- restore tty settings after timed out read for utf-8 locale
|
||||
|
||||
* Wed Mar 10 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100309-1
|
||||
- updated to 2010-03-09
|
||||
- fix mock building - detection of /dev/fd/X
|
||||
|
||||
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20100202-1
|
||||
- updated to 2010-02-02
|
||||
|
||||
* Mon Jan 04 2010 Michal Hlavinka <mhlavink@redhat.com> - 20091224-1
|
||||
- updated to 2009-12-24
|
||||
|
||||
* Mon Dec 07 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091206-1
|
||||
- updated to 2009-12-06
|
||||
|
||||
* Fri Dec 04 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091130-1
|
||||
- updated to 2009-11-30
|
||||
|
||||
* Wed Nov 18 2009 Michal Hlavinka <mhlavink@redhat.com> - 20091021-1
|
||||
- updated to 2009-10-21
|
||||
|
||||
* Thu Aug 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 20090630-1
|
||||
- updated to 2009-06-30
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090505-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon May 11 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090505-1
|
||||
- updated to 2009-05-05
|
||||
|
||||
* Tue May 05 2009 Michal Hlavinka <mhalvink@redhat.com> - 20090501-1
|
||||
- updated to 2009-05-01
|
||||
|
||||
* Tue Mar 10 2009 Michal Hlavinka <mhlavink@redhat.com> - 20081104-3
|
||||
- fix typos in spec file
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081104-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Jan 21 2009 Michal Hlavinka <mhlavink@redhat.com> 20081104-1
|
||||
- update to 2008-11-04
|
||||
- ast-ksh-locales are not useable remove them
|
||||
|
||||
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080725-4
|
||||
- fix #467025 - Ksh fails to initialise environment when login from graphic console
|
||||
|
||||
* Wed Aug 06 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-3
|
||||
- fix BuildRequires, rebuild
|
||||
|
||||
* Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080725-2
|
||||
- fix license tag
|
||||
|
||||
* Mon Jul 28 2008 Tomas Smetana <tsmetana@redhat.com> 20080725-1
|
||||
- new upstream version
|
||||
|
||||
* Thu Jun 26 2008 Tomas Smetana <tsmetana@redhat.com> 20080624-1
|
||||
- new upstream version
|
||||
|
||||
* Mon Feb 11 2008 Tomas Smetana <tsmetana@redhat.com> 20080202-1
|
||||
- new upstream version
|
||||
|
||||
* Wed Jan 30 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-3
|
||||
- fix #430602 - ksh segfaults after unsetting OPTIND
|
||||
|
||||
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> 20071105-2
|
||||
- fix #405381 - ksh will not handle $(xxx) when typeset -r IFS
|
||||
- fix #386501 - bad group in spec file
|
||||
|
||||
* Wed Nov 07 2007 Tomas Smetana <tsmetana@redhat.com> 20071105-1
|
||||
- new upstream version
|
||||
|
||||
* Wed Aug 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1.1
|
||||
- rebuild
|
||||
|
||||
* Thu Jul 12 2007 Tomas Smetana <tsmetana@redhat.com> 20070628-1
|
||||
- new upstream version
|
||||
- fix unaligned access messages (Related: #219420)
|
||||
|
||||
* Tue May 22 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-2
|
||||
- fix wrong exit status of spawned process after SIGSTOP
|
||||
- fix building of debuginfo package, add %%{?dist} to release
|
||||
- fix handling of SIGTTOU in non-interactive shell
|
||||
- remove useless builtins
|
||||
|
||||
* Thu Apr 19 2007 Tomas Smetana <tsmetana@redhat.com> 20070328-1
|
||||
- new upstream source
|
||||
- fix login shell invocation (#182397)
|
||||
- fix memory leak
|
||||
|
||||
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 20070111-1
|
||||
- new upstream version
|
||||
- fix invalid write in uname function
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 20060214-1.1
|
||||
- rebuild
|
||||
|
||||
* Thu Jun 01 2006 Karsten Hopp <karsten@redhat.de> 20060214-1
|
||||
- new upstream source
|
||||
|
||||
* Mon Feb 27 2006 Karsten Hopp <karsten@redhat.de> 20060124-3
|
||||
- PreReq grep, coreutils (#182835)
|
||||
|
||||
* Tue Feb 14 2006 Karsten Hopp <karsten@redhat.de> 20060124-2
|
||||
- make it build in chroots (#180561)
|
||||
|
||||
* Mon Feb 13 2006 Karsten Hopp <karsten@redhat.de> 20060124-1
|
||||
- version 20060124
|
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 20050202-5.1
|
||||
- bump again for double-long bug on ppc(64)
|
||||
|
||||
* Fri Feb 10 2006 Karsten Hopp <karsten@redhat.de> 20050202-5
|
||||
- rebuild
|
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 20050202-4.1
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Thu Feb 02 2006 Karsten Hopp <karsten@redhat.de> 20050202-4
|
||||
- fix uname -i output
|
||||
- fix loop (*-path.patch)
|
||||
- conflict pdksh instead of obsoleting it
|
||||
|
||||
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> 20050202-3.1
|
||||
- rebuilt for new gcj
|
||||
|
||||
* Tue May 10 2005 Karsten Hopp <karsten@redhat.de> 20050202-3
|
||||
- enable debuginfo
|
||||
|
||||
* Tue Mar 15 2005 Karsten Hopp <karsten@redhat.de> 20050202-2
|
||||
- add /usr/bin/ksh link for compatibility with pdksh scripts (#151134)
|
||||
|
||||
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 20050202-1
|
||||
- update and rebuild with gcc-4
|
||||
|
||||
* Tue Mar 01 2005 Karsten Hopp <karsten@redhat.de> 20041225-2
|
||||
- fix gcc4 build
|
||||
|
||||
* Fri Jan 21 2005 Karsten Hopp <karsten@redhat.de> 20041225-1
|
||||
- rebuild with new ksh tarball (license change)
|
||||
|
||||
* Tue Nov 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-11
|
||||
- disable ia64 for now
|
||||
|
||||
* Fri Oct 15 2004 Karsten Hopp <karsten@redhat.de> 20040229-9
|
||||
- rebuild
|
||||
|
||||
* Thu Sep 02 2004 Nalin Dahyabhai <nalin@redhat.com> 20040229-8
|
||||
- remove '&' from summary
|
||||
|
||||
* Thu Sep 02 2004 Bill Nottingham <notting@redhat.com> 20040229-7
|
||||
- obsolete pdksh (#131303)
|
||||
|
||||
* Mon Aug 02 2004 Karsten Hopp <karsten@redhat.de> 20040229-6
|
||||
- obsolete ksh93, provide ksh93
|
||||
|
||||
* Mon Jul 05 2004 Karsten Hopp <karsten@redhat.de> 20040229-3
|
||||
- add /bin/ksh to /etc/shells
|
||||
|
||||
* Wed Jun 16 2004 Karsten Hopp <karsten@redhat.de> 20040229-2
|
||||
- add ppc64 patch to avoid ppc64 dot symbol problem
|
||||
|
||||
* Fri May 28 2004 Karsten Hopp <karsten@redhat.de> 20040229-1
|
||||
- initial version
|
||||
|
|
@ -1 +0,0 @@
|
|||
:kshcomp:M::\x0b\x13\x08::/bin/ksh:
|
|
@ -1,53 +0,0 @@
|
|||
#
|
||||
# /etc/kshrc is sourced in interactive shells. It
|
||||
# should contain commands to set up aliases, functions,
|
||||
# options, key bindings, etc.
|
||||
#
|
||||
|
||||
# Set prompts
|
||||
#PROMPT='[%n@%m]%~%# ' # default prompt
|
||||
#RPROMPT=' %~' # prompt for right side of screen
|
||||
|
||||
_src_etc_profile_d()
|
||||
{
|
||||
# from zshrc, with ksh fixes
|
||||
if [[ ! -o login ]]; then # We're not a login shell
|
||||
for i in /etc/profile.d/*.sh; do
|
||||
if [ -r "$i" ]; then
|
||||
. $i
|
||||
fi
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
}
|
||||
|
||||
pathmunge () {
|
||||
case ":${PATH}:" in
|
||||
*:"$1":*)
|
||||
;;
|
||||
*)
|
||||
if [ "$2" = "after" ]; then
|
||||
PATH=$PATH:$1
|
||||
else
|
||||
PATH=$1:$PATH
|
||||
fi
|
||||
esac
|
||||
}
|
||||
|
||||
_src_etc_profile_d
|
||||
|
||||
unset -f _src_etc_profile_d
|
||||
unset -f pathmunge
|
||||
|
||||
# key bindings - make Delete, Home, End,... work
|
||||
keybd_trap () {
|
||||
case ${.sh.edchar} in
|
||||
$'\e[1~') .sh.edchar=$'\001';; # Home = beginning-of-line
|
||||
$'\e[F') .sh.edchar=$'\005';; # End = end-of-line
|
||||
$'\e[5~') .sh.edchar=$'\e>';; # PgUp = history-previous
|
||||
$'\e[6~') .sh.edchar=$'\e<';; # PgDn = history-next
|
||||
$'\e[3~') .sh.edchar=$'\004';; # Delete = delete-char
|
||||
esac
|
||||
}
|
||||
trap keybd_trap KEYBD
|
||||
|
|
@ -1,11 +1,8 @@
|
|||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
%global with_java 1
|
||||
%global with_java 0
|
||||
%global with_php 0
|
||||
%global with_perl 1
|
||||
%global with_python 1
|
||||
%global with_python2 0
|
||||
%global with_python3 0
|
||||
%global with_wsf 0
|
||||
%global obsolete_old_lang_subpackages 0
|
||||
|
||||
|
@ -17,13 +14,6 @@ Distribution: Mariner
|
|||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
|
||||
%if %{with_python}
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
%global configure_args %{nil}
|
||||
%global configure_args %{configure_args}
|
||||
|
||||
|
@ -45,15 +35,11 @@ Distribution: Mariner
|
|||
%global configure_args %{configure_args} --enable-wsf --with-sasl2=%{_prefix}/sasl2
|
||||
%endif
|
||||
|
||||
%if !%{with_python}
|
||||
%global configure_args %{configure_args} --disable-python
|
||||
%endif
|
||||
|
||||
|
||||
Summary: Liberty Alliance Single Sign On
|
||||
Name: lasso
|
||||
Version: 2.6.0
|
||||
Release: 24%{?dist}
|
||||
Release: 25%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://lasso.entrouvert.org/
|
||||
Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz
|
||||
|
@ -75,6 +61,7 @@ BuildRequires: gtk-doc
|
|||
BuildRequires: libtool
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: xmlsec1-devel >= 1.2.25-4
|
||||
|
@ -99,18 +86,10 @@ BuildRequires: expat-devel
|
|||
BuildRequires: php-devel
|
||||
%endif
|
||||
# The Lasso build system requires python, especially the binding generators
|
||||
%if %{with_python2}
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-lxml
|
||||
BuildRequires: python2-six
|
||||
%endif
|
||||
%if %{with_python3}
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-lxml
|
||||
BuildRequires: python3-six
|
||||
%endif
|
||||
%if %{with_wsf}
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
%endif
|
||||
|
@ -169,24 +148,6 @@ PHP language bindings for the lasso (Liberty Alliance Single Sign On) library.
|
|||
|
||||
%endif
|
||||
|
||||
%if %{with_python2}
|
||||
%package -n python2-%{name}
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Python bindings
|
||||
Requires: python2
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%if %{obsolete_old_lang_subpackages}
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description -n python2-%{name}
|
||||
Python language bindings for the lasso (Liberty Alliance Single Sign On)
|
||||
library.
|
||||
%endif
|
||||
|
||||
%if %{with_python3}
|
||||
%package -n python3-%{name}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Python bindings
|
||||
|
@ -197,7 +158,6 @@ Provides: lasso-python = %{version}-%{release}
|
|||
%description -n python3-%{name}
|
||||
Python language bindings for the lasso (Liberty Alliance Single Sign On)
|
||||
library.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
@ -207,26 +167,10 @@ sed -i -E -e '/^#![[:blank:]]*(\/usr\/bin\/env[[:blank:]]+python[^3]?\>)|(\/usr\
|
|||
`grep -r -l -E '^#![[:blank:]]*(/usr/bin/python[^3]?)|(/usr/bin/env[[:blank:]]+python[^3]?)' *`
|
||||
|
||||
%build
|
||||
export JAVA_HOME=%{java_home}
|
||||
./autogen.sh
|
||||
%if 0%{?with_python2}
|
||||
%configure %{configure_args} --with-python=%{__python2}
|
||||
pushd lasso
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
popd
|
||||
pushd bindings/python
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
make check CK_TIMEOUT_MULTIPLIER=5
|
||||
mkdir py2
|
||||
mv lasso.py .libs/_lasso.so py2
|
||||
popd
|
||||
make clean
|
||||
%endif
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%configure %{configure_args} --with-python=%{__python3}
|
||||
%else
|
||||
%configure %{configure_args}
|
||||
%endif
|
||||
%configure %{configure_args} --with-python=%{__python3}
|
||||
%make_build CFLAGS="%{optflags}"
|
||||
|
||||
%check
|
||||
|
@ -239,13 +183,6 @@ make install exec_prefix=%{_prefix} DESTDIR=%{buildroot}
|
|||
find %{buildroot} -type f -name '*.la' -exec rm -f {} \;
|
||||
find %{buildroot} -type f -name '*.a' -exec rm -f {} \;
|
||||
|
||||
%if 0%{?with_python2}
|
||||
# Install Python 2 files saved from first build
|
||||
install -d -m 0755 %{buildroot}/%{python2_sitearch}
|
||||
install -m 0644 bindings/python/py2/lasso.py %{buildroot}/%{python2_sitearch}
|
||||
install -m 0755 bindings/python/py2/_lasso.so %{buildroot}/%{python2_sitearch}
|
||||
%endif
|
||||
|
||||
# Perl subpackage
|
||||
%if %{with_perl}
|
||||
find %{buildroot} \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
|
||||
|
@ -303,20 +240,17 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
|
|||
%{_datadir}/php/%{name}/lasso.php
|
||||
%endif
|
||||
|
||||
%if %{with_python2}
|
||||
%files -n python2-%{name}
|
||||
%{python2_sitearch}/lasso.py*
|
||||
%{python2_sitearch}/_lasso.so
|
||||
%endif
|
||||
|
||||
%if %{with_python3}
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitearch}/lasso.py*
|
||||
%{python3_sitearch}/_lasso.so
|
||||
%{python3_sitearch}/__pycache__/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Mar 02 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.6.0-25
|
||||
- Removed Python 2 bits.
|
||||
- Disabling Java subpackage as it's no needed.
|
||||
- Adding a missing BR on 'libsxlt-devel'.
|
||||
|
||||
* Wed Jan 05 2022 Thomas Crain <thcrain@microsoft.com> - 2.6.0-24
|
||||
- Rename java-headless dependency to java
|
||||
- License verified
|
||||
|
|
|
@ -1,289 +0,0 @@
|
|||
Terms and Conditions - The MirBSD Korn Shell
|
||||
============================================
|
||||
|
||||
The MirBSD Korn Shell (mksh) consists of a number of "source" files,
|
||||
which are provided by upstream in a number of places. This file will
|
||||
list the files belonging to mksh or being part of it and the licence
|
||||
terms and conditions that apply to them, in one single central place
|
||||
for packagers' convenience. This list aims to be authoritative. (Yet
|
||||
as it was compiled by a human, there may be bugs, please report them
|
||||
if any are found. We don't think so though.)
|
||||
|
||||
All paths are relative to The MirOS Project's CVS repository.
|
||||
|
||||
|
||||
The following files form The MirBSD Korn Shell R59b:
|
||||
- build system
|
||||
* mksh/Build.sh
|
||||
* mksh/FAQ2HTML.sh
|
||||
- testsuite driver
|
||||
* mksh/check.pl
|
||||
- testsuite with code examples
|
||||
* mksh/check.t
|
||||
- configuration with/and code examples (informal)
|
||||
* mksh/dot.mkshrc
|
||||
* contrib/hosted/tg/assockit.ksh
|
||||
* contrib/hosted/tg/progress-bar
|
||||
* contrib/hosted/tg/uhr
|
||||
- documentation
|
||||
* mksh/lksh.1
|
||||
* mksh/mksh.1
|
||||
* mksh/mksh.faq
|
||||
- source code
|
||||
* mksh/edit.c
|
||||
* mksh/emacsfn.h
|
||||
* mksh/eval.c
|
||||
* mksh/exec.c
|
||||
* mksh/expr.c
|
||||
* mksh/exprtok.h
|
||||
* mksh/funcs.c
|
||||
* mksh/histrap.c
|
||||
* mksh/jehanne.c
|
||||
* mksh/jobs.c
|
||||
* mksh/lalloc.c
|
||||
* mksh/lex.c
|
||||
* mksh/main.c
|
||||
* mksh/mirhash.h
|
||||
* mksh/misc.c
|
||||
* mksh/os2.c
|
||||
* mksh/rlimits.opt
|
||||
* mksh/sh.h
|
||||
* mksh/sh_flags.opt
|
||||
* mksh/shf.c
|
||||
* mksh/syn.c
|
||||
* mksh/tree.c
|
||||
* mksh/var.c
|
||||
* mksh/var_spec.h
|
||||
- upstream provided packaging
|
||||
* mksh/mksh.ico (application icon resource)
|
||||
* mksh/Makefile (MirBSD only, not part of mksh)
|
||||
* ports/shells/mksh/DEINSTALL
|
||||
* ports/shells/mksh/DESCR (official)
|
||||
* ports/shells/mksh/INSTALL
|
||||
* ports/shells/mksh/Makefile
|
||||
* ports/shells/mksh/PLIST
|
||||
* ports/shells/mksh/distinfo (official)
|
||||
* src/distrib/special/mksh/Makefile (for the MirBSD installer)
|
||||
- website (informal)
|
||||
* www/files/TaC-mksh.txt (this file)
|
||||
* www/pics/mksh.svg (logo source code)
|
||||
* www/pics/mksh128x100.png (logo compiled version)
|
||||
* www/src/mksh-faq.hts (supplemental documentation)
|
||||
* www/src/mksh.hts (primary webpage)
|
||||
* www/src/mksh_bld.hts (supplemental webpage)
|
||||
* www/src/mksh_old.hts (supplemental webpage)
|
||||
|
||||
All of these files are covered by The MirOS Licence (Appendix A) ex-
|
||||
cept the application icon resource, the terms for that are listed in
|
||||
Appendix D. Width data comes under those in Appendix E.
|
||||
|
||||
The creator of mksh acknowledges the contributions of several people
|
||||
to the Public Domain Korn Shell as well as suggestions and work from
|
||||
packagers, other developers etc. and everyone else who helped making
|
||||
mksh what it is today. Thanks! The MirBSD Korn Shell is sublicenced
|
||||
under a copyright licence fallback from the original pdsh author.
|
||||
|
||||
|
||||
The following files belong to mksh and are distributed inside of its
|
||||
distfile, but are not part of it. They are provided for convenience,
|
||||
because they are required on many operating environments for mksh or
|
||||
some of its features to function:
|
||||
- source code
|
||||
* mksh/strlcpy.c (needed if not provided by the OS already)
|
||||
|
||||
These files are covered by seperate licences in addition (Appendix C
|
||||
for now). Some operating environments already provide their functio-
|
||||
nality, such as the BSDs and OSX libc, or the Debian/freedesktop.org
|
||||
libbsd package. The files are not compiled into the resulting binary
|
||||
if their respective functionality is already provided.
|
||||
|
||||
|
||||
The following file is not part of mksh but can be used with it; it's
|
||||
also not included in the mksh distfile:
|
||||
- source code
|
||||
* src/usr.bin/printf/printf.c (UCB printf(1) utility that has been
|
||||
slightly modified, for an optional built-in printf, to be inclu-
|
||||
ded for lksh-as-/bin/sh only and only when necessary)
|
||||
|
||||
The printf.c file is covered by the UCB three-clause BSD licence, as
|
||||
shown in Appendix B below.
|
||||
|
||||
|
||||
The MirOS Licence also applies as a collective-work copyright on The
|
||||
MirBSD Korn Shell, an authorised derivate of the 1980s Public Domain
|
||||
V7/Bourne Shell.
|
||||
|
||||
Note that these appendices may represent the terms and conditions of
|
||||
more than one file, hence the actual wording of the files was folded
|
||||
into one representation, with different copyright holders and years,
|
||||
separated if merging was undesirable.
|
||||
|
||||
|
||||
Appendix A - The MirOS Licence (OSI approved)
|
||||
==============================
|
||||
|
||||
The MirBSD Korn Shell (mksh) is
|
||||
Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
|
||||
2020
|
||||
mirabilos <m@mirbsd.org>
|
||||
Copyright (c) 2015, 2017, 2020
|
||||
KO Myung-Hun <komh@chollian.net>
|
||||
Copyright (c) 2015
|
||||
Daniel Richard G. <skunk@iSKUNK.ORG>
|
||||
Copyright (c) 2017
|
||||
Giacomo Tesio <giacomo@tesio.it>
|
||||
All rights reserved.
|
||||
|
||||
The mksh logo is
|
||||
Copyright (c) 2008, 2009
|
||||
Lukas U. <smultron@midnightbsd.org>
|
||||
Copyright (c) 2008, 2009
|
||||
mirabilos <m@mirbsd.org>
|
||||
|
||||
|
||||
Provided that these terms and disclaimer and all copyright notices
|
||||
are retained or reproduced in an accompanying document, permission
|
||||
is granted to deal in this work without restriction, including un-
|
||||
limited rights to use, publicly perform, distribute, sell, modify,
|
||||
merge, give away, or sublicence.
|
||||
|
||||
This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
|
||||
the utmost extent permitted by applicable law, neither express nor
|
||||
implied; without malicious intent or gross negligence. In no event
|
||||
may a licensor, author or contributor be held liable for indirect,
|
||||
direct, other damage, loss, or other issues arising in any way out
|
||||
of dealing in the work, even if advised of the possibility of such
|
||||
damage or existence of a defect, except proven that it results out
|
||||
of said person's immediate fault when using the work as intended.
|
||||
|
||||
|
||||
Appendix B - The UCB (3-clause BSD) licence (OSI approved)
|
||||
===========================================
|
||||
|
||||
printf.c is
|
||||
Copyright (c) 1989
|
||||
The Regents of the University of California.
|
||||
All rights reserved.
|
||||
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
|
||||
Appendix C - ISC Licence (OSI approved)
|
||||
========================
|
||||
|
||||
strlcpy.c is
|
||||
Copyright (c) 2006, 2008, 2009, 2013
|
||||
mirabilos <m@mirbsd.org>
|
||||
Copyright (c) 1998
|
||||
Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
|
||||
Appendix D - Licence for mksh.ico (optional component)
|
||||
=================================
|
||||
|
||||
The application icon resource comes in its preferred form
|
||||
of modification and is an unregistered trademark:
|
||||
|
||||
Copyright (c) 2013 Michael Langguth
|
||||
Copyright (c) 2006 Benny Siegert
|
||||
Copyright (c) 2005 mirabilos
|
||||
|
||||
This icon may be used to refer to The MirBSD Korn Shell and
|
||||
its Win32 port. Distribution patches are acceptable as long
|
||||
as they modify $KSH_VERSION according to the guidelines that
|
||||
are published on the website; forks and works that are not
|
||||
derivates are not allowed to use it.
|
||||
|
||||
As far as MirBSD is concerned, the files themselves are free
|
||||
to modification and distribution under BSD/MirOS Licence, the
|
||||
restriction on use stems only from a need to protect it or
|
||||
lose it: http://www.mckusick.com/beastie/mainpage/copyright.html
|
||||
|
||||
The Shilouette daemon is Copyright (c) 2003 by Rick Collette.
|
||||
The MirOS Project may freely use the former ekkoBSD Logo,
|
||||
the shilouette Daemon, for MirBSD, on anything the project
|
||||
leader sees fit, so long as it pertains to MirBSD in some
|
||||
way and the leader gives credit for the original daemon to
|
||||
Marshall Kirk McKusick.
|
||||
|
||||
The BSD daemon is Copyright (c) 1988 by Marshall Kirk McKusick.
|
||||
All Rights Reserved. Individuals may use the daemon for their
|
||||
personal use within the bounds of good taste. When reasonably
|
||||
possible, the text shown above is to be included.
|
||||
|
||||
|
||||
Appendix E - Unicode Data Files and Software Licence
|
||||
====================================================
|
||||
|
||||
Copyright © 1991–2020 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that either
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software, or
|
||||
(b) this copyright and permission notice appear in associated
|
||||
Documentation.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
|
||||
|
||||
__________________________________________________________________
|
||||
$MirOS: www/files/TaC-mksh.txt,v 1.37 2020/05/16 23:08:35 tg Exp $
|
|
@ -1,8 +0,0 @@
|
|||
# .mkshrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/mkshrc ]; then
|
||||
. /etc/mkshrc
|
||||
fi
|
||||
|
||||
# User specific aliases and functions
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"dot-mkshrc": "a826046efac1a23196581097f4c89aa2ace3df29b7f401e7504a497af83fdaf7",
|
||||
"mksh-R59c.tgz": "77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506",
|
||||
"rtchecks.expected": "277c07ab33a0396e73f1eb73f099ce6e020bc2e3d8cbad46f9a8e08c39bda557",
|
||||
"TaC-mksh.txt": "8a53fe4d643fb7341e6c94653d63d3d813d8d849fc1d9dfe5dc49ab2fb48aee9"
|
||||
}
|
||||
}
|
|
@ -1,416 +0,0 @@
|
|||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
|
||||
|
||||
|
||||
Summary: MirBSD enhanced version of the Korn Shell
|
||||
Name: mksh
|
||||
Version: 59c
|
||||
Release: 2%{?dist}
|
||||
# BSD (setmode.c), ISC (strlcpy.c), MirOS (the rest)
|
||||
License: MirOS and ISC and BSD
|
||||
URL: https://www.mirbsd.org/mksh.htm
|
||||
Source0: https://www.mirbsd.org/MirOS/dist/mir/%{name}/%{name}-R%{version}.tgz
|
||||
Source1: dot-mkshrc
|
||||
Source2: rtchecks.expected
|
||||
Source3: http://www.mirbsd.org/TaC-mksh.txt
|
||||
Conflicts: filesystem < 3
|
||||
Provides: /bin/ksh
|
||||
Provides: /bin/lksh
|
||||
Provides: /bin/mksh
|
||||
Provides: /bin/rlksh
|
||||
Provides: /bin/rmksh
|
||||
|
||||
Requires(post): grep
|
||||
Requires(post): %{_sbindir}/alternatives
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
Requires(postun): sed
|
||||
BuildRequires: gcc
|
||||
BuildRequires: util-linux
|
||||
BuildRequires: ed
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Getopt::Std)
|
||||
BuildRequires: sed
|
||||
|
||||
%description
|
||||
mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh),
|
||||
a bourne-compatible shell which is largely similar to the original AT&T Korn
|
||||
shell. It includes bug fixes and feature improvements in order to produce a
|
||||
modern, robust shell good for interactive and especially script use, being a
|
||||
bourne shell replacement, pdksh successor and an alternative to the C shell.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
cp %{SOURCE3} .
|
||||
|
||||
# we'll need this later
|
||||
cat >rtchecks <<'EOF'
|
||||
typeset -i sari=0
|
||||
typeset -Ui uari=0
|
||||
typeset -i x=0
|
||||
print -r -- $((x++)):$sari=$uari. #0
|
||||
let --sari --uari
|
||||
print -r -- $((x++)):$sari=$uari. #1
|
||||
sari=2147483647 uari=2147483647
|
||||
print -r -- $((x++)):$sari=$uari. #2
|
||||
let ++sari ++uari
|
||||
print -r -- $((x++)):$sari=$uari. #3
|
||||
let --sari --uari
|
||||
let 'sari *= 2' 'uari *= 2'
|
||||
let ++sari ++uari
|
||||
print -r -- $((x++)):$sari=$uari. #4
|
||||
let ++sari ++uari
|
||||
print -r -- $((x++)):$sari=$uari. #5
|
||||
sari=-2147483648 uari=-2147483648
|
||||
print -r -- $((x++)):$sari=$uari. #6
|
||||
let --sari --uari
|
||||
print -r -- $((x++)):$sari=$uari. #7
|
||||
(( sari = -5 >> 1 ))
|
||||
((# uari = -5 >> 1 ))
|
||||
print -r -- $((x++)):$sari=$uari. #8
|
||||
(( sari = -2 ))
|
||||
((# uari = sari ))
|
||||
print -r -- $((x++)):$sari=$uari. #9
|
||||
EOF
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" LDFLAGS="$RPM_LD_FLAGS" sh Build.sh -r
|
||||
cp test.sh test_mksh.sh
|
||||
HAVE_PERSISTENT_HISTORY=0; export HAVE_PERSISTENT_HISTORY
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL" LDFLAGS="$RPM_LD_FLAGS" sh Build.sh -L -r
|
||||
cp -f test.sh test_lksh.sh
|
||||
./mksh FAQ2HTML.sh
|
||||
|
||||
%install
|
||||
install -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
||||
install -D -m 755 lksh $RPM_BUILD_ROOT%{_bindir}/lksh
|
||||
install -D -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||
install -D -m 644 lksh.1 $RPM_BUILD_ROOT%{_mandir}/man1/lksh.1
|
||||
install -D -p -m 644 dot.mkshrc $RPM_BUILD_ROOT%{_sysconfdir}/mkshrc
|
||||
install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.mkshrc
|
||||
ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/rmksh
|
||||
ln -s lksh $RPM_BUILD_ROOT%{_bindir}/rlksh
|
||||
ln -s %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/rmksh.1
|
||||
ln -s lksh.1 $RPM_BUILD_ROOT%{_mandir}/man1/rlksh.1
|
||||
touch $RPM_BUILD_ROOT{%{_bindir}/ksh,%{_mandir}/man1/ksh.1}
|
||||
|
||||
%check
|
||||
./mksh rtchecks >rtchecks.got 2>&1
|
||||
if ! cmp --quiet rtchecks.got %{SOURCE2}
|
||||
then
|
||||
echo "rtchecks failed"
|
||||
diff -Naurp %{SOURCE2} rtchecks.got
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for tf in test_mksh.sh test_lksh.sh
|
||||
do
|
||||
echo > test.wait
|
||||
script -qc "./$tf"' -v; x=$?; rm -f test.wait; exit $x'
|
||||
maxwait=0
|
||||
while test -e test.wait; do
|
||||
sleep 1
|
||||
maxwait=$(expr $maxwait + 1)
|
||||
test $maxwait -lt 900 || break
|
||||
done
|
||||
done
|
||||
|
||||
%post
|
||||
|
||||
grep -q "^/bin/%{name}$" %{_sysconfdir}/shells 2>/dev/null || \
|
||||
echo "/bin/%{name}" >> %{_sysconfdir}/shells
|
||||
|
||||
grep -q "^%{_bindir}/%{name}$" %{_sysconfdir}/shells 2>/dev/null || \
|
||||
echo "%{_bindir}/%{name}" >> %{_sysconfdir}/shells
|
||||
|
||||
%{_sbindir}/alternatives --install %{_bindir}/ksh ksh %{_bindir}/%{name} 10 \
|
||||
--slave %{_mandir}/man1/ksh.1.gz ksh-man %{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
%{_sbindir}/alternatives --remove ksh %{_bindir}/%{name}
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ ! -x %{_bindir}/%{name} ]; then
|
||||
|
||||
sed -e 's@^/bin/%{name}$@POSTUNREMOVE@' -e '/^POSTUNREMOVE$/d' -i %{_sysconfdir}/shells
|
||||
|
||||
sed -e 's@^%{_bindir}/%{name}$@POSTUNREMOVE@' -e '/^POSTUNREMOVE$/d' -i %{_sysconfdir}/shells
|
||||
fi
|
||||
|
||||
%files
|
||||
%license TaC-mksh.txt
|
||||
%doc dot.mkshrc FAQ.htm
|
||||
%ghost %{_bindir}/ksh
|
||||
%{_bindir}/lksh
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/rlksh
|
||||
%{_bindir}/rmksh
|
||||
%config(noreplace) %{_sysconfdir}/mkshrc
|
||||
%config(noreplace) %{_sysconfdir}/skel/.mkshrc
|
||||
%ghost %{_mandir}/man1/ksh.1*
|
||||
%{_mandir}/man1/lksh.1*
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_mandir}/man1/rlksh.1*
|
||||
%{_mandir}/man1/rmksh.1*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 59c-2
|
||||
- Initial CBL-Mariner import from Fedora 33 (license: MIT).
|
||||
|
||||
* Mon Nov 02 2020 Robert Scheck <robert@fedoraproject.org> 59c-1
|
||||
- Upgrade to 59c (#1893414)
|
||||
- Add alternatives switching for ksh (#1879002)
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 59b-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun May 17 2020 Robert Scheck <robert@fedoraproject.org> 59b-1
|
||||
- Upgrade to 59b (#1836572)
|
||||
|
||||
* Wed Apr 15 2020 Robert Scheck <robert@fedoraproject.org> 59-1
|
||||
- Upgrade to 59 (#1823973)
|
||||
|
||||
* Fri Mar 27 2020 Robert Scheck <robert@fedoraproject.org> 58-1
|
||||
- Upgrade to 58 (#1817981)
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 57-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 57-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Mar 25 2019 Robert Scheck <robert@fedoraproject.org> 57-1
|
||||
- Upgrade to 57 (#1684737)
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 56c-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 56c-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> 56c-3
|
||||
- Build flags injection is only partially successful (#1543842)
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 56c-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sun Jan 14 2018 Robert Scheck <robert@fedoraproject.org> 56c-1
|
||||
- Upgrade to 56c
|
||||
|
||||
* Tue Aug 29 2017 Robert Scheck <robert@fedoraproject.org> 56b-1
|
||||
- Upgrade to 56b
|
||||
|
||||
* Wed Aug 09 2017 Michal Hlavinka <mhlavink@redhat.com> 56-1
|
||||
- Upgrade to 56 (#1479800)
|
||||
- fixes wait exit codes of co-processes when run in interactive mode (#1479320)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Apr 13 2017 Robert Scheck <robert@fedoraproject.org> 55-1
|
||||
- Upgrade to 55
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 54-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Nov 13 2016 Robert Scheck <robert@fedoraproject.org> 54-1
|
||||
- Upgrade to 54 (#1394477)
|
||||
|
||||
* Sun Aug 28 2016 Robert Scheck <robert@fedoraproject.org> 53a-1
|
||||
- Upgrade to 53a (#1370764)
|
||||
|
||||
* Mon Mar 07 2016 Robert Scheck <robert@fedoraproject.org> 52c-1
|
||||
- Upgrade to 52c
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 52b-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jan 21 2016 Robert Scheck <robert@fedoraproject.org> 52b-1
|
||||
- Upgrade to 52b (#1300482)
|
||||
|
||||
* Sun Dec 13 2015 Robert Scheck <robert@fedoraproject.org> 52-1
|
||||
- Upgrade to 52 (#1291069)
|
||||
|
||||
* Sat Jul 11 2015 Robert Scheck <robert@fedoraproject.org> 51-1
|
||||
- Upgrade to 51 (#1242108)
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 50f-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Apr 20 2015 Robert Scheck <robert@fedoraproject.org> 50f-1
|
||||
- Upgrade to 50f
|
||||
|
||||
* Thu Mar 19 2015 Robert Scheck <robert@fedoraproject.org> 50e-1
|
||||
- Upgrade to 50e
|
||||
- Apply https://fedoraproject.org/wiki/Features/UsrMove
|
||||
|
||||
* Wed Oct 08 2014 Robert Scheck <robert@fedoraproject.org> 50d-1
|
||||
- Upgrade to 50d (#1150493)
|
||||
|
||||
* Fri Oct 03 2014 Robert Scheck <robert@fedoraproject.org> 50c-1
|
||||
- Upgrade to 50c
|
||||
|
||||
* Thu Sep 11 2014 Robert Scheck <robert@fedoraproject.org> 50b-1
|
||||
- Upgrade to 50b
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 50-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Thu Jul 03 2014 Robert Scheck <robert@fedoraproject.org> 50-1
|
||||
- Upgrade to 50
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 49-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue Jan 14 2014 Robert Scheck <robert@fedoraproject.org> 49-1
|
||||
- Upgrade to 49
|
||||
|
||||
* Sun Aug 25 2013 Robert Scheck <robert@fedoraproject.org> 48b-1
|
||||
- Upgrade to 48b
|
||||
|
||||
* Sat Aug 03 2013 Robert Scheck <robert@fedoraproject.org> 47-1
|
||||
- Upgrade to 47
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 46-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri May 03 2013 Thorsten Glaser <tg@mirbsd.org> 46-1
|
||||
- Upgrade mksh to R46
|
||||
|
||||
* Wed May 01 2013 Thorsten Glaser <tg@mirbsd.org> 45-1
|
||||
- Upgrade mksh to R45 and the other files to the accompanying versions
|
||||
- Drop workaround for GCC PR55009 (no longer needed)
|
||||
- Use https for homepage
|
||||
|
||||
* Mon Mar 18 2013 Robert Scheck <robert@fedoraproject.org> 44-1
|
||||
- Upgrade to 44 and work around bug in GCC 4.8 (#922974)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 41-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Mon Dec 03 2012 Michal Hlavinka <mhlavink@redhat.com> - 41-1
|
||||
- Upgrade to 41
|
||||
|
||||
* Fri Jul 20 2012 Michal Hlavinka <mhlavink@redhat.com> - 40i-0.20120630
|
||||
- Upgrade to pre-release of 40i
|
||||
- includes new legacy shell lksh for old scripts requiring pdksh or similar old
|
||||
ksh-88 shell, see man lksh for differences
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 40d-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 40d-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sun Dec 11 2011 Robert Scheck <robert@fedoraproject.org> 40d-1
|
||||
- Upgrade to 40d
|
||||
|
||||
* Tue Nov 22 2011 Robert Scheck <robert@fedoraproject.org> 40c-1
|
||||
- Upgrade to 40c
|
||||
|
||||
* Thu Jul 28 2011 Robert Scheck <robert@fedoraproject.org> 40b-2
|
||||
- Use new "Build.sh -r -c lto" rather "Build.sh -r -combine"
|
||||
|
||||
* Thu Jul 28 2011 Robert Scheck <robert@fedoraproject.org> 40b-1
|
||||
- Upgrade to 40b
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 39c-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Jan 04 2011 Michal Hlavinka <mhlavink@redhat.com> 39c-4
|
||||
- fix crash when bad substitution is used
|
||||
|
||||
* Wed Jul 21 2010 Michal Hlavinka <mhlavink@redhat.com> 39c-3
|
||||
- fix crash when alias contains alias
|
||||
- fix crash when xtrace is enabled
|
||||
|
||||
* Sun Jul 11 2010 Robert Scheck <robert@fedoraproject.org> 39c-2
|
||||
- Added default configuration /etc/mkshrc & /etc/skel/.mkshrc
|
||||
as default skel (like at bash; thanks to Michal Hlavinka)
|
||||
- Corrected the license tag (thanks to Michal Hlavinka)
|
||||
- Removed the arc4random.c file (upstream is phasing it out)
|
||||
|
||||
* Sat Feb 27 2010 Robert Scheck <robert@fedoraproject.org> 39c-1
|
||||
- Upgrade to 39c and updated arc4random.c file
|
||||
|
||||
* Thu Aug 13 2009 Robert Scheck <robert@fedoraproject.org> 39-1
|
||||
- Upgrade to 39 and updated arc4random.c file
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 38b-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sun May 31 2009 Robert Scheck <robert@fedoraproject.org> 38b-1
|
||||
- Upgrade to 38b
|
||||
|
||||
* Sun May 31 2009 Robert Scheck <robert@fedoraproject.org> 38-1
|
||||
- Upgrade to 38 and updated arc4random.c file
|
||||
- Used -combine (-fwhole-program) rather the old -j switch
|
||||
|
||||
* Sun Apr 05 2009 Robert Scheck <robert@fedoraproject.org> 37b-1
|
||||
- Upgrade to 37b
|
||||
|
||||
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 36b-2
|
||||
- Rebuild against gcc 4.4 and rpm 4.6
|
||||
|
||||
* Sun Dec 14 2008 Robert Scheck <robert@fedoraproject.org> 36b-1
|
||||
- Upgrade to 36b and updated arc4random.c file
|
||||
|
||||
* Tue Dec 02 2008 Robert Scheck <robert@fedoraproject.org> 36-2
|
||||
- Upstream patch for command hang/high cpu workload (#474115)
|
||||
|
||||
* Sat Oct 25 2008 Robert Scheck <robert@fedoraproject.org> 36-1
|
||||
- Upgrade to 36
|
||||
|
||||
* Sat Jul 19 2008 Robert Scheck <robert@fedoraproject.org> 35b-1
|
||||
- Upgrade to 35b
|
||||
|
||||
* Sun Jul 13 2008 Robert Scheck <robert@fedoraproject.org> 35-1
|
||||
- Upgrade to 35
|
||||
|
||||
* Sat Apr 12 2008 Robert Scheck <robert@fedoraproject.org> 33d-1
|
||||
- Upgrade to 33d
|
||||
|
||||
* Fri Apr 04 2008 Robert Scheck <robert@fedoraproject.org> 33c-1
|
||||
- Upgrade to 33c and updated arc4random.c file
|
||||
|
||||
* Mon Mar 03 2008 Robert Scheck <robert@fedoraproject.org> 33-1
|
||||
- Upgrade to 33
|
||||
|
||||
* Sun Feb 10 2008 Robert Scheck <robert@fedoraproject.org> 32-2
|
||||
- Rebuild against gcc 4.3
|
||||
|
||||
* Sat Nov 10 2007 Robert Scheck <robert@fedoraproject.org> 32-1
|
||||
- Upgrade to 32
|
||||
- Solved fork problems in %%check (thanks to Thorsten Glaser)
|
||||
|
||||
* Mon Oct 15 2007 Robert Scheck <robert@fedoraproject.org> 31d-1
|
||||
- Upgrade to 31d
|
||||
|
||||
* Wed Sep 12 2007 Robert Scheck <robert@fedoraproject.org> 31c-1
|
||||
- Upgrade to 31c
|
||||
- Added a buildrequirement to ed, added arc4random.c file
|
||||
|
||||
* Tue Sep 11 2007 Robert Scheck <robert@fedoraproject.org> 31b-1
|
||||
- Upgrade to 31b
|
||||
- Use script to get %%check happy (thanks to Thorsten Glaser)
|
||||
|
||||
* Sat Sep 08 2007 Robert Scheck <robert@fedoraproject.org> 31-1
|
||||
- Upgrade to 31
|
||||
|
||||
* Tue Aug 28 2007 Robert Scheck <robert@fedoraproject.org> 30-2
|
||||
- Updated the license tag according to the guidelines
|
||||
|
||||
* Sat Jul 28 2007 Robert Scheck <robert@fedoraproject.org> 30-1
|
||||
- Upgrade to 30
|
||||
|
||||
* Sat Jul 14 2007 Robert Scheck <robert@fedoraproject.org> 29g-1
|
||||
- Upgrade to 29g
|
||||
|
||||
* Sun Jun 03 2007 Robert Scheck <robert@fedoraproject.org> 29f-1
|
||||
- Upgrade to 29f
|
||||
- Initial spec file for Fedora and Red Hat Enterprise Linux
|
|
@ -1,10 +0,0 @@
|
|||
0:0=0.
|
||||
1:-1=4294967295.
|
||||
2:2147483647=2147483647.
|
||||
3:-2147483648=2147483648.
|
||||
4:-1=4294967295.
|
||||
5:0=0.
|
||||
6:-2147483648=2147483648.
|
||||
7:2147483647=2147483647.
|
||||
8:-3=2147483645.
|
||||
9:-2=4294967294.
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"openrdate-1.2.tar.gz": "2921fc96d4ca676190d6ffd45fa80e107c1fe12291c0c4f64827c29639863332"
|
||||
}
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Name: openrdate
|
||||
Version: 1.2
|
||||
Release: 17%{?dist}
|
||||
Summary: Good-old rdate date and time-setting software
|
||||
License: BSD and BSD with advertising
|
||||
URL: http://sourceforge.net/projects/openrdate
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
# openrdate-1.2-1 replaces rdate-1.4-24, which does not have active upstream
|
||||
Provides: rdate = %{version}-%{release}
|
||||
Obsoletes: rdate < 1.4-25
|
||||
|
||||
BuildRequires: gcc
|
||||
%description
|
||||
Good-old date- and time-setting rdate software implementing RFC 868
|
||||
(inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package
|
||||
of OpenBSD's rdate program.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{_bindir}/rdate
|
||||
%{_mandir}/man8/rdate.8*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2-17
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Aug 19 2013 Honza Horak <hhorak@redhat.com> - 1.2-4
|
||||
- Fix obsoletes NVR
|
||||
Resolves: #998172
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2013 Honza Horak <hhorak@redhat.com> - 1.2-2
|
||||
- Fix issues found by Package Review
|
||||
|
||||
* Mon May 27 2013 Honza Horak <hhorak@redhat.com> - 1.2-1
|
||||
- Initial packaging
|
||||
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -369,7 +369,6 @@
|
|||
"heimdal",
|
||||
"help2man",
|
||||
"hexedit",
|
||||
"hfsplus-tools",
|
||||
"hicolor-icon-theme",
|
||||
"hiera",
|
||||
"highlight",
|
||||
|
@ -647,7 +646,6 @@
|
|||
"koan",
|
||||
"kpmcore",
|
||||
"kronosnet",
|
||||
"ksh",
|
||||
"kxml",
|
||||
"kyotocabinet",
|
||||
"kyua",
|
||||
|
@ -993,7 +991,6 @@
|
|||
"ming",
|
||||
"minicom",
|
||||
"minizip",
|
||||
"mksh",
|
||||
"mobile-broadband-provider-info",
|
||||
"mock",
|
||||
"mock-core-configs",
|
||||
|
@ -1148,7 +1145,6 @@
|
|||
"openmpi",
|
||||
"openobex",
|
||||
"openoffice-lv",
|
||||
"openrdate",
|
||||
"opensc",
|
||||
"openslp",
|
||||
"opensm",
|
||||
|
|
|
@ -5425,16 +5425,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "hfsplus-tools",
|
||||
"version": "540.1.linux3",
|
||||
"downloadUrl": "http://cavan.codon.org.uk/~mjg59/diskdev_cmds/diskdev_cmds-540.1.linux3.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -8656,16 +8646,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "ksh",
|
||||
"version": "2020.0.0",
|
||||
"downloadUrl": "https://github.com/att/ast/releases/download/2020.0.0/ksh-2020.0.0.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -13598,16 +13578,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "mksh",
|
||||
"version": "59c",
|
||||
"downloadUrl": "https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R59c.tgz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -15629,16 +15599,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "openrdate",
|
||||
"version": "1.2",
|
||||
"downloadUrl": "http://downloads.sourceforge.net/openrdate/openrdate-1.2.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
Загрузка…
Ссылка в новой задаче