FreeBSD Bugzilla – Attachment 9650 Details for
Bug 19679
Upgrade port: sysutils/ascpu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.95 KB, created by
Dima Sivachenko
on 2000-07-03 19:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dima Sivachenko
Created:
2000-07-03 19:10:00 UTC
Size:
1.95 KB
patch
obsolete
>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; >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19679
: 9650