FreeBSD Bugzilla – Attachment 40276 Details for
Bug 63304
An Markov based SpamFilter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.30 KB, created by
Meno Abels
on 2004-02-24 12:20:22 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Meno Abels
Created:
2004-02-24 12:20:22 UTC
Size:
6.30 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># crm114 ># crm114/Makefile ># crm114/pkg-descr ># crm114/pkg-plist ># crm114/distinfo ># crm114/files ># crm114/files/patch-Makefile ># >echo c - crm114 >mkdir -p crm114 > /dev/null 2>&1 >echo x - crm114/Makefile >sed 's/^X//' >crm114/Makefile << 'END-of-crm114/Makefile' >X# New ports collection makefile for: crm114 >X# Date created: 23 February 2004 >X# Whom: Meno Abels <meno.abels@adviser.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= crm114 >XPORTVERSION= 20040212 >XCATEGORIES= mail >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= crm114 >XDISTNAME= ${PORTNAME}-${PORTVERSION}-BlameJetlag.src >X >XMAINTAINER= Meno.Abels@Adviser.com >XCOMMENT= An Markov based SpamFilter >X >XCONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \ >X LDFLAGS="-L${LOCALBASE}/lib" >X >XLIB_DEPENDS += tre.4:${PORTSDIR}/textproc/libtre >X >X.include <bsd.port.mk> >END-of-crm114/Makefile >echo x - crm114/pkg-descr >sed 's/^X//' >crm114/pkg-descr << 'END-of-crm114/pkg-descr' >XCRM114 is a system to examine incoming e-mail, system log streams, >Xdata files or other data streams, and to sort, filter, or alter the >Xincoming files or data streams according to the user's wildest >Xdesires. Criteria for categorization of data can be by satisfaction >Xof regexes, by sparse binary polynomial matching with a Bayesian >XChain Rule evaluator, or by other means. Accuracy of the SBPH/BCR >Xclassifier has been seen in excess of 99 per cent, for 1/4 megabyte >Xof learning text. In other words, CRM114 learns, and it learns fast. >X >XWWW: http://crm114.sourceforge.net >END-of-crm114/pkg-descr >echo x - crm114/pkg-plist >sed 's/^X//' >crm114/pkg-plist << 'END-of-crm114/pkg-plist' >X@comment $FreeBSD$ >Xbin/crm >Xbin/cssdiff >Xbin/cssmerge >Xbin/cssutil >END-of-crm114/pkg-plist >echo x - crm114/distinfo >sed 's/^X//' >crm114/distinfo << 'END-of-crm114/distinfo' >XMD5 (crm114-20040212-BlameJetlag.src.tar.gz) = 1124fb9c18161bf4306a162e6b9fd974 >XSIZE (crm114-20040212-BlameJetlag.src.tar.gz) = 760719 >END-of-crm114/distinfo >echo c - crm114/files >mkdir -p crm114/files > /dev/null 2>&1 >echo x - crm114/files/patch-Makefile >sed 's/^X//' >crm114/files/patch-Makefile << 'END-of-crm114/files/patch-Makefile' >X*** Makefile.orig Tue Feb 24 11:25:00 2004 >X--- Makefile Tue Feb 24 11:26:15 2004 >X*************** >X*** 4,10 **** >X # If you want to install the executables somewhere else, change >X # BINDIR here. Default is /usr/bin >X # >X! prefix=/usr >X BINDIR=${prefix}/bin >X >X # VER_SUFFIX defines a version suffix for our installed executables, >X--- 4,10 ---- >X # If you want to install the executables somewhere else, change >X # BINDIR here. Default is /usr/bin >X # >X! prefix=/usr/local >X BINDIR=${prefix}/bin >X >X # VER_SUFFIX defines a version suffix for our installed executables, >X*************** >X*** 38,46 **** >X # uncomment the following to get a BSD-sane environment. Leave them >X # untouched (commented out) for Linux builds. >X # Add for FreeBSD >X! #CFLAGS += -I/usr/local/include >X! #LDFLAGS += -L/usr/local/lib >X! #LIBS += -lintl -liconv >X # >X # ------------------ end of Simson's FreeBSD changes >X # >X--- 38,46 ---- >X # uncomment the following to get a BSD-sane environment. Leave them >X # untouched (commented out) for Linux builds. >X # Add for FreeBSD >X! CFLAGS += -I/usr/local/include >X! LDFLAGS += -L/usr/local/lib >X! LIBS += -lintl -liconv >X # >X # ------------------ end of Simson's FreeBSD changes >X # >X*************** >X*** 65,79 **** >X $(CC) $(LDFLAGS) crm114.o crmregex_gnu.o crm_mathexec.o -lm -o crm114_gnu $(LIBS) >X >X crm114_tre: crm114.o crmregex_tre.o crm_mathexec.o >X! # >X! # Note: if you haven't installed TRElib, the next step >X! # will get an error. >X! # For TRElib, look in the TRE sub-directory of this kit. >X! # You will also need to add /usr/local/lib to /etc/ld.so.conf, >X! # and then run ldconfig (as root) to set the library up and make >X! # the library known to the static and runtime linkers. >X! # >X! $(CC) $(LDFLAGS) crm114.o crmregex_tre.o crm_mathexec.o -static -lm -ltre -o crm114_tre $(LIBS) >X >X crm114.o: crm114.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c crm114.c -o crm114.o >X--- 65,71 ---- >X $(CC) $(LDFLAGS) crm114.o crmregex_gnu.o crm_mathexec.o -lm -o crm114_gnu $(LIBS) >X >X crm114_tre: crm114.o crmregex_tre.o crm_mathexec.o >X! $(CC) $(LDFLAGS) crm114.o crmregex_tre.o crm_mathexec.o -lm -ltre -o crm114_tre $(LIBS) >X >X crm114.o: crm114.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c crm114.c -o crm114.o >X*************** >X*** 89,102 **** >X >X cssutil: cssutil.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -c cssutil.c -o cssutil.o >X! $(CC) $(CFLAGS) cssutil.o -static -lm -ltre -o cssutil >X >X cssdiff: cssdiff.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -c cssdiff.c -o cssdiff.o >X! $(CC) $(CFLAGS) -static -ltre cssdiff.o -o cssdiff >X >X cssmerge: cssmerge.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X! $(CC) $(CFLAGS) -static -ltre cssmerge.c -o cssmerge >X >X clean: >X -rm -f crm114 >X--- 81,94 ---- >X >X cssutil: cssutil.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -c cssutil.c -o cssutil.o >X! $(CC) $(LDFLAGS) $(CFLAGS) cssutil.o -lm -ltre -o cssutil $(LIBS) >X >X cssdiff: cssdiff.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X $(CC) $(CFLAGS) -c cssdiff.c -o cssdiff.o >X! $(CC) $(LDFLAGS) $(CFLAGS) -ltre cssdiff.o -o cssdiff $(LIBS) >X >X cssmerge: cssmerge.c crm114.h crm114_structs.h crm114_config.h crm114_sysincludes.h >X! $(CC) $(LDFLAGS) $(CFLAGS) -ltre cssmerge.c -o cssmerge $(LIBS) >X >X clean: >X -rm -f crm114 >X*************** >X*** 254,257 **** >X distribution: install src_gzip i386_gzip css_gzip >X md5sum crm114-$(VERSION).*.tar.gz >X >X! FORCE: >X\ No newline at end of file >X--- 246,249 ---- >X distribution: install src_gzip i386_gzip css_gzip >X md5sum crm114-$(VERSION).*.tar.gz >X >X! FORCE: >END-of-crm114/files/patch-Makefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63304
: 40276