Bug 78393 - [maintainer-update] update mail/sccmilter up to 0.95.1 release
Summary: [maintainer-update] update mail/sccmilter up to 0.95.1 release
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 06:00 UTC by Rashid N. Achilov
Modified: 2005-05-08 20:43 UTC (History)
0 users

See Also:


Attachments
file.diff (170 bytes, patch)
2005-03-04 06:00 UTC, Rashid N. Achilov
no flags Details | Diff
file.diff (385 bytes, patch)
2005-03-04 06:00 UTC, Rashid N. Achilov
no flags Details | Diff
sccmilter-port-0.94.8-0.95.1 (1.20 KB, text/x-diff; charset="koi8-r")
2005-03-04 12:16 UTC, Rashid N. Achilov
no flags Details
kkk (1.20 KB, text/x-diff; charset="iso-8859-1")
2005-03-06 22:36 UTC, Rashid N. Achilov
no flags Details
lll (1.20 KB, text/x-diff; charset="iso-8859-1")
2005-03-09 05:52 UTC, Rashid N. Achilov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid N. Achilov 2005-03-04 06:00:40 UTC
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}"
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-03-04 09:12:54 UTC
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
Comment 2 Rashid N. Achilov 2005-03-04 12:16:25 UTC
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
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2005-03-06 21:56:09 UTC
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
Comment 4 Rashid N. Achilov 2005-03-06 22:36:40 UTC
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
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2005-03-06 22:51:21 UTC
* 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)
Comment 6 Rashid N. Achilov 2005-03-09 05:52:55 UTC
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
Comment 7 Tilman Keskinoz freebsd_committer freebsd_triage 2005-05-08 20:43:12 UTC
State Changed
From-To: feedback->closed

committed, thanks