aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ezbounce
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-06-10 23:15:29 +0800
committeroliver <oliver@FreeBSD.org>2003-06-10 23:15:29 +0800
commit4d42b11aed4e146374efa3a61058e0ef756d3818 (patch)
treeb6049ab1ddc3e1fb7861979d0abb36ceb9974d32 /irc/ezbounce
parent368fc56ff74cb67e44cd82d3255c9b7a8cb4fe27 (diff)
downloadfreebsd-ports-gnome-4d42b11aed4e146374efa3a61058e0ef756d3818.tar.gz
freebsd-ports-gnome-4d42b11aed4e146374efa3a61058e0ef756d3818.tar.zst
freebsd-ports-gnome-4d42b11aed4e146374efa3a61058e0ef756d3818.zip
o Update to 1.04a
o Make portlint happier o Patch got integrated into source o Add OpenSSL knob PR: 47257 Approved by: alex (mentor)
Diffstat (limited to 'irc/ezbounce')
-rw-r--r--irc/ezbounce/Makefile40
-rw-r--r--irc/ezbounce/distinfo2
-rw-r--r--irc/ezbounce/files/patch-src-server.cpp20
-rw-r--r--irc/ezbounce/pkg-plist13
4 files changed, 38 insertions, 37 deletions
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index 8f90a79fdad2..bde23a41e49e 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= ezbounce
-PORTVERSION= 1.02
-PORTREVISION= 1
+PORTVERSION= 1.04.a
CATEGORIES= irc
-MASTER_SITES= http://druglord.freelsd.org/ezbounce/
+MASTER_SITES= http://druglord.freelsd.org/ezbounce/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A highly configurable IRC Proxy
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
MAN1= ezbounce.1
@@ -25,6 +25,23 @@ PLIST_SUB+= MDIDENTD="@comment "
PLIST_SUB+= MDIDENTD=""
.endif
+.if defined(WITH_SSL)
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= --with-ssl
+PLIST_SUB+= SSL=""
+.else
+PLIST_SUB+= SSL="@comment "
+.endif
+
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_SSL=yes Enable SSL support"
+ @${ECHO} " WITH_MDIDENTD=yes Install the mdidentd binary to"
+ @${ECHO} " modify ident replies"
+ @${ECHO} ""
+
post-patch:
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
${WRKSRC}/ezb.conf.default
@@ -44,15 +61,18 @@ do-install:
fi
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/ezbounce
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/ezbounce
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ezbounce
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/ezbounce
- ${INSTALL_DATA} ${WRKSRC}/worklog ${PREFIX}/share/doc/ezbounce
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/worklog ${DOCSDIR}
.if defined(WITH_MDIDENTD)
${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
- ${PREFIX}/share/doc/ezbounce/mdidentd.README
+ ${DOCSDIR}/mdidentd.README
+.endif
+.if defined(WITH_SSL)
+ ${INSTALL_DATA} ${WRKSRC}/README.SSL ${DOCSDIR}
.endif
.endif
diff --git a/irc/ezbounce/distinfo b/irc/ezbounce/distinfo
index 6e74a6e473d1..e8ebd58b587b 100644
--- a/irc/ezbounce/distinfo
+++ b/irc/ezbounce/distinfo
@@ -1 +1 @@
-MD5 (ezbounce-1.02.tar.gz) = 66cb545793acf078516ec7f62ae4147a
+MD5 (ezbounce-1.04a.tar.gz) = f214fbd8ec1d95981639c9e1087436cb
diff --git a/irc/ezbounce/files/patch-src-server.cpp b/irc/ezbounce/files/patch-src-server.cpp
deleted file mode 100644
index 8d9417a4fcf7..000000000000
--- a/irc/ezbounce/files/patch-src-server.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/server.cpp Sun May 5 17:53:00 2002
-+++ src/server.cpp Mon Jul 22 04:27:26 2002
-@@ -204,7 +204,7 @@
- if (now)
- {
- strcpy(buff, "Server terminating: ");
-- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1);
-+ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1));
- conn::broadcast(&conns,buff);
- ircproxy_save_prefs(users, pcfg.userfile);
- kill_conns();
-@@ -213,7 +213,7 @@
- }
- terminate_request = 1;
- strcpy(buff, "Terminate request: ");
-- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1);
-+ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1));
- conn::broadcast(&conns,buff);
- ircproxy_save_prefs(users, pcfg.userfile);
- return 1;
diff --git a/irc/ezbounce/pkg-plist b/irc/ezbounce/pkg-plist
index 8d5793a25083..c380d7827f27 100644
--- a/irc/ezbounce/pkg-plist
+++ b/irc/ezbounce/pkg-plist
@@ -3,9 +3,10 @@ etc/ezb.conf.default
@exec if [ ! -f %D/etc/ezb.conf ] ; then cp -p %D/%F %B/ezb.conf; fi
sbin/ezbounce
%%MDIDENTD%%sbin/mdidentd
-%%PORTDOCS%%share/doc/ezbounce/CHANGES
-%%PORTDOCS%%share/doc/ezbounce/README
-%%PORTDOCS%%share/doc/ezbounce/TODO
-%%PORTDOCS%%share/doc/ezbounce/worklog
-%%MDIDENTD%%%%PORTDOCS%%share/doc/ezbounce/mdidentd.README
-%%PORTDOCS%%@dirrm share/doc/ezbounce
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%SSL%%%%DOCSDIR%%/README.SSL
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/worklog
+%%MDIDENTD%%%%PORTDOCS%%%%DOCSDIR%%/mdidentd.README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%