This is update for mail/sccmilter port up to 0.95.1. From 0.94.8 was fixed at least 4 valuable errors, at least 2 can crach filter with coredump. Also was implemented one old misrelease, when "boundary=..." and "charset=..." at one line cannot be parsed Fix: PORTNAME= sccmilter -PORTVERSION= 0.94.8 +PORTVERSION= 0.95.1 CATEGORIES= mail sysutils MASTER_SITES= ftp://ftp.granch.ru/pub/kavmilter/ @@ -20,16 +20,17 @@ USE_BZIP2= yes USE_GETOPT_LONG= yes USE_RC_SUBR= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localstatedir=/var +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAN5= sccmilter.conf.5 scchosts.5 sccusers.5 MAN8= sccmilter.8 -CPPFLAGS= ${PTHREAD_CFLAGS} -LDFLAGS= ${PTHREAD_LIBS} +CPPFLAGS= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include +LDFLAGS= ${PTHREAD_LIBS} -L${LOCALBASE}/lib MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}"
State Changed From-To: open->feedback On 4.11: ===> Building for sccmilter-0.95.1 ... cd libconf && make install cc -c -DHAVE_CONFIG_H -DCONFIG=""/usr/local/etc/sccmilter/sccmilter.conf"" -DDEBUG=0 -DISOLATOR=""/var/spool/isolated-spam"" -DSCCUSERS=""/usr/local/etc/sccmilter/sccusers"" -DSCCHOSTS=""/usr/local/etc/sccmilter/scchosts"" -DPKGNAME=""sccmilter"" -DPKGVERSION=""0.95.1"" -O2 -pipe -g -Wall -pipe -I. -Ilibconf -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include utilites.c utilites.c: In function `_SCC_milter_create_temp_file': utilites.c:525: `localid' undeclared (first use in this function) utilites.c:525: (Each undeclared identifier is reported only once utilites.c:525: for each function it appears in.) *** Error code 1
On Friday 04 March 2005 15:13, you wrote: > utilites.c: In function `_SCC_milter_create_temp_file': > utilites.c:525: `localid' undeclared (first use in this function) > utilites.c:525: (Each undeclared identifier is reported only once > utilites.c:525: for each function it appears in.) > *** Error code 1 O, GOD! Again I have forgotten about WITH_DEBUG...Error was corrected, new patch (against 0.94.8) attached -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov [at] granch [dot] ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
Still problems: => sccmilter-0.95.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.granch.ru/pub/kavmilter/. fetch: ftp://ftp.granch.ru/pub/kavmilter/sccmilter-0.95.1.tar.bz2: size mismatch: expected 168238, actual 168314 regards tilman
On Monday 07 March 2005 03:56, you wrote: > Still problems: > => sccmilter-0.95.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch from ftp://ftp.granch.ru/pub/kavmilter/. > fetch: ftp://ftp.granch.ru/pub/kavmilter/sccmilter-0.95.1.tar.bz2: size > mismatch: expected 168238, actual 168314 I'm truely sorry, I had have found one small, but serious bug and have to update program. I have attached patch to actual port version (should applied to 0.94.8) -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov [at] granch [dot] ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
* Rashid N. Achilov [2005-03-06 23:37]: > On Monday 07 March 2005 03:56, you wrote: > > Still problems: > > => sccmilter-0.95.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch from ftp://ftp.granch.ru/pub/kavmilter/. > > fetch: ftp://ftp.granch.ru/pub/kavmilter/sccmilter-0.95.1.tar.bz2: size > > mismatch: expected 168238, actual 168314 > > I'm truely sorry, I had have found one small, but serious bug and have to > update program. I have attached patch to actual port version (should applied > to 0.94.8) Tried again, still does not compile: cc -c -DHAVE_CONFIG_H -DCONFIG="\"/usr/local/etc/sccmilter/sccmilter.conf\"" -DDEBUG=0 -DISOLATOR="\"/var/spool/isolated-spam\"" -DSCCUSERS="\"/usr/local/etc/sccmilter/sccusers\"" -DSCCHOSTS="\"/usr/local/etc/sccmilter/scchosts\"" -DPKGNAME="\"sccmilter\"" -DPKGVERSION="\"0.95.1\"" -O -pipe -Wall -pipe -I. -Ilibconf -I/usr/local/include mlficatch.c mlficatch.c: In function `mlfi_body': mlficatch.c:845: error: `dblev' undeclared (first use in this function) mlficatch.c:845: error: (Each undeclared identifier is reported only once mlficatch.c:845: error: for each function it appears in.) mlficatch.c: In function `mlfi_eom': mlficatch.c:913: error: `dblev' undeclared (first use in this function) mlficatch.c:991: warning: comparison between pointer and integer mlficatch.c: In function `_SCC_milter_status_check': mlficatch.c:1387: warning: unused variable `scc1' mlficatch.c: In function `_SCC_milter_check_content_type': mlficatch.c:1847: warning: comparison between pointer and integer mlficatch.c:1850: warning: comparison between pointer and integer mlficatch.c:1853: warning: comparison between pointer and integer mlficatch.c:1856: warning: comparison between pointer and integer mlficatch.c:1859: warning: comparison between pointer and integer (It works if i set WITH_DEBUG=yes)
On Monday 07 March 2005 04:51, you wrote: > > Tried again, still does not compile: O,GOD! Damned DEBUG/NON-DEBUG conditon. I'm really sorry for these...Patch attached -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov [at] granch [dot] ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
State Changed From-To: feedback->closed committed, thanks