Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 02:36:21 +0900 (JST)
From:      TAKAHASHI Kaoru <kaoru@kaisei.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106679: [PATCH] security/libparanoia: update to 1.4.1
Message-ID:  <20061213173621.9C23D50817@rave.kaoru.trans-nt.com>
Resent-Message-ID: <200612131740.kBDHe6Jh049035@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106679
>Category:       ports
>Synopsis:       [PATCH] security/libparanoia: update to 1.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 13 17:40:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     TAKAHASHI Kaoru
>Release:        FreeBSD 5.4-RELEASE-p14 i386
>Organization:
>Environment:
System: FreeBSD rave.kaoru.trans-nt.com 5.4-RELEASE-p14 FreeBSD 5.4-RELEASE-p14 #0: Mon Apr 24 13:57:18 JST 2006
>Description:
- Update to 1.4.1
- Remove files/* (patch imported 1.4.1)
- portlint

Removed file(s):
- files/patch-aa
- files/patch-ab
- files/vsnprintf-current.patch

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libparanoia-1.4.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/libparanoia/Makefile /tmp/libparanoia/Makefile
--- /usr/ports/security/libparanoia/Makefile	Tue Sep  5 18:42:45 2006
+++ /tmp/libparanoia/Makefile	Thu Dec 14 02:31:54 2006
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/security/libparanoia/Makefile,v 1.16 2006/09/05 09:42:45 linimon Exp $
 
 PORTNAME=	libparanoia
-PORTVERSION=	1.4
-PORTREVISION=	3
+PORTVERSION=	1.4.1
 CATEGORIES=	security
 MASTER_SITES=	ftp://ftp.lexa.ru/pub/domestic/snar/
 
@@ -15,26 +14,20 @@
 
 ONLY_FOR_ARCHS=	i386
 
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 
 # this library depends on system-defined headers "SYS.h" and "DEFS.h"
 # which may differ from release to release.
 
 .if !exists(/usr/src/lib/libc)
-IGNORE=		You need to have libc sources installed in /usr/src/lib/libc \
-		before compiling.
+IGNORE=		you need to have libc sources installed in /usr/src/lib/libc \
+		before compiling
 .endif
 
 .include <bsd.port.pre.mk>
 
-pre-patch:
-	@${REINPLACE_CMD} -e 's|\(SIGSEGV\),\(getpid()\)|\2,\1|; \
-		s|#include <varargs.h>||' \
+do-patch:
+	@${REINPLACE_CMD} -e 's|#include <varargs.h>||' \
 		${WRKSRC}/stentry.c
-
-.if ${OSVERSION} >= 500039
-post-patch:
-	@(cd ${_DISTDIR};${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/vsnprintf-current.patch)
-.endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/security/libparanoia/distinfo /tmp/libparanoia/distinfo
--- /usr/ports/security/libparanoia/distinfo	Tue Jan 24 10:03:08 2006
+++ /tmp/libparanoia/distinfo	Thu Dec 14 02:15:19 2006
@@ -1,3 +1,3 @@
-MD5 (libparanoia-1.4.tar.gz) = c615cc5db41d8aee1e659d122f5ce631
-SHA256 (libparanoia-1.4.tar.gz) = dbc94d9998d813234276df9132d25a3349a7ffda0501dbaa9d829a4243755633
-SIZE (libparanoia-1.4.tar.gz) = 10162
+MD5 (libparanoia-1.4.1.tar.gz) = 9090f2eedd08e031094501c999c639b7
+SHA256 (libparanoia-1.4.1.tar.gz) = 3eb3183f47a32d5ae3efb6fef4a3773de4a3979020a3de357f487af8b4c00861
+SIZE (libparanoia-1.4.1.tar.gz) = 10231
diff -ruN --exclude=CVS /usr/ports/security/libparanoia/files/patch-aa /tmp/libparanoia/files/patch-aa
--- /usr/ports/security/libparanoia/files/patch-aa	Mon May  1 05:17:47 2000
+++ /tmp/libparanoia/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- Makefile.orig	Sat Apr 29 20:56:31 2000
-+++ Makefile	Sat Apr 29 20:56:43 2000
-@@ -7,6 +7,7 @@
- SHLIB_MAJOR=1
- SHLIB_MINOR=4
- CFLAGS+=-I/usr/src/lib/libc/locale -I/usr/src/lib/libc/stdio/ 
-+NOPROFILE=yes
- 
- #you should add -DPARANOIDAL_ROOT to CFLAGS. In that case, only 
- #setugid(2) processes and processes with uid or euid == 0 will 
diff -ruN --exclude=CVS /usr/ports/security/libparanoia/files/patch-ab /tmp/libparanoia/files/patch-ab
--- /usr/ports/security/libparanoia/files/patch-ab	Sat Aug  3 16:52:47 2002
+++ /tmp/libparanoia/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,14 +0,0 @@
---- gets.c.orig	Wed Dec 30 17:05:40 1998
-+++ gets.c	Fri Mar 22 23:29:05 2002
-@@ -68,8 +68,10 @@
- 	}
- 	for (s = buf; (c = getchar()) != '\n';)
- 		if (c == EOF)
--			if (s == buf)
-+			if (s == buf) {
-+				exit_violation();
- 				return (NULL);
-+			}
- 			else
- 				break;
- 		else
diff -ruN --exclude=CVS /usr/ports/security/libparanoia/files/vsnprintf-current.patch /tmp/libparanoia/files/vsnprintf-current.patch
--- /usr/ports/security/libparanoia/files/vsnprintf-current.patch	Sat Dec 14 05:54:20 2002
+++ /tmp/libparanoia/files/vsnprintf-current.patch	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- vsprintf.c.orig	Sun Oct 20 17:23:01 2002
-+++ vsprintf.c	Sun Oct 20 17:23:32 2002
-@@ -52,7 +52,7 @@
- vsprintf(str, fmt, ap)
- 	char *str;
- 	const char *fmt;
--	_BSD_VA_LIST_ ap;
-+	va_list ap;
- {
- 	int ret;
- 	FILE f;
--- libparanoia-1.4.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213173621.9C23D50817>