Elm 2.5 has been released, and is highly different from the 2.4 release in ports. I tried making a simple ports template for 2.5, but having never done this before, ended up over my head, after changes to elm's configure became necessary. Elm 2.5 is available at ftp://ftp.virginia.edu/pub/elm/ The only problems it seems to have are: It assumes -lintl is requred, which doesn't exist. It tries using 'builtin++' as the pager, which fails in configure. After changing those two, elm built sucessfully. Any ports geeks feel bored? :)
I'm working on a patch for the elm port, from 2.4ME to 2.5. On 02-Aug-99 toasty@dragondata.com wrote: >>Description: > > Elm 2.5 has been released, and is highly different from the 2.4 release in > ports. > > I tried making a simple ports template for 2.5, but having never done this > before, ended up over my head, after changes to elm's configure became > necessary. > > Elm 2.5 is available at ftp://ftp.virginia.edu/pub/elm/ Added this to the MASTER_SITES list in the Makefile. (for 2.5.1, that is.) > The only problems it seems to have are: > > It assumes -lintl is requred, which doesn't exist. > It tries using 'builtin++' as the pager, which fails in configure. The pager part is easily fixed. I simply updated the script included with the port. As for -lintl, it does exist. It is a standard FreeBSD library: (18:43:19) [will@shadow ~]$ ll /usr/local/lib/libintl.a;whereis libintl -r--r--r-- 2 root wheel 21302 Apr 9 22:41 /usr/local/lib/libintl.a libintl: /usr/src/gnu/usr.bin/texinfo/libintl Unfortunately, for some reason, this doesn't work unless I add a symbolic link in /usr/lib for libintl.a. I must be missing something.. (but then, what about Kevin's system?) is there a way to add a -L${PREFIX}/lib to the compile so that it sees libintl.a? (Think I'll test that option in Configure where it lets you specify additional variables to give gcc.) Elm does work when the symbolic link exists in /usr/lib. (I tested the resulting binary.) My /var/run/ld-elf.so.hints contains: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/mysql/:/us r/local/pgsql/lib:/usr/local/include:/usr/local/lib/m3/FreeBSD2:/usr/local/lib/m ysql Another note: The Configure script appears to be interactive. Why isn't IS_INTERACTIVE set in the port's Makefile? Or was it _not_ interactive in Elm 2.4ME? (I wouldn't know.) -- Will Andrews <andrews@technologist.com>
Responsible Changed From-To: freebsd-ports->ache Over to port's maintainer.
This port should be updated to 2.5.3 (still available from the FTP site at UVA). The 2.4 series has a date problem (mail is sent with a timestamp of xx Jan 100 instead of 2000), 2.5.x appears to have fixed this. I'd be willing work on the port, but I don't have any prior experience. Is there an intro document somewhere that outlines the process? Daniel -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/
This is my first foray into the ports tree, but I believe this will upgrade the elm port to 2.5.3 from 2.4.x (which has Y2K issues). It should probably been checked over by someone more knowledgable than myself before a commit, but I think it works fine. NOTE: You need to delete patches/patch-ab as well as use the patch below. -Daniel Index: Makefile =================================================================== RCS file: /src/cvs/ports/mail/elm/Makefile,v retrieving revision 1.56 diff -c -r1.56 Makefile *** Makefile 1999/09/08 18:10:41 1.56 --- Makefile 2000/01/14 21:57:34 *************** *** 1,43 **** # New ports collection makefile for: elm # See also: http://www.ozone.fmi.fi/KEH/ ! # Version required: 2.4ME # Date created: 26 June 1995 # Whom: ache # # $FreeBSD: ports/mail/elm/Makefile,v 1.56 1999/09/08 18:10:41 ache Exp $ # ! DISTNAME= elm-2.4ME+61 CATEGORIES= mail ! MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/ \ ! ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \ ! ftp://ftp.ibp.fr/pub/unix/mail/elm-me/ MAINTAINER= ache@FreeBSD.org ! WRKSRC= ${WRKDIR}/elm2.4.ME+.61 MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \ frm.1 listalias.1 messages.1 newalias.1 newmail.1 \ ! printmail.1 readmsg.1 MLINKS= frm.1 nfrm.1 newmail.1 wnewmail.1 HAS_CONFIGURE= Yes CONFIGURE_SCRIPT= Configure CONFIGURE_ENV= PREFIX="${PREFIX}" - CONFIGURE_ARGS= -S -d - - post-configure: - ${CP} ${FILESDIR}/elm.mimecharsets ${WRKSRC}/bin - - post-install: - perl -pi -e 's,/usr/local,${PREFIX},' ${WRKSRC}/nls/LANGS - cd ${WRKSRC}/nls; ${MAKE} install - if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \ - ${INSTALL_DATA} \ - ${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \ - else \ - ${INSTALL_DATA} \ - ${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \ - fi .include <bsd.port.mk> --- 1,29 ---- # New ports collection makefile for: elm # See also: http://www.ozone.fmi.fi/KEH/ ! # Version required: 2.5.3 # Date created: 26 June 1995 # Whom: ache # # $FreeBSD: ports/mail/elm/Makefile,v 1.56 1999/09/08 18:10:41 ache Exp $ # ! DISTNAME= elm2.5.3 ! PKGNAME= elm-2.5.3 CATEGORIES= mail ! MASTER_SITES= ftp://ftp.virginia.edu/pub/elm/ MAINTAINER= ache@FreeBSD.org ! WRKSRC= ${WRKDIR}/elm2.5.3 MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \ frm.1 listalias.1 messages.1 newalias.1 newmail.1 \ ! printmail.1 readmsg.1 mmencode.1 MLINKS= frm.1 nfrm.1 newmail.1 wnewmail.1 + # There is a pre-configure script. + IS_INTERACTIVE= yes HAS_CONFIGURE= Yes CONFIGURE_SCRIPT= Configure CONFIGURE_ENV= PREFIX="${PREFIX}" .include <bsd.port.mk> Index: files/md5 =================================================================== RCS file: /src/cvs/ports/mail/elm/files/md5,v retrieving revision 1.32 diff -c -r1.32 md5 *** files/md5 1999/09/08 18:10:46 1.32 --- files/md5 2000/01/14 18:52:41 *************** *** 1 **** ! MD5 (elm-2.4ME+61.tar.gz) = fe34149362156cdaf27c10ba08a87785 --- 1 ---- ! MD5 (elm2.5.3.tar.gz) = ea6df05f38fe3ade89f3b9ec06f319b8 Index: pkg/PLIST =================================================================== RCS file: /src/cvs/ports/mail/elm/pkg/PLIST,v retrieving revision 1.10 diff -c -r1.10 PLIST *** pkg/PLIST 1999/04/07 18:28:39 1.10 --- pkg/PLIST 2000/01/14 20:23:01 *************** *** 12,23 **** @exec ln -f %D/%F %D/bin/wnewmail bin/printmail bin/readmsg ! lib/prlong ! lib/elm.mimecharsets ! lib/elm.mimetypes lib/elmrc-info ! lib/elm-help.0 ! lib/elm-help.1 ! lib/elm-help.2 ! lib/elm-help.3 ! share/nls/C/elm2.4me+.cat --- 12,27 ---- @exec ln -f %D/%F %D/bin/wnewmail bin/printmail bin/readmsg ! bin/prlong ! bin/mmencode lib/elmrc-info ! lib/help-main ! lib/help-options ! lib/help-alias ! lib/help-pager ! lib/help-status ! lib/help-fbrowser ! lib/help-attach ! lib/help-selfolder ! lib/mime-types ! lib/mlists.eg Index: scripts/pre-configure =================================================================== RCS file: /src/cvs/ports/mail/elm/scripts/pre-configure,v retrieving revision 1.20 diff -c -r1.20 pre-configure *** scripts/pre-configure 1999/09/08 18:10:47 1.20 --- scripts/pre-configure 2000/01/14 21:57:22 *************** *** 32,38 **** orderlib='false' ranlib=':' package='elm2' ! pager='builtin++' startsh='#!/bin/sh' define='define' loclist=' --- 32,38 ---- orderlib='false' ranlib=':' package='elm2' ! pager='builtin' startsh='#!/bin/sh' define='define' loclist=' *************** *** 273,279 **** optimize="$CFLAGS" ccflags='' cppflags='' ! ldflags='-s' cc='cc' libs='' nametype='bsd' --- 273,279 ---- optimize="$CFLAGS" ccflags='' cppflags='' ! ldflags='-s -L${PREFIX}/lib' cc='cc' libs='' nametype='bsd' *************** *** 303,308 **** --- 303,313 ---- CONFIG=true EOF + # Warn user to just take defaults. + # + echo "===> Note: This configure script is interactive, but the " + echo " supplied defaults will work for FreeBSD. Just press " + echo " Enter to accept each default." exit 0 # END -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/
Responsible Changed From-To: ache->ports I am maintainer of elm ME+, not of official elm
Responsible Changed From-To: ports->freebsd-ports Use freebsd-ports instead of ports.
It seems, to be frank, rather stupid to have a version of Elm with Y2K problems on the next release CD. Does anyone plan on committing this? Is there a problem with the patch, or just a general hang-up on getting it done? Cheers, Daniel -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/
I originally sent this during the mail-server crash, so it didn't get forwarded correctly. -D ---------- Forwarded message ---------- Date: Fri, 4 Feb 2000 17:24:18 -0500 (EST) From: Daniel Hagan <dhagan@cs.vt.edu> To: Will Andrews <andrews@technologist.com> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: ports/12915: [CODE] New port mail/elm25 for elm 2.5.3 > On Fri, Jan 28, 2000 at 01:22:18PM -0500, Daniel Hagan wrote: > > No, it doesn't apply cleanly to the latest version (didn't notice that > > earlier). It appears that 2.4MEpl68 doesn't have the y2k problem from > > earlier. I'm not familiar with the ME variant, but would it be more > > appropriate for there to be an elm-ME port and a regular elm port? If so, > > I can submit my collection as a new port instead. Well, here it is. It's passed the tests from http://www.freebsd.org/handbook/porting.html and only gets a warning about IS_INTERACTIVE from portlint (which I can't figure out how to avoid). I've put myself in as the maintainer, but I really don't know much about elm. Someone else feel free to take it over if they want, but I figured it isn't fair to dodge ownership since I created it. ;-) Uuencoded port directory below. -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/ begin 644 elm25.tar.gz M'XL("-A-FS@``V5L;3(U+G1A<@#M.VMS&S>2_BK\"IC69NR4^1@^]-K0%46B M8UZL1XE*?'MU=2QP!D/.:@8S"V`D,;OY[]<-S).2-Y>J2+Y*B+(YZ$;CU>AN M=`,0C^+^J/OB21,=]O9[/?J"]GN]$7XI';CVFZ<>I?N]X=[><+3O[E/JNOW] M_@LZ>MIAV90IS22E+_P56S+Q>3JE,Y\+K9YC3,^8N%G_,W;#@S#B3].'V^OM M#8>?77]W.-HKUG]OWQT`9M`;#E_0WM,,IYG^Y.O_BI[S.YHF4BOJ)5'$/1TF M@L:Y0-`@D4>X2$9.R"OZ$Y<*"23_1Q9*[IM"VN^,.@,H/66:4T]R^.0E1KN' M-.`+7/T>T'Q:)7%55B3+_F\]U;G5'>YGY!60[KZ7G'\W.SVBNP"3T^GL^OSX M;#+.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)D$&PGV#ICV,#4?,CSO[1(6N*=(@=2N,Y5!6A/30XH4<LJ MXM*(8224R'4=`P$5D\L-3,.(AO/F8@/%6CU8?XNZ04,:519Z#CXYM%>OG#W2 M6H[+:V'O-1N+K[80Y^4LPU-;\\I*)=:/VO!=K&+Z(6)OF>Q:7\\JZ^.N(OX: M%ZP`A8)8N38$/..$_VZ+V(/@1XKQ"+2%5?D]Z';'=?(\;ORAQRW*UBXI2K!! MA+X/.C+"-/&XNYD7%/*BLB`([POW":<)D27L0W'X,\K0R?N/Q]_/8/!>$+&E MRIWP,A_Y>;:M:/MC@_%`"&Q'YQY=+"1&B;(NT$+Y1L^94HALZ,R"RYL'R$PM M<UR^T*\H5C9;'SKX6C/K6MT(\)7:8*<3S=N(;(,88:#XJ$?>8$2XM(/#G1+` M--2Y>3"1IEIA&``+#6X(MR%"NF"X*[YZ":8A3JW40`:@GW&PX%0(4`<DN3Z; M_]?%^02<>L7GN2,+:W0/6VN`?4,F"JQ9@6Q8]S"`58V8W/@$]FM8N*P=(R"P MX6$`JH7X1]T/4YB_),UW_>8S8"?_L[TQ3II,+M[CGPM^8E+8URHZH7_/E*8: M)D1A$"R+M.J05\0^I!R/Q^\H/8>5.+('/P^.N/"RI+KY?DL7F38'0*V\A?*2 M.XU"<+F++NR#X#LPI.:0+#_2ZE#Z'S@:X^1O-#'!7G"\S/,X/OEDWJIHK@.D M^,(7_TQV<GY*_AQ7$-NT3=NT3=NT3=NT3=NT3=NT3=NT3=OTQ.E_`84`'80` #4``` ` end
Responsible Changed From-To: freebsd-ports->will a year later, i'll take care of this. :)
State Changed From-To: open->closed committed, thanks !