Hello community, here is the log from the commit of package ffcall for openSUSE:Factory checked in at 2013-05-13 16:20:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffcall (Old) and /work/SRC/openSUSE:Factory/.ffcall.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffcall" Changes: -------- New Changes file: --- /dev/null 2013-05-09 10:40:33.472011256 +0200 +++ /work/SRC/openSUSE:Factory/.ffcall.new/ffcall.changes 2013-05-13 16:20:16.000000000 +0200 @@ -0,0 +1,40 @@ +------------------------------------------------------------------- +Wed May 8 12:11:10 UTC 2013 - wer...@suse.de + +- Adopt the ffcall package as provided by David Lanzendörfer, his + version is mainly based on the Fedora ffcall package (SR#172680): + + Wed Mar 27 2013 Jerry James <loganje...@gmail.com> - 1.10-10.20120424cvs + - Update to CVS 20120424 + - List all architectures supported by this package (bz 925335) + - Rename man pages to avoid conflicts (bz 800360) + - Add Provides: ffcall-static + + Wed Feb 13 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.10-9.20100903cvs + - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + + Thu Jul 19 2012 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.10-8.20100903cvs + - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + + Tue Jan 10 2012 Jerry James <loganje...@gmail.com> - 1.10-7.20100903cvs + - Clean out prebuilt object files + - Add trampoline patch to force use of mmap() to get executable memory + + Mon Jan 9 2012 Jerry James <loganje...@gmail.com> - 1.10-6.20100903cvs + - Update to CVS 20100903 + - Minor spec file cleanups + + Tue Feb 08 2011 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.10-5.20080704cvs.1 + - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + + Fri Jul 24 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.10-4.20080704cvs.1 + - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + + Tue Feb 24 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.10-3.20080704cvs.1 + - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + + Wed Dec 10 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.10-2.20080704cvs.1 + - Fix -FPIC issue (BZ #475112) + + Fri Jul 4 2008 Gerard Milmeister <g...@bluewin.ch> - 1.10-2.20080704cvs + - update to cvs 20080704 + - support for ppc64 + + Mon Feb 25 2008 Gerard Milmeister <g...@bluewin.ch> - 1.10-1 + - first Fedora release +- Correct group tag, provide ffcall-devel not ffcall-static +- Declare patch ffcall-trampoline.patch +- Add patch ffcall-asm_cachectl.patch +- Correct license string +- Declare configuration file +- Declare manual pages as documentations + New: ---- ffcall-1.10+cvs20100619.tar.gz ffcall-asm_cachectl.patch ffcall-trampoline.patch ffcall.changes ffcall.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffcall.spec ++++++ # # spec file for package ffcall # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # Only a static library is provided, so no debug information can be extracted. %global debug_package %{nil} # This package uses assembly to do its work. This is the entire list of # supported architectures understood by RPM, even those not currently supported # by Fedora. RPM hasn't heard about line continuations, hence the mess. %global ffcall_arches %ix86 x86_64 %alpha %arm parisc hppa1.0 hppa1.1 hppa1.2 hppa2.0 ia64 m68k mips mipsel ppc ppc64 ppc8260 ppc8560 ppc32dy4 ppciseries ppcpseries s390 s390x %sparc Name: ffcall Version: 1.10 Release: cvs20100619 Summary: Libraries for foreign function call interfaces Group: Development/Libraries/Other License: GPL-2.0+ # As this package only provides a static library together with the header files Provides: %{name}-devel = %version-%release URL: http://www.gnu.org/software/libffcall/ # # There has been no official release for several years, and the project web # site encourages use of a CVS snapshot. Make the tarball as follows: # cvs -z3 -d:pserver:anonym...@cvs.savannah.gnu.org:/sources/libffcall # export -D 2012-04-24 ffcall # tar cJf ffcall-20120424cvs.tar.xz ffcall # Source0: ffcall-1.10+cvs20100619.tar.gz # PATCH-EXTEND-UPSTREAM -- # This patch will not be sent upstream. It removes the possibility of using # mprotect() to make memory executable, as that runs afoul of SELinux. Patch0: %{name}-trampoline.patch # PATCH-FIX-OPENSUSE -- There is no <asm/cachectl.h> Patch1: %{name}-asm_cachectl.patch ExclusiveArch: %{ffcall_arches} %description This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: - avcall: calling C functions with variable arguments - vacall: C functions accepting variable argument prototypes - trampoline: closures as first-class C functions - callback: closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline) %prep %setup -q -n ffcall %patch0 %patch1 # Remove prebuilt object files find . -name \*.o | xargs rm -f %build export CFLAGS="$RPM_OPT_FLAGS -fPIC -DMAP_VARIABLE=MAP_PRIVATE" %configure make # %{?_smp_mflags} %install mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_mandir} make install DESTDIR=%{buildroot} rm -fr %{buildroot}%{_datadir}/html rm -f %{buildroot}%{_libdir}/*.la cd %{buildroot}%{_mandir}/man3 # Advertise supported architectures mkdir -p %{buildroot}%{_sysconfdir}/rpm cat > %{buildroot}%{_sysconfdir}/rpm/macros.ffcall << EOF # arches that ffcall supports %%ffcall_arches %{ffcall_arches} EOF # Fix man pages with overly generic names (bz 800360) for page in *; do mv $page %{name}-$page done %files %defattr(-,root,root,-) %doc README NEWS COPYING %doc avcall/avcall.html %doc callback/callback.html %doc callback/trampoline_r/trampoline_r.html %doc trampoline/trampoline.html %doc vacall/vacall.html %{_libdir}/*.a %{_includedir}/* %doc %{_mandir}/man*/* %config %{_sysconfdir}/rpm/macros.%{name} %changelog ++++++ ffcall-asm_cachectl.patch ++++++ --- callback/trampoline_r/trampoline.c +++ callback/trampoline_r/trampoline.c 2013-05-08 11:43:26.793439676 +0000 @@ -183,15 +183,11 @@ extern RETGETPAGESIZETYPE getpagesize (v #ifdef ultrix #include <mips/cachectl.h> #else -#ifdef linux -#include <asm/cachectl.h> -#else #ifdef HAVE_SYS_CACHECTL_H #include <sys/cachectl.h> #endif #endif #endif -#endif #ifdef __m88k__ #include <sys/syslocal.h> #endif ++++++ ffcall-trampoline.patch ++++++ --- ./callback/trampoline_r/trampoline.c.orig 2009-04-27 09:24:05.000000000 -0600 +++ ./callback/trampoline_r/trampoline.c 2012-01-10 12:03:02.752466354 -0700 @@ -67,10 +67,6 @@ extern void (*tramp_r) (); /* trampoline #ifndef CODE_EXECUTABLE /* How do we make the trampoline's code executable? */ -#if defined(HAVE_MACH_VM) || defined(__convex__) || defined(HAVE_WORKING_MPROTECT) || defined(HAVE_SYS_M88KBCS_H) -/* mprotect() [or equivalent] the malloc'ed area. */ -#define EXECUTABLE_VIA_MPROTECT -#else #ifdef HAVE_MMAP /* Use an mmap'ed page. */ #define EXECUTABLE_VIA_MMAP @@ -90,7 +86,6 @@ extern void (*tramp_r) (); /* trampoline #endif #endif #endif -#endif #include <stdio.h> /* declares fprintf() */ --- ./trampoline/trampoline.c.orig 2008-09-26 14:19:37.000000000 -0600 +++ ./trampoline/trampoline.c 2012-01-10 12:02:33.027731322 -0700 @@ -67,10 +67,6 @@ extern void (*tramp) (); /* trampoline p #ifndef CODE_EXECUTABLE /* How do we make the trampoline's code executable? */ -#if defined(HAVE_MACH_VM) || defined(__convex__) || defined(HAVE_WORKING_MPROTECT) || defined(HAVE_SYS_M88KBCS_H) -/* mprotect() [or equivalent] the malloc'ed area. */ -#define EXECUTABLE_VIA_MPROTECT -#else #ifdef HAVE_MMAP /* Use an mmap'ed page. */ #define EXECUTABLE_VIA_MMAP @@ -90,7 +86,6 @@ extern void (*tramp) (); /* trampoline p #endif #endif #endif -#endif #include <stdio.h> /* declares fprintf() */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org