[SM-Commit] GIT changes to test grimoire by David Kowis (1c7f577b6765fed5fdc62061bb12279368338912)

David Kowis scm at mail.sourcemage.org
Mon Jun 12 16:31:00 EDT 2006


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

 mail/drac/BUILD                    |   16 +---------------
 mail/drac/DETAILS                  |    1 -
 mail/drac/HISTORY                  |    3 +++
 mail/dspam/BUILD                   |    6 ++++++
 mail/dspam/CONFIGURE               |    1 +
 mail/dspam/HISTORY                 |    4 ++++
 mail/dspam/dspam_logrotate.patch   |   28 ++++++++++++++++++++++++++++
 mail/gmailfs/DETAILS               |    4 ++--
 mail/gmailfs/HISTORY               |    3 +++
 mail/libgmail/DETAILS              |    6 +++---
 mail/libgmail/HISTORY              |    3 +++
 mail/qwikmail/BUILD                |    9 ++-------
 mail/qwikmail/DETAILS              |   17 ++++++++---------
 mail/qwikmail/HISTORY              |    4 ++++
 mail/qwikmail/qwik-smtpd-0.3.patch |   23 +++++++++++++++++++++++
 15 files changed, 91 insertions(+), 37 deletions(-)

New commits:
commit 1c7f577b6765fed5fdc62061bb12279368338912
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    Adding dspam_logrotate permissions persistence patch

commit 9ac022e29ae2463044954ea30dcd64f3537b8ef2
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    gmailfs:
    
    updated to latest version and added url

commit 23f7e32eaaa602b38bf9708c23f622a26efada39
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    bringing gmailfs to the latest version

commit 6fa44e03f304129174b060cb94a58205a4b4a16d
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    qwikmail

commit 5d14589246f7ac74af75edcfe71222c0a00488a1
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    drac:
    
    Updating drac to api2

diff --git a/mail/drac/BUILD b/mail/drac/BUILD
index a54a4be..04bf628 100755
--- a/mail/drac/BUILD
+++ b/mail/drac/BUILD
@@ -1,21 +1,7 @@
-(
-
   if  spell_ok  sendmail;  then
     patch  -p0  <  ${SCRIPT_DIRECTORY}/Makefile.sendmail.patch
   else
     patch  -p0  <  ${SCRIPT_DIRECTORY}/Makefile.other.patch
   fi                                                            &&
 
-  make                                    &&
-  prepare_install                         &&
-  make    install                         &&
-  make    install-man                     &&
-  mkdir  -p      /etc/mail                &&
-  mkdir  -p      /usr/include/drac        &&
-  cp  drac.h     /usr/include/drac        &&
-  cp  libdrac.a  /usr/lib		  &&
-  if  [  -f  /etc/mail/dracd.allow  ];  then
-    cp  $SCRIPT_DIRECTORY/dracd.allow  /etc/mail
-  fi
-
-) > $C_FIFO 2>&1
+default_build
diff --git a/mail/drac/DETAILS b/mail/drac/DETAILS
index f8241c3..3382cff 100755
--- a/mail/drac/DETAILS
+++ b/mail/drac/DETAILS
@@ -10,7 +10,6 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
          UPDATED=20011212
       MAINTAINER=kongar at tsrsb.org.tr
         KEYWORDS="mail"
-       BUILD_API=1
            SHORT="DRAC is a daemon dynamically updates a relay authorization map for SMTP program"
          LICENSE=http://mail.cc.umanitoba.ca/drac/index.html			  
     MENU_ITEM[0]=${SPELL}
diff --git a/mail/drac/HISTORY b/mail/drac/HISTORY
index ecc167c..6ab4535 100644
--- a/mail/drac/HISTORY
+++ b/mail/drac/HISTORY
@@ -1,3 +1,6 @@
+2006--6-12 David Kowis <dkowis at shlrm.org>
+	* BUILD, INSTALL: updated to BUILD_API=2
+
 2006-06-12 Arwed v. Merkatz <v.merkatz at gmx.net>
 	* DETAILS: inserted BUILD_API=1 line
 
diff --git a/mail/dspam/BUILD b/mail/dspam/BUILD
index 8e77647..496ea8d 100755
--- a/mail/dspam/BUILD
+++ b/mail/dspam/BUILD
@@ -1,3 +1,9 @@
+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 2e2058a..c31d2f3 100755
--- a/mail/dspam/CONFIGURE
+++ b/mail/dspam/CONFIGURE
@@ -1,3 +1,4 @@
+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 7b76612..3a16356 100644
--- a/mail/dspam/HISTORY
+++ b/mail/dspam/HISTORY
@@ -1,3 +1,7 @@
+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
new file mode 100644
index 0000000..cbae818
--- /dev/null
+++ b/mail/dspam/dspam_logrotate.patch
@@ -0,0 +1,28 @@
+--- 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;
diff --git a/mail/gmailfs/DETAILS b/mail/gmailfs/DETAILS
index 7c2e885..e8fc967 100755
--- a/mail/gmailfs/DETAILS
+++ b/mail/gmailfs/DETAILS
@@ -1,9 +1,9 @@
                 SPELL=gmailfs
-              VERSION=0.6
+              VERSION=0.7.2
                SOURCE=$SPELL-$VERSION.tar.gz
      SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
            SOURCE_URL=http://richard.jones.name/google-hacks/gmail-filesystem/$SOURCE
-          SOURCE_HASH=sha512:ae375a5db66d5acc7c40da0278a86038993926b7f157231488b1a41822e0aa5063bb0a541a9c1275f0bed4082a9033458ade68445d952f854610f2a73cceed48
+          SOURCE_HASH=sha512:7e66796fb42505d73ac2f5c25b8fee424cbd4b5de579a081e378f9cbc1c6c1b1fa62186c10aa8c2489d64b8a102618eb211734970d9e0b9ec340aa5d794c68f1
             BUILD_API=2
              WEB_SITE=http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html
               ENTERED=20050212
diff --git a/mail/gmailfs/HISTORY b/mail/gmailfs/HISTORY
index f5ac09f..ed1f94b 100644
--- a/mail/gmailfs/HISTORY
+++ b/mail/gmailfs/HISTORY
@@ -1,3 +1,6 @@
+2006-06-12 David Kowis <dkowis at shlrm.org>
+	* DETAILS: updated to latest version
+
 2006-03-12 Karsten Behrmann <BearPerson at sourcemage.org>
 	* DETAILS: (automated) Add KEYWORDS
 
diff --git a/mail/libgmail/DETAILS b/mail/libgmail/DETAILS
index 9feaa03..1a33484 100755
--- a/mail/libgmail/DETAILS
+++ b/mail/libgmail/DETAILS
@@ -1,9 +1,9 @@
               SPELL=libgmail
       if [ "$CVS" != "y" ]; then 
-            VERSION=0.1.3.3
+            VERSION=0.1.4
              SOURCE=$SPELL-$VERSION.tgz
       SOURCE_URL[0]=$SOURCEFORGE_URL/libgmail/$SOURCE
-        SOURCE_HASH=sha512:175e179f12c81f31a542035f7fd8acb23b069d538f772ae0d261ae6befd7ed8f0a38efca76030bf377d436aa890e835033489d1f7d474c429a5aca16fe643454
+        SOURCE_HASH=sha512:f3d3675461d6a529d1f1b52ee2ba3e8066dfd61a2e2f1a89fcb847706a14743e5ba2181684ba167f508574a1a3b4a6f49847695bf81aea668611028382671f6a
       else
             VERSION=cvs
              SOURCE=$SPELL-sf$VERSION.tar.bz2
@@ -13,7 +13,7 @@
    SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-sf$VERSION
           BUILD_API=2
          LICENSE[0]=GPL
-             
+                URL=http://libgmail.sourceforge.net/ 
            KEYWORDS="mail python"
               SHORT="libgmail, Python binding for Google's Gmail service"
 cat << EOF
diff --git a/mail/libgmail/HISTORY b/mail/libgmail/HISTORY
index a117393..b2d2205 100644
--- a/mail/libgmail/HISTORY
+++ b/mail/libgmail/HISTORY
@@ -1,3 +1,6 @@
+2006-06-12 David Kowis <dkowis at shlrm.org>
+	* DETAILS: bumped to latest stable version and added url
+
 2006-05-26 David Kowis <dkowis at shlrm.org>
 	* DETAILS: fixed sourceforge cvs url
 
diff --git a/mail/qwikmail/BUILD b/mail/qwikmail/BUILD
index dd055c7..27d1846 100755
--- a/mail/qwikmail/BUILD
+++ b/mail/qwikmail/BUILD
@@ -1,7 +1,2 @@
-(
-
-  make             &&
-  prepare_install  &&
-  make  install
-
-) > ${C_FIFO}  2>&1
+patch < $SPELL_DIRECTORY/qwik-smtpd-0.3.patch &&
+default_build
diff --git a/mail/qwikmail/DETAILS b/mail/qwikmail/DETAILS
index 171dbbe..837e827 100755
--- a/mail/qwikmail/DETAILS
+++ b/mail/qwikmail/DETAILS
@@ -7,16 +7,15 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/qwik-s
          ENTERED=20020820
          UPDATED=20020820
       LICENSE[0]=GPL
-      MAINTAINER=m.l at compaqnet.fr
+  SECURITY_PATCH=1
+             URL=http://qwikmail.sourceforge.net/smtpd/
         KEYWORDS="server mail"
-       BUILD_API=1
            SHORT="qwikmail is lightweight, simple MTA."
 cat << EOF
-Qwikmail is a lightweight, simple and easy to configure Mail-Transport Agent.
-
-It's suitable for local delivery only and remote delivery.
-
-The configuration file is really easy to setup (a few lines).
-
-This mailer daemon is recomended if you don't know much about how email works, or if you need local delivery only (not connected to the Internet).
+The QwikMail SMTP server (qwik-smtpd) is intended to be a fast, secure, and
+efficient mail server (MTA). A word of warning before using this on a production
+system: DON'T. Until the code reaches 1.0 status, the author makes no guarantee
+of security. In the meantime, qwik-smtpd is a playground for unique SMTP server
+implementations that support extensions and/or quirks not found in other
+production-quality servers.
 EOF
diff --git a/mail/qwikmail/HISTORY b/mail/qwikmail/HISTORY
index a50125f..99096dd 100644
--- a/mail/qwikmail/HISTORY
+++ b/mail/qwikmail/HISTORY
@@ -1,3 +1,7 @@
+2006-06-12 David Kowis <dkowis at shlrm.org>
+	* BUILD, DETAILS: updated to BUILD_API=2
+	* qwik-smtpd-0.3.patch: Security patch!
+
 2006-06-12 Arwed v. Merkatz <v.merkatz at gmx.net>
 	* DETAILS: inserted BUILD_API=1 line
 
diff --git a/mail/qwikmail/qwik-smtpd-0.3.patch b/mail/qwikmail/qwik-smtpd-0.3.patch
new file mode 100644
index 0000000..598e7cb
--- /dev/null
+++ b/mail/qwikmail/qwik-smtpd-0.3.patch
@@ -0,0 +1,23 @@
+--- qwik-smtpd-0.3.orig/qwik-smtpd.c	2002-06-27 22:35:24.000000000 -0700
++++ qwik-smtpd.c	2004-10-30 19:56:14.579287608 -0700
+@@ -208,7 +208,7 @@
+               for(x = 0; x < max_recipients; x++)
+               {
+                 if(clientRcptTo[x] == NULL) break;
+-                fprintf(fpout,clientRcptTo[x]);
++                fprintf(fpout,"%s", clientRcptTo[x]);
+                 (void) fflush(fpout);
+                 fprintf(fpout,"\n");
+                 (void) fflush(fpout);
+@@ -431,9 +431,9 @@
+           }
+           else
+           {
+-            fprintf(fpout,Received);
++            fprintf(fpout,"%s", Received);
+             (void) fflush(fpout);
+-            fprintf(fpout,messageID);
++            fprintf(fpout,"%s", messageID);
+             (void) fflush(fpout);
+             out(354, "type away!");
+             alarm(data_timeout);



More information about the SM-Commit mailing list