Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 22:01:11 +0400 (MSD)
From:      "Dmitry S. Sivachenko" <dima@Chg.RU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19679: Upgrade port: sysutils/ascpu
Message-ID:  <200007031801.WAA26164@chg.ru>

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

>Number:         19679
>Category:       ports
>Synopsis:       Upgrade port: sysutils/ascpu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 03 11:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry S. Sivachenko
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	

>Description:

	

>How-To-Repeat:

	

>Fix:
	
	

diff -Nur ascpu.old/Makefile ascpu/Makefile
--- ascpu.old/Makefile	Sat Apr 22 14:11:29 2000
+++ ascpu/Makefile	Mon Jul  3 20:50:23 2000
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	ascpu
-PORTVERSION=	1.8
+PORTVERSION=	1.9
 CATEGORIES=	sysutils afterstep
-MASTER_SITES=	http://bewoner.dma.be/Albert/software/ \
-		http://www.tigr.net/afterstep/as-apps/download/ascpu/	\
+MASTER_SITES=	http://www.tigr.net/afterstep/as-apps/download/ascpu/	\
 		ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
 
 MAINTAINER=	dima@Chg.RU
diff -Nur ascpu.old/files/md5 ascpu/files/md5
--- ascpu.old/files/md5	Fri Dec 24 07:53:46 1999
+++ ascpu/files/md5	Mon Jul  3 20:51:06 2000
@@ -1 +1 @@
-MD5 (ascpu-1.8.tar.gz) = ef03840019e210231ae5a24a5efe8c95
+MD5 (ascpu-1.9.tar.gz) = 35d55ec164496ed595ee8d5d34ed4efd
diff -Nur ascpu.old/patches/patch-sec01 ascpu/patches/patch-sec01
--- ascpu.old/patches/patch-sec01	Sun Jan 30 05:19:34 2000
+++ ascpu/patches/patch-sec01	Mon Jul  3 21:39:39 2000
@@ -1,21 +1,23 @@
---- ascpu_x.c.orig	Thu Dec 16 17:45:26 1999
-+++ ascpu_x.c	Wed Dec 29 20:47:32 1999
-@@ -6,6 +6,7 @@
-  * This software is distributed under GPL. For details see LICENSE file.
-  */
- 
-+#include <sys/types.h>
- #include <stdio.h>
- #include <errno.h>
+--- ascpu_x.c.orig	Mon Jul  3 21:39:16 2000
++++ ascpu_x.c	Mon Jul  3 21:39:19 2000
+@@ -18,6 +18,7 @@
+ #include <nlist.h>
  #include <fcntl.h>
-@@ -585,6 +586,10 @@
+ #include <kvm.h>
++#include <sys/types.h>
+ #endif
+ 
+ #ifdef __hpux__
+@@ -626,6 +627,12 @@
  #ifdef DEBUG
- 				printf("ascpu: system(%s)\n",Command);
+ 	printf("ascpu: system(%s)\n",Command);
  #endif
-+				if (setgid(getgid()) != 0)
-+					err(1, "Can't drop setgid privileges");
-+				if (setuid(getuid()) != 0)
-+					err(1, "Can't drop setuid privileges");
- 				system( Command );
- 			}
- 			break;
++
++	if (setgid(getgid()) != 0)
++		err(1, "Can't drop setgid privileges");
++	if (setuid(getuid()) != 0)
++		err(1, "Can't drop setuid privileges");
++
+ 	if( ! Command ) {
+ 		return;
+ 	}

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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