diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-04 10:09:52 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-04 10:09:52 +0000 |
commit | 5ea828eb55e60c49aca55092a252fca620741da0 (patch) | |
tree | 3ffdc827ac704b532a775d9874e8e5d02f1c23e4 /sysutils/ascpu | |
parent | 91de7e58e1df14a01e008c345871799ab0585c37 (diff) | |
download | FreeBSD-ports-5ea828eb55e60c49aca55092a252fca620741da0.zip FreeBSD-ports-5ea828eb55e60c49aca55092a252fca620741da0.tar.gz |
Update to 1.9.
PR: 19679
Submitted by: maintainer
Diffstat (limited to 'sysutils/ascpu')
-rw-r--r-- | sysutils/ascpu/Makefile | 12 | ||||
-rw-r--r-- | sysutils/ascpu/distinfo | 2 | ||||
-rw-r--r-- | sysutils/ascpu/files/patch-sec01 | 38 |
3 files changed, 28 insertions, 24 deletions
diff --git a/sysutils/ascpu/Makefile b/sysutils/ascpu/Makefile index 1cebbe9..515b586 100644 --- a/sysutils/ascpu/Makefile +++ b/sysutils/ascpu/Makefile @@ -6,19 +6,21 @@ # 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 -LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ + jpeg.9:${PORTSDIR}/graphics/jpeg USE_X_PREFIX= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-xpm +CONFIGURE_ARGS= --with-xpm +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= EXTRA_LIBRARIES="-L${LOCALBASE}/lib" MAN1= ascpu.1 diff --git a/sysutils/ascpu/distinfo b/sysutils/ascpu/distinfo index b586ed4..0cf8e80 100644 --- a/sysutils/ascpu/distinfo +++ b/sysutils/ascpu/distinfo @@ -1 +1 @@ -MD5 (ascpu-1.8.tar.gz) = ef03840019e210231ae5a24a5efe8c95 +MD5 (ascpu-1.9.tar.gz) = 35d55ec164496ed595ee8d5d34ed4efd diff --git a/sysutils/ascpu/files/patch-sec01 b/sysutils/ascpu/files/patch-sec01 index d54a776..6f981eb 100644 --- a/sysutils/ascpu/files/patch-sec01 +++ b/sysutils/ascpu/files/patch-sec01 @@ -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; + } |