Bug 77878 - New Port: irc/evangeline Evangeline is an Internet Relay Chat (IRC) Bot based on Eggdrop
Summary: New Port: irc/evangeline Evangeline is an Internet Relay Chat (IRC) Bot based...
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: Florent Thoumie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 20:30 UTC by edini
Modified: 2005-03-04 10:41 UTC (History)
0 users

See Also:


Attachments
file.shar (4.43 KB, text/plain)
2005-02-21 20:30 UTC, edini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description edini 2005-02-21 20:30:08 UTC
	
Evangeline is an Internet Relay Chat (IRC) Bot based on Eggdrop

TODAY IS MY BIRTHDAY!
Comment 1 Florent Thoumie 2005-02-21 22:31:43 UTC
> TODAY IS MY BIRTHDAY!

	Happy birthday \o/

	Here are changes you might want to include :

> echo x - evangeline/Makefile
> sed 's/^X//' >evangeline/Makefile << 'END-of-evangeline/Makefile'
> X# New ports collection makefile for:   evangeline
> X# Date created:                                21 Februar 2005
> X# Whom:                                        Grega "Edini" Janezic <edini@edini.net>
> X#
> X# $FreeBSD$
> X#
> X
> XPORTNAME=      evangeline
> XPORTVERSION=   1.1.0
> XCATEGORIES=    irc tcl84
> XMASTER_SITES=  http://www.averse.piasta.pl/_data/evangeline/1.1.0/
> X
> XMAINTAINER=    ports@FreeBSD.org

	Are you sure you want to do this ?

> XCOMMENT=       Evangeline is an Internet Relay Chat (IRC) Bot based on Eggdrop
> X
> XWRKSRC=        ${WRKDIR}/${PORTNAME}
> X
> XUSE_GMAKE=     yes
> XGNU_CONFIGURE= yes
> X#CONFIGURE_TARGET=

	You can remove this comment.

> XLIB_DEPENDS+=  tcl84.1:${PORTSDIR}/lang/tcl84
> X
> X.if ! defined(WITH_IPV6)
> XWITH_IPV6=     yes
> X.endif

	WITH_IPV6?= yes

> X.if ${WITH_IPV6:L} == "yes"
> XCONFIGURE_ARGS+=        --enable-ipv6
> X#CATEGORIES+=    ipv6
> X.endif

	Remove this comment.
	It there is a --disable-ipv6, try to use it to avoid auto-detection.

> X.if ! defined(WITH_CRYPT)
> XWITH_CRYPT=     yes
> X.endif
> X
> X.if ${WITH_CRYPT:L} == "no"
> XCONFIGURE_ARGS+=        --disable-crypt
> X.endif

	Same comments as above.

> Xpre-extract:
> X       @${ECHO} ""
> X       @${ECHO} "You may use the following build options:"
> X       @${ECHO} ""
> X       @${ECHO} "      WITH_IPV6=yes|no        Enable IPv6 support [yes]"
> X       @${ECHO} "      WITH_CRYPT=yes|no       Enable Encryption [yes]"
> X       @${ECHO} ""

	People usually use pre-everything:: target to print such messages.

	You can look at OPTIONS support if you want your port to automatically
	ask the user for options he wants to activate. Lots of ports use
	OPTIONS, here is a quick example about how to use it [1].

> X.include <bsd.port.mk>
> echo x - evangeline/pkg-plist
> sed 's/^X//' >evangeline/pkg-plist << 'END-of-evangeline/pkg-plist'
> Xbin/evangeline
> Xshare/nls/POSIX
> Xshare/nls/en_US.US-ASCII

	These 2 files are probably not installed, you can try to remove them from
	the packing list. If you do so, there will be only one line remaining,
	so you might use PLIST_FILES= bin/evangeline in your Makefile, and
	remove pkg-plist.

> END-of-evangeline/pkg-plist
> exit

	Consider using portlint (devel/portlint) to run basic checks on your port.

	That's all folks !

	[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/76472
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2005-03-01 15:09:10 UTC
State Changed
From-To: open->feedback

Could you send a polished version of your port with changes I mentioned ? 


Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2005-03-01 15:09:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flz

Grab.
Comment 4 Florent Thoumie freebsd_committer freebsd_triage 2005-03-02 16:05:51 UTC
Grega wrote:
> hello,
> 
> sorry that i didnt answer faster.
> here is 'polished version'
> make install works fine, but i think patch files/patch-Makefile.in needs more work.
> thats my firts port, and i dont think i`ll be able to fix that problem, sorry :|
> 
> # 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:
> #
> #	evangeline/
> #	evangeline/Makefile
> #	evangeline/distinfo
> #	evangeline/pkg-descr
> #	evangeline/files
> #	evangeline/files/patch-Makefile.in
> #
> echo c - evangeline/
> mkdir -p evangeline/ > /dev/null 2>&1
> echo x - evangeline/Makefile
> sed 's/^X//' >evangeline/Makefile << 'END-of-evangeline/Makefile'
> X# New ports collection makefile for:    evangeline
> X# Date created:                         1 Mar 2005
> X# Whom:         Grega "Edini" Janezic <edini@edini.net>
> X#
> X# $FreeBSD$
> X#
> X
> XPORTNAME=      evangeline
> XPORTVERSION=   1.1.0
> XCATEGORIES=    irc tcl84
> XMASTER_SITES=  http://www.averse.piasta.pl/_data/evangeline/1.1.0/
> X
> XMAINTAINER=    ports@FreeBSD.org
> XCOMMENT=       IRC Bot based on Eggdrop
> X
> XWRKSRC=        ${WRKDIR}/${PORTNAME}
> X
> XUSE_GMAKE=     yes
> XGNU_CONFIGURE= yes
> X
> XLIB_DEPENDS+=  tcl84.1:${PORTSDIR}/lang/tcl84
> X
> XOPTIONS=	IPV6 "Enable IPv6 support" on \
> X		CRYPT "Disable Encryption" off
> X
> X.include <bsd.port.pre.mk>
> X
> X.if defined(WITH_IPV6)
> XCONFIGURE_ARGS+=	--enable-ipv6
> X.endif
> X
> X.if !defined(WITHOUT_CRYPT)
> XCONFIGURE_ARGS+=	--disable-crypt
> X.endif
> X
> XPLIST_FILES=	bin/evangeline
> X
> X#.include <bsd.port.mk>
> X.include <bsd.port.post.mk>
> END-of-evangeline/Makefile
> echo x - evangeline/distinfo
> sed 's/^X//' >evangeline/distinfo << 'END-of-evangeline/distinfo'
> XMD5 (evangeline-1.1.0.tar.gz) = 63f10887f269c79ec36cee07511840a7
> XSIZE (evangeline-1.1.0.tar.gz) = 1275658
> END-of-evangeline/distinfo
> echo x - evangeline/pkg-descr
> sed 's/^X//' >evangeline/pkg-descr << 'END-of-evangeline/pkg-descr'
> XEvangeline is an Internet Relay Chat (IRC) Bot based on Eggdrop.
> XIts done for IRCnet network and most changes are done to make the bot
> Xbest there. Bot might not work correctly on other networks (known problems
> Xwith kicking on Quakenet).
> XEvangeline can be simply extended with modules (Eggdrop's modules with
> Xsome modifications) and Tcl scripts of course.
> X
> XWWW: http://www.averse.piasta.pl/
> END-of-evangeline/pkg-descr
> echo c - evangeline/files
> mkdir -p evangeline/files > /dev/null 2>&1
> echo x - evangeline/files/patch-Makefile.in
> sed 's/^X//' >evangeline/files/patch-Makefile.in << 'END-of-evangeline/files/patch-Makefile.in'
> X--- Makefile.in.orig	Fri Feb 18 10:28:06 2005
> X+++ Makefile.in	Fri Feb 18 10:27:08 2005
> X@@ -217,8 +217,6 @@
> X 	@echo ""
> X 	@echo "modules made:"
> X 	@ls -l modules/*.$(MOD_EXT)
> X-	@$(MAKE) finish_install
> X-	@$(installed_msg)
> X 
> X static: @LIBZ@ EvangelineTest
> X 	@echo ""
> X@@ -233,9 +231,6 @@
> X 	@echo ""
> X 	@$(test_run)
> X 	@ls -l $(EVANGELINEEXEC)
> X-	@$(MAKE) finish_install
> X-	@$(installed_msg)
> X-
> X 
> X debug: @LIBZ@ DebugEvangeline
> X 
> X@@ -251,8 +246,6 @@
> X 	@echo ""
> X 	@echo "modules made:"
> X 	@ls -l modules/*.$(MOD_EXT)
> X-	@$(MAKE) finish_install
> X-	@$(installed_msg)
> X 
> X sdebug: @LIBZ@ EvangelineTest
> X 	@echo ""
> X@@ -267,8 +260,6 @@
> X 	@echo ""
> X 	@$(test_run)
> X 	@ls -l $(EVANGELINEEXEC)
> X-	@$(MAKE) finish_install
> X-	@$(installed_msg)
> X 
> X EvangelineTest: conftest
> X 	@if test -f EVANGELINEMOD.stamp; then \
> X@@ -290,8 +281,12 @@
> X 	fi
> X 	@echo "stamp" >EVANGELINEMOD.stamp
> X 
> X+install:
> X+	@$(MAKE) finish_install
> X+	@$(installed_msg)
> X+
> X finish_install:
> X-	@mv ifiles/starter starter
> X+	@mv ifiles/starter /usr/local/bin/evangeline
> X 	@mv ifiles/MyHttp.tcl .data/.scripts/MyHttp.tcl
> X 	@rm -rf modules/*.mod modules/EvangelineMod.* modules/Makefile* modules/mod.xlibs 
> modules/autoconf modules/*.h modules/*.o
> X 	@rm -rf src/ tmp/ Makefile* config* disabled_modules lush.h
> END-of-evangeline/files/patch-Makefile.in
> exit

	Ok, your ports needs user interaction.
	Could you come with a patch to suppress that behavior ?
	I've seen that it tries to add a new user. Maybe you could put this in a
	pkg-install script. A lot of ports do that (see net/quagga for example).

	Note: Try to keep gnats@ in CC: so that your mail goes in the audit trail.
Comment 5 edini 2005-03-04 01:14:12 UTC
Florent,

sorry, i don`t have nor time nor knowledge,
i`m leaving that port to you, you can take credit for creating it.
or just forget it.

Grega.
Comment 6 Florent Thoumie freebsd_committer freebsd_triage 2005-03-04 10:41:39 UTC
State Changed
From-To: feedback->closed

New port added, thank you!