Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Ready for postfix 2.0 ?

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "M.L." <mlubrano AT sourcemage.org>
  • To: Robin Cook <rcook AT wyrms.net>, "Sergey A. Lipnevich" <sergeyli AT pisem.net>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Ready for postfix 2.0 ?
  • Date: Mon, 6 Jan 2003 18:14:05 +0100

Hi Robin,

all right.

Should be ok with DB 4.1.

Bye,
Mat.

On Lundi 6 Janvier 2003 03:42, Robin Cook wrote:
> I have manually updated my system to DB 4.1.25 for a custom spell I am
> working and I have rebuilt all spells I have installed that depend on DB
> and so far all have compiled without a problem.
>
> CuZnDragon
> Robin Cook
>
> Sergey A. Lipnevich wrote:
> > I have migrated my server box to Berkeley DB 4.1, and had no choice but
> > to use Postfix 2. Here's my patch (mostly cosmetic). Postfix is OK, I've
> > just finished testing it.
> >
> > M.L. wrote:
> >> Hi,
> >>
> >> postfix 2 branch is stabilizing.
> >> Before updating postfix to 2.0.0.X in devel grimoire, I just want to
> >> warn you that postfix 2 breaks some postfix 1 features and config
> >> files...
> >>
> >> Please read the releases notes on www.postfix.org website before it's
> >> too late...
> >> http://postfix.portal-to-web.de/dist/index.html
> >> http://postfix.portal-to-web.de/dist/official/postfix-2.0.0.2.RELEASE_NO
> >>TES
> >>
> >> http://postfix.portal-to-web.de/dist/official/postfix-2.0.0.2.HISTORY
> >>
> >> Bye,
> >> Mat.
> >
> > ------------------------------------------------------------------------
> >
> > Index: BUILD
> > ===================================================================
> > RCS file: /cvsroot/sourcemage/sourcemage/grimoire/mail/postfix/BUILD,v
> > retrieving revision 1.4
> > diff -p -u -r1.4 BUILD
> > --- BUILD 2002/12/18 17:43:15 1.4
> > +++ BUILD 2003/01/06 01:52:37
> > @@ -4,25 +4,23 @@
> > create_account postdrop
> > create_account mail
> >
> > - mkdir -p /var/spool/mail
> > - chmod 1777 /var/spool/mail
> > + mkdir -p /var/spool/mail &&
> > + chmod 1777 /var/spool/mail &&
> > + chown mail:mail /var/spool/mail &&
> >
> > - chown mail:mail /var/spool/mail
> > - chgrp exim /var/spool/mail/*
> > -
> > if spell_installed openldap
> > - then AUXLIBS="-lldap -llber"
> > + then AUXLIBS="-lldap -llber" &&
> > CCARGS="-DHAS_LDAP"
> > - fi
> > + fi &&
> >
> > if spell_installed Linux-PAM
> > - then AUXLIBS="$AUXLIBS -lpam -lpam_misc"
> > + then AUXLIBS="$AUXLIBS -lpam -lpam_misc" &&
> > CCARGS="$CCARGS -DHAS_PAM"
> > - fi
> > + fi &&
> >
> > # fix to get man pages to install in /usr/man
> >
> > - sedit "s:/usr/local:/usr:" src/global/mail_params.h
> > + sedit "s:/usr/local:/usr:" src/global/mail_params.h &&
> >
> > make "CC=gcc" \
> > "OPT=$CFLAGS" \
> > @@ -34,26 +32,30 @@
> > sh ./postfix-install \
> > -non-interactive &&
> >
> > - ln -sf ../sbin/sendmail \
> > + ln -snf ../sbin/sendmail \
> > /usr/lib/sendmail &&
> >
> > - ln -sf postfix/aliases \
> > - /etc/aliases
> > + ln -snf postfix/aliases \
> > + /etc/aliases &&
> >
> > if [ "$BENCH" == "y" ]; then
> > - chmod 544 src/smtpstone/qmqp-source src/smtpstone/smtp-sink
> > src/smtpstone/smtp-source - cp src/smtpstone/qmqp-source /usr/sbin
> > - cp src/smtpstone/smtp-sink /usr/sbin
> > - cp src/smtpstone/smtp-source /usr/sbin
> > - fi
> > + for f in qmqp-source smtp-sink smtp-source; do
> > + chmod 544 src/smtpstone/$f &&
> > + cp src/smtpstone/$f /usr/sbin/
> > + done
> > + fi &&
> >
> > - mkdir /usr/doc/$SPELL 1>/dev/null 2>&1
> > - cp -r README_FILES /usr/doc/$SPELL/
> > - cp -r html /usr/doc/$SPELL/
> > + mkdir -p /usr/doc/$SPELL &&
> > + cp -r README_FILES /usr/doc/$SPELL/ &&
> > + cp -r html /usr/doc/$SPELL/
> >
> > ) > $C_FIFO 2>&1 && (
> >
> > - cp $SCRIPT_DIRECTORY/postfix.sh /etc/init.d
> > +# Startup script may have been modified by the administrator
> > +# So it would survive removal of the previous spell
> > +# We don't want to overwrite it in this case
> > + [ -x /etc/init.d/postfix.sh ] || cp $SCRIPT_DIRECTORY/postfix.sh
> > /etc/init.d/ +
> > ln -sf ../init.d/postfix.sh /etc/rc3.d/S90postfix
> > ln -sf ../init.d/postfix.sh /etc/rc4.d/S90postfix
> > ln -sf ../init.d/postfix.sh /etc/rc5.d/S90postfix
> > @@ -61,10 +63,15 @@
> > ln -sf ../init.d/postfix.sh /etc/rc0.d/K10postfix
> > ln -sf ../init.d/postfix.sh /etc/rc6.d/K10postfix
> >
> > - sedit "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory
> > = /var/spool/mail:" \ - /etc/postfix/main.cf
> > + if ! egrep -q '^mail_spool_directory\W*=' /etc/postfix/main.cf
> > + then sedit "s:#mail_spool_directory =
> > /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ +
> > /etc/postfix/main.cf
> > + fi
> >
> > - sedit "s|#alias_maps = hash:/etc/aliases$|alias_maps =
> > hash:/etc/aliases|" \ - /etc/postfix/main.cf
> > + if ! egrep -q '^alias_maps\W*=' /etc/postfix/main.cf \
> > + && ! egrep -q '^alias_database\W*=' /etc/postfix/main.cf
> > + then sedit "s|#alias_maps = hash:/etc/aliases$|alias_maps =
> > hash:/etc/aliases|" \ + /etc/postfix/main.cf
> > + fi
> >
> > )
> > Index: CONFIGURE
> > ===================================================================
> > RCS file:
> > /cvsroot/sourcemage/sourcemage/grimoire/mail/postfix/CONFIGURE,v
> > retrieving revision 1.3
> > diff -p -u -r1.3 CONFIGURE
> > --- CONFIGURE 2002/11/24 18:46:07 1.3
> > +++ CONFIGURE 2003/01/06 01:52:37
> > @@ -20,7 +20,7 @@ else
> > fi
> >
> > if ! grep -q "BENCH=" $SPELL_CONFIG; then
> > - if query "Also install smtpstone benckmarking tools ?" y
> > + if query "Also install smtpstone benckmarking tools?" n
> > then echo "BENCH=y" >> $SPELL_CONFIG
> > else echo "BENCH=n" >> $SPELL_CONFIG
> > fi
> > @@ -29,9 +29,9 @@ fi
> >
> > if ! grep -q "BACKUP" $SPELL_CONFIG; then
> >
> > - message "${MESSAGE_COLOR}smtp configuration files loss may expose your
> > system to SPAM relaying. You should backup and restore configuration
> > files and ask y to the next two questions...${DEFAULT_COLOR}" + message
> > "${MESSAGE_COLOR}smtp configuration files loss may expose your system to
> > SPAM relaying. You should backup and restore configuration files and
> > reply 'y' to the next two questions...${DEFAULT_COLOR}"
> >
> > - if query "Backup $SPELL config on dispel ?" y
> > + if query "Backup $SPELL config on dispel?" y
> > then echo "BACKUP=y" >> $SPELL_CONFIG
> > else echo "BACKUP=n" >> $SPELL_CONFIG
> > fi
> > @@ -39,7 +39,7 @@ fi
> >
> >
> > if ! grep -q "RESTORE" $SPELL_CONFIG; then
> > - if query "Restore $SPELL config on rebuild/update ?" y
> > + if query "Restore $SPELL config on rebuild/update?" y
> > then echo "RESTORE=y" >> $SPELL_CONFIG
> > else echo "RESTORE=n" >> $SPELL_CONFIG
> > fi
> > @@ -50,7 +50,7 @@ if ! grep -q "ALIAS" $SPELL_CONFIG; then
> >
> > message "${MESSAGE_COLOR}You should run newaliases after each aliases
> > file update, and on first $spell cast...${DEFAULT_COLOR}"
> >
> > - if query "Run newaliases after cast ?" y
> > + if query "Run newaliases after cast?" y
> > then echo "ALIAS=y" >> $SPELL_CONFIG
> > else echo "ALIAS=n" >> $SPELL_CONFIG
> > fi
> > Index: DEPENDS
> > ===================================================================
> > RCS file: /cvsroot/sourcemage/sourcemage/grimoire/mail/postfix/DEPENDS,v
> > retrieving revision 1.1
> > diff -p -u -r1.1 DEPENDS
> > --- DEPENDS 2002/05/17 19:02:55 1.1
> > +++ DEPENDS 2003/01/06 01:52:37
> > @@ -1,4 +1,6 @@
> > -depends db &&
> > +depends db &&
> > +depends pcre &&
> >
> > -optional_depends "openldap" "" "" "for ldap support"
> > -
> > +optional_depends 'Linux-PAM' '' '' 'for PAM support' &&
> > +optional_depends 'openssl' '' '' 'for encryption support' &&
> > +optional_depends 'openldap' '' '' 'for ldap support'
> > Index: DETAILS
> > ===================================================================
> > RCS file: /cvsroot/sourcemage/sourcemage/grimoire/mail/postfix/DETAILS,v
> > retrieving revision 1.3
> > diff -p -u -r1.3 DETAILS
> > --- DETAILS 2002/11/23 09:42:13 1.3
> > +++ DETAILS 2003/01/06 01:52:37
> > @@ -1,55 +1,36 @@
> > SPELL=postfix
> > - VERSION=1.1.12
> > + VERSION=2.0.0.2
> > SOURCE=$SPELL-$VERSION.tar.gz
> > + MD5[0]='6c9d4b135a83a543c0444419d62c0fd9'
> > SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> >
> > SOURCE_URL[0]=ftp://ftp.porcupine.org/mirrors/postfix-release/official/$S
> >OURCE - MD5[0]=aaa5cfae95e23a29421faaabd644f94b
> >
> > SOURCE_URL[1]=ftp://ftp.club-internet.fr/pub/mirrors/ftp.porcupine.org/po
> >stfix-release/official/$SOURCE - MD5[1]=${MD5[0]}
> >
> > SOURCE_URL[2]=ftp://ftp.doc.cs.univ-paris8.fr/mirrors/ftp.porcupine.org/p
> >ostfix-release/official/$SOURCE - MD5[2]=${MD5[0]}
> > SOURCE_URL[3]=ftp://mirror.widexs.nl/pub/postfix/official/$SOURCE
> > - MD5[3]=${MD5[0]}
> >
> > SOURCE_URL[4]=ftp://ftp.tuke.sk/pub/postfix/postfix-release/official/$SOU
> >RCE - MD5[4]=${MD5[0]}
> > SOURCE_URL[5]=ftp://ftp.easynet.be/postfix/official/$SOURCE
> > - MD5[5]=${MD5[0]}
> > SOURCE_URL[6]=ftp://ftp.sgh.waw.pl/pub/postfix/src/official/$SOURCE
> > - MD5[6]=${MD5[0]}
> >
> > SOURCE_URL[7]=ftp://ftp.linux.lv/pub/software/postfix/official/$SOURCE -
> > MD5[7]=${MD5[0]}
> >
> > SOURCE_URL[8]=ftp://ftp3.linux.it/pub/mirrors/postfix/official/$SOURCE -
> > MD5[8]=${MD5[0]}
> >
> > SOURCE_URL[9]=ftp://ftp.kfki.hu/pub/packages/mail/postfix/official/$SOURC
> >E - MD5[9]=${MD5[0]}
> >
> > SOURCE_URL[10]=ftp://ftp3.informatik.uni-bonn.de/pub/software/postfix/off
> >icial/$SOURCE - MD5[10]=${MD5[0]}
> >
> > SOURCE_URL[11]=ftp://ftp.cgs.pl/pub/mirror/postfix/postfix-release/offici
> >al/$SOURCE - MD5[11]=${MD5[0]}
> >
> > SOURCE_URL[12]=ftp://ftp.is.co.za/networking/mail/mta/postfix/official/$S
> >OURCE - MD5[12]=${MD5[0]}
> >
> > SOURCE_URL[13]=ftp://postfix.linuxaid.com.cn/pub/postfix/official/$SOURCE
> > - MD5[13]=${MD5[0]}
> > SOURCE_URL[14]=http://postfix.cakraweb.com/download/official/$SOURCE
> > - MD5[14]=${MD5[0]}
> > SOURCE_URL[15]=http://postfix.manic.co.kr/pub/official/$SOURCE
> > - MD5[15]=${MD5[0]}
> >
> > SOURCE_URL[16]=ftp://ftp.utoronto.ca/mirror/packages/postfix/official/$SO
> >URCE - MD5[16]=${MD5[0]}
> > SOURCE_URL[17]=ftp://postfix.webweaver.net/official/$SOURCE
> > - MD5[17]=${MD5[0]}
> >
> > SOURCE_URL[18]=ftp://ftp.arnes.si/packages/postfix-release/official/$SOUR
> >CE - MD5[18]=${MD5[0]}
> >
> > SOURCE_URL[19]=ftp://download.sourcemage.org/pub/linux/distributions/sour
> >cemage/mirror/$SOURCE - MD5[19]=${MD5[0]}
> > - WEB_SITE=http://www.postfix.org
> > + WEB_SITE=http://www.postfix.org/
> > ENTERED=20020125
> > - UPDATED=20020530
> > + UPDATED=20030105
> > LICENSE=IBMPL
> > - SHORT="postfix is a MTA."
> > - MENU_ITEM[0]=${SPELL}
> > + SHORT="Postfix is an MTA"
> > + MENU_ITEM[0]=$SPELL
> > MENU_EXEC[0]="sendmail"
> > - MENU_DESC[0]=${SHORT}
> > + MENU_DESC[0]=$SHORT
> > cat << EOF
> > Postfix is an attempt to provide an alternative to the widely-used
> > Sendmail program. Postfix attempts to be fast, easy to administer,
> > Index: HISTORY
> > ===================================================================
> > RCS file: /cvsroot/sourcemage/sourcemage/grimoire/mail/postfix/HISTORY,v
> > retrieving revision 1.7
> > diff -p -u -r1.7 HISTORY
> > --- HISTORY 2002/12/18 17:43:15 1.7
> > +++ HISTORY 2003/01/06 01:52:37
> > @@ -1,3 +1,12 @@
> > +2003-01-05 Sergey Lipnevich <sergeyli AT pisem.net>
> > +
> > + Upgraded to 2.0.0.2.
> > + Added pcre, Linux-PAM, and openssl to the DEPENDS list.
> > + Added '&&' throughout BUILD, made changes to the main.cf
> > + conditional upon what's in main.cf now.
> > + Removed excessive MD5[x] declarations from DETAILS.
> > + Made BUILD copy startup script only if it doesn't exist.
> > +
> > 2002-12-17 M.L. <mlugrano AT sourcemage.org>
> >
> > Modified BUILD file about /var/spool/mail ownership, as
> > exim

--
//
// M.L. Grimoire Guru (mail & news)
// SourceMage GNU/Linux http://www.sourcemage.org
// ICQ #23832402 Linux User #36502
//




Archive powered by MHonArc 2.6.24.

Top of Page