Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a7603b8d036db22d81e65177e22734c64ca2e636)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a7603b8d036db22d81e65177e22734c64ca2e636)
  • Date: Tue, 28 Jul 2009 07:55:37 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

crypto/openssh/DETAILS | 7 ++++++-
crypto/openssh/HISTORY | 5 ++++-
crypto/openssh/PREPARE | 1 +
crypto/openssh/PRE_BUILD | 7 +++++++
4 files changed, 18 insertions(+), 2 deletions(-)

New commits:
commit a7603b8d036db22d81e65177e22734c64ca2e636
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

openssh: added custom support for sftp filecontrol patch located at
http://sftpfilecontrol.sourceforge.net/
(allows a SA to set the umask on sftp sessions and to control whether the
client may issue chown and chmod commands in an sftp session)

diff --git a/crypto/openssh/DETAILS b/crypto/openssh/DETAILS
index e5f9963..bec0849 100755
--- a/crypto/openssh/DETAILS
+++ b/crypto/openssh/DETAILS
@@ -3,7 +3,12 @@
SECURITY_PATCH=4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.asc
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+if [[ $SFTP_FILECONTROL == y ]]; then
+ SOURCE3=openssh-5.2p1.sftpfilecontrol-v1.3.patch
+
SOURCE3_HASH=sha512:c0da70abf110c408d72b8386edf6694ae7e1a68007c39dc2163befbd9fad897e29a4d5c6f03969b2ae70135e1f1ff322ed3684735dc41887d0a6445c26bd4098
+
SOURCE3_URL[0]=http://sftpfilecontrol.sourceforge.net/download/v1.3/$SOURCE3
+fi
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$SOURCE
SOURCE2_URL[0]=$SOURCE_URL.asc
SOURCE2_IGNORE=signature
diff --git a/crypto/openssh/HISTORY b/crypto/openssh/HISTORY
index 9e395b6..f33387b 100644
--- a/crypto/openssh/HISTORY
+++ b/crypto/openssh/HISTORY
@@ -1,3 +1,7 @@
+2009-07-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * PREPARE, PRE_BUILD, DETAILS: added sftp filecontrol patch from
+ http://sftpfilecontrol.sourceforge.net/; quoting paths
+
2009-05-02 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* init.d/sshd: made it non-sh, bug #13702

@@ -205,4 +209,3 @@
2002-03-20 Luis M. Lourenco <aeron AT netcabo.pt>
* CONFLICTS: Added.
* BUILD: Added --mandir argument to pass to configure.
-
diff --git a/crypto/openssh/PREPARE b/crypto/openssh/PREPARE
new file mode 100755
index 0000000..794406a
--- /dev/null
+++ b/crypto/openssh/PREPARE
@@ -0,0 +1 @@
+config_query SFTP_FILECONTROL "Do you want to apply sftp filecontrol patch?"
n
diff --git a/crypto/openssh/PRE_BUILD b/crypto/openssh/PRE_BUILD
new file mode 100755
index 0000000..e1b6829
--- /dev/null
+++ b/crypto/openssh/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ $SFTP_FILECONTROL == y ]]; then
+ unpack_file 3 &&
+ patch -p1 < "$SOURCE_CACHE/$SOURCE3"
+fi



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a7603b8d036db22d81e65177e22734c64ca2e636), Vlad Glagolev, 07/28/2009

Archive powered by MHonArc 2.6.24.

Top of Page