From 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 4 Nov 2013 17:08:47 +0000 Subject: Slackware 14.1 Mon Nov 4 17:08:47 UTC 2013 Slackware 14.1 x86_64 stable is released! It's been another interesting release cycle here at Slackware bringing new features like support for UEFI machines, updated compilers and development tools, the switch from MySQL to MariaDB, and many more improvements throughout the system. Thanks to the team, the upstream developers, the dedicated Slackware community, and everyone else who pitched in to help make this release a reality. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Have fun! :-) --- source/d/binutils/binutils-2.22.52.0.2.tar.sign | Bin 543 -> 0 bytes source/d/binutils/binutils-2.23.52.0.1.tar.sign | Bin 0 -> 543 bytes source/d/binutils/binutils.SlackBuild | 13 +- .../d/binutils/binutils.addr2line.dynsymtab.diff | 128 ++++ source/d/binutils/binutils.export.demangle.h.diff | 33 + source/d/binutils/binutils.no-config-h-check.diff | 28 + source/d/binutils/binutils.revert.pr15149.diff | 22 + source/d/binutils/binutils.texinfo5.diff | 201 ++++++ source/d/binutils/release.binutils-2.22.52.0.2 | 508 -------------- source/d/binutils/release.binutils-2.23.52.0.1 | 775 +++++++++++++++++++++ source/d/bison/bison.SlackBuild | 6 +- source/d/clisp/clisp.SlackBuild | 4 +- source/d/cmake/cmake.SlackBuild | 6 +- source/d/cmake/cmake.findpkgconfig.3ea850.patch | 63 -- source/d/cvs/cvs.SlackBuild | 10 +- source/d/cvs/cvs.crypt-2.diff | 53 ++ source/d/cvs/cvs.getline64.diff | 34 + source/d/distcc/distcc.SlackBuild | 17 +- source/d/distcc/doinst.sh | 15 + source/d/flex/flex.SlackBuild | 10 +- source/d/gcc/gcc-4.7.1.adalib.pic.diff | 40 -- source/d/gcc/gcc.SlackBuild | 19 +- source/d/gcc/slack-desc.gcc | 2 +- source/d/git/git.SlackBuild | 3 + source/d/guile/guile.SlackBuild | 12 +- source/d/guile/slack-desc | 2 +- source/d/help2man/help2man.SlackBuild | 149 ++++ source/d/help2man/slack-desc | 19 + source/d/libtool/libtool.SlackBuild | 4 +- source/d/llvm/llvm.SlackBuild | 109 ++- source/d/llvm/llvm.url | 4 +- source/d/make/make-3.82-bugfixes.patch | 250 +++++++ source/d/make/make.SlackBuild | 6 +- source/d/open-cobol/open-cobol.SlackBuild | 133 ++++ source/d/open-cobol/slack-desc | 19 + source/d/oprofile/oprofile.SlackBuild | 3 +- source/d/oprofile/oprofile.config.h.diff | 22 + source/d/perl/perl.SlackBuild | 21 +- source/d/python/python.SlackBuild | 8 +- source/d/rcs/rcs-5.7.diff | 17 - source/d/rcs/rcs.SlackBuild | 131 ++-- source/d/ruby/ruby.SlackBuild | 8 +- source/d/slacktrack/slacktrack.SlackBuild | 2 +- source/d/strace/strace.SlackBuild | 16 +- source/d/swig/swig.url | 2 +- 45 files changed, 2139 insertions(+), 788 deletions(-) delete mode 100644 source/d/binutils/binutils-2.22.52.0.2.tar.sign create mode 100644 source/d/binutils/binutils-2.23.52.0.1.tar.sign create mode 100644 source/d/binutils/binutils.addr2line.dynsymtab.diff create mode 100644 source/d/binutils/binutils.export.demangle.h.diff create mode 100644 source/d/binutils/binutils.no-config-h-check.diff create mode 100644 source/d/binutils/binutils.revert.pr15149.diff create mode 100644 source/d/binutils/binutils.texinfo5.diff delete mode 100644 source/d/binutils/release.binutils-2.22.52.0.2 create mode 100644 source/d/binutils/release.binutils-2.23.52.0.1 delete mode 100644 source/d/cmake/cmake.findpkgconfig.3ea850.patch create mode 100644 source/d/cvs/cvs.crypt-2.diff create mode 100644 source/d/cvs/cvs.getline64.diff create mode 100644 source/d/distcc/doinst.sh delete mode 100644 source/d/gcc/gcc-4.7.1.adalib.pic.diff create mode 100755 source/d/help2man/help2man.SlackBuild create mode 100644 source/d/help2man/slack-desc create mode 100644 source/d/make/make-3.82-bugfixes.patch create mode 100755 source/d/open-cobol/open-cobol.SlackBuild create mode 100644 source/d/open-cobol/slack-desc create mode 100644 source/d/oprofile/oprofile.config.h.diff delete mode 100644 source/d/rcs/rcs-5.7.diff (limited to 'source/d') diff --git a/source/d/binutils/binutils-2.22.52.0.2.tar.sign b/source/d/binutils/binutils-2.22.52.0.2.tar.sign deleted file mode 100644 index c2bf9930..00000000 Binary files a/source/d/binutils/binutils-2.22.52.0.2.tar.sign and /dev/null differ diff --git a/source/d/binutils/binutils-2.23.52.0.1.tar.sign b/source/d/binutils/binutils-2.23.52.0.1.tar.sign new file mode 100644 index 00000000..83daf366 Binary files /dev/null and b/source/d/binutils/binutils-2.23.52.0.1.tar.sign differ diff --git a/source/d/binutils/binutils.SlackBuild b/source/d/binutils/binutils.SlackBuild index 02791dc1..82b7f181 100755 --- a/source/d/binutils/binutils.SlackBuild +++ b/source/d/binutils/binutils.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2005-2012 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2005-2013 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -100,6 +100,17 @@ tar xvf $CWD/binutils-$VERSION.tar.xz || \ tar xvf $CWD/binutils-$VERSION.tar.bz2 || exit 1 cd binutils-$VERSION +# Use dynamic symbol table if addr2line can't find ordinary symbols: +zcat $CWD/binutils.addr2line.dynsymtab.diff.gz | patch -p1 --verbose || exit 1 +# Export the demangle.h header file: +zcat $CWD/binutils.export.demangle.h.diff.gz | patch -p1 --verbose || exit 1 +# Don't check to see if "config.h" was included in the installed headers: +zcat $CWD/binutils.no-config-h-check.diff.gz | patch -p1 --verbose || exit 1 +# Revert a patch that broke library linking for weak symbols: +zcat $CWD/binutils.revert.pr15149.diff.gz | patch -p1 --verbose || exit 1 +# Prepare for texinfo-5.x... someday: +zcat $CWD/binutils.texinfo5.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/d/binutils/binutils.addr2line.dynsymtab.diff b/source/d/binutils/binutils.addr2line.dynsymtab.diff new file mode 100644 index 00000000..ee71eb7e --- /dev/null +++ b/source/d/binutils/binutils.addr2line.dynsymtab.diff @@ -0,0 +1,128 @@ +--- ./bfd/opncls.c.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/opncls.c 2013-04-02 15:56:55.703204116 -0500 +@@ -1297,6 +1297,8 @@ + bfd_malloc (strlen (debug_file_directory) + 1 + + (canon_dirlen > dirlen ? canon_dirlen : dirlen) + + strlen (".debug/") ++#define FEDORA_LIB_DEBUG_DIR "/usr/lib/debug/" ++ + strlen (FEDORA_LIB_DEBUG_DIR) + strlen ("usr/") + + strlen (base) + + 1); + if (debugfile == NULL) +@@ -1332,6 +1334,26 @@ + return debugfile; + } + ++ /* Then try in the global debug dir for Fedora libraries. */ ++ sprintf (debugfile, "%s%s%s", FEDORA_LIB_DEBUG_DIR, dir, base); ++ if (separate_debug_file_exists (debugfile, crc32)) ++ { ++ free (base); ++ free (dir); ++ free (canon_dir); ++ return debugfile; ++ } ++ ++ /* Then try in the usr subdirectory of the global debug dir for Fedora libraries. */ ++ sprintf (debugfile, "%s/usr%s%s", FEDORA_LIB_DEBUG_DIR, dir, base); ++ if (separate_debug_file_exists (debugfile, crc32)) ++ { ++ free (base); ++ free (dir); ++ free (canon_dir); ++ return debugfile; ++ } ++ + /* Then try in the global debugfile directory. */ + strcpy (debugfile, debug_file_directory); + dirlen = strlen (debug_file_directory) - 1; +--- ./bfd/dwarf2.c.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/dwarf2.c 2013-04-02 15:56:55.704204116 -0500 +@@ -3339,8 +3339,11 @@ + struct dwarf2_debug *stash; + /* What address are we looking for? */ + bfd_vma addr; ++ /* What is the address without relocation ? */ ++ bfd_vma unrelocated_addr; + struct comp_unit* each; + bfd_vma found = FALSE; ++ bfd_vma possible_find = FALSE; + bfd_boolean do_line; + + *filename_ptr = NULL; +@@ -3380,6 +3383,12 @@ + else + abort (); + ++ /* If we are dealing with PIC code then the debug information ++ will be based on unrelocated addresses. Since we cannot be ++ sure if this is a PIC address we test both with and without ++ relocation. */ ++ unrelocated_addr = addr; ++ + if (section->output_section) + addr += section->output_section->vma + section->output_offset; + else +@@ -3442,6 +3451,16 @@ + stash)); + if (found) + goto done; ++ ++ if (! possible_find) ++ possible_find = ((each->arange.high == 0 ++ || comp_unit_contains_address (each, unrelocated_addr)) ++ && comp_unit_find_nearest_line (each, unrelocated_addr, ++ filename_ptr, ++ functionname_ptr, ++ linenumber_ptr, ++ discriminator_ptr, ++ stash)); + } + } + +@@ -3535,6 +3554,16 @@ + discriminator_ptr, + stash)); + ++ if (! found && ! do_line && ! possible_find) ++ possible_find = ((each->arange.high == 0 ++ || comp_unit_contains_address (each, unrelocated_addr)) ++ && comp_unit_find_nearest_line (each, unrelocated_addr, ++ filename_ptr, ++ functionname_ptr, ++ linenumber_ptr, ++ discriminator_ptr, ++ stash)); ++ + if ((bfd_vma) (stash->info_ptr - stash->sec_info_ptr) + == stash->sec->size) + { +@@ -3552,6 +3581,8 @@ + if ((abfd->flags & (EXEC_P | DYNAMIC)) == 0) + unset_sections (stash); + ++ if (! found) ++ return possible_find; + return found; + } + +--- ./binutils/addr2line.c.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./binutils/addr2line.c 2013-04-02 15:56:55.703204116 -0500 +@@ -130,6 +130,17 @@ + symcount = bfd_canonicalize_symtab (abfd, syms); + if (symcount < 0) + bfd_fatal (bfd_get_filename (abfd)); ++ ++ /* If there are no symbols left after canonicalization and ++ we have not tried the dynamic symbols then give them a go. */ ++ if (symcount == 0 ++ && ! dynamic ++ && (storage = bfd_get_dynamic_symtab_upper_bound (abfd)) > 0) ++ { ++ free (syms); ++ syms = xmalloc (storage); ++ symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); ++ } + } + + /* These global variables are used to pass information between diff --git a/source/d/binutils/binutils.export.demangle.h.diff b/source/d/binutils/binutils.export.demangle.h.diff new file mode 100644 index 00000000..1f31cd11 --- /dev/null +++ b/source/d/binutils/binutils.export.demangle.h.diff @@ -0,0 +1,33 @@ +--- ./bfd/Makefile.in.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/Makefile.in 2013-04-02 15:54:59.559209068 -0500 +@@ -156,7 +156,8 @@ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive + am__bfdinclude_HEADERS_DIST = $(INCDIR)/plugin-api.h bfd.h \ +- $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h ++ $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h \ ++ $(INCDIR)/demangle.h + HEADERS = $(bfdinclude_HEADERS) + RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +@@ -350,7 +351,8 @@ + @INSTALL_LIBBFD_FALSE@bfdinclude_HEADERS = $(am__append_2) + @INSTALL_LIBBFD_TRUE@bfdinclude_HEADERS = $(BFD_H) \ + @INSTALL_LIBBFD_TRUE@ $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ +-@INSTALL_LIBBFD_TRUE@ $(INCDIR)/bfdlink.h $(am__append_2) ++@INSTALL_LIBBFD_TRUE@ $(INCDIR)/bfdlink.h $(INCDIR)/demangle.h \ ++@INSTALL_LIBBFD_TRUE@ $(am__append_2) + @INSTALL_LIBBFD_FALSE@rpath_bfdlibdir = @bfdlibdir@ + @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la + AM_CFLAGS = $(WARN_CFLAGS) +--- ./bfd/Makefile.am.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/Makefile.am 2013-04-02 15:54:59.558209068 -0500 +@@ -35,7 +35,7 @@ + bfdlibdir = @bfdlibdir@ + bfdincludedir = @bfdincludedir@ + bfdlib_LTLIBRARIES = libbfd.la +-bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h ++bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h $(INCDIR)/demangle.h + else !INSTALL_LIBBFD + # Empty these so that the respective installation directories will not be created. + bfdlibdir = diff --git a/source/d/binutils/binutils.no-config-h-check.diff b/source/d/binutils/binutils.no-config-h-check.diff new file mode 100644 index 00000000..55cba7fb --- /dev/null +++ b/source/d/binutils/binutils.no-config-h-check.diff @@ -0,0 +1,28 @@ +--- ./bfd/bfd-in2.h.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/bfd-in2.h 2013-04-02 15:57:44.847202021 -0500 +@@ -32,11 +32,6 @@ + #ifndef __BFD_H_SEEN__ + #define __BFD_H_SEEN__ + +-/* PR 14072: Ensure that config.h is included first. */ +-#if !defined PACKAGE && !defined PACKAGE_VERSION +-#error config.h must be included before this header +-#endif +- + #ifdef __cplusplus + extern "C" { + #endif +--- ./bfd/bfd-in.h.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/bfd-in.h 2013-04-02 15:57:44.846202021 -0500 +@@ -25,11 +25,6 @@ + #ifndef __BFD_H_SEEN__ + #define __BFD_H_SEEN__ + +-/* PR 14072: Ensure that config.h is included first. */ +-#if !defined PACKAGE && !defined PACKAGE_VERSION +-#error config.h must be included before this header +-#endif +- + #ifdef __cplusplus + extern "C" { + #endif diff --git a/source/d/binutils/binutils.revert.pr15149.diff b/source/d/binutils/binutils.revert.pr15149.diff new file mode 100644 index 00000000..f1fe6279 --- /dev/null +++ b/source/d/binutils/binutils.revert.pr15149.diff @@ -0,0 +1,22 @@ +--- ./bfd/elflink.c.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./bfd/elflink.c 2013-04-02 15:54:06.072211349 -0500 +@@ -4080,8 +4080,7 @@ + FALSE, FALSE, FALSE); + + if (h != NULL +- && (h->root.type == bfd_link_hash_undefined +- || h->root.type == bfd_link_hash_undefweak) ++ && h->root.type == bfd_link_hash_undefined + && h->root.u.undef.abfd) + undef_bfd = h->root.u.undef.abfd; + } +@@ -4201,8 +4200,7 @@ + FALSE, FALSE, FALSE); + + if (h != NULL +- && (h->root.type == bfd_link_hash_undefined +- || h->root.type == bfd_link_hash_undefweak) ++ && h->root.type == bfd_link_hash_undefined + && h->root.u.undef.abfd) + undef_bfd = h->root.u.undef.abfd; + } diff --git a/source/d/binutils/binutils.texinfo5.diff b/source/d/binutils/binutils.texinfo5.diff new file mode 100644 index 00000000..b81529e0 --- /dev/null +++ b/source/d/binutils/binutils.texinfo5.diff @@ -0,0 +1,201 @@ +--- ./gas/doc/c-cr16.texi.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./gas/doc/c-cr16.texi 2013-04-02 15:56:15.582205827 -0500 +@@ -44,26 +44,33 @@ + CR16 target operand qualifiers and its size (in bits): + + @table @samp +-@item Immediate Operand +-- s ---- 4 bits +-@item +-- m ---- 16 bits, for movb and movw instructions. +-@item +-- m ---- 20 bits, movd instructions. +-@item +-- l ---- 32 bits +- +-@item Absolute Operand +-- s ---- Illegal specifier for this operand. +-@item +-- m ---- 20 bits, movd instructions. +- +-@item Displacement Operand +-- s ---- 8 bits +-@item +-- m ---- 16 bits +-@item +-- l ---- 24 bits ++@item Immediate Operand: s ++4 bits. ++ ++@item Immediate Operand: m ++16 bits, for movb and movw instructions. ++ ++@item Immediate Operand: m ++20 bits, movd instructions. ++ ++@item Immediate Operand: l ++32 bits. ++ ++@item Absolute Operand: s ++Illegal specifier for this operand. ++ ++@item Absolute Operand: m ++20 bits, movd instructions. ++ ++@item Displacement Operand: s ++8 bits. ++ ++@item Displacement Operand: m ++16 bits. ++ ++@item Displacement Operand: l ++24 bits. ++ + @end table + + For example: +--- ./gas/doc/c-arm.texi.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./gas/doc/c-arm.texi 2013-04-02 15:56:15.582205827 -0500 +@@ -390,29 +390,29 @@ + @code{unified} syntax, which can be selected via the @code{.syntax} + directive, and has the following main features: + +-@table @bullet +-@item ++@table @code ++@item 1 + Immediate operands do not require a @code{#} prefix. + +-@item ++@item 2 + The @code{IT} instruction may appear, and if it does it is validated + against subsequent conditional affixes. In ARM mode it does not + generate machine code, in THUMB mode it does. + +-@item ++@item 3 + For ARM instructions the conditional affixes always appear at the end + of the instruction. For THUMB instructions conditional affixes can be + used, but only inside the scope of an @code{IT} instruction. + +-@item ++@item 4 + All of the instructions new to the V6T2 architecture (and later) are + available. (Only a few such instructions can be written in the + @code{divided} syntax). + +-@item ++@item 5 + The @code{.N} and @code{.W} suffixes are recognized and honored. + +-@item ++@item 6 + All instructions set the flags if and only if they have an @code{s} + affix. + @end table +@@ -451,28 +451,6 @@ + @cindex register names, ARM + *TODO* Explain about ARM register naming, and the predefined names. + +-@node ARM-Neon-Alignment +-@subsection NEON Alignment Specifiers +- +-@cindex alignment for NEON instructions +-Some NEON load/store instructions allow an optional address +-alignment qualifier. +-The ARM documentation specifies that this is indicated by +-@samp{@@ @var{align}}. However GAS already interprets +-the @samp{@@} character as a "line comment" start, +-so @samp{: @var{align}} is used instead. For example: +- +-@smallexample +- vld1.8 @{q0@}, [r0, :128] +-@end smallexample +- +-@node ARM Floating Point +-@section Floating Point +- +-@cindex floating point, ARM (@sc{ieee}) +-@cindex ARM floating point (@sc{ieee}) +-The ARM family uses @sc{ieee} floating-point numbers. +- + @node ARM-Relocations + @subsection ARM relocation generation + +@@ -519,6 +497,28 @@ + MOVT r0, #:upper16:foo + @end smallexample + ++@node ARM-Neon-Alignment ++@subsection NEON Alignment Specifiers ++ ++@cindex alignment for NEON instructions ++Some NEON load/store instructions allow an optional address ++alignment qualifier. ++The ARM documentation specifies that this is indicated by ++@samp{@@ @var{align}}. However GAS already interprets ++the @samp{@@} character as a "line comment" start, ++so @samp{: @var{align}} is used instead. For example: ++ ++@smallexample ++ vld1.8 @{q0@}, [r0, :128] ++@end smallexample ++ ++@node ARM Floating Point ++@section Floating Point ++ ++@cindex floating point, ARM (@sc{ieee}) ++@cindex ARM floating point (@sc{ieee}) ++The ARM family uses @sc{ieee} floating-point numbers. ++ + @node ARM Directives + @section ARM Machine Directives + +--- ./gas/doc/c-tic54x.texi.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./gas/doc/c-tic54x.texi 2013-04-02 15:56:15.583205827 -0500 +@@ -109,7 +109,7 @@ + is replaced with x. At this point, x has already been encountered + and the substitution stops. + +-@smallexample @code ++@smallexample + .asg "x",SYM1 + .asg "SYM1",SYM2 + .asg "SYM2",x +@@ -126,14 +126,14 @@ + ambiguous by placing colons on either side of the subsym. The following + code: + +-@smallexample @code ++@smallexample + .eval "10",x + LAB:X: add #x, a + @end smallexample + + When assembled becomes: + +-@smallexample @code ++@smallexample + LAB10 add #10, a + @end smallexample + +@@ -309,7 +309,7 @@ + of a label or address. For example, if an address @code{_label} resides + in extended program memory, the value of @code{_label} may be loaded as + follows: +-@smallexample @code ++@smallexample + ldx #_label,16,a ; loads extended bits of _label + or #_label,a ; loads lower 16 bits of _label + bacc a ; full address is in accumulator A +--- ./gas/doc/c-arc.texi.orig 2013-02-27 14:28:03.000000000 -0600 ++++ ./gas/doc/c-arc.texi 2013-04-02 15:56:15.582205827 -0500 +@@ -220,7 +220,7 @@ + encodings for use of these instructions according to the specification + by the user. The parameters are: + +-@table @bullet ++@table @code + @item @var{name} + Name of the extension instruction + diff --git a/source/d/binutils/release.binutils-2.22.52.0.2 b/source/d/binutils/release.binutils-2.22.52.0.2 deleted file mode 100644 index a02ee03e..00000000 --- a/source/d/binutils/release.binutils-2.22.52.0.2 +++ /dev/null @@ -1,508 +0,0 @@ -This is the beta release of binutils 2.22.52.0.2 for Linux, which is -based on binutils 2012 0424 in CVS on sourceware.org plus various -changes. It is purely for Linux. - -All relevant patches in patches have been applied to the source tree. -You can take a look at patches/README to see what have been applied and -in what order they have been applied. - -Starting from the 2.21.51.0.3 release, you must remove .ctors/.dtors -section sentinels when building glibc or other C run-time libraries. -Otherwise, you will run into: - -http://sourceware.org/bugzilla/show_bug.cgi?id=12343 - -Starting from the 2.21.51.0.2 release, BFD linker has the working LTO -plugin support. It can be used with GCC 4.5 and above. For GCC 4.5, you -need to configure GCC with --enable-gold to enable LTO plugin support. - -Starting from the 2.21.51.0.2 release, binutils fully supports compressed -debug sections. However, compressed debug section isn't turned on by -default in assembler. I am planning to turn it on for x86 assembler in -the future release, which may lead to the Linux kernel bug messages like - -WARNING: lib/ts_kmp.o (.zdebug_aranges): unexpected non-allocatable section. - -But the resulting kernel works fine. - -Starting from the 2.20.51.0.4 release, no diffs against the previous -release will be provided. - -You can enable both gold and bfd ld with --enable-gold=both. Gold will -be installed as ld.gold and bfd ld will be installed as ld.bfd. By -default, ld.bfd will be installed as ld. You can use the configure -option, --enable-gold=both/gold to choose gold as the default linker, -ld. IA-32 binary and X64_64 binary tar balls are configured with ---enable-gold=both/ld --enable-plugins --enable-threads. - -Starting from the 2.18.50.0.4 release, the x86 assembler no longer -accepts - - fnstsw %eax - -fnstsw stores 16bit into %ax and the upper 16bit of %eax is unchanged. -Please use - - fnstsw %ax - -Starting from the 2.17.50.0.4 release, the default output section LMA -(load memory address) has changed for allocatable sections from being -equal to VMA (virtual memory address), to keeping the difference between -LMA and VMA the same as the previous output section in the same region. - -For - -.data.init_task : { *(.data.init_task) } - -LMA of .data.init_task section is equal to its VMA with the old linker. -With the new linker, it depends on the previous output section. You -can use - -.data.init_task : AT (ADDR(.data.init_task)) { *(.data.init_task) } - -to ensure that LMA of .data.init_task section is always equal to its -VMA. The linker script in the older 2.6 x86-64 kernel depends on the -old behavior. You can add AT (ADDR(section)) to force LMA of -.data.init_task section equal to its VMA. It will work with both old -and new linkers. The x86-64 kernel linker script in kernel 2.6.13 and -above is OK. - -The new x86_64 assembler no longer accepts - - monitor %eax,%ecx,%edx - -You should use - - monitor %rax,%ecx,%edx - -or - monitor - -which works with both old and new x86_64 assemblers. They should -generate the same opcode. - -The new i386/x86_64 assemblers no longer accept instructions for moving -between a segment register and a 32bit memory location, i.e., - - movl (%eax),%ds - movl %ds,(%eax) - -To generate instructions for moving between a segment register and a -16bit memory location without the 16bit operand size prefix, 0x66, - - mov (%eax),%ds - mov %ds,(%eax) - -should be used. It will work with both new and old assemblers. The -assembler starting from 2.16.90.0.1 will also support - - movw (%eax),%ds - movw %ds,(%eax) - -without the 0x66 prefix. Patches for 2.4 and 2.6 Linux kernels are -available at - -http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch -http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch - -The ia64 assembler is now defaulted to tune for Itanium 2 processors. -To build a kernel for Itanium 1 processors, you will need to add - -ifeq ($(CONFIG_ITANIUM),y) - CFLAGS += -Wa,-mtune=itanium1 - AFLAGS += -Wa,-mtune=itanium1 -endif - -to arch/ia64/Makefile in your kernel source tree. - -Please report any bugs related to binutils 2.22.52.0.2 to -hjl.tools@gmail.com - -and - -http://www.sourceware.org/bugzilla/ - -Changes from binutils 2.22.52.0.1: - -1. Update from binutils 2012 0424. -2. Support Intel HLE and RTM extension. -3. Add NACL support. -4. Fix -Bsymbolic with protected function pointer. PR 13880. -5. Fix an IFUNC regression. PR 13817. -6. Fix x86 NOP fill regression. PR 13675. -7. Fix a linker regression. PR 13991. -8. Fix dangling global hidden symbol in symtab. PR 13621. -9. Fix objcopy, strip and ld for --emit-relocs. PR 13947. -10. Improve gold. -11. Improve mach support. -12. Improve vms support. -13. Improve windows support. -14. Improve arm support. -15. Improve avr support. -16. Improve mips support. -17. Improve ppc support. -18. Improve rx support. -19. Improve s390 support. -20. Improve sh support. -21. Improve sparc support. -22. Improve tile support. - -Changes from binutils 2.22.51.0.1: - -1. Update from binutils 2012 0131. -2. Add x32 support to gold. -3. Support linker arch-depedent fill. PR 13616. -4. Add i386 NACL support to x86 assembler. -5. Add fake zero displacement for .d8 and .d32 suffixes to x86 assembler. -6. Add vmfunc support to x86 assembler/disassembler. -7. Support >2GB archive member. PR 13534. -8. Support R_X86_64_PC32 relocation for PIC on x32. PR 13581. -9. Fix LTO linker with --start-group and archive. PR 12758. -10. Fix linker with --build-id. PR 12451. -11. Improve linker dead code dependency removal on DSO. PR 12772. -12. Improve demangler. -13. Fix elf64-x86-64.c build with GCC 4.7. -14. Avoid linker -z text crash. PR 13468. -15. Avoid readelf crash. PR 13622. -16. Avoid nm crash on --size-sort --no-sort. PR 13593. -17. Fix linker COFF SECREL32 relocation support. PR 13491. -18. Improve gold. -19. Improve mach support. -20. Improve arm support. -21. Improve avr support. -22. Improve hppa support. -23. Improve m68k support. -24. Improve mips support. -25. Improve ppc support. -26. Improve rl78 support. -27. Improve rx support. - -Changes from binutils 2.21.53.0.2: - -1. Update from binutils 2011 1118. -2. Fix ar --plugin on archive with mixed IR/non-IR objects. PR 13298. -3. Preserve the maximum alignment and size for common symbols. PR 13250. -4. Fix LTO linker with -as-needed. PR 13287. -5. Fix --plugin support on thin archive. PR 13257. -6. Fix LTO linker on thin archive. PR 13183. -7. Fix --plugin slim object support on archive. PR 13278. -8. Support LDPR_PREVAILING_DEF_IRONLY_EXP in linker plugin. PR 13229. -9. Don't make make IR symbols dynamic. PR 13244. -10. Fix LTO linker with --as-needed. PR 13201. -11. Properly handle 2 IR symbols with the same comdat key. PR 13066. -12. Keep .debug_types sections with linker garbage collection. PR 13233. -13. Fix -ffunction-sections -Wl,--gc-sections failure with symbol -versioning. PR 13195. -14. Improve linker garbage collection support. PR 13177. -15. Remove symbols hidden by version scripts with --gc-sections. PR 12975. -16. Remove unnecessary GOT relocation created for IFUNC. PR 13178. -17. Move IRELATIVE relocations to the end. PR 13302. -18. Avoid readelf core dump. PR 13219. -19. Check zero address size when dumping DWARF sections. PR 13196. -20. Remove the group section if all members are removed. PR 13180. -21. Support R_X86_64_64 and R_X86_64_RELATIVE64 relocations for x32. -PR 13082. -22. Add Adapteva Epiphany support. -23. Add Renesas RL78 support. -24. Improve gold. -25. Improve mach-o support. -26. Improve alpha support. -27. Improve arm support. -28. Improve hppa support. -29. Improve mips support. -30. Improve ppc support. -31. Improve rx support. -32. Improve sparc support. - -Changes from binutils 2.21.53.0.1: - -1. Update from binutils 2011 0804. -2. Add Intel K1OM support. -3. Allow R_X86_64_64 relocation for x32 and check x32 relocation overflow. -PR ld/13048. -4. Support direct call in x86-64 assembly code. PR gas/13046. -5. Add ia32 Google Native Client support. -6. Add .debug_macro section support. -7. Improve gold. -8. Improve VMS support. -9. Improve arm support. -10. Improve hppa support. -11. Improve mips support. -12. Improve mmix support. -13. Improve ppc support. - -Changes from binutils 2.21.52.0.2: - -1. Update from binutils 2011 0716. -2. Fix LTO linker bugs. PRs 12982/12942. -3. Fix rorx support in x86 assembler/disassembler for AVX Programming -Reference (June, 2011). -4. Fix an x86-64 ELFOSABI linker regression. -5. Update ELFOSABI_GNU support. PR 12913. -6. Fix a linker regression with prelink support. PR 12921. -7. Add unwind info to x86 PLT section. PR 12570. -8. Support x32 core files. -9. Support native x32 linker. -10. Fix linker --gc-sections on note sections. PR 12851. -11. Avoid linker crash on bad input. PR 12887. -12. Add section flags in linker script. -13. Improve elf linker -z option support. -14. Fix nm on compressed debug sections. PR 12983. -15. Fix an ar bug. PR 12558. -16. Fix an ia64 linker regression. PR 12978. -17. Improve gold. -18. Improve VMS support. -19. Add TILE-Gx/TILEPro support. -20. Improve alpha support. -21. Improve avr support. -22. Improve mips support. -23. Improve arm support. -24. Improve ppc support. -25. Improve sh support. -26. Improve TIC6X support. - -Changes from binutils 2.21.52.0.1: - -1. Update from binutils 2011 0610. -2. Support AVX Programming Reference (June, 2011) -3. Allow R_X86_64_64 relocations in SEC_DEBUGGING sections when building -x32 shared libraries. Used to build kernel x32 vDSO. -4. Fix linker --gc-sections on note sections. PR 12851. -5. Update readelf to handle binaries containing corrupt version -information. PR 12855. -6. Improve gold. -7. Improve VMS support. -8. Improve mips support. - -Changes from binutils 2.21.51.0.9: - -1. Update from binutils 2011 0608. -2. Fix an x86 linker regression. PRs 12833/12837/12859. -3. Fix an x86-64 large model TLS linker bug. PR 12809. -4. Fix LTO bugs. PRs 12758/12760. -5. Add a new linker switch, -plugin-save-temps. -6. Fix an linker bug for warning on common symbol in archive. -7. Fix warning support when building shared library. PR 12761. -8. Reduce linker memory usage when linking many small object files. -PR 12682. -9. Fix a thin archive bug. PR 12710. -10. Fix a TLS linker bug. PR 12763. -11. Improve gold. -12. Improve DWARF dump support. -13. Improve XCOFF support. -14. Improve arm support. -15. Improve cris support. -16. Improve ia64 ILP32 support. -17. Improve mips support. -18. Improve ppc support. -19. Improve rx support. -20. Improve s390 support. -21. Improve tic30 support. -22. Improve tic6x support. -23. Improve v850 support. - -Changes from binutils 2.21.51.0.8: - -1. Update from binutils 2011 0507. -2. Improve LTO bfd linker. PRs 12365/12696/12672 -3. Fix a linker regression with constructor attribute in C++. PR 12730. -4. Warn relocation in readonly section when creating a shared object. -5. Remove empty output sections. PR 12718. -6. Remove DT_TEXTREL with local IFUNC symbols. PR 12694. -7. Properly set ELFOSABI_LINUX for STB_GNU_UNIQUE. PR 10549. -8. Fix objcopy on unusual input. PR 12632. -9. Fix an ar regression. PR 12720. -10 Avoid linker crash on bad linker input. -11. Fix a linker script regression. PR 12726. -12. Support new GNU DWARF extensions. -13. Initial support for SystemTap note sections. -14. Add --dwarf-start and --dwarf-end to readelf and objdump. -15. Disable 3dnow and 3dnowa for bdver1 in x86 assembler. -16. Improve gold. -17. Improve VMS support. -18. Improve arm support. -19. Improve mips support. -20. Improve ppc support. -21. Improve s390 support. -22. Improve tic6x support. - -Changes from binutils 2.21.51.0.7: - -1. Update from binutils 2011 0408. -2. Fix x32 TLS linker bug. -3. Enable .quad directive in x32 assembler. -4. Fix an assembler regression. PRs 12569/12589. -5. Add --size-check= assembler option to issue a warning, instead of an -error, on bad ELF .size directive. -6. Fix an ia32 linker bug with TLS/PIE. PR 12654. -7. Fix Intel L1OM linker library search path. -8. Fix a linker buffer overflow on malformed inputs. PR 12613. -9. Check corrupted symtab in nm/readelf. PR 12639. -10. Avoid objcopy crash on archive with unknown objects. PR 12632. -11. Fix "ar -t". PR 12590. -12. Fix many memory leaks. -13. Improve DWARF support. -14. Improve gold. -15. Improve VMS support. -16. Improve Windows support. -17. Improve alpha support. -18. Improve arm support. -19. Improve avr support. -20. Improve ppc support. -21. Improve sparc support. -22. Improve tic6x support. - -Changes from binutils 2.21.51.0.6: - -1. Update from binutils 2011 0306. -2. Supprt x32 TLS IE->LE transition. -3. Change x32 library directory from /lib32 to /libx32. -4. Improve LTO linker support. Fix PRs 12439/12314/12248/12430. -5. Improve linker plugin support. -6. Fix an ar bug. PR 12513. -7. Properly generate nops for ia32. PR 6957. -8. Improve readelf DT_GNU_HASH support. PR 12523. -9. Improve readelf on invalid input. PR 12467. -10. Update ELF assembler to issue an error on invalid .size directive. -PR 12519, -11. Properly handle PT_DYNAMIC segment with zero size sections. PR 12516. -12. Add a new linker option, --verbose=2, to report plugin symbol -status. -13. Properly handle entry symbols in linker LTO support. PR 12507. -14. Improve gold. -15. Improve arm support. -16. Improve bfin support. -17. Improve mips support. -18. Improve ppc support. - -Changes from binutils 2.21.51.0.5: - -1. Update from binutils 2011 0118. -2. Fix x32 (ILP32) support. Renamed assembler option to --x32. It -can create working static and dynamic x32 executables. -3. Add BMI and TBM new instruction support. -4. Fix x86 disassembler to properly display sign-extended byte. -5. Improve IFUNC linker support. PRs 12366/12371. -6. Fix readelf bug on archive. PR 12408. -7. Fix a assembler when compressing empty debug sections. PR 12409. -8. Fix a warning symbol linker bug. PR 12339. -9. Fix a duplicated assert message linker bug. PR 12380. -10. Fix plugin linker build. PR 12391. -11. Fix a plugin linker crash. PR 12364. -12. Improve plugin linker. -13. Improve gold. -14. Improve arm support. -15. Improve mips support. -16. Improve rx support. - -Changes from binutils 2.21.51.0.4: - -1. Update from binutils 2011 0104. -2. Add ILP32 support: - -http://www.kernel.org/pub/linux/devel/binutils/ilp32/abi.pdf - -to Linux/x86-64. -3. Prevent the Linux x86-64 kernel build failure and remove -__ld_compatibility support. PR 12356. -4. Improve gold. -5. Improve Windows support. -6. Improve hppa support. -7. Improve mips support. - -Changes from binutils 2.21.51.0.3: - -1. Update from binutils 2010 1217. -2. Fix the Linux relocatable kernel build. PR 12327. -3. Improve mips support. - -Changes from binutils 2.21.51.0.2: - -1. Update from binutils 2010 1215. -2. Add BFD linker support for placing input .ctors/.dtors sections in -output .init_array/.fini_array section. Add SORT_BY_INIT_PRIORITY. The -benefits are - a. Avoid output .ctors/.dtors section in executables and shared - libraries. - b. Allow mixing input .ctors/.dtors sections with input - .init_array/.fini_array sectiobs. GCC PR 46770. -3. Add BFD linker support for "ld -r" on mixed IR/non-IR objects. Add -the new ELF section type SHT_GNU_OBJECT_ONLY (0x6ffffff8). See - -http://sourceware.org/bugzilla/show_bug.cgi?id=12291 - -4. Update BFD linker to accept -flto and -flto-partition= for GCC LTO -option compatibility. -5. Fix BFD linker to avoid touching uncompressed section content when -relocating DWARF debug sections for errror reporting. -6. Mark .gnu.lto_* sections with SHF_EXCLUDE. -7. Add --target option to ar. -8. Improve gold. -9. Improve AIX support. -10. Improve Windows support. -11. Improve mips support. - -Changes from binutils 2.21.51.0.1: - -1. Update from binutils 2010 1206. -2. Fix BFD and GOLD linker for compressed debug section support. -3. Fix BFD linker plugin support. PR ld/12246, ld/12247, ld/12248, -ld/12277, ld/12288 and ld/12289. -4. Update BFD linker to group .text.exit, text.startup and .text.hot -sections. -5. Fix linker for W_EH_PE_datarel handling. PR ld/12253. -6. Fix array access bug in readelf/elfedit. PR binutils/11742 and -binutils/12235. -7. Support dumping GDB .gdb_index section. -8. Install plugin-api.h. -9. Improve gold. -10. Improve Solaris support. -11. Improve VMS support. -12. Improve Windows support. -13. Improve arm support. -14. Improve bfin support. -15. Improve mips support. -16. Improve s390 support. -17. Improve z80 support. - -Changes from binutils 2.20.51.0.12: - -1. Update from binutils 2010 1110. -2. Fix ld plugin support. PRs lto/46291 and lto/46319. -3. Fix x86 assembler to properly fold _GLOBAL_OFFSET_TABLE_ in Intel -syntax. PR 12186. -4. Update assembler to ensure that group signature symbols have the name -of the group. -5. Avoid unnecessary relaxation in assembler. PR 12049. -6. Update linker NOLOAD processing. -7. Update linker not to include archive members when symbols therein have -already been defined. PR 12001. -8. Change objdump to display compressed section names without 'z'. -9. Improve gold. -10. Improve Solaris support. -11. Improve VMS support. -12. Improve Windows support. -13. Improve arm support. -14. Improve cr16 support. -15. Improve mips support. -16. Improve ppc support. -17. Improve tic6x support. - -The file list: - -1. binutils-2.22.52.0.2.tar.bz2. Source code. - -The primary sites for the beta Linux binutils are: - -1. http://www.kernel.org/pub/linux/devel/binutils/ - -It is also available on linux/release/2.22.52.0.2 branch at - -http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary - -Thanks. - - -H.J. Lu -hjl.tools@gmail.com -04/25/2012 diff --git a/source/d/binutils/release.binutils-2.23.52.0.1 b/source/d/binutils/release.binutils-2.23.52.0.1 new file mode 100644 index 00000000..192948f3 --- /dev/null +++ b/source/d/binutils/release.binutils-2.23.52.0.1 @@ -0,0 +1,775 @@ +This is the beta release of binutils 2.23.52.0.1 for Linux, which is +based on binutils 2013 0226 in CVS on sourceware.org plus various +changes. It is purely for Linux. + +All relevant patches in patches have been applied to the source tree. +You can take a look at patches/README to see what have been applied and +in what order they have been applied. + +Starting from the 2.23.52.0.1 release, when creating executables, BFD +linker will issue an error for undefined weak reference which is +defined in a shared library from DT_NEEDED. Previously BFD linker +will silently include the shared library from DT_NEEDED. + +Starting from the 2.21.51.0.3 release, you must remove .ctors/.dtors +section sentinels when building glibc or other C run-time libraries. +Otherwise, you will run into: + +http://sourceware.org/bugzilla/show_bug.cgi?id=12343 + +Starting from the 2.21.51.0.2 release, BFD linker has the working LTO +plugin support. It can be used with GCC 4.5 and above. For GCC 4.5, you +need to configure GCC with --enable-gold to enable LTO plugin support. + +Starting from the 2.21.51.0.2 release, binutils fully supports compressed +debug sections. However, compressed debug section isn't turned on by +default in assembler. I am planning to turn it on for x86 assembler in +the future release, which may lead to the Linux kernel bug messages like + +WARNING: lib/ts_kmp.o (.zdebug_aranges): unexpected non-allocatable section. + +But the resulting kernel works fine. + +Starting from the 2.20.51.0.4 release, no diffs against the previous +release will be provided. + +You can enable both gold and bfd ld with --enable-gold=both. Gold will +be installed as ld.gold and bfd ld will be installed as ld.bfd. By +default, ld.bfd will be installed as ld. You can use the configure +option, --enable-gold=both/gold to choose gold as the default linker, +ld. IA-32 binary and X64_64 binary tar balls are configured with +--enable-gold=both/ld --enable-plugins --enable-threads. + +Starting from the 2.18.50.0.4 release, the x86 assembler no longer +accepts + + fnstsw %eax + +fnstsw stores 16bit into %ax and the upper 16bit of %eax is unchanged. +Please use + + fnstsw %ax + +Starting from the 2.17.50.0.4 release, the default output section LMA +(load memory address) has changed for allocatable sections from being +equal to VMA (virtual memory address), to keeping the difference between +LMA and VMA the same as the previous output section in the same region. + +For + +.data.init_task : { *(.data.init_task) } + +LMA of .data.init_task section is equal to its VMA with the old linker. +With the new linker, it depends on the previous output section. You +can use + +.data.init_task : AT (ADDR(.data.init_task)) { *(.data.init_task) } + +to ensure that LMA of .data.init_task section is always equal to its +VMA. The linker script in the older 2.6 x86-64 kernel depends on the +old behavior. You can add AT (ADDR(section)) to force LMA of +.data.init_task section equal to its VMA. It will work with both old +and new linkers. The x86-64 kernel linker script in kernel 2.6.13 and +above is OK. + +The new x86_64 assembler no longer accepts + + monitor %eax,%ecx,%edx + +You should use + + monitor %rax,%ecx,%edx + +or + monitor + +which works with both old and new x86_64 assemblers. They should +generate the same opcode. + +The new i386/x86_64 assemblers no longer accept instructions for moving +between a segment register and a 32bit memory location, i.e., + + movl (%eax),%ds + movl %ds,(%eax) + +To generate instructions for moving between a segment register and a +16bit memory location without the 16bit operand size prefix, 0x66, + + mov (%eax),%ds + mov %ds,(%eax) + +should be used. It will work with both new and old assemblers. The +assembler starting from 2.16.90.0.1 will also support + + movw (%eax),%ds + movw %ds,(%eax) + +without the 0x66 prefix. Patches for 2.4 and 2.6 Linux kernels are +available at + +http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch +http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch + +The ia64 assembler is now defaulted to tune for Itanium 2 processors. +To build a kernel for Itanium 1 processors, you will need to add + +ifeq ($(CONFIG_ITANIUM),y) + CFLAGS += -Wa,-mtune=itanium1 + AFLAGS += -Wa,-mtune=itanium1 +endif + +to arch/ia64/Makefile in your kernel source tree. + +Please report any bugs related to binutils 2.23.52.0.1 to +hjl.tools@gmail.com + +and + +http://www.sourceware.org/bugzilla/ + +Changes from binutils 2.23.51.0.9: + +1. Update from binutils 2013 0226. +2. Add Intel SAMP new instruction support. +3. Allow dynamic R_386_SIZE32, R_X86_64_SIZE32 and R_X86_64_SIZE64 +relocations agaist TLS symbols. +4. Fix BFD linker to set STB_GNU_UNIQUE only for definition. PR 15167. +5. Fix BFD linker to set STB_GNU_UNIQUE only if symbol is defined in +regular object. PR 15107. +6. Don't add DT_NEEDED for references from the LTO IR input. PR 15146. +7. When creating executables, BFD linker will issue an error for undefined +weak reference which is defined in a shared library from DT_NEEDED. +PR 15149. +8. Also trace symbol from the LTO IR input. PR 15141. +9. Support stripping LTO IR sections. PR 15033. +10. Don't allow a nested archive pointing to itself and don't generate +bad archive. PR 15140. +11. Fix objcopy segfault on non-ELF input. PR 14873. +12. Update DWARF dump support. +13. Improve gold. +14. Add nios2 support. +15. Improve mach support. +16. Improve aarch64 support. +17. Improve arm support. +18. Improve avr support. +19. Improve h8300 support. +20. Improve meta support. +21. Improve mips support. +22. Improve ppc support. +23. Improve rl78 support. +24. Improve sparc support. +25. Improve v850 support. + +Changes from binutils 2.23.51.0.8: + +1. Update from binutils 2013 0118. +2. Support R_386_SIZE32, R_X86_64_SIZE32 and R_X86_64_SIZE64 +relocations. +3. Fix x86 assembler for "xtrn@got -1". PR 15019. +4. Don't generate old dtags with --enable-new-dtags. +5. Add Meta support. +6. Improve gold. +7. Improve aarch64 support. +8. Improve arm support. +9. Improve cr16 support. +10. Improve mips support. +11. Improve ppc support. +12. Improve v850 support. +13. Improve xgate support. + +Changes from binutils 2.23.51.0.7: + +1. Properly adjust h->plt.refcount. PR 14980. + +Changes from binutils 2.23.51.0.6: + +1. Update from binutils 2012 1218. +2. Add missing R_*_IRELATIVE relocations. PR 14968. +3. Remove unnecessary R_*_NONE relocations. PR 14956. +4. Fix ar/ranlib on 32-bit filesystems. PR 14933. +5. Fix a "Not enough room for program headers" linker bug. PR 14926. +6. Support self-assignment in a linker script to convert symbols to +absolute. PR 14962. +7. Support --copy-dt-needed-entries when creating DSO. PR 14915. +8. Improve linker plugin DSO error handling. PR 14904. +9. Issue warning for plugin dummy. PR 12760. +10. Add -fuse-ld=bfd|gold support to ld and gold. +11. Fix gold configure. PR 14897. +12. Correct gas dependency. PR 14899. +13. Add rdos support. +14. Improve gold. +15. Improve nacl support. +16. Improve aarch64 support. +17. Improve arm support. +18. Improve microblaze support. +19. Improve mips support. +20. Improve ppc support. +21. Improve tile support. + +Changes from binutils 2.23.51.0.5: + +1. Update from binutils 2012 1123. +2. Fix 64-bit jecxz encoding regression in x86 assembler. PR 14859. +3. Revert an accidental linker change. PR 14862. +4. Fix x32 TLS LD to LE optimization in gold. PR 14858. +5. Add "-z global" option to set DF_1_GLOBAL to ld. +6. Improve ld plugin error handling. +7. Port ld lib32 arrangement from Debian. +8. Properly set the output maxpagesize when rewriting program header. +PR 14493. +9. Add additional DF_1_XXX support to readelf. +10. Improve nacl support with separate code segments. +11. Improve macos support. +12. Improve arm support. +13. Improve microblaze support. +14. Improve mips support. +15. Improve ppc support. +16. Improve sparc support. + +Changes from binutils 2.23.51.0.4: + +1. Update from binutils 2012 1110. +2. Support new Linux NOTE sections. +3. Add -z stacksize=SIZE option to ld to set size of stack segment. +4. Fix a BFD IOVEC close bug. PR 14813. +5. Fix a BFD IOVEC on archive bug. PR 14567. +6. Fix archive support for non-ELF targets. PR 14481. +7. Improve gold. +8. Improve COFF support. +9. Improve arm support. +10. Improve microblaze support. +11. Improve mips support. +12. Improve ppc support. +13. Improve rx support. +14. Improve s390 support. +15. Improve v850 support. +16. Improve xgate support. + +Changes from binutils 2.23.51.0.3: + +1. Update from binutils 2012 1026. +2. Fix an LTO linker bug. PR 14747. +3. Add cx16 arch feature to x86 assembler. +4. Add -march=bdver3 option to x86 assembler. +5. Properly handle ignored REX prefix with fwait in x86 disassembler. +6. Fix x32 register names in objdump DWARF output. +7. Add NT_SIGINFO/NT_FILE support to readelf. +8. Add linker --ignore-unresolved-symbol option from NetBSD. +9. Treat .gdb_index section as debug section. PR 14662. +10. Add --debug-dump=addr, --debug_dump=cu_index options to readelf and +objdump. +11. Add dwp, DWARF packaging utility. +12. Add compressed debug section support to Windows. PR 14067. +13. Improve gold. +14. Improve aarch64 support. +15. Improve arm support. +16. Improve hppa support. +17. Improve mips support. +18. Improve s390 support. +19. Improve tile support. +20. Improve v850 support. + +Changes from binutils 2.23.51.0.2: + +1. Update from binutils 2012 0918. +2. Properly handle versioned STB_SECONDARY symbols. +3. Fix wrong symbol type with common symbol and weak function. PR 14591. +4. Ignore discarded sections when converting mov to lea. +5. Improve gold. +6. Improve avr support. +7. Improve aarch64 support. +8. Improve moxie support. +9. Improve ppc support. +10. Improve tile support. + +Changes from binutils 2.23.51.0.1: + +1. Update from binutils 2012 0908. +2. Fix STB_SECONDARY support: + a. Generate STB_SECONDARY symbols in DSO by default. + b. Properly handle STB_SECONDAY symbols when linking with archive. + c. Don't allow .weak directive to override .secondary directive. +3. Optimize i386/x86-64 linker to convert GOT load (MOV) to LEA. +4. Clarify x86 assembler error messages. PR 14457. +5. Improve NOP/prefetch support in x86 disassembler. +6. Improve Intel syntax support in x86 assembler. +7. Add -march={btver1, btver2} options to x86 assembler. +8. Fix binutils build with --enable-shared. PR 4970. +9. Also provide __executable_start for PIE. PR 14525. +10. Use xmalloc to allocate memory for argument list file. PR 14526. +11. Add Intel Itanium Series 9500 support to assembler/diassembler. +12. Ignore section symbols without a BFD section when outputing symbols +and check bad section index. PR 14493. +13. Improve archive reader. PR 14475. +14. Support DW_OP_GNU_const_index reader. +15. Improve handling of imput files with empty ELF group sections. +PR 14444. +16. Fix IFUNC support in s390 linker. +17. Improve gold. +18. Add aarch64 support. +19. Improve arm support. +20. Improve mips support. +21. Improve mmix support. +22. Improve moxie support. +23. Improve ppc support. +24. Improve s390 support. +25. Improve tile support. + +Changes from binutils 2.22.52.0.4: + +1. Update from binutils 2012 0806. +2. Add Intel ADX, RDSEED and PRFCHW new instruction support. +3. Support 'rep bsf', 'rep bsr', and 'rep ret' syntax in x86 assembler. +4. Mark 256-bit vmovntdqa as AVX2 instruction for x86 assembler. +5. Improve x86 assembler error handling. +6. Improve the repeat directive support in assembler. PR 14201. +7. Improve x86-64 disassembler on superfluous prefixes. +8. Fix x86 disassembler crash on bad XOP instructions. PR 14355. +9. Support STB_SECONDARY: + +https://groups.google.com/forum/?hl=en&fromgroups#!forum/generic-abi + +10. Added SORT_NONE to the linker script language to disable section +sorting and properly handle .init/.fini sections. PR 14156. +11. Fix a weak alias linker bug. PR 14323. +12. Fix the NULL GNU_RELRO segment linker bug. PR 14207. +13. Fix the bad GNU_RELRO segment linker bug. PR 14215. +14. Add linker support of __ehdr_start symbol for the ELF file header. +15. Add IFUNC support to s390 linker. +16. Fix ar for >4GB member. PR 14302. +17. Fix objcopy --compress-debug-sections on empty debug section. PR +14319. +18. Fix readelf/objdup to display null bytes in DWARF debug info. PR +14420. +19. Improve gold. +20. Improve arm support. +21. Improve avr support. +22. Improve cris support. +23. Improve m68k support. +24. Improve mips support. +25. Improve ppc support. +26. Improve vax support. +27. Improve xgate support. + +Changes from binutils 2.22.52.0.3: + +1. Update from binutils 2012 0604. +2. Check addend overflow for R_X86_64_RELATIVE64. +3. Fix ar/nm/ranlib with --plugin. +4. Create .eh_frame_hdr section only if needed. PR 13909. +5. Properly create .eh_frame section for PLT. PR 14105. +6. Fix a linker crash. PR 14170. +7. Fix readelf to properly display addend. +8. Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_/_PROCEDURE_LINKAGE_TABLE_ +symbols absolute for x86 and ppc. +9. Properly handle shared libraries with zero dynamic symbols. PRs +7023/13962. +10. Update readelf/assembler to support multibyte characters in symbol +names. +11. Add --strip-dwo/--extract-dwo options to objcopy/strip. +12. Add R_X86_64_RELATIVE64 support to gold. +13. Improve gold. +14. Improve NACL support. +15. Improve alpha support. +16. Improve avr support. +17. Improve m68k support. +18. Improve mips support. +19. Improve ppc support. +20. Improve vax support. + +Changes from binutils 2.22.52.0.2: + +1. Update from binutils 2012 0507. +2. Fix Linux kernel build by reverting the PR 13621 fix. PR 14052. +3. Add support for x86_64-*-linux-gnux32 target. +4. Improve x86 assembler. +5. Improve DWARF support. +6. Improve gold. +7. Improve rx support. +8. Improve sparc support. +9. Add xgate support. + +Changes from binutils 2.22.52.0.1: + +1. Update from binutils 2012 0424. +2. Support Intel HLE and RTM extension. +3. Add NACL support. +4. Fix -Bsymbolic with protected function pointer. PR 13880. +5. Fix an IFUNC regression. PR 13817. +6. Fix x86 NOP fill regression. PR 13675. +7. Fix a linker regression. PR 13991. +8. Fix dangling global hidden symbol in symtab. PR 13621. +9. Fix objcopy, strip and ld for --emit-relocs. PR 13947. +10. Improve gold. +11. Improve mach support. +12. Improve vms support. +13. Improve windows support. +14. Improve arm support. +15. Improve avr support. +16. Improve mips support. +17. Improve ppc support. +18. Improve rx support. +19. Improve s390 support. +20. Improve sh support. +21. Improve sparc support. +22. Improve tile support. + +Changes from binutils 2.22.51.0.1: + +1. Update from binutils 2012 0131. +2. Add x32 support to gold. +3. Support linker arch-depedent fill. PR 13616. +4. Add i386 NACL support to x86 assembler. +5. Add fake zero displacement for .d8 and .d32 suffixes to x86 assembler. +6. Add vmfunc support to x86 assembler/disassembler. +7. Support >2GB archive member. PR 13534. +8. Support R_X86_64_PC32 relocation for PIC on x32. PR 13581. +9. Fix LTO linker with --start-group and archive. PR 12758. +10. Fix linker with --build-id. PR 12451. +11. Improve linker dead code dependency removal on DSO. PR 12772. +12. Improve demangler. +13. Fix elf64-x86-64.c build with GCC 4.7. +14. Avoid linker -z text crash. PR 13468. +15. Avoid readelf crash. PR 13622. +16. Avoid nm crash on --size-sort --no-sort. PR 13593. +17. Fix linker COFF SECREL32 relocation support. PR 13491. +18. Improve gold. +19. Improve mach support. +20. Improve arm support. +21. Improve avr support. +22. Improve hppa support. +23. Improve m68k support. +24. Improve mips support. +25. Improve ppc support. +26. Improve rl78 support. +27. Improve rx support. + +Changes from binutils 2.21.53.0.2: + +1. Update from binutils 2011 1118. +2. Fix ar --plugin on archive with mixed IR/non-IR objects. PR 13298. +3. Preserve the maximum alignment and size for common symbols. PR 13250. +4. Fix LTO linker with -as-needed. PR 13287. +5. Fix --plugin support on thin archive. PR 13257. +6. Fix LTO linker on thin archive. PR 13183. +7. Fix --plugin slim object support on archive. PR 13278. +8. Support LDPR_PREVAILING_DEF_IRONLY_EXP in linker plugin. PR 13229. +9. Don't make make IR symbols dynamic. PR 13244. +10. Fix LTO linker with --as-needed. PR 13201. +11. Properly handle 2 IR symbols with the same comdat key. PR 13066. +12. Keep .debug_types sections with linker garbage collection. PR 13233. +13. Fix -ffunction-sections -Wl,--gc-sections failure with symbol +versioning. PR 13195. +14. Improve linker garbage collection support. PR 13177. +15. Remove symbols hidden by version scripts with --gc-sections. PR 12975. +16. Remove unnecessary GOT relocation created for IFUNC. PR 13178. +17. Move IRELATIVE relocations to the end. PR 13302. +18. Avoid readelf core dump. PR 13219. +19. Check zero address size when dumping DWARF sections. PR 13196. +20. Remove the group section if all members are removed. PR 13180. +21. Support R_X86_64_64 and R_X86_64_RELATIVE64 relocations for x32. +PR 13082. +22. Add Adapteva Epiphany support. +23. Add Renesas RL78 support. +24. Improve gold. +25. Improve mach-o support. +26. Improve alpha support. +27. Improve arm support. +28. Improve hppa support. +29. Improve mips support. +30. Improve ppc support. +31. Improve rx support. +32. Improve sparc support. + +Changes from binutils 2.21.53.0.1: + +1. Update from binutils 2011 0804. +2. Add Intel K1OM support. +3. Allow R_X86_64_64 relocation for x32 and check x32 relocation overflow. +PR ld/13048. +4. Support direct call in x86-64 assembly code. PR gas/13046. +5. Add ia32 Google Native Client support. +6. Add .debug_macro section support. +7. Improve gold. +8. Improve VMS support. +9. Improve arm support. +10. Improve hppa support. +11. Improve mips support. +12. Improve mmix support. +13. Improve ppc support. + +Changes from binutils 2.21.52.0.2: + +1. Update from binutils 2011 0716. +2. Fix LTO linker bugs. PRs 12982/12942. +3. Fix rorx support in x86 assembler/disassembler for AVX Programming +Reference (June, 2011). +4. Fix an x86-64 ELFOSABI linker regression. +5. Update ELFOSABI_GNU support. PR 12913. +6. Fix a linker regression with prelink support. PR 12921. +7. Add unwind info to x86 PLT section. PR 12570. +8. Support x32 core files. +9. Support native x32 linker. +10. Fix linker --gc-sections on note sections. PR 12851. +11. Avoid linker crash on bad input. PR 12887. +12. Add section flags in linker script. +13. Improve elf linker -z option support. +14. Fix nm on compressed debug sections. PR 12983. +15. Fix an ar bug. PR 12558. +16. Fix an ia64 linker regression. PR 12978. +17. Improve gold. +18. Improve VMS support. +19. Add TILE-Gx/TILEPro support. +20. Improve alpha support. +21. Improve avr support. +22. Improve mips support. +23. Improve arm support. +24. Improve ppc support. +25. Improve sh support. +26. Improve TIC6X support. + +Changes from binutils 2.21.52.0.1: + +1. Update from binutils 2011 0610. +2. Support AVX Programming Reference (June, 2011) +3. Allow R_X86_64_64 relocations in SEC_DEBUGGING sections when building +x32 shared libraries. Used to build kernel x32 vDSO. +4. Fix linker --gc-sections on note sections. PR 12851. +5. Update readelf to handle binaries containing corrupt version +information. PR 12855. +6. Improve gold. +7. Improve VMS support. +8. Improve mips support. + +Changes from binutils 2.21.51.0.9: + +1. Update from binutils 2011 0608. +2. Fix an x86 linker regression. PRs 12833/12837/12859. +3. Fix an x86-64 large model TLS linker bug. PR 12809. +4. Fix LTO bugs. PRs 12758/12760. +5. Add a new linker switch, -plugin-save-temps. +6. Fix an linker bug for warning on common symbol in archive. +7. Fix warning support when building shared library. PR 12761. +8. Reduce linker memory usage when linking many small object files. +PR 12682. +9. Fix a thin archive bug. PR 12710. +10. Fix a TLS linker bug. PR 12763. +11. Improve gold. +12. Improve DWARF dump support. +13. Improve XCOFF support. +14. Improve arm support. +15. Improve cris support. +16. Improve ia64 ILP32 support. +17. Improve mips support. +18. Improve ppc support. +19. Improve rx support. +20. Improve s390 support. +21. Improve tic30 support. +22. Improve tic6x support. +23. Improve v850 support. + +Changes from binutils 2.21.51.0.8: + +1. Update from binutils 2011 0507. +2. Improve LTO bfd linker. PRs 12365/12696/12672 +3. Fix a linker regression with constructor attribute in C++. PR 12730. +4. Warn relocation in readonly section when creating a shared object. +5. Remove empty output sections. PR 12718. +6. Remove DT_TEXTREL with local IFUNC symbols. PR 12694. +7. Properly set ELFOSABI_LINUX for STB_GNU_UNIQUE. PR 10549. +8. Fix objcopy on unusual input. PR 12632. +9. Fix an ar regression. PR 12720. +10 Avoid linker crash on bad linker input. +11. Fix a linker script regression. PR 12726. +12. Support new GNU DWARF extensions. +13. Initial support for SystemTap note sections. +14. Add --dwarf-start and --dwarf-end to readelf and objdump. +15. Disable 3dnow and 3dnowa for bdver1 in x86 assembler. +16. Improve gold. +17. Improve VMS support. +18. Improve arm support. +19. Improve mips support. +20. Improve ppc support. +21. Improve s390 support. +22. Improve tic6x support. + +Changes from binutils 2.21.51.0.7: + +1. Update from binutils 2011 0408. +2. Fix x32 TLS linker bug. +3. Enable .quad directive in x32 assembler. +4. Fix an assembler regression. PRs 12569/12589. +5. Add --size-check= assembler option to issue a warning, instead of an +error, on bad ELF .size directive. +6. Fix an ia32 linker bug with TLS/PIE. PR 12654. +7. Fix Intel L1OM linker library search path. +8. Fix a linker buffer overflow on malformed inputs. PR 12613. +9. Check corrupted symtab in nm/readelf. PR 12639. +10. Avoid objcopy crash on archive with unknown objects. PR 12632. +11. Fix "ar -t". PR 12590. +12. Fix many memory leaks. +13. Improve DWARF support. +14. Improve gold. +15. Improve VMS support. +16. Improve Windows support. +17. Improve alpha support. +18. Improve arm support. +19. Improve avr support. +20. Improve ppc support. +21. Improve sparc support. +22. Improve tic6x support. + +Changes from binutils 2.21.51.0.6: + +1. Update from binutils 2011 0306. +2. Supprt x32 TLS IE->LE transition. +3. Change x32 library directory from /lib32 to /libx32. +4. Improve LTO linker support. Fix PRs 12439/12314/12248/12430. +5. Improve linker plugin support. +6. Fix an ar bug. PR 12513. +7. Properly generate nops for ia32. PR 6957. +8. Improve readelf DT_GNU_HASH support. PR 12523. +9. Improve readelf on invalid input. PR 12467. +10. Update ELF assembler to issue an error on invalid .size directive. +PR 12519, +11. Properly handle PT_DYNAMIC segment with zero size sections. PR 12516. +12. Add a new linker option, --verbose=2, to report plugin symbol +status. +13. Properly handle entry symbols in linker LTO support. PR 12507. +14. Improve gold. +15. Improve arm support. +16. Improve bfin support. +17. Improve mips support. +18. Improve ppc support. + +Changes from binutils 2.21.51.0.5: + +1. Update from binutils 2011 0118. +2. Fix x32 (ILP32) support. Renamed assembler option to --x32. It +can create working static and dynamic x32 executables. +3. Add BMI and TBM new instruction support. +4. Fix x86 disassembler to properly display sign-extended byte. +5. Improve IFUNC linker support. PRs 12366/12371. +6. Fix readelf bug on archive. PR 12408. +7. Fix a assembler when compressing empty debug sections. PR 12409. +8. Fix a warning symbol linker bug. PR 12339. +9. Fix a duplicated assert message linker bug. PR 12380. +10. Fix plugin linker build. PR 12391. +11. Fix a plugin linker crash. PR 12364. +12. Improve plugin linker. +13. Improve gold. +14. Improve arm support. +15. Improve mips support. +16. Improve rx support. + +Changes from binutils 2.21.51.0.4: + +1. Update from binutils 2011 0104. +2. Add ILP32 support: + +http://www.kernel.org/pub/linux/devel/binutils/ilp32/abi.pdf + +to Linux/x86-64. +3. Prevent the Linux x86-64 kernel build failure and remove +__ld_compatibility support. PR 12356. +4. Improve gold. +5. Improve Windows support. +6. Improve hppa support. +7. Improve mips support. + +Changes from binutils 2.21.51.0.3: + +1. Update from binutils 2010 1217. +2. Fix the Linux relocatable kernel build. PR 12327. +3. Improve mips support. + +Changes from binutils 2.21.51.0.2: + +1. Update from binutils 2010 1215. +2. Add BFD linker support for placing input .ctors/.dtors sections in +output .init_array/.fini_array section. Add SORT_BY_INIT_PRIORITY. The +benefits are + a. Avoid output .ctors/.dtors section in executables and shared + libraries. + b. Allow mixing input .ctors/.dtors sections with input + .init_array/.fini_array sectiobs. GCC PR 46770. +3. Add BFD linker support for "ld -r" on mixed IR/non-IR objects. Add +the new ELF section type SHT_GNU_OBJECT_ONLY (0x6ffffff8). See + +http://sourceware.org/bugzilla/show_bug.cgi?id=12291 + +4. Update BFD linker to accept -flto and -flto-partition= for GCC LTO +option compatibility. +5. Fix BFD linker to avoid touching uncompressed section content when +relocating DWARF debug sections for errror reporting. +6. Mark .gnu.lto_* sections with SHF_EXCLUDE. +7. Add --target option to ar. +8. Improve gold. +9. Improve AIX support. +10. Improve Windows support. +11. Improve mips support. + +Changes from binutils 2.21.51.0.1: + +1. Update from binutils 2010 1206. +2. Fix BFD and GOLD linker for compressed debug section support. +3. Fix BFD linker plugin support. PR ld/12246, ld/12247, ld/12248, +ld/12277, ld/12288 and ld/12289. +4. Update BFD linker to group .text.exit, text.startup and .text.hot +sections. +5. Fix linker for W_EH_PE_datarel handling. PR ld/12253. +6. Fix array access bug in readelf/elfedit. PR binutils/11742 and +binutils/12235. +7. Support dumping GDB .gdb_index section. +8. Install plugin-api.h. +9. Improve gold. +10. Improve Solaris support. +11. Improve VMS support. +12. Improve Windows support. +13. Improve arm support. +14. Improve bfin support. +15. Improve mips support. +16. Improve s390 support. +17. Improve z80 support. + +Changes from binutils 2.20.51.0.12: + +1. Update from binutils 2010 1110. +2. Fix ld plugin support. PRs lto/46291 and lto/46319. +3. Fix x86 assembler to properly fold _GLOBAL_OFFSET_TABLE_ in Intel +syntax. PR 12186. +4. Update assembler to ensure that group signature symbols have the name +of the group. +5. Avoid unnecessary relaxation in assembler. PR 12049. +6. Update linker NOLOAD processing. +7. Update linker not to include archive members when symbols therein have +already been defined. PR 12001. +8. Change objdump to display compressed section names without 'z'. +9. Improve gold. +10. Improve Solaris support. +11. Improve VMS support. +12. Improve Windows support. +13. Improve arm support. +14. Improve cr16 support. +15. Improve mips support. +16. Improve ppc support. +17. Improve tic6x support. + +The file list: + +1. binutils-2.23.52.0.1.tar.bz2. Source code. + +The primary sites for the beta Linux binutils are: + +1. http://www.kernel.org/pub/linux/devel/binutils/ + +It is also available on linux/release/2.23.52.0.1 branch at + +http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary + +Thanks. + + +H.J. Lu +hjl.tools@gmail.com +02/27/2013 diff --git a/source/d/bison/bison.SlackBuild b/source/d/bison/bison.SlackBuild index d9e4b522..ea53e8be 100755 --- a/source/d/bison/bison.SlackBuild +++ b/source/d/bison/bison.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2005-2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2005-2008, 2009, 2010, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ PKGNAM=bison -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:--j6} @@ -60,7 +60,7 @@ mkdir -p $TMP $PKG cd $TMP rm -rf bison-$VERSION -tar xvf $CWD/bison-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/bison-$VERSION.tar.xz || exit 1 cd bison-$VERSION || exit 1 chown -R root:root . find . \ diff --git a/source/d/clisp/clisp.SlackBuild b/source/d/clisp/clisp.SlackBuild index c94838fa..f6d9a268 100755 --- a/source/d/clisp/clisp.SlackBuild +++ b/source/d/clisp/clisp.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ VERSION=2.49 DIRNAME=2.49 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Bundled libraries: FFCALLVER=20080704cvs diff --git a/source/d/cmake/cmake.SlackBuild b/source/d/cmake/cmake.SlackBuild index 3002e35b..6150598b 100755 --- a/source/d/cmake/cmake.SlackBuild +++ b/source/d/cmake/cmake.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ PKGNAM=cmake VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -58,8 +58,6 @@ rm -rf $PKGNAM-$VERSION tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 cd $PKGNAM-$VERSION -zcat $CWD/cmake.findpkgconfig.3ea850.patch.gz | patch -p1 --verbose || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/d/cmake/cmake.findpkgconfig.3ea850.patch b/source/d/cmake/cmake.findpkgconfig.3ea850.patch deleted file mode 100644 index a64e47a7..00000000 --- a/source/d/cmake/cmake.findpkgconfig.3ea850.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 3ea850a5023060b84dcc0e6f0098c32c28b15807 Mon Sep 17 00:00:00 2001 -From: Rolf Eike Beer -Date: Fri, 13 Apr 2012 08:50:49 +0200 -Subject: [PATCH] FindPkgConfig.cmake: fix documented output variable not set - (#13125,#13132) - -The real fix is from Yury G. Kudryashov while I added the surrounding cleanups. -An additional hint to really get this fixed came from Rex Dieter. ---- - Modules/FindPkgConfig.cmake | 8 ++++++-- - Tests/CMakeOnly/AllFindModules/CMakeLists.txt | 3 +-- - 2 files changed, 7 insertions(+), 4 deletions(-) - -diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake -index 5d93ab1..39d3a76 100644 ---- a/Modules/FindPkgConfig.cmake -+++ b/Modules/FindPkgConfig.cmake -@@ -13,11 +13,10 @@ - # When the 'QUIET' argument is set, no status messages will be printed. - # - # It sets the following variables: --# PKG_CONFIG_FOUND ... true if pkg-config works on the system -+# PKG_CONFIG_FOUND ... if pkg-config executable was found - # PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program - # PKG_CONFIG_VERSION_STRING ... the version of the pkg-config program found - # (since CMake 2.8.8) --# PKG_CONFIG_FOUND ... if pkg-config executable was found - # - # For the following variables two sets of values exist; first one is the - # common one and has the given PREFIX. The second set contains flags -@@ -104,6 +103,11 @@ find_package_handle_standard_args(PkgConfig - REQUIRED_VARS PKG_CONFIG_EXECUTABLE - VERSION_VAR PKG_CONFIG_VERSION_STRING) - -+# This is needed because the module name is "PkgConfig" but the name of -+# this variable has always been PKG_CONFIG_FOUND so this isn't automatically -+# handled by FPHSA. -+set(PKG_CONFIG_FOUND "${PKGCONFIG_FOUND}") -+ - # Unsets the given variables - macro(_pkgconfig_unset var) - set(${var} "" CACHE INTERNAL "") -diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt -index 6604208..fc65e58 100644 ---- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt -+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt -@@ -71,7 +71,7 @@ endmacro(check_version_string) - # reported. - - foreach(VTEST ALSA ARMADILLO BZIP2 CUPS CURL EXPAT FREETYPE GETTEXT GIT HSPELL -- JASPER LIBXML2 LIBXSLT PERL PostgreSQL TIFF ZLIB) -+ JASPER LIBXML2 LIBXSLT PERL PKG_CONFIG PostgreSQL TIFF ZLIB) - check_version_string(${VTEST} ${VTEST}_VERSION_STRING) - endforeach(VTEST) - -@@ -82,4 +82,3 @@ endforeach(VTEST) - - check_version_string(PYTHONINTERP PYTHON_VERSION_STRING) - check_version_string(SUBVERSION Subversion_VERSION_SVN) --check_version_string(PKGCONFIG PKG_CONFIG_VERSION_STRING) --- -1.7.10 - diff --git a/source/d/cvs/cvs.SlackBuild b/source/d/cvs/cvs.SlackBuild index 4c3528cb..81250f4a 100755 --- a/source/d/cvs/cvs.SlackBuild +++ b/source/d/cvs/cvs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ VERSION=1.11.23 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -56,6 +56,12 @@ cd $TMP rm -rf cvs-$VERSION tar xvf $CWD/cvs-$VERSION.tar.bz2 || exit 1 cd cvs-$VERSION + +# Patch to handle recent glib crypt(): +zcat $CWD/cvs.crypt-2.diff.gz | patch -p1 --verbose || exit 1 +# Fix getline compile error: +zcat $CWD/cvs.getline64.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/d/cvs/cvs.crypt-2.diff b/source/d/cvs/cvs.crypt-2.diff new file mode 100644 index 00000000..140d0b95 --- /dev/null +++ b/source/d/cvs/cvs.crypt-2.diff @@ -0,0 +1,53 @@ +--- cvs-1.11.23/src/server.c.orig 2013-05-17 ++++ cvs-1.11.23/src/server.c 2013-05-22 +@@ -5632,9 +5632,11 @@ check_repository_password (username, pas + host_user_tmp = username; + + /* Verify blank passwords directly, otherwise use crypt(). */ ++ char *crypt_passwd = found_password ? crypt (password, found_password): NULL; + if ((found_password == NULL) +- || ((strcmp (found_password, crypt (password, found_password)) +- == 0))) ++ || (crypt_passwd != NULL ++ && (strcmp (found_password, crypt_passwd) ++ == 0))) + { + /* Give host_user_ptr permanent storage. */ + *host_user_ptr = xstrdup (host_user_tmp); +@@ -5645,7 +5647,7 @@ check_repository_password (username, pas + #ifdef LOG_AUTHPRIV + syslog (LOG_AUTHPRIV | LOG_NOTICE, + "password mismatch for %s in %s: %s vs. %s", username, +- repository, crypt(password, found_password), found_password); ++ repository, crypt_passwd, found_password); + #endif + *host_user_ptr = NULL; + retval = 2; +@@ -5675,6 +5677,7 @@ check_password (username, password, repo + char *host_user = NULL; + char *found_passwd = NULL; + struct passwd *pw; ++ char *crypt_passwd = NULL; + + /* First we see if this user has a password in the CVS-specific + password file. If so, that's enough to authenticate with. If +@@ -5752,7 +5755,9 @@ error 0 %s: no such user\n", username); + if (*found_passwd) + { + /* user exists and has a password */ +- if (strcmp (found_passwd, crypt (password, found_passwd)) == 0) ++ crypt_passwd = crypt (password, found_passwd); ++ if ((crypt_passwd != NULL) && ++ (strcmp (found_passwd, crypt_passwd) == 0)) + { + host_user = xstrdup (username); + } +@@ -5762,7 +5767,7 @@ error 0 %s: no such user\n", username); + #ifdef LOG_AUTHPRIV + syslog (LOG_AUTHPRIV | LOG_NOTICE, + "password mismatch for %s: %s vs. %s", username, +- crypt(password, found_passwd), found_passwd); ++ crypt_passwd, found_passwd); + #endif + } + goto handle_return; diff --git a/source/d/cvs/cvs.getline64.diff b/source/d/cvs/cvs.getline64.diff new file mode 100644 index 00000000..99942e05 --- /dev/null +++ b/source/d/cvs/cvs.getline64.diff @@ -0,0 +1,34 @@ +--- cvs-1.11.23/lib/getline.c 2005-04-04 22:46:05.000000000 +0200 ++++ cvs-1.11.23/lib/getline.c.old 2008-06-03 19:06:25.000000000 +0200 +@@ -154,7 +154,7 @@ + return ret; + } + +-int ++ssize_t + getline (lineptr, n, stream) + char **lineptr; + size_t *n; +@@ -163,7 +163,7 @@ + return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT); + } + +-int ++ssize_t + getline_safe (lineptr, n, stream, limit) + char **lineptr; + size_t *n; +--- cvs-1.11.23/lib/getline.h 2005-04-04 22:46:05.000000000 +0200 ++++ cvs-1.11.23/lib/getline.h.old 2008-06-03 19:06:27.000000000 +0200 +@@ -11,9 +11,9 @@ + + #define GETLINE_NO_LIMIT -1 + +-int ++ssize_t + getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream)); +-int ++ssize_t + getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, + int limit)); + int diff --git a/source/d/distcc/distcc.SlackBuild b/source/d/distcc/distcc.SlackBuild index c432cddb..99a9a5db 100755 --- a/source/d/distcc/distcc.SlackBuild +++ b/source/d/distcc/distcc.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,8 +21,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=2.18.3 -BUILD=${BUILD:-2} +VERSION=3.1 +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -45,7 +45,7 @@ mkdir -p $TMP $PKG cd $TMP rm -rf distcc-$VERSION -tar xvf $CWD/distcc-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/distcc-$VERSION.tar.xz || exit 1 cd distcc-$VERSION || exit 1 chown -R root:root . find . \ @@ -60,7 +60,9 @@ find . \ --sysconfdir=/etc \ --with-gtk \ --without-gnome \ - $ARCH-slackware-linux + --without-avahi \ + --disable-Werror \ + --target=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG docdir=/usr/doc/distcc-$VERSION || exit 1 @@ -71,6 +73,10 @@ mkdir -p $PKG/usr/share/applications ln -sf /usr/share/distcc/distccmon-gnome.desktop . ) +for file in $PKG/etc/distcc/* ; do + mv $file ${file}.new +done + gzip -9 $PKG/usr/man/man?/* # Restore original timestamps on the doc files: @@ -88,6 +94,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null mkdir -p $PKG/install +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc # Build the package: diff --git a/source/d/distcc/doinst.sh b/source/d/distcc/doinst.sh new file mode 100644 index 00000000..ea408581 --- /dev/null +++ b/source/d/distcc/doinst.sh @@ -0,0 +1,15 @@ +#!/bin/sh +config() { + NEW="$1" + OLD="`dirname $NEW`/`basename $NEW .new`" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} +config etc/distcc/clients.allow.new +config etc/distcc/commands.allow.sh.new +config etc/distcc/hosts.new diff --git a/source/d/flex/flex.SlackBuild b/source/d/flex/flex.SlackBuild index f46b24e9..89239ce2 100755 --- a/source/d/flex/flex.SlackBuild +++ b/source/d/flex/flex.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2006, 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ PKGNAM=flex -VERSION=${VERSION:-2.5.35} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -60,7 +60,7 @@ fi cd $TMP rm -rf ${PKGNAM}-${VERSION} -tar xvf $CWD/${PKGNAM}-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1 cd ${PKGNAM}-$VERSION # Make sure ownerships and permissions are sane: @@ -78,7 +78,8 @@ CFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ - $ARCH-slackware-linux + --docdir=/usr/doc/flex-${VERSION} \ + --build=$ARCH-slackware-linux # Build and install: make $NUMJOBS || make || exit 1 @@ -115,6 +116,7 @@ if [ -d $PKG/usr/info ]; then fi # Add a documentation directory: +rm -rf $PKG/usr/doc/${PKGNAM}-$VERSION mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION cp -a \ ABOUT-NLS AUTHORS COPYING* INSTALL NEWS README* THANKS TODO \ diff --git a/source/d/gcc/gcc-4.7.1.adalib.pic.diff b/source/d/gcc/gcc-4.7.1.adalib.pic.diff deleted file mode 100644 index 792ec654..00000000 --- a/source/d/gcc/gcc-4.7.1.adalib.pic.diff +++ /dev/null @@ -1,40 +0,0 @@ -From 176ff0f9a1016553978d6cf41770703e2ad90958 Mon Sep 17 00:00:00 2001 -From: jakub -Date: Thu, 14 Jun 2012 17:45:53 +0000 -Subject: [PATCH 1/1] * gcc-interface/Makefile.in (gnatlib-shared-default): Append - $(PICFLAG_FOR_TARGET) to GNATLIBCFLAGS_FOR_C passed to submake. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188623 138bc75d-0d04-0410-961f-82ee72b054a4 ---- - gcc/ada/ChangeLog | 5 +++++ - gcc/ada/gcc-interface/Makefile.in | 2 +- - 2 files changed, 6 insertions(+), 1 deletions(-) - -diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog -index 7e3195a..072a3f2 100644 ---- a/gcc/ada/ChangeLog -+++ b/gcc/ada/ChangeLog -@@ -1,3 +1,8 @@ -+2012-06-14 Jakub Jelinek -+ -+ * gcc-interface/Makefile.in (gnatlib-shared-default): Append -+ $(PICFLAG_FOR_TARGET) to GNATLIBCFLAGS_FOR_C passed to submake. -+ - 2012-06-14 Release Manager - - * GCC 4.7.1 released. -diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in -index ee8db38..f9e7eda 100644 ---- a/gcc/ada/gcc-interface/Makefile.in -+++ b/gcc/ada/gcc-interface/Makefile.in -@@ -2597,7 +2597,7 @@ gnatlib-shared-default: - $(MAKE) $(FLAGS_TO_PASS) \ - GNATLIBFLAGS="$(GNATLIBFLAGS)" \ - GNATLIBCFLAGS="$(GNATLIBCFLAGS) $(PICFLAG_FOR_TARGET)" \ -- GNATLIBCFLAGS_FOR_C="$(GNATLIBCFLAGS_FOR_C)" \ -+ GNATLIBCFLAGS_FOR_C="$(GNATLIBCFLAGS_FOR_C) $(PICFLAG_FOR_TARGET)" \ - MULTISUBDIR="$(MULTISUBDIR)" \ - THREAD_KIND="$(THREAD_KIND)" \ - gnatlib --- -1.7.3.4 diff --git a/source/d/gcc/gcc.SlackBuild b/source/d/gcc/gcc.SlackBuild index df5f99d5..cb96a231 100755 --- a/source/d/gcc/gcc.SlackBuild +++ b/source/d/gcc/gcc.SlackBuild @@ -2,7 +2,7 @@ # GCC package build script (written by volkerdi@slackware.com) # # Copyright 2003, 2004 Slackware Linux, Inc., Concord, California, USA -# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -137,6 +137,10 @@ cat $CWD/slack-desc.gcc-go > $PKG8/install/slack-desc cd $TMP tar xvf $CWD/gcc-$VERSION.tar.?z* +#( cd gcc-$VERSION +# If we had any patches, we would apply them here, but we're .diff free now. +#) || exit 1 + # Copy ecj.jar into the TLD of the source. Needed for java compiler. # This can be retrieved from ftp://sourceware.org/pub/java cp $CWD/ecj-4.5.jar gcc-$VERSION/ecj.jar @@ -146,11 +150,6 @@ cp $CWD/ecj-4.5.jar gcc-$VERSION/ecj.jar #https://oss.sonatype.org/content/repositories/releases/org/antlr/antlr-runtime/ ANTLJAR=$(echo $CWD/antlr-*.jar | tail -1) -# Upstream -fPIC fix for gnat build: -cd gcc-$VERSION - zcat $CWD/gcc-4.7.1.adalib.pic.diff.gz | patch -p1 --verbose || exit 1 -cd .. - # install docs ( cd gcc-$VERSION # Smite the fixincludes: @@ -330,7 +329,7 @@ cd .. echo rm -rf fastjar-$FASTJARVER tar xvf $CWD/fastjar-$FASTJARVER.tar.xz || exit 1 - cd fastjar-$FASTJARVER || exit + cd fastjar-$FASTJARVER || exit 1 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -615,6 +614,7 @@ mv $PKG1/usr/bin/gnative2ascii $PKG5/usr/bin mv $PKG1/usr/bin/gij usr/bin mv $PKG1/usr/bin/gjar usr/bin mv $PKG1/usr/bin/gjarsigner usr/bin + mv $PKG1/usr/bin/gjdoc usr/bin mv $PKG1/usr/bin/gkeytool usr/bin mv $PKG1/usr/bin/grepjar usr/bin mv $PKG1/usr/bin/grmid usr/bin @@ -709,7 +709,8 @@ mv $PKG1/usr/bin/gnative2ascii $PKG5/usr/bin # statically, and we'll need a newer one elsewhere. find . -name "ffi*.h" | xargs rm find . -name "libffi*" | xargs rm - rm usr/man/man3/ffi* + rm -f usr/man/man3/ffi* + rm -f usr/info/libffi* ) # gcc-objc: @@ -740,7 +741,7 @@ mv $PKG1/usr/bin/gnative2ascii $PKG5/usr/bin mv $PKG1/usr/info/gccgo.info.gz usr/info mkdir -p usr/lib${LIBDIRSUFFIX} mv $PKG1/usr/lib${LIBDIRSUFFIX}/go usr/lib${LIBDIRSUFFIX} - mv $PKG1/usr/lib${LIBDIRSUFFIX}/{libgo.la,libgo.so.0.*,libgobegin.a} usr/lib${LIBDIRSUFFIX} || exit 1 + mv $PKG1/usr/lib${LIBDIRSUFFIX}/{libgo.la,libgo.so*,libgobegin.a} usr/lib${LIBDIRSUFFIX} || exit 1 # Ordinarily Slackware doesn't package static libraries, but in this case # it is useful for deploying compiled binaries on machines that do not yet # have libgo.so.0.0.0. diff --git a/source/d/gcc/slack-desc.gcc b/source/d/gcc/slack-desc.gcc index 04fccd4d..1f842675 100644 --- a/source/d/gcc/slack-desc.gcc +++ b/source/d/gcc/slack-desc.gcc @@ -11,7 +11,7 @@ gcc: gcc: GCC is the GNU Compiler Collection. gcc: gcc: This package contains those parts of the compiler collection needed to -gcc: compile C code. Other packages add C++, Fortran, Objective-C, and +gcc: compile C code. Other packages add C++, Fortran, Go, Objective-C, and gcc: Java support to the compiler core. gcc: gcc: diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild index daa0cac7..5130525b 100755 --- a/source/d/git/git.SlackBuild +++ b/source/d/git/git.SlackBuild @@ -107,6 +107,9 @@ make \ mv $PKG/usr/share/man/man3 $PKG/usr/man rmdir $PKG/usr/share/man +# Don't stomp on perl's file: +rm -f $PKG/usr/lib*/perl5/perllocal.pod + # Compress and if needed symlink the man pages: if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man diff --git a/source/d/guile/guile.SlackBuild b/source/d/guile/guile.SlackBuild index 03433ee5..9f94e55b 100755 --- a/source/d/guile/guile.SlackBuild +++ b/source/d/guile/guile.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ PKGNAM=guile -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -58,8 +58,9 @@ else fi cd $TMP -tar xvf $CWD/guile-$VERSION.tar.?z* || exit 1 -cd guile-$VERSION +rm -rf guile-$VERSION +tar xvf $CWD/guile-$VERSION.tar.xz || exit 1 +cd guile-$VERSION || exit 1 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -74,6 +75,9 @@ CFLAGS="$SLKCFLAGS" \ --infodir=/usr/info \ --mandir=/usr/man \ --with-threads \ + --disable-static \ + --disable-rpath \ + --disable-error-on-warning \ --build=$ARCH-slackware-linux # Does not like parallel make... diff --git a/source/d/guile/slack-desc b/source/d/guile/slack-desc index 9b325280..2c23793f 100644 --- a/source/d/guile/slack-desc +++ b/source/d/guile/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -guile: guile (GNU's extension language library) +guile: guile (GNU extension language library) guile: guile: This is Guile, Project GNU's extension language library. Guile is an guile: interpreter for Scheme, packaged as a library that you can link into diff --git a/source/d/help2man/help2man.SlackBuild b/source/d/help2man/help2man.SlackBuild new file mode 100755 index 00000000..bc93fffa --- /dev/null +++ b/source/d/help2man/help2man.SlackBuild @@ -0,0 +1,149 @@ +#!/bin/sh + +# Copyright 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + + +PKGNAM=help2man +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i486 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +fi + +NUMJOBS=${NUMJOBS:-" -j7 "} + +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mcpu=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +cd $PKGNAM-$VERSION + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# Configure: +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --infodir=/usr/info \ + --mandir=/usr/man \ + --localstatedir=/var \ + --build=$ARCH-slackware-linux + +# Build and install: +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Strip binaries: +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + COPYING* INSTALL NEWS README* THANKS \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +# Compress and if needed symlink the man pages: +if [ -d $PKG/usr/man ]; then + ( cd $PKG/usr/man + for manpagedir in $(find . -type d -name "man*") ; do + ( cd $manpagedir + for eachpage in $( find . -type l -maxdepth 1) ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi + +# Compress info files, if any: +if [ -d $PKG/usr/info ]; then + ( cd $PKG/usr/info + rm -f dir + gzip -9 * + ) +fi + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r debian/changelog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat debian/changelog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r debian/changelog $DOCSDIR/ChangeLog +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/d/help2man/slack-desc b/source/d/help2man/slack-desc new file mode 100644 index 00000000..42173639 --- /dev/null +++ b/source/d/help2man/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +help2man: help2man (automatic man page generator) +help2man: +help2man: help2man is a tool for automatically generating simple manual pages +help2man: from program output. +help2man: +help2man: Homepage: http://www.gnu.org/software/help2man +help2man: +help2man: +help2man: +help2man: +help2man: diff --git a/source/d/libtool/libtool.SlackBuild b/source/d/libtool/libtool.SlackBuild index 9849df42..ffa0bc4b 100755 --- a/source/d/libtool/libtool.SlackBuild +++ b/source/d/libtool/libtool.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. VERSION=${VERSION:-$(echo libtool-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:--j6} diff --git a/source/d/llvm/llvm.SlackBuild b/source/d/llvm/llvm.SlackBuild index 47c96695..1f5150c7 100755 --- a/source/d/llvm/llvm.SlackBuild +++ b/source/d/llvm/llvm.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for llvm -# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=llvm -VERSION=3.0 +VERSION=3.3 BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -55,38 +55,23 @@ else LIBDIRSUFFIX="" fi -CLANG=${CLANG:-yes} - rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $PKGNAM-${VERSION}.src -tar xvf $CWD/$PKGNAM-$VERSION.tar.xz +tar xvf $CWD/$PKGNAM-$VERSION.src.tar.xz || exit 1 -if [ "$CLANG" = "no" ]; then - cd $PKGNAM-${VERSION}.src -else - cd $PKGNAM-${VERSION}.src/tools - rm -rf clang clang-${VERSION}.src - tar xvf $CWD/clang-$VERSION.tar.xz - mv clang-${VERSION}.src clang - cd ../ - - # clang fixes for slackware - # No longer needed as of llvm/clang 3.0? - #patch -p1 -d tools/clang -i $CWD/clang-slackware.diff -fi +cd $PKGNAM-${VERSION}.src/tools + tar xvf $CWD/cfe-$VERSION.src.tar.xz || exit 1 + mv cfe-${VERSION}.src clang || exit 1 +cd ../ chown -R root:root . chmod -R u+w,go+r-w,a-s . -CINC="/usr/include/" -GCCDIR=/usr/lib$LIBDIRSUFFIX/gcc/$ARCH-slackware-linux*/*/ -CINC="$CINC:$(echo ${GCCDIR})/include/" -CINC="$CINC:$(echo ${GCCDIR})/include-fixed/" - # --mandir doesn't work currently # need to disable assertions to make llvm thread-safe +# clang resource dir is a relative path based on the location of the clang binary CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -98,49 +83,65 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-optimized \ --disable-assertions \ --enable-pic \ - --with-c-include-dirs=$CINC \ + --enable-experimental-targets=R600 \ + --with-clang-resource-dir="../lib${LIBDIRSUFFIX}/clang/${VERSION}" \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux || exit 1 -# Correct libdir setting +# Fix hardcoded libdir sed -i "s|\$(PROJ_prefix)/lib|\$(PROJ_prefix)/lib$LIBDIRSUFFIX|" \ Makefile.config - -if [ "$CLANG" != "no" ]; then - sed -i "s|\$(PROJ_prefix)/lib|\$(PROJ_prefix)/lib$LIBDIRSUFFIX|" \ - tools/clang/lib/Headers/Makefile -fi +sed -i "s|\$(PROJ_prefix)/lib|\$(PROJ_prefix)/lib$LIBDIRSUFFIX|" \ + tools/clang/lib/Headers/Makefile +sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" \ + tools/clang/lib/Frontend/CompilerInvocation.cpp +sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" \ + tools/clang/lib/Driver/Tools.cpp +sed -i "s|ActiveLibDir = ActivePrefix + \"/lib\"|ActiveLibDir = ActivePrefix + \"/lib${LIBDIRSUFFIX}\"|g" \ + tools/llvm-config/llvm-config.cpp make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -if [ "$CLANG" != "no" ]; then - # install clang-static-analyzer - mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer - cp -pr tools/clang/tools/scan-{build,view} \ - $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/ || exit 1 - for i in scan-{build,view}; do - ln -s /usr/lib$LIBDIRSUFFIX/clang-analyzer/$i/$i \ - $PKG/usr/bin/$i || exit 1 - done - for i in ccc c++; do - ln -s /usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/$i-analyzer \ - $PKG/usr/bin/$i-analyzer || exit 1 - done -fi +# Add symlinks for $ARCH-slackware-linux-{clang,clang++}: +( cd $PKG/usr/bin + ln -sf clang $ARCH-slackware-linux-clang + ln -sf clang++ $ARCH-slackware-linux-clang++ +) + +# install clang-static-analyzer +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer +cp -pr tools/clang/tools/scan-{build,view} \ + $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/ || exit 1 +for i in scan-{build,view}; do + ln -s /usr/lib$LIBDIRSUFFIX/clang-analyzer/$i/$i \ + $PKG/usr/bin/$i || exit 1 +done +for i in ccc c++; do + ln -s /usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/$i-analyzer \ + $PKG/usr/bin/$i-analyzer || exit 1 +done + +# Fix paths in scan-build +sed -i "s|\$RealBin/bin|/usr/bin|" \ + $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/scan-build +sed -i "s|\$RealBin/sorttable.js|/usr/lib${LIBDIRSUFFIX}/clang-analyzer/scan-build/sorttable.js|" \ + $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/scan-build +sed -i "s|\$RealBin/scanview.css|/usr/lib${LIBDIRSUFFIX}/clang-analyzer/scan-build/scanview.css|" \ + $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/scan-build # Remove example libraries rm -f $PKG/usr/lib$LIBDIRSUFFIX/LLVMHello* -# Fix wrong libdir -sed -i -e "s|ABS_RUN_DIR/lib\"|ABS_RUN_DIR/lib$LIBDIRSUFFIX\"|" \ - $PKG/usr/bin/llvm-config - # Move man page directory: mv $PKG/usr/share/man $PKG/usr/ # Try to remove /usr/share, which should be empty now. If it's not, fine. rmdir $PKG/usr/share +# Move scan-build man-page into place +mv $PKG/usr/lib$LIBDIRSUFFIX/clang-analyzer/scan-build/scan-build.1 \ + $PKG/usr/man/man1/ + # Strip binaries: ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -154,17 +155,13 @@ for i in $( find $PKG/usr/man -type l ) ; do rm $i done -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/clang cp -a CREDITS* LICENSE* README* $PKG/usr/doc/$PKGNAM-$VERSION +cp -a tools/clang/{INSTALL,LICENSE,NOTES,README}* \ + $PKG/usr/doc/$PKGNAM-$VERSION/clang mv $PKG/usr/docs/llvm/* $PKG/usr/doc/$PKGNAM-$VERSION rm -rf $PKG/usr/docs -if [ "$CLANG" != "no" ]; then - mkdir $PKG/usr/doc/$PKGNAM-$VERSION/clang - cp -a tools/clang/{INSTALL,NOTES,README,TODO}* \ - $PKG/usr/doc/$PKGNAM-$VERSION/clang -fi - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/d/llvm/llvm.url b/source/d/llvm/llvm.url index 369fedab..96e8fd58 100644 --- a/source/d/llvm/llvm.url +++ b/source/d/llvm/llvm.url @@ -1,2 +1,2 @@ -http://llvm.org/releases/3.0/llvm-3.0.tar.gz -http://llvm.org/releases/3.0/clang-3.0.tar.gz +http://llvm.org/releases/3.3/llvm-3.3.tar.gz +http://llvm.org/releases/3.3/cfe-3.3.tar.gz diff --git a/source/d/make/make-3.82-bugfixes.patch b/source/d/make/make-3.82-bugfixes.patch new file mode 100644 index 00000000..e89f14e0 --- /dev/null +++ b/source/d/make/make-3.82-bugfixes.patch @@ -0,0 +1,250 @@ +diff -urpN make/ChangeLog make-new/ChangeLog +--- make/ChangeLog 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/ChangeLog 2010-09-13 13:42:09.000000000 +0200 +@@ -1,3 +1,22 @@ ++2010-08-13 Paul Smith ++ ++ * NEWS: Accidentally forgot to back out the sorted wildcard ++ enhancement in 3.82, so update NEWS. ++ Also add NEWS about the error check for explicit and pattern ++ targets in the same rule, added to 3.82. ++ ++ * main.c (main): Add "oneshell" to $(.FEATURES) (forgot to add ++ this in 3.82!) ++ ++ * read.c (parse_file_seq): Fix various errors parsing archives ++ with multiple objects in the parenthesis, as well as wildcards. ++ Fixes Savannah bug #30612. ++ ++2010-08-10 Paul Smith ++ ++ * main.c (main): Expand MAKEFLAGS before adding it to the ++ environment when re-exec'ing. Fixes Savannah bug #30723. ++ + 2010-07-28 Paul Smith + + Version 3.82 released. +diff -urpN make/main.c make-new/main.c +--- make/main.c 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/main.c 2010-09-13 13:42:12.000000000 +0200 +@@ -1138,7 +1138,7 @@ main (int argc, char **argv, char **envp + a macro and some compilers (MSVC) don't like conditionals in macros. */ + { + const char *features = "target-specific order-only second-expansion" +- " else-if shortest-stem undefine" ++ " else-if shortest-stem undefine oneshell" + #ifndef NO_ARCHIVES + " archives" + #endif +@@ -2093,7 +2093,7 @@ main (int argc, char **argv, char **envp + const char *pv = define_makeflags (1, 1); + char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1); + sprintf (p, "MAKEFLAGS=%s", pv); +- putenv (p); ++ putenv (allocated_variable_expand (p)); + } + + if (ISDB (DB_BASIC)) +diff -urpN make/NEWS make-new/NEWS +--- make/NEWS 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/NEWS 2010-09-13 13:42:11.000000000 +0200 +@@ -18,14 +18,6 @@ http://sv.gnu.org/bugs/index.php?group=m + * Compiling GNU make now requires a conforming ISO C 1989 compiler and + standard runtime library. + +-* WARNING: Future backward-incompatibility! +- Wildcards are not documented as returning sorted values, but up to and +- including this release the results have been sorted and some makefiles are +- apparently depending on that. In the next release of GNU make, for +- performance reasons, we may remove that sorting. If your makefiles +- require sorted results from wildcard expansions, use the $(sort ...) +- function to request it explicitly. +- + * WARNING: Backward-incompatibility! + The POSIX standard for make was changed in the 2008 version in a + fundamentally incompatible way: make is required to invoke the shell as if +@@ -42,6 +34,21 @@ http://sv.gnu.org/bugs/index.php?group=m + existing targets were provided in $?). + + * WARNING: Backward-incompatibility! ++ Wildcards were not documented as returning sorted values, but the results ++ have been sorted up until this release.. If your makefiles require sorted ++ results from wildcard expansions, use the $(sort ...) function to request ++ it explicitly. ++ ++* WARNING: Backward-incompatibility! ++ In previous versions of make it was acceptable to list one or more explicit ++ targets followed by one or more pattern targets in the same rule and it ++ worked "as expected". However, this was not documented as acceptable and if ++ you listed any explicit targets AFTER the pattern targets, the entire rule ++ would be mis-parsed. This release removes this ability completely: make ++ will generate an error message if you mix explicit and pattern targets in ++ the same rule. ++ ++* WARNING: Backward-incompatibility! + As a result of parser enhancements, three backward-compatibility issues + exist: first, a prerequisite containing an "=" cannot be escaped with a + backslash any longer. You must create a variable containing an "=" and +diff -urpN make/read.c make-new/read.c +--- make/read.c 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/read.c 2010-09-13 13:42:11.000000000 +0200 +@@ -3028,7 +3028,7 @@ parse_file_seq (char **stringp, unsigned + { + /* This looks like the first element in an open archive group. + A valid group MUST have ')' as the last character. */ +- const char *e = p + nlen; ++ const char *e = p; + do + { + e = next_token (e); +@@ -3084,19 +3084,19 @@ parse_file_seq (char **stringp, unsigned + Go to the next item in the string. */ + if (flags & PARSEFS_NOGLOB) + { +- NEWELT (concat (2, prefix, tp)); ++ NEWELT (concat (2, prefix, tmpbuf)); + continue; + } + + /* If we get here we know we're doing glob expansion. + TP is a string in tmpbuf. NLEN is no longer used. + We may need to do more work: after this NAME will be set. */ +- name = tp; ++ name = tmpbuf; + + /* Expand tilde if applicable. */ +- if (tp[0] == '~') ++ if (tmpbuf[0] == '~') + { +- tildep = tilde_expand (tp); ++ tildep = tilde_expand (tmpbuf); + if (tildep != 0) + name = tildep; + } +@@ -3152,7 +3152,10 @@ parse_file_seq (char **stringp, unsigned + else + { + /* We got a chain of items. Attach them. */ +- (*newp)->next = found; ++ if (*newp) ++ (*newp)->next = found; ++ else ++ *newp = found; + + /* Find and set the new end. Massage names if necessary. */ + while (1) +diff -urpN make/tests/ChangeLog make-new/tests/ChangeLog +--- make/tests/ChangeLog 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/tests/ChangeLog 2010-09-13 13:42:10.000000000 +0200 +@@ -1,3 +1,16 @@ ++2010-08-13 Paul Smith ++ ++ * scripts/features/archives: New regression tests for archive ++ support. Test for fix to Savannah bug #30612. ++ ++ * run_make_tests.pl (set_more_defaults): Set a %FEATURES hash to ++ the features available in $(.FEATURES). ++ ++2010-08-10 Paul Smith ++ ++ * scripts/features/reinvoke: Ensure command line variable settings ++ are preserved across make re-exec. Tests Savannah bug #30723. ++ + 2010-07-28 Paul Smith + + * scripts/targets/POSIX: Compatibility issues with Solaris (and +diff -urpN make/tests/run_make_tests.pl make-new/tests/run_make_tests.pl +--- make/tests/run_make_tests.pl 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/tests/run_make_tests.pl 2010-09-13 13:42:10.000000000 +0200 +@@ -29,6 +29,7 @@ + # You should have received a copy of the GNU General Public License along with + # this program. If not, see . + ++%FEATURES = (); + + $valgrind = 0; # invoke make with valgrind + $valgrind_args = ''; +@@ -367,6 +368,8 @@ sub set_more_defaults + $parallel_jobs = 1; + } + ++ %FEATURES = map { $_ => 1 } split /\s+/, `sh -c "echo '\\\$(info \\\$(.FEATURES))' | $make_path -f- 2>/dev/null"`; ++ + # Set up for valgrind, if requested. + + if ($valgrind) { +diff -urpN make/tests/scripts/features/archives make-new/tests/scripts/features/archives +--- make/tests/scripts/features/archives 1970-01-01 01:00:00.000000000 +0100 ++++ make-new/tests/scripts/features/archives 2010-09-13 13:42:10.000000000 +0200 +@@ -0,0 +1,42 @@ ++# -*-mode: perl-*- ++ ++$description = "Test GNU make's archive management features."; ++ ++$details = "\ ++This only works on systems that support it."; ++ ++# If this instance of make doesn't support archives, skip it ++exists $FEATURES{archives} or return -1; ++ ++# Create some .o files to work with ++utouch(-60, qw(a1.o a2.o a3.o)); ++ ++# Very simple ++run_make_test('all: libxx.a(a1.o)', ++ '', "ar rv libxx.a a1.o\nar: creating libxx.a\na - a1.o\n"); ++ ++# Multiple .o's. Add a new one to the existing library ++run_make_test('all: libxx.a(a1.o a2.o)', ++ '', "ar rv libxx.a a2.o\na - a2.o\n"); ++ ++# Touch one of the .o's so it's rebuilt ++utouch(-40, 'a1.o'); ++run_make_test(undef, '', "ar rv libxx.a a1.o\nr - a1.o\n"); ++ ++# Use wildcards ++run_make_test('all: libxx.a(*.o)', ++ '', "#MAKE#: Nothing to be done for `all'.\n"); ++ ++# Touch one of the .o's so it's rebuilt ++utouch(-30, 'a1.o'); ++run_make_test(undef, '', "ar rv libxx.a a1.o\nr - a1.o\n"); ++ ++# Use both wildcards and simple names ++utouch(-50, 'a2.o'); ++run_make_test('all: libxx.a(a3.o *.o)', '', ++ "ar rv libxx.a a3.o\na - a3.o\nar rv libxx.a a2.o\nr - a2.o\n"); ++ ++rmfiles(qw(a1.o a2.o a3.o libxx.a)); ++ ++# This tells the test driver that the perl test script executed properly. ++1; +diff -urpN make/tests/scripts/features/reinvoke make-new/tests/scripts/features/reinvoke +--- make/tests/scripts/features/reinvoke 2010-09-13 13:42:35.000000000 +0200 ++++ make-new/tests/scripts/features/reinvoke 2010-09-13 13:42:10.000000000 +0200 +@@ -57,9 +57,24 @@ include $(F)', + # Now try with the file we're not updating being the actual file we're + # including: this and the previous one test different parts of the code. + +-run_make_test(undef, "F=b", "[ -f b ] || echo >> b\nhello\n") ++run_make_test(undef, 'F=b', "[ -f b ] || echo >> b\nhello\n") + + &rmfiles('a','b','c'); + ++# Ensure command line variables are preserved properly across re-exec ++# Tests for Savannah bug #30723 ++ ++run_make_test(' ++ifdef RECURSE ++-include foo30723 ++endif ++recurse: ; @$(MAKE) -f $(MAKEFILE_LIST) RECURSE=1 test ++test: ; @echo F.O=$(F.O) ++foo30723: ; @touch $@ ++', ++ '--no-print-directory F.O=bar', "F.O=bar\n"); ++ ++unlink('foo30723'); ++ + # This tells the test driver that the perl test script executed properly. + 1; diff --git a/source/d/make/make.SlackBuild b/source/d/make/make.SlackBuild index 18f701b6..2e70788d 100755 --- a/source/d/make/make.SlackBuild +++ b/source/d/make/make.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2005-2011 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2005-2013 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ PKGNAM=make VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -73,6 +73,8 @@ find . \ # Fix a problem using make-3.82 to build Android: zcat $CWD/make-3.82-android-build-fix.diff.gz | patch -p1 --verbose || exit 1 +zcat $CWD/make-3.82-bugfixes.patch.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/source/d/open-cobol/open-cobol.SlackBuild b/source/d/open-cobol/open-cobol.SlackBuild new file mode 100755 index 00000000..8e0afd59 --- /dev/null +++ b/source/d/open-cobol/open-cobol.SlackBuild @@ -0,0 +1,133 @@ +#!/bin/sh + +# Copyright 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + + +PKGNAM=open-cobol +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-2} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i486 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +fi + +NUMJOBS=${NUMJOBS:-" -j7 "} + +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mcpu=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +cd $PKGNAM-$VERSION + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# Configure: +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --build=$ARCH-slackware-linux + +# Build and install: +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Strip binaries: +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README* THANKS TODO \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +# Compress info files, if any: +if [ -d $PKG/usr/info ]; then + ( cd $PKG/usr/info + rm -f dir + gzip -9 * + ) +fi + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/d/open-cobol/slack-desc b/source/d/open-cobol/slack-desc new file mode 100644 index 00000000..94fa2fbd --- /dev/null +++ b/source/d/open-cobol/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +open-cobol: open-cobol (open source COBOL compiler) +open-cobol: +open-cobol: OpenCOBOL is an open-source COBOL compiler. OpenCOBOL implements a +open-cobol: substantial part of the COBOL 85 and COBOL 2002 standards, as well as +open-cobol: many extensions of the existent COBOL compilers. OpenCOBOL translates +open-cobol: COBOL into C and compiles the translated code using the native C +open-cobol: compiler. OpenCOBOL was written by Roger While and Keisuke Nishida, +open-cobol: with the invaluable assistance of many others. +open-cobol: +open-cobol: Homepage: http://opencobol.add1tocobol.com +open-cobol: diff --git a/source/d/oprofile/oprofile.SlackBuild b/source/d/oprofile/oprofile.SlackBuild index 8df342e3..b425e9aa 100755 --- a/source/d/oprofile/oprofile.SlackBuild +++ b/source/d/oprofile/oprofile.SlackBuild @@ -22,7 +22,7 @@ VERSION=${VERSION:-$(echo oprofile-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -65,6 +65,7 @@ tar xvf $CWD/oprofile-$VERSION.tar.?z* || exit 1 cd oprofile-$VERSION zcat $CWD/oprofile.binutils.diff.gz | patch -p1 --verbose || exit 1 +zcat $CWD/oprofile.config.h.diff.gz | patch -p1 --verbose || exit 1 ./autogen.sh diff --git a/source/d/oprofile/oprofile.config.h.diff b/source/d/oprofile/oprofile.config.h.diff new file mode 100644 index 00000000..41c86857 --- /dev/null +++ b/source/d/oprofile/oprofile.config.h.diff @@ -0,0 +1,22 @@ +--- ./libutil++/bfd_spu_support.cpp.orig 2011-07-04 21:25:04.000000000 -0500 ++++ ./libutil++/bfd_spu_support.cpp 2012-12-20 18:42:01.400977322 -0600 +@@ -9,6 +9,8 @@ + * (C) Copyright IBM Corporation 2007 + */ + ++#include "config.h" ++ + #include "bfd_support.h" + #include "op_bfd.h" + #include "config.h" +--- ./libutil++/bfd_support.cpp.orig 2011-07-04 21:25:04.000000000 -0500 ++++ ./libutil++/bfd_support.cpp 2012-12-20 18:41:31.160978289 -0600 +@@ -8,6 +8,8 @@ + * @author John Levon + */ + ++#include "config.h" ++ + #include "bfd_support.h" + + #include "op_bfd.h" diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild index df535c7d..7485d33f 100755 --- a/source/d/perl/perl.SlackBuild +++ b/source/d/perl/perl.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # originally by: David Cantrell # maintained by: -VERSION=5.16.1 +VERSION=5.18.1 BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -44,11 +44,12 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-perl # Additional required modules: -DBDMYSQL=4.021 -DBI=1.622 +DBDMYSQL=4.023 +DBI=1.628 URI=1.60 XMLPARSER=2.41 XMLSIMPLE=2.20 +GETTEXT=1.05 if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" @@ -225,6 +226,18 @@ make install DESTDIR=$PKG cp -a README $PKG/usr/doc/perl-$VERSION/URI-${URI} chmod 644 $PKG/usr/doc/perl-$VERSION/URI-${URI}/* ) + ( tar xzvf $CWD/gettext-${GETTEXT}.tar.gz + cd gettext-${GETTEXT} + chown -R root:root . + perl Makefile.PL INSTALLDIRS=vendor + make + make test + make install + make install DESTDIR=$PKG + mkdir -p $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT} + cp -a README $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT} + chmod 644 $PKG/usr/doc/perl-$VERSION/gettext-${GETTEXT}/* + ) ) # Strip everything: diff --git a/source/d/python/python.SlackBuild b/source/d/python/python.SlackBuild index 220f3f02..1afb586a 100755 --- a/source/d/python/python.SlackBuild +++ b/source/d/python/python.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,9 @@ PKGNAM=python SRCNAM=Python -VERSION=$(echo $SRCNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev) +VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -66,7 +66,7 @@ TOOLSDIR=/usr/lib${LIBDIRSUFFIX}/${PKGNAM}${BRANCH_VERSION}/site-packages cd $TMP rm -rf $SRCNAM-$VERSION -tar xf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1 +tar xf $CWD/$SRCNAM-$VERSION.tar.xz || exit 1 cd $SRCNAM-$VERSION zcat $CWD/python.readline.set_pre_input_hook.diff.gz | patch -p1 --verbose || exit 1 diff --git a/source/d/rcs/rcs-5.7.diff b/source/d/rcs/rcs-5.7.diff deleted file mode 100644 index a53b351c..00000000 --- a/source/d/rcs/rcs-5.7.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- src/conf.sh.orig Sat Aug 12 20:25:11 1995 -+++ src/conf.sh Sat Aug 12 20:25:45 1995 -@@ -77,10 +77,10 @@ - rm -f a.d && - date >a.d && - chmod 0 a.d && --{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && { -- echo >&3 "$n$0: This command should not be run with superuser permissions." -- exit 1 --} -+#{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && { -+# echo >&3 "$n$0: This command should not be run with superuser permissions." -+# exit 1 -+#} - echo >&3 OK - rm -f a.d || exit - diff --git a/source/d/rcs/rcs.SlackBuild b/source/d/rcs/rcs.SlackBuild index 7a398017..8faa20ae 100755 --- a/source/d/rcs/rcs.SlackBuild +++ b/source/d/rcs/rcs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -20,47 +20,61 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=5.7 -BUILD=${BUILD:-2} + +PKGNAM=rcs +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; + case "$(uname -m)" in + i?86) ARCH=i486 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;; # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$( uname -m ) ;; + *) ARCH=$(uname -m) ;; esac + export ARCH fi -if [ "$ARCH" = "i486" ]; then +NUMJOBS=${NUMJOBS:-" -j7 "} + +if [ "$ARCH" = "i386" ]; then + SLKCFLAGS="-O2 -march=i386 -mcpu=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" else SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi CWD=$(pwd) TMP=${TMP:-/tmp} -PKG=$TMP/package-rcs +PKG=$TMP/package-$PKGNAM rm -rf $PKG mkdir -p $TMP $PKG -# Explode the package framework: -cd $PKG -explodepkg $CWD/_rcs.tar.gz - -echo "+=========+" -echo "| rcs-$VERSION |" -echo "+=========+" cd $TMP -rm -rf rcs-$VERSION -tar xvf $CWD/rcs-$VERSION.tar.gz || exit 1 -cd rcs-$VERSION +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1 +cd $PKGNAM-$VERSION chown -R root:root . find . \ @@ -69,35 +83,66 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -zcat $CWD/rcs-$VERSION.diff.gz | patch -p0 || exit 1 - -./configure --prefix=/usr - -make CFLAGS="$SLKCFLAGS" LDFLAGS=-s || exit 1 +# Configure: +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --build=$ARCH-slackware-linux + +# Build and install: +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Strip binaries: +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + AUTHORS COPYING* HACKING INSTALL NEWS README* THANKS TODO \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +# Compress and if needed symlink the man pages: +if [ -d $PKG/usr/man ]; then + ( cd $PKG/usr/man + for manpagedir in $(find . -type d -name "man*") ; do + ( cd $manpagedir + for eachpage in $( find . -type l -maxdepth 1) ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi -cd src -cat ci > $PKG/usr/bin/ci -cat co > $PKG/usr/bin/co -cat ident > $PKG/usr/bin/ident -cat merge > $PKG/usr/bin/merge -cat rcs > $PKG/usr/bin/rcs -cat rcsclean > $PKG/usr/bin/rcsclean -cat rcsdiff > $PKG/usr/bin/rcsdiff -cat rcsmerge > $PKG/usr/bin/rcsmerge -cat rcstest > $PKG/usr/bin/rcstest -cat rlog > $PKG/usr/bin/rlog +# Compress info files, if any: +if [ -d $PKG/usr/info ]; then + ( cd $PKG/usr/info + rm -f dir + gzip -9 * + ) +fi -cd ../man -for page in ci.1 co.1 ident.1 merge.1 rcs.1 rcsclean.1 rcsdiff.1 rcsfreeze.1 \ -rcsintro.1 rcsmerge.1 rlog.1 ; do - cat $page | gzip -9c > $PKG/usr/man/man1/$page.gz -done -cat rcsfile.5 | gzip -9c > $PKG/usr/man/man5/rcsfile.5.gz +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -# Build the package: cd $PKG -/sbin/makepkg -l y -c n $TMP/rcs-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/d/ruby/ruby.SlackBuild b/source/d/ruby/ruby.SlackBuild index 3c856604..9a70d962 100755 --- a/source/d/ruby/ruby.SlackBuild +++ b/source/d/ruby/ruby.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ PKGNAM=ruby VERSION=$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -87,7 +87,7 @@ optflags=$OPTFLAGS \ --docdir=/usr/doc/ruby-$VERSION \ --enable-shared \ --enable-pthread \ - --disable-install-doc \ + --disable-install-capi \ --build=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 @@ -95,7 +95,7 @@ make install DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/ruby-$VERSION cp -a \ - COPYING* *GPL* ChangeLog LEGAL NEWS README* ToDo \ + BSDL COPYING* *GPL* ChangeLog LEGAL NEWS README* ToDo \ $PKG/usr/doc/ruby-$VERSION # The entire ChangeLog is excessive for most users: diff --git a/source/d/slacktrack/slacktrack.SlackBuild b/source/d/slacktrack/slacktrack.SlackBuild index 3b62823a..6a3bcc1a 100755 --- a/source/d/slacktrack/slacktrack.SlackBuild +++ b/source/d/slacktrack/slacktrack.SlackBuild @@ -5,7 +5,7 @@ if [ "$TMP" = "" ]; then TMP=/tmp fi -export VERSION=2.12 +export VERSION=2.15 if [ ! -d $TMP ]; then mkdir -p $TMP # location to build the source diff --git a/source/d/strace/strace.SlackBuild b/source/d/strace/strace.SlackBuild index 97b08183..c8d65db8 100755 --- a/source/d/strace/strace.SlackBuild +++ b/source/d/strace/strace.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=strace -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -55,7 +55,7 @@ mkdir -p $TMP $PKG cd $TMP rm -rf strace-$VERSION -tar xvf $CWD/strace-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/strace-$VERSION.tar.xz || exit 1 cd strace-$VERSION || exit 1 chown -R root:root . find . \ @@ -77,10 +77,18 @@ strip $PKG/usr/bin/strace mkdir -p $PKG/usr/doc/strace-$VERSION cp -a \ - COPYRIGHT CREDITS NEWS PORTING README* TODO \ + AUTHORS ChangeLog COPYING COPYRIGHT CREDITS NEWS PORTING README* TODO \ $PKG/usr/doc/strace-$VERSION chmod 644 $PKG/usr/doc/strace-$VERSION/* +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + gzip -9 $PKG/usr/man/man1/* mkdir -p $PKG/install diff --git a/source/d/swig/swig.url b/source/d/swig/swig.url index 78023e2d..2a4e177d 100644 --- a/source/d/swig/swig.url +++ b/source/d/swig/swig.url @@ -1 +1 @@ -http://downloads.sourceforge.net/swig/swig-${version}.tar.gz +http://sourceforge.net/projects/swig/files/swig/swig-${version}/swig-${version}.tar.gz -- cgit v1.2.3