[Lunar-commits] <moonbase> Revert "libffi: remove it as it conflicts with gcc."
Auke Kok
sofar at foo-projects.org
Sat Apr 19 22:37:23 CEST 2008
commit ad08fa64f96f088be88b782c602352ee6b3dfa21
Author: Auke Kok <auke at foo-projects.org>
Date: Sat Apr 19 22:37:23 2008 +0200
Revert "libffi: remove it as it conflicts with gcc."
This reverts commit 4182168ae642120ca9775f88c28c3b40c9447d10.
it's TOTALLY INACCEPTABLE to break everyones systems like this,
especially with TOTALLY NO MIGRATION PLAN.
even worse, the breakage was TOTALLY HIDDEN inside an unrelated commit
Conflicts:
utils/theedge/DEPENDS
---
crypto/openssl/DEPENDS | 2 +-
libs/libffi/BUILD | 6 ++++++
libs/libffi/DETAILS | 15 +++++++++++++++
utils/coreutils/DETAILS | 20 +++++++++++---------
utils/mktemp/DETAILS | 28 ++++++++++++++++++++++++++++
utils/theedge/DEPENDS | 1 +
6 files changed, 62 insertions(+), 10 deletions(-)
diff --git a/crypto/openssl/DEPENDS b/crypto/openssl/DEPENDS
index 13c0370..ff63977 100644
--- a/crypto/openssl/DEPENDS
+++ b/crypto/openssl/DEPENDS
@@ -1,2 +1,2 @@
-depends coreutils
+depends mktemp
depends perl
diff --git a/libs/libffi/BUILD b/libs/libffi/BUILD
new file mode 100644
index 0000000..0e11842
--- /dev/null
+++ b/libs/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/libs/libffi/DETAILS b/libs/libffi/DETAILS
new file mode 100644
index 0000000..249578a
--- /dev/null
+++ b/libs/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/utils/coreutils/DETAILS b/utils/coreutils/DETAILS
index 378cd44..bd86974 100644
--- a/utils/coreutils/DETAILS
+++ b/utils/coreutils/DETAILS
@@ -1,16 +1,19 @@
MODULE=coreutils
- VERSION=6.10
- SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE2=$MODULE-6.9-uname-1.patch.bz2
- SOURCE_URL[0]=ftp://ftp.gnu.org/gnu/$MODULE
- SOURCE_URL[1]=$GNU_URL/$MODULE
+ VERSION=6.9
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE2=$MODULE-$VERSION-uname-1.patch.bz2
+ SOURCE3=$MODULE-6.9-unwanted_files.patch
+ SOURCE_URL[0]=ftp://ftp.gnu.org/gnu/$MODULE/
+ SOURCE_URL[1]=$GNU_URL/$MODULE/
SOURCE2_URL=$PATCH_URL
- SOURCE_VFY=sha1:f91f16e999dea6097bf555b467066ac931d584e4
+ SOURCE3_URL=$PATCH_URL
+ SOURCE_VFY=sha1:10310a78c4e1d9f742f3815ac28e9bf1086a5885
SOURCE2_VFY=sha1:0a7b05f254e2a2978a72d704c2867db0b81b93f6
+ SOURCE3_VFY=sha1:963af169d6d45fcc670e66dce787c7359b5de1fa
WEB_SITE=http://www.gnu.org/software/coreutils/
ENTERED=20030217
- UPDATED=20080419
- SHORT="Contains latest sh-utils, textutils and fileutils"
+ UPDATED=20070807
+ SHORT="Contains latest sh-utils, textutils and fileutils"
cat << EOF
Tools included perform the following file operations:
@@ -52,7 +55,6 @@ md5sum -- compute and check MD5 messsage digest
mkdir -- creates directories
mkfifo -- creates FIFOs (named pipes)
mknod -- creates special files
-mktemp -- make a unique temporary filename
mv -- renames
nice -- modifies scheduling priority
nl -- number lines of files
diff --git a/utils/mktemp/DETAILS b/utils/mktemp/DETAILS
new file mode 100644
index 0000000..cdfaf37
--- /dev/null
+++ b/utils/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
diff --git a/utils/theedge/DEPENDS b/utils/theedge/DEPENDS
index 07eca49..8c21fd0 100644
--- a/utils/theedge/DEPENDS
+++ b/utils/theedge/DEPENDS
@@ -12,6 +12,7 @@ depends grep
depends gzip
depends installwatch
depends less
+depends mktemp
depends tar
depends wget
depends net-tools
More information about the Lunar-commits
mailing list