sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (46d251ded1fd84be8f3aeabd231e0c861b30521b)
- From: Treeve Jelbert <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (46d251ded1fd84be8f3aeabd231e0c861b30521b)
- Date: Mon, 13 Aug 2012 08:53:03 -0500
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
dev/null |binary
utils/schroot/BUILD | 2
utils/schroot/DEPENDS | 17 +
utils/schroot/DETAILS | 7
utils/schroot/HISTORY | 7
utils/schroot/PRE_BUILD | 7
utils/schroot/schroot-1.4.1-boost-validation_error.patch | 147
---------------
utils/schroot/schroot_1.4.1.orig.tar.gz.sign | 0
8 files changed, 31 insertions(+), 156 deletions(-)
New commits:
commit 46d251ded1fd84be8f3aeabd231e0c861b30521b
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
schroot: => 1.6.3
diff --git a/utils/schroot/BUILD b/utils/schroot/BUILD
new file mode 100755
index 0000000..61d03a7
--- /dev/null
+++ b/utils/schroot/BUILD
@@ -0,0 +1,2 @@
+OPTS+='--enable-shared ' &&
+default_build
diff --git a/utils/schroot/DEPENDS b/utils/schroot/DEPENDS
index 698a86e..2bd75cb 100755
--- a/utils/schroot/DEPENDS
+++ b/utils/schroot/DEPENDS
@@ -1,7 +1,18 @@
depends -sub "PROGRAM_OPTIONS REGEX" boost &&
-depends -sub CXX gcc &&
-depends lockdev &&
-depends linux-pam &&
+depends -sub CXX gcc &&
+depends lockdev &&
+
+optional_depends doxygen '--enable-doxygen' \
+ '--disable-doxygen' \
+ 'build documentation' &&
+optional_depends e2fsprogs \
+ '--enable-uuid' \
+ '--disable-uuid' \
+ 'support for UUIDs' &&
+optional_depends linux-pam \
+ '--enable-pam' \
+ '--disable-pam' \
+ 'PAM support' &&
optional_depends 'gettext' \
'--enable-nls' \
diff --git a/utils/schroot/DETAILS b/utils/schroot/DETAILS
index e734bcc..76118c4 100755
--- a/utils/schroot/DETAILS
+++ b/utils/schroot/DETAILS
@@ -1,9 +1,10 @@
SPELL=schroot
- VERSION=1.4.1
- SOURCE=${SPELL}_$VERSION.orig.tar.gz
+ VERSION=1.6.3
+
SOURCE_HASH=sha512:e435715091eed17e1f073218b2cc2355ad529bb702b9f8cfeb58ed3be38b78fa61280713801ce29e5b21c93939f5898e6f6e4f493d3f7d2550a873289a6c22be
+# SOURCE_GPG=gurus.gpg:$SOURCE.sign:WORKS_FOR_ME
+ SOURCE=${SPELL}_$VERSION.orig.tar.xz
SOURCE_URL[0]=http://ftp.de.debian.org/debian/pool/main/s/schroot/$SOURCE
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_GPG=gurus.gpg:$SOURCE.sign:WORKS_FOR_ME
LICENSE[0]=GPL
WEB_SITE=http://alioth.debian.org/projects/buildd-tools/
ENTERED=20080412
diff --git a/utils/schroot/HISTORY b/utils/schroot/HISTORY
index 0ddccc6..c505ebc 100644
--- a/utils/schroot/HISTORY
+++ b/utils/schroot/HISTORY
@@ -1,3 +1,10 @@
+2012-08-13 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 1.5.3
+ * DEPENDS: linux-pam is optional, add e2fsprogs, doxygen
+ * PRE_BUILD: disable patch
+ * schroot-1.4.1-boost-validation_error.patch: deleted
+ * BUILD: added, for shared libraries
+
2011-07-30 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: changed dependency on g++ to dependency on gcc with
sub-depends on CXX (scripted)
diff --git a/utils/schroot/PRE_BUILD b/utils/schroot/PRE_BUILD
index aa926a3..81696da 100755
--- a/utils/schroot/PRE_BUILD
+++ b/utils/schroot/PRE_BUILD
@@ -1,9 +1,10 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+if is_depends_enabled $SPELL linux-pam; then
PAM_SCHROOT="$SOURCE_DIRECTORY/etc/pam/schroot" &&
echo "auth required pam_unix.so" >> $PAM_SCHROOT &&
echo "account required pam_unix.so" >> $PAM_SCHROOT &&
-echo "session required pam_unix.so" >> $PAM_SCHROOT &&
-sedit "s:/usr/bin/stat:/bin/stat:" $SOURCE_DIRECTORY/etc/setup.d/20copyfiles
&&
-patch -p1 < $SCRIPT_DIRECTORY/schroot-1.4.1-boost-validation_error.patch
+echo "session required pam_unix.so" >> $PAM_SCHROOT
+fi &&
+sedit "s:/usr/bin/stat:/bin/stat:" $SOURCE_DIRECTORY/etc/setup.d/20copyfiles
diff --git a/utils/schroot/schroot-1.4.1-boost-validation_error.patch
b/utils/schroot/schroot-1.4.1-boost-validation_error.patch
deleted file mode 100644
index 514df7c..0000000
--- a/utils/schroot/schroot-1.4.1-boost-validation_error.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-diff -Naur schroot-1.4.1.orig//bin/csbuild/csbuild-options.cc
schroot-1.4.1//bin/csbuild/csbuild-options.cc
---- schroot-1.4.1.orig//bin/csbuild/csbuild-options.cc 2010-02-21
01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/csbuild/csbuild-options.cc 2010-03-06
11:22:25.393248289 +0300
-@@ -220,9 +220,9 @@
- if (vm.count("binNMU") && vm.count("make-binNMU"))
- this->bin_nmu = true;
- else if (vm.count("binNMU"))
-- throw opt::validation_error(_("--makebinNMU missing"));
-+ throw opt::error(_("--makebinNMU missing"));
- else if (vm.count("make-binNMU"))
-- throw opt::validation_error(_("--binNMU missing"));
-+ throw opt::error(_("--binNMU missing"));
-
- if (!deb_build_options_string.empty())
- {
-diff -Naur schroot-1.4.1.orig//bin/dchroot-dsa/dchroot-dsa-options.cc
schroot-1.4.1//bin/dchroot-dsa/dchroot-dsa-options.cc
---- schroot-1.4.1.orig//bin/dchroot-dsa/dchroot-dsa-options.cc 2010-02-21
01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/dchroot-dsa/dchroot-dsa-options.cc 2010-03-06
11:23:37.476575149 +0300
-@@ -90,11 +90,11 @@
-
- // dchroot-dsa only allows one command.
- if (this->command.size() > 1)
-- throw opt::validation_error(_("Only one command may be specified"));
-+ throw opt::error(_("Only one command may be specified"));
-
- if (!this->command.empty() &&
- !sbuild::is_absname(this->command[0]))
-- throw opt::validation_error(_("Command must have an absolute path"));
-+ throw opt::error(_("Command must have an absolute path"));
-
- if (this->chroots.empty() && !all_used() &&
- (this->action != ACTION_CONFIG &&
-@@ -103,5 +103,5 @@
- this->action != ACTION_LOCATION &&
- this->action != ACTION_HELP &&
- this->action != ACTION_VERSION))
-- throw opt::validation_error(_("No chroot specified"));
-+ throw opt::error(_("No chroot specified"));
- }
-diff -Naur schroot-1.4.1.orig//bin/schroot/schroot-options-base.cc
schroot-1.4.1//bin/schroot/schroot-options-base.cc
---- schroot-1.4.1.orig//bin/schroot/schroot-options-base.cc 2010-02-21
01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot/schroot-options-base.cc 2010-03-06
11:23:02.639911148 +0300
-@@ -200,7 +200,7 @@
- this->load_chroots = true;
- this->load_sessions = false;
- if (this->chroots.size() != 1 || all_used())
-- throw opt::validation_error
-+ throw opt::error
- (_("Exactly one chroot must be specified when beginning a
session"));
-
- this->all = this->all_chroots = this->all_sessions = false;
-@@ -213,7 +213,7 @@
- this->load_chroots = this->load_sessions = true;
-
- if (!this->session_name.empty())
-- throw opt::validation_error
-+ throw opt::error
- (_("--session-name is not permitted for the specified action; did
you mean to use --chroot?"));
- }
- else if (this->action == ACTION_HELP ||
-@@ -234,7 +234,7 @@
- if (this->all_sessions)
- this->load_sessions = true;
- if (!this->chroots.empty())
-- throw opt::validation_error(_("--chroot may not be used with
--list"));
-+ throw opt::error(_("--chroot may not be used with --list"));
- }
- else if (this->action == ACTION_INFO ||
- this->action == ACTION_LOCATION ||
-@@ -259,6 +259,6 @@
- // Something went wrong
- this->load_chroots = this->load_sessions = false;
- this->all = this->all_chroots = this->all_sessions = false;
-- throw opt::validation_error(_("Unknown action specified"));
-+ throw opt::error(_("Unknown action specified"));
- }
- }
-diff -Naur
schroot-1.4.1.orig//bin/schroot-base/schroot-base-option-action.cc
schroot-1.4.1//bin/schroot-base/schroot-base-option-action.cc
---- schroot-1.4.1.orig//bin/schroot-base/schroot-base-option-action.cc
2010-02-21 01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot-base/schroot-base-option-action.cc
2010-03-06 11:24:09.682901202 +0300
-@@ -82,7 +82,7 @@
- if (this->current_action == "")
- this->current_action = action;
- else
-- throw opt::validation_error(_("Only one action may be specified"));
-+ throw opt::error(_("Only one action may be specified"));
- }
- else
- throw std::logic_error((format(_("%1%: invalid action")) %
action).str());
-diff -Naur schroot-1.4.1.orig//bin/schroot-base/schroot-base-options.cc
schroot-1.4.1//bin/schroot-base/schroot-base-options.cc
---- schroot-1.4.1.orig//bin/schroot-base/schroot-base-options.cc
2010-02-21 01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot-base/schroot-base-options.cc 2010-03-06
11:24:04.516571747 +0300
-@@ -155,7 +155,7 @@
- else if (this->debug_level == "critical")
- sbuild::debug_log_level = sbuild::DEBUG_CRITICAL;
- else
-- throw opt::validation_error(_("Invalid debug level"));
-+ throw opt::error(_("Invalid debug level"));
- }
- else
- sbuild::debug_log_level = sbuild::DEBUG_NONE;
-diff -Naur
schroot-1.4.1.orig//bin/schroot-listmounts/schroot-listmounts-options.cc
schroot-1.4.1//bin/schroot-listmounts/schroot-listmounts-options.cc
---- schroot-1.4.1.orig//bin/schroot-listmounts/schroot-listmounts-options.cc
2010-02-21 01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot-listmounts/schroot-listmounts-options.cc
2010-03-06 11:22:45.059911238 +0300
-@@ -86,5 +86,5 @@
-
- if (this->action == ACTION_LISTMOUNTS &&
- this->mountpoint.empty())
-- throw opt::validation_error(_("No mount point specified"));
-+ throw opt::error(_("No mount point specified"));
- }
-diff -Naur schroot-1.4.1.orig//bin/schroot-mount/schroot-mount-options.cc
schroot-1.4.1//bin/schroot-mount/schroot-mount-options.cc
---- schroot-1.4.1.orig//bin/schroot-mount/schroot-mount-options.cc
2010-02-21 01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot-mount/schroot-mount-options.cc 2010-03-06
11:23:22.253241091 +0300
-@@ -99,5 +99,5 @@
-
- if (this->action == ACTION_MOUNT &&
- this->mountpoint.empty())
-- throw opt::validation_error(_("No mount point specified"));
-+ throw opt::error(_("No mount point specified"));
- }
-diff -Naur
schroot-1.4.1.orig//bin/schroot-releaselock/schroot-releaselock-options.cc
schroot-1.4.1//bin/schroot-releaselock/schroot-releaselock-options.cc
----
schroot-1.4.1.orig//bin/schroot-releaselock/schroot-releaselock-options.cc
2010-02-21 01:17:31.000000000 +0300
-+++ schroot-1.4.1//bin/schroot-releaselock/schroot-releaselock-options.cc
2010-03-06 11:25:02.019899016 +0300
-@@ -89,5 +89,5 @@
-
- if (this->action == ACTION_RELEASELOCK &&
- this->device.empty())
-- throw opt::validation_error(_("No device specified"));
-+ throw opt::error(_("No device specified"));
- }
-diff -Naur schroot-1.4.1.orig//test/schroot-base-option-action.cc
schroot-1.4.1//test/schroot-base-option-action.cc
---- schroot-1.4.1.orig//test/schroot-base-option-action.cc 2010-02-21
01:17:31.000000000 +0300
-+++ schroot-1.4.1//test/schroot-base-option-action.cc 2010-03-06
11:25:17.070467289 +0300
-@@ -37,10 +37,10 @@
- CPPUNIT_TEST(test_current);
- CPPUNIT_TEST_EXCEPTION(test_current_fail, std::logic_error);
- CPPUNIT_TEST_EXCEPTION(test_current_fail_multipleset,
-- opt::validation_error);
-+ opt::error);
- CPPUNIT_TEST(test_operators);
- CPPUNIT_TEST_EXCEPTION(test_operators_fail_multipleset,
-- opt::validation_error);
-+ opt::error);
- CPPUNIT_TEST_SUITE_END();
-
- protected:
diff --git a/utils/schroot/schroot_1.4.1.orig.tar.gz.sign
b/utils/schroot/schroot_1.4.1.orig.tar.gz.sign
deleted file mode 100644
index 59fcfaf..0000000
Binary files a/utils/schroot/schroot_1.4.1.orig.tar.gz.sign and /dev/null
differ
- [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (46d251ded1fd84be8f3aeabd231e0c861b30521b), Treeve Jelbert, 08/13/2012
Archive powered by MHonArc 2.6.24.