pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libffcall
Module Name: pkgsrc
Committed By: wiz
Date: Sun Sep 10 20:00:49 UTC 2017
Added Files:
pkgsrc/devel/libffcall: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Import libffcall-2.0 as devel/libffcall.
GNU libffcall is a library which can be used to build foreign
function call interfaces in embedded interpreters.
Changes compared to devel/ffcall:
New in 2.0:
* The package now installs a library libffcall.{a,so}. It contains the
'avcall' and 'callback' packages. The libraries libavcall.{a,so} and
libcallback.{a,so} are still installed as well, but are deprecated.
* The installed libraries are now installed as shared libraries by default
(except for libvacall, which is still a static library only).
* The installed shared libraries are now properly versioned. This means that
when installing with --enable-shared, upgrading to a newer version of
libffcall will not break existing binaries.
* The installed include files are now platform independent. This means that
you can now install libffcall for different ABIs on the same system, using
the same --prefix option but different --exec-prefix options for each ABI.
* API changes in <trampoline.h>:
- The second argument of alloc_trampoline() is now a 'void**', rather
than a 'void*'.
- The return value of trampoline_variable() is now a 'void**', rather
than a 'void*'.
- The argument of trampoline_address(), trampoline_variable(),
trampoline_data() is now a function pointer instead of a 'void*'.
* Fixed a bug regarding floating-point arguments followed by
non-floating-point arguments on the following platforms:
- arm: Linux 32-bit, with hardware floats.
- powerpc: Linux 32-bit.
- s390: Linux.
* Fixed a bug regarding structure returns on the following platforms:
- i386: FreeBSD.
- i386: MinGW.
- mips: old 32-bit ABI (Linux, IRIX).
* Added support for the following platforms:
(Previously, a build on these platforms failed.)
- i386: MSVC 14.
- x86_64: Cygwin.
- x86_64: MinGW.
- x86_64: MSVC 14.
- hppa64: HP-UX 11.
- m68k: Linux.
* Verified support for the following platforms:
(A build on these platforms worked and still works.)
- i386: FreeBSD, NetBSD, OpenBSD, DragonFly BSD.
- i386: Hurd.
- x86_64: FreeBSD, NetBSD, OpenBSD.
New in 1.13:
* The license has been changed from GPLv2 to GPLv2+.
* Added support for the following platforms:
(Previously, a build on these platforms failed.)
- x86_64: Mac OS X 64-bit.
- x86_64: Solaris 64-bit.
- x86_64: Linux with x32 ABI: CC="gcc -mx32".
- arm: Linux 32-bit, without hardware floats.
- arm64: Linux 64-bit.
- s390x: Linux 64-bit.
- powerpc: AIX 64-bit.
- mips: IRIX 6.5 with CC="cc -32".
- sparc: Solaris 64-bit.
* Fixed support for the following platforms:
(Previously, a build on these platforms appeared to succeed but was buggy.)
- x86_64: Linux.
- arm: Linux 32-bit, with hardware floats.
- powerpc: Linux 64-bit.
- mips: Linux with CC="gcc -mabi=32".
- mips: Linux with CC="gcc -mabi=n32".
- mips: Linux with CC="gcc -mabi=64".
- mips: IRIX 6.5 with CC="gcc -mabi=n32".
- s390: Linux.
- sparc: Linux 64-bit.
- ia64: Linux.
- hppa: HP-UX 32-bit.
* Verified support for the following platforms:
(A build on these platforms worked and still works.)
- i386: Linux, Solaris, Mac OS X.
- powerpc: Linux 32-bit.
- powerpc: AIX 32-bit.
- powerpc: MacOS X.
- mips: IRIX 6.5 with CC="cc -n32".
- sparc: Solaris 32-bit.
- sparc: Linux 32-bit: CC="gcc -m32".
- alpha: Linux.
* Support for a security feature: On Linux and FreeBSD platforms, linking with
the libffcall libraries no longer causes the stack to become executable.
New in 1.12:
* Added ppc64le to the list of supported architectures.
New in 1.11:
* Header now define LIBFFCALL_VERSION (to 0x010B).
* Better support for IA64 on Linux (kernel 2.6.16+ and gcc 4.1.0+).
* Added ARM support from Jonathan Olson (debian 1.10-2).
* Added MIPSel support from Thiemo Seufer (debian 1.10-2).
* Added ARMel support from Max Lapan.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libffcall/DESCR \
pkgsrc/devel/libffcall/Makefile pkgsrc/devel/libffcall/PLIST \
pkgsrc/devel/libffcall/buildlink3.mk pkgsrc/devel/libffcall/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/libffcall/DESCR
diff -u /dev/null pkgsrc/devel/libffcall/DESCR:1.1
--- /dev/null Sun Sep 10 20:00:49 2017
+++ pkgsrc/devel/libffcall/DESCR Sun Sep 10 20:00:49 2017
@@ -0,0 +1,2 @@
+GNU libffcall is a library which can be used to build foreign
+function call interfaces in embedded interpreters.
Index: pkgsrc/devel/libffcall/Makefile
diff -u /dev/null pkgsrc/devel/libffcall/Makefile:1.1
--- /dev/null Sun Sep 10 20:00:49 2017
+++ pkgsrc/devel/libffcall/Makefile Sun Sep 10 20:00:49 2017
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/09/10 20:00:49 wiz Exp $
+
+DISTNAME= libffcall-2.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=libffcall/}
+
+MAINTAINER= adam%NetBSD.org@localhost
+HOMEPAGE= https://www.gnu.org/software/libffcall/
+COMMENT= Foreign function call libraries
+LICENSE= gnu-gpl-v2
+
+# make: make: don't know how to make avcall/avcall.lo. Stop
+MAKE_JOBS_SAFE= no
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --enable-shared
+
+MAKE_FLAGS+= htmldir=${PREFIX}/share/doc/ffcall
+
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libffcall/PLIST
diff -u /dev/null pkgsrc/devel/libffcall/PLIST:1.1
--- /dev/null Sun Sep 10 20:00:49 2017
+++ pkgsrc/devel/libffcall/PLIST Sun Sep 10 20:00:49 2017
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/10 20:00:49 wiz Exp $
+include/avcall.h
+include/callback.h
+include/ffcall-abi.h
+include/ffcall-version.h
+include/trampoline.h
+include/vacall.h
+include/vacall_r.h
+lib/libavcall.la
+lib/libcallback.la
+lib/libffcall.la
+lib/libtrampoline.la
+lib/libvacall.a
+man/man3/avcall.3
+man/man3/callback.3
+man/man3/trampoline.3
+man/man3/vacall.3
+share/doc/ffcall/avcall.html
+share/doc/ffcall/callback.html
+share/doc/ffcall/trampoline.html
+share/doc/ffcall/vacall.html
Index: pkgsrc/devel/libffcall/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libffcall/buildlink3.mk:1.1
--- /dev/null Sun Sep 10 20:00:49 2017
+++ pkgsrc/devel/libffcall/buildlink3.mk Sun Sep 10 20:00:49 2017
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/09/10 20:00:49 wiz Exp $
+
+BUILDLINK_TREE+= libffcall
+
+.if !defined(LIBFFCALL_BUILDLINK3_MK)
+LIBFFCALL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libffcall+= libffcall>=2.0
+BUILDLINK_PKGSRCDIR.libffcall?= ../../devel/libffcall
+.endif # LIBFFCALL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libffcall
Index: pkgsrc/devel/libffcall/distinfo
diff -u /dev/null pkgsrc/devel/libffcall/distinfo:1.1
--- /dev/null Sun Sep 10 20:00:49 2017
+++ pkgsrc/devel/libffcall/distinfo Sun Sep 10 20:00:49 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/10 20:00:49 wiz Exp $
+
+SHA1 (libffcall-2.0.tar.gz) = 9ac4d0027052ea5d4fa74dace264296d2ded7950
+RMD160 (libffcall-2.0.tar.gz) = 5a139a5101a99963a46209522f8cb4f16be4853f
+SHA512 (libffcall-2.0.tar.gz) = d75aa1df97b14692a9137745bae5b24c4d8f739cb1c7f854e7ed47e4a77a49759122abd6b0e445efa56381f47932c13cd21a154b2783649afb9c7a39e73fea04
+Size (libffcall-2.0.tar.gz) = 938605 bytes
Home |
Main Index |
Thread Index |
Old Index