[SM-Commit] GIT changes to master grimoire by Eric Sandall (1ab1a12d9f26e6ed8f1acbd26631ad59f9cd8d27)

Eric Sandall scm at sourcemage.org
Sat Apr 12 20:24:50 EDT 2008


GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:

 ChangeLog                                  |    4 ++++
 libs/lockdev/BUILD                         |    1 +
 libs/lockdev/DEPENDS                       |    1 +
 libs/lockdev/DETAILS                       |   17 +++++++++++++++++
 libs/lockdev/HISTORY                       |    3 +++
 libs/lockdev/INSTALL                       |    1 +
 libs/lockdev/PRE_BUILD                     |    6 ++++++
 libs/lockdev/lockdev_1.0.3.orig.tar.gz.sig |binary
 utils/schroot/DEPENDS                      |    8 ++++++++
 utils/schroot/DETAILS                      |   14 ++++++++++++++
 utils/schroot/HISTORY                      |    4 ++++
 utils/schroot/PRE_BUILD                    |    3 +++
 utils/schroot/gcc43.patch                  |   22 ++++++++++++++++++++++
 utils/schroot/schroot-1.1.2.tar.bz2.sig    |binary
 14 files changed, 84 insertions(+)

New commits:
commit 1ab1a12d9f26e6ed8f1acbd26631ad59f9cd8d27
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    schroot: Added a user-runable chroot

commit 29082184481c4dca5d2ccbeb9d18384d971a3493
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    lockdev: Added a run-time shared library for locking devices

diff --git a/ChangeLog b/ChangeLog
index 4dc3f3f..e134bac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-12 Eric Sandall <sandalle at sourcemage.org>
+	* libs/lockdev: Added a run-time shared library for locking devices
+	* utils/schroot: Added a user-runable chroot
+
 2008-04-12 Ivan Lezhnjov Jr. <ivan.lezhnjov.jr at sourcemage.org>
 	* kde-apps/knfoviewer: new spell, NFO file viewer for KDE
 
diff --git a/libs/lockdev/BUILD b/libs/lockdev/BUILD
new file mode 100755
index 0000000..51764b6
--- /dev/null
+++ b/libs/lockdev/BUILD
@@ -0,0 +1 @@
+make  basedir=$INSTALL_ROOT/usr/
diff --git a/libs/lockdev/DEPENDS b/libs/lockdev/DEPENDS
new file mode 100755
index 0000000..1dd0168
--- /dev/null
+++ b/libs/lockdev/DEPENDS
@@ -0,0 +1 @@
+depends  perl
diff --git a/libs/lockdev/DETAILS b/libs/lockdev/DETAILS
new file mode 100755
index 0000000..b62430b
--- /dev/null
+++ b/libs/lockdev/DETAILS
@@ -0,0 +1,17 @@
+           SPELL=lockdev
+         VERSION=1.0.3
+          SOURCE=${SPELL}_$VERSION.orig.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+   SOURCE_URL[0]=http://ftp.de.debian.org/debian/pool/main/l/$SPELL/$SOURCE
+      SOURCE_GPG=gurus.gpg:$SOURCE.sig:WORKS_FOR_ME
+      LICENSE[0]=GPL
+        WEB_SITE=http://packages.debian.org/source/etch/lockdev
+        KEYWORDS="libs"
+         ENTERED=20080412
+           SHORT='Run-time shared library for locking devices'
+cat << EOF
+Run-time shared library for locking devices
+
+It provides a reliable way to put an exclusive lock to devices using both
+FSSTND and SVr4 methods. 
+EOF
diff --git a/libs/lockdev/HISTORY b/libs/lockdev/HISTORY
new file mode 100644
index 0000000..2f2035c
--- /dev/null
+++ b/libs/lockdev/HISTORY
@@ -0,0 +1,3 @@
+2008-04-12 Eric Sandall <sandalle at sourcemage.org>
+	* DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: Created
+
diff --git a/libs/lockdev/INSTALL b/libs/lockdev/INSTALL
new file mode 100755
index 0000000..7920830
--- /dev/null
+++ b/libs/lockdev/INSTALL
@@ -0,0 +1 @@
+make  basedir=$INSTALL_ROOT/usr/  install
diff --git a/libs/lockdev/PRE_BUILD b/libs/lockdev/PRE_BUILD
new file mode 100755
index 0000000..6f11cee
--- /dev/null
+++ b/libs/lockdev/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build  &&
+#
+# Fix for liblockdev.a pissing -fPIC *and*
+# use our optimizations for coolness factor 10!
+#
+sedit "s:CFLAGS.*=.*:CFLAGS = $CFLAGS:g" $SOURCE_DIRECTORY/Makefile
diff --git a/libs/lockdev/lockdev_1.0.3.orig.tar.gz.sig b/libs/lockdev/lockdev_1.0.3.orig.tar.gz.sig
new file mode 100644
index 0000000..2fb3418
Binary files /dev/null and b/libs/lockdev/lockdev_1.0.3.orig.tar.gz.sig differ
diff --git a/utils/schroot/DEPENDS b/utils/schroot/DEPENDS
new file mode 100755
index 0000000..2ea8185
--- /dev/null
+++ b/utils/schroot/DEPENDS
@@ -0,0 +1,8 @@
+depends  -sub "PROGRAM_OPTIONS REGEX"  boost  &&
+depends  g++                                  &&
+depends  lockdev                              &&
+
+optional_depends  'gettext'                      \
+                  '--enable-nls'                 \
+                  '--disable-nls'                \
+                  'for Native Language Support'
diff --git a/utils/schroot/DETAILS b/utils/schroot/DETAILS
new file mode 100755
index 0000000..8b9b071
--- /dev/null
+++ b/utils/schroot/DETAILS
@@ -0,0 +1,14 @@
+           SPELL=schroot
+         VERSION=1.1.2
+          SOURCE=$SPELL-$VERSION.tar.bz2
+   SOURCE_URL[0]=http://alioth.debian.org/frs/download.php/1972/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+      SOURCE_GPG=gurus.gpg:$SOURCE.sig:WORKS_FOR_ME
+      LICENSE[0]=GPL
+        WEB_SITE=http://alioth.debian.org/projects/buildd-tools/
+         ENTERED=20080412
+           SHORT='User-runable chroots'
+cat << EOF
+schroot allows users to change into several chroots and run commands inside
+them.
+EOF
diff --git a/utils/schroot/HISTORY b/utils/schroot/HISTORY
new file mode 100644
index 0000000..3490cbc
--- /dev/null
+++ b/utils/schroot/HISTORY
@@ -0,0 +1,4 @@
+2008-04-12 Eric Sandall <sandalle at sourcemage.org>
+	* DETAILS, DEPENDS, PRE_BUILD: Created
+	* gcc43.patch: Fix gcc 4.3.0 strictness
+
diff --git a/utils/schroot/PRE_BUILD b/utils/schroot/PRE_BUILD
new file mode 100755
index 0000000..7528467
--- /dev/null
+++ b/utils/schroot/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build                          &&
+cd  $SOURCE_DIRECTORY                      &&
+patch -p1 < $SCRIPT_DIRECTORY/gcc43.patch
diff --git a/utils/schroot/gcc43.patch b/utils/schroot/gcc43.patch
new file mode 100644
index 0000000..6c1aa58
--- /dev/null
+++ b/utils/schroot/gcc43.patch
@@ -0,0 +1,22 @@
+diff -Naur schroot-1.1.2.orig/sbuild/sbuild-dirstream.h schroot-1.1.2/sbuild/sbuild-dirstream.h
+--- schroot-1.1.2.orig/sbuild/sbuild-dirstream.h	2008-04-12 16:36:55.945090331 -0700
++++ schroot-1.1.2/sbuild/sbuild-dirstream.h	2008-04-12 16:47:17.218315729 -0700
+@@ -25,6 +25,7 @@
+ #include <iostream>
+ #include <deque>
+ #include <string>
++#include <cstring>
+ 
+ #include <sys/types.h>
+ #include <dirent.h>
+diff -Naur schroot-1.1.2.orig/sbuild/sbuild-lock.cc schroot-1.1.2/sbuild/sbuild-lock.cc
+--- schroot-1.1.2.orig/sbuild/sbuild-lock.cc	2008-04-12 16:36:55.945090331 -0700
++++ schroot-1.1.2/sbuild/sbuild-lock.cc	2008-04-12 16:49:43.798073471 -0700
+@@ -23,6 +23,7 @@
+ 
+ #include <cerrno>
+ #include <cstdlib>
++#include <cstring>
+ 
+ #include <unistd.h>
+ 
diff --git a/utils/schroot/schroot-1.1.2.tar.bz2.sig b/utils/schroot/schroot-1.1.2.tar.bz2.sig
new file mode 100644
index 0000000..d3317bd
Binary files /dev/null and b/utils/schroot/schroot-1.1.2.tar.bz2.sig differ



More information about the SM-Commit mailing list