Bug 82920 - [patch] irc/miau to 0.5.4
Summary: [patch] irc/miau to 0.5.4
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-07-03 11:10 UTC by Laust S. Jespersen
Modified: 2005-07-18 08:39 UTC (History)
0 users

See Also:


Attachments
file.diff (2.39 KB, patch)
2005-07-03 11:10 UTC, Laust S. Jespersen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laust S. Jespersen 2005-07-03 11:10:21 UTC
update of port irc/miau to version 0.5.4 from 0.5.3 which has security issues (according to the author of miau)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-06 17:26:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

Over to maintainer
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-13 15:57:02 UTC
Here is a fixed patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/irc/miau/Makefile,v
retrieving revision 1.5
diff -a -u -r1.5 Makefile
--- Makefile	12 Apr 2005 03:25:45 -0000	1.5
+++ Makefile	13 Jul 2005 14:56:12 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		miau
-PORTVERSION=		0.5.3
+PORTVERSION=		0.5.4
 CATEGORIES=		irc
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	miau
@@ -15,11 +15,13 @@
 COMMENT=		A fully featured easy to use IRC-bouncer
 
 USE_BZIP2=		yes
+USE_ICONV=		yes
 GNU_CONFIGURE=		yes
 
 USE_REINPLACE=		yes
 
 INFO=			miau
+MAN1=			miau.1
 
 CONFIGURE_ARGS=		--enable-dccbounce \
 			--enable-automode \
@@ -34,7 +36,7 @@
 			--enable-dumpstatus \
 			--disable-dependency-tracking
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
+CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
 			LDFLAGS="${LDFLAGS}" \
 			LIBS="${LIBS}"
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/irc/miau/distinfo,v
retrieving revision 1.2
diff -a -u -r1.2 distinfo
--- distinfo	5 May 2004 11:14:04 -0000	1.2
+++ distinfo	13 Jul 2005 14:56:12 -0000
@@ -1,2 +1,2 @@
-MD5 (miau-0.5.3.tar.bz2) = bdc3b3430197fb63f8842c115e7c38b3
-SIZE (miau-0.5.3.tar.bz2) = 159745
+MD5 (miau-0.5.4.tar.bz2) = 4f4f74e3e271d51d184c21871b09600f
+SIZE (miau-0.5.4.tar.bz2) = 165876
Index: files/patch-src-dcc.h
===================================================================
RCS file: files/patch-src-dcc.h
diff -N files/patch-src-dcc.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src-dcc.h	13 Jul 2005 14:56:12 -0000
@@ -0,0 +1,12 @@
+--- src/dcc.h.orig	Mon May 16 19:35:50 2005
++++ src/dcc.h	Wed Jul 13 16:54:30 2005
+@@ -19,6 +19,9 @@
+ 
+ #include <config.h>
+ #include <string.h>
++#include <sys/types.h>
++#include <sys/select.h>
++
+ 
+ #ifdef DCCBOUNCE
+ 
Index: files/patch-src::server.c
===================================================================
RCS file: files/patch-src::server.c
diff -N files/patch-src::server.c
--- files/patch-src::server.c	2 May 2004 21:02:30 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
---- src/server.c.orig	Sun May  2 22:33:54 2004
-+++ src/server.c	Sun May  2 22:34:29 2004
-@@ -718,8 +718,8 @@
- 					pos(status.idhostname, '@') + 1;
- 			} else {
- 				/* Should we do something about this ? */
--				status.idhostname = strdup("miau");
--				status.goodhostname = 0;
-+				status.idhostname = strdup("miau@miau");
-+				status.goodhostname = 5;
- 			}
- 
- #ifdef UPTIME


-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

The Phase Spider. A spider that never seems quite there.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-07-18 05:35:36 UTC
Responsible Changed
From-To: eik->freebsd-ports-bugs

Maintainer was reset.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-18 08:39:29 UTC
State Changed
From-To: open->closed

Committed with my modifications.