Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to test grimoire by David Kowis (dfb35522b648ca458e05e85a6103c28c4d473c00)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Kowis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to test grimoire by David Kowis (dfb35522b648ca458e05e85a6103c28c4d473c00)
  • Date: Mon, 12 Jun 2006 15:53:13 -0500

GIT changes to test grimoire by David Kowis <dkowis AT shlrm.org>:

mail/dspam/BUILD | 6 ------
mail/dspam/CONFIGURE | 1 -
mail/dspam/HISTORY | 4 ----
mail/dspam/dspam_logrotate.patch | 28 ----------------------------
4 files changed, 39 deletions(-)

New commits:
commit dfb35522b648ca458e05e85a6103c28c4d473c00
Author: David Kowis <dkowis AT shlrm.org>
Commit: David Kowis <dkowis AT shlrm.org>

dspam:
Removing the patch

diff --git a/mail/dspam/BUILD b/mail/dspam/BUILD
index 496ea8d..8e77647 100755
--- a/mail/dspam/BUILD
+++ b/mail/dspam/BUILD
@@ -1,9 +1,3 @@
-if [[ "$DSPAM_LOG_PATCH" == y ]]; then
- cd src/tools &&
- patch < $SPELL_DIRECTORY/dspam_logrotate.patch &&
- cd $SOURCE_DIRECTORY
-fi &&
-
OPTS="$OPTS $DSPAM_DAEMON $DSPAM_PREFS" &&

STORAGE_DRIVERS='hash_drv' &&
diff --git a/mail/dspam/CONFIGURE b/mail/dspam/CONFIGURE
index c31d2f3..2e2058a 100755
--- a/mail/dspam/CONFIGURE
+++ b/mail/dspam/CONFIGURE
@@ -1,4 +1,3 @@
-config_query DSPAM_LOG_PATCH 'Apply persistent permissions logrotate patch?'
n &&
config_query DSPAM_SQLITE 'Enable SQLite driver?' n &&
config_query DSPAM_DB 'Enable Berkeley DB driver?' n &&
config_query DSPAM_MYSQL 'Enable MySQL driver?' n &&
diff --git a/mail/dspam/HISTORY b/mail/dspam/HISTORY
index 3a16356..7b76612 100644
--- a/mail/dspam/HISTORY
+++ b/mail/dspam/HISTORY
@@ -1,7 +1,3 @@
-2006-06-12 David Kowis <dkowis AT shlrm.org>
- * CONFIGURE, BUILD: added a patch for dspam_logrotate not persisting
permissions
- * dspam_logrotate.patch: Patch courtesy Matthew Clark
<MatthewClark AT inlesserterms.net>
-
2006-06-06 David Kowis <dkowis AT shlrm.org>
* DEPENDS: adding automake
* CONFIGURE: modifying how the domain scale and large scale work
diff --git a/mail/dspam/dspam_logrotate.patch
b/mail/dspam/dspam_logrotate.patch
deleted file mode 100644
index cbae818..0000000
--- a/mail/dspam/dspam_logrotate.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- dspam_logrotate-current 2006-04-17 13:25:36.000000000 -0500
-+++ dspam_logrotate-new 2006-04-17 13:26:14.000000000 -0500
-@@ -35,11 +35,11 @@
- my($cutoffTimestamp);
- my($printStats);
- ($filename, $cutoffTimestamp, $printStats) = @_;
--
--#preserve timestamps and ownership of the files
--my ( $mode, $uid, $gid ) = ( stat($filename) )[ 2, 4, 5 ];
--$mode = $mode & 07777;
--
-+
-+ #preserve timestamps and ownership of the files
-+ my ( $mode, $uid, $gid ) = ( stat($filename) )[ 2, 4, 5 ];
-+ $mode = $mode & 07777;
-+
- # Generate names for the temporary files.
- my($tempInputFile) = $filename . ".in";
- my($tempOutputFile) = $filename . ".out";
-@@ -83,7 +83,12 @@
-
- # Rename our temporary output file to the original log file name.
- close OUTFILE;
-- rename $tempOutputFile, $filename;
-+
-+ #apply previous permissions and ownerships to temp file
-+ chmod $mode, $tempOutputFile;
-+ chown $uid, $gid, $tempOutputFile;



  • [SM-Commit] GIT changes to test grimoire by David Kowis (dfb35522b648ca458e05e85a6103c28c4d473c00), David Kowis, 06/12/2006

Archive powered by MHonArc 2.6.24.

Top of Page