[Lunar-commits] <moonbase> mktemp, libffi: preserve them in zlocal.

Florin Braescu florin at lunar-linux.org
Sun Jul 6 15:34:21 CEST 2008


commit 4c270a8bfe645a73c7deb171429b0e53922f5361
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sat Apr 19 14:56:46 2008 +0300

    mktemp, libffi: preserve them in zlocal.
---
 zlocal/libffi/BUILD     |    6 ++++++
 zlocal/libffi/DETAILS   |   15 +++++++++++++++
 zlocal/mktemp/CONFLICTS |    1 +
 zlocal/mktemp/DETAILS   |   28 ++++++++++++++++++++++++++++
 4 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/zlocal/libffi/BUILD b/zlocal/libffi/BUILD
new file mode 100644
index 0000000..0e11842
--- /dev/null
+++ b/zlocal/libffi/BUILD
@@ -0,0 +1,6 @@
+(
+
+  sedit "s:\$(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include:/usr/include:" include/Makefile.am include/Makefile.in
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zlocal/libffi/DETAILS b/zlocal/libffi/DETAILS
new file mode 100644
index 0000000..249578a
--- /dev/null
+++ b/zlocal/libffi/DETAILS
@@ -0,0 +1,15 @@
+          MODULE=libffi
+         VERSION=3.0.4
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=ftp://sourceware.org/pub/libffi
+      SOURCE_VFY=sha1:7752d40fc3cca3a47d044ce387eb43d29da8f909
+        WEB_SITE=http://sourceware.org/libffi
+         ENTERED=20080225
+         UPDATED=20080225
+           SHORT="A portable, high level programming interface"
+
+cat << EOF
+The libffi library provides a portable, high level programming interface 
+to various calling conventions. This allows a programmer to call any 
+function specified by a call interface description at run-time.
+EOF
diff --git a/zlocal/mktemp/CONFLICTS b/zlocal/mktemp/CONFLICTS
new file mode 100644
index 0000000..d1088f4
--- /dev/null
+++ b/zlocal/mktemp/CONFLICTS
@@ -0,0 +1 @@
+conflicts coreutils
diff --git a/zlocal/mktemp/DETAILS b/zlocal/mktemp/DETAILS
new file mode 100644
index 0000000..cdfaf37
--- /dev/null
+++ b/zlocal/mktemp/DETAILS
@@ -0,0 +1,28 @@
+           MODULE=mktemp
+         VERSION=1.5
+          SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL[0]=ftp://ftp.mktemp.org/pub/mktemp/
+   SOURCE_URL[1]=ftp://ftp.courtesan.com/pub/mktemp/
+        WEB_SITE=http://www.mktemp.org/
+         ENTERED=20020307
+         UPDATED=20040707
+           SHORT="simple utility designed to make temporary file handling in shells scripts be safe and simple."
+cat << EOF
+What/why is mktemp?
+===================
+Mktemp is a simple utility designed to make temporary file handling
+in shells scripts be safe and simple.  Traditionally, people writing
+shell scripts have used constructs like:
+
+    TFILE=/tmp/foop.$$
+
+which are trivial to attack.  If such a script is run as root it may
+be possible for an attacker on the local host to gain access to the
+root login, corrupt or unlink system files, or do a variety of other
+nasty things.
+
+The basic problem is that most shells have no equivalent to open(2)'s
+O_EXCL flag.  While it is possible to avoid this using temporary
+directories, I consider the use of mktemp(1) to be superior both in terms
+of simplicity and robustness.  See the man page for more information.
+EOF


More information about the Lunar-commits mailing list