Update to 1.0.11
Unbreak (again) for -current (from knu)
This commit is contained in:
parent
6b669add32
commit
564f01076d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38383
10 changed files with 42 additions and 42 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= libgtop
|
||||
PORTVERSION= 1.0.10
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.0.11
|
||||
CATEGORIES= devel gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= stable/sources/libgtop
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (libgtop-1.0.10.tar.gz) = f8aefa42abd6be0db114432bf59853a6
|
||||
MD5 (libgtop-1.0.11.tar.gz) = 29f349af7494882b15c4de805534d778
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
--- src/daemon/Makefile.in.orig Tue Mar 2 18:48:38 1999
|
||||
+++ src/daemon/Makefile.in Tue Mar 2 18:49:07 1999
|
||||
@@ -191,7 +191,7 @@
|
||||
|
||||
|
||||
libgtop_server_SOURCES = server.c slave.c io.c version.c daemon.h
|
||||
-libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la $(top_builddir)/sysdeps/common/libgtop_suid_common.la @LIBSUPPORT@
|
||||
+libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la $(top_builddir)/sysdeps/common/libgtop_suid_common.la @LIBSUPPORT@ @INTLLIBS@ @libs_xauth@
|
||||
|
||||
|
||||
EXTRA_DIST = server_config.h.in server_config.pl
|
||||
--- Makefile.in.orig Tue Oct 19 06:04:23 1999
|
||||
+++ Makefile.in Tue Oct 26 11:42:07 1999
|
||||
@@ -187,7 +187,7 @@
|
||||
|
|
|
@ -71,9 +71,9 @@
|
|||
- switch (pinfo [0].kp_proc.p_stat) {
|
||||
+ switch (pinfo [0].XXX_P_STAT) {
|
||||
case SIDL:
|
||||
--- sysdeps/freebsd/procuid.c.orig Thu Sep 16 16:08:07 1999
|
||||
+++ sysdeps/freebsd/procuid.c Fri Dec 22 18:37:41 2000
|
||||
@@ -86,13 +86,38 @@
|
||||
--- sysdeps/freebsd/procuid.c.orig Fri Sep 17 06:08:07 1999
|
||||
+++ sysdeps/freebsd/procuid.c Thu Feb 15 01:16:50 2001
|
||||
@@ -86,13 +86,42 @@
|
||||
|
||||
- buf->uid = pinfo [0].kp_eproc.e_pcred.p_ruid;
|
||||
- buf->euid = pinfo [0].kp_eproc.e_pcred.p_svuid;
|
||||
|
@ -95,7 +95,11 @@
|
|||
+#define XXX_E_PGID ki_pgid
|
||||
+#define XXX_E_TPGID ki_tpgid
|
||||
+#define XXX_P_NICE ki_nice
|
||||
+#if __FreeBSD_version >= 500013
|
||||
+#define XXX_P_PRIORITY ki_pri.pri_user
|
||||
+#else
|
||||
+#define XXX_P_PRIORITY ki_priority
|
||||
+#endif
|
||||
+#else
|
||||
+
|
||||
+#define XXX_P_RUID kp_eproc.e_pcred.p_ruid
|
||||
|
@ -122,8 +126,8 @@
|
|||
+ buf->nice = pinfo [0].XXX_P_NICE;
|
||||
+ buf->priority = pinfo [0].XXX_P_PRIORITY;
|
||||
|
||||
--- sysdeps/freebsd/proctime.c.orig Thu Sep 16 16:08:07 1999
|
||||
+++ sysdeps/freebsd/proctime.c Fri Dec 22 22:45:57 2000
|
||||
--- sysdeps/freebsd/proctime.c.orig Fri Sep 17 06:08:07 1999
|
||||
+++ sysdeps/freebsd/proctime.c Thu Feb 15 01:15:11 2001
|
||||
@@ -68,5 +68,2 @@
|
||||
u_quad_t u, st, ut, it, tot;
|
||||
-#if (__FreeBSD_version < 300003)
|
||||
|
@ -150,10 +154,14 @@
|
|||
- buf->rtime = tv2sec (pinfo [0].kp_proc.p_rtime);
|
||||
+ buf->rtime = pinfo [0].kp_proc.p_runtime;
|
||||
#endif
|
||||
@@ -194,2 +186,13 @@
|
||||
@@ -194,2 +186,17 @@
|
||||
#else
|
||||
+#if __FreeBSD_version >= 500013
|
||||
+#if __FreeBSD_version >= 500016
|
||||
+ if ((pinfo [0].ki_flag & PS_INMEM)) {
|
||||
+#else
|
||||
+ if ((pinfo [0].ki_flag & P_INMEM)) {
|
||||
+#endif
|
||||
+ buf->utime = pinfo [0].ki_runtime;
|
||||
+ buf->stime = 0; /* XXX */
|
||||
+ buf->cutime = tv2sec (pinfo [0].ki_childtime);
|
||||
|
@ -164,7 +172,7 @@
|
|||
+
|
||||
+#else
|
||||
glibtop_suid_enter (server);
|
||||
@@ -224,2 +227,3 @@
|
||||
@@ -224,2 +231,3 @@
|
||||
}
|
||||
+#endif
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ lib/libgtop_sysdeps.so.1
|
|||
lib/libgtop_sysdeps_suid.a
|
||||
lib/libgtop_sysdeps_suid.so
|
||||
lib/libgtop_sysdeps_suid.so.1
|
||||
share/locale/az/LC_MESSAGES/libgtop.mo
|
||||
share/locale/da/LC_MESSAGES/libgtop.mo
|
||||
share/locale/de/LC_MESSAGES/libgtop.mo
|
||||
share/locale/es/LC_MESSAGES/libgtop.mo
|
||||
|
@ -92,5 +93,8 @@ share/locale/ko/LC_MESSAGES/libgtop.mo
|
|||
share/locale/nl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/no/LC_MESSAGES/libgtop.mo
|
||||
share/locale/pl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sk/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sv/LC_MESSAGES/libgtop.mo
|
||||
@dirrm include/glibtop
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= libgtop
|
||||
PORTVERSION= 1.0.10
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.0.11
|
||||
CATEGORIES= devel gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= stable/sources/libgtop
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (libgtop-1.0.10.tar.gz) = f8aefa42abd6be0db114432bf59853a6
|
||||
MD5 (libgtop-1.0.11.tar.gz) = 29f349af7494882b15c4de805534d778
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
--- src/daemon/Makefile.in.orig Tue Mar 2 18:48:38 1999
|
||||
+++ src/daemon/Makefile.in Tue Mar 2 18:49:07 1999
|
||||
@@ -191,7 +191,7 @@
|
||||
|
||||
|
||||
libgtop_server_SOURCES = server.c slave.c io.c version.c daemon.h
|
||||
-libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la $(top_builddir)/sysdeps/common/libgtop_suid_common.la @LIBSUPPORT@
|
||||
+libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la $(top_builddir)/sysdeps/common/libgtop_suid_common.la @LIBSUPPORT@ @INTLLIBS@ @libs_xauth@
|
||||
|
||||
|
||||
EXTRA_DIST = server_config.h.in server_config.pl
|
||||
--- Makefile.in.orig Tue Oct 19 06:04:23 1999
|
||||
+++ Makefile.in Tue Oct 26 11:42:07 1999
|
||||
@@ -187,7 +187,7 @@
|
||||
|
|
|
@ -71,9 +71,9 @@
|
|||
- switch (pinfo [0].kp_proc.p_stat) {
|
||||
+ switch (pinfo [0].XXX_P_STAT) {
|
||||
case SIDL:
|
||||
--- sysdeps/freebsd/procuid.c.orig Thu Sep 16 16:08:07 1999
|
||||
+++ sysdeps/freebsd/procuid.c Fri Dec 22 18:37:41 2000
|
||||
@@ -86,13 +86,38 @@
|
||||
--- sysdeps/freebsd/procuid.c.orig Fri Sep 17 06:08:07 1999
|
||||
+++ sysdeps/freebsd/procuid.c Thu Feb 15 01:16:50 2001
|
||||
@@ -86,13 +86,42 @@
|
||||
|
||||
- buf->uid = pinfo [0].kp_eproc.e_pcred.p_ruid;
|
||||
- buf->euid = pinfo [0].kp_eproc.e_pcred.p_svuid;
|
||||
|
@ -95,7 +95,11 @@
|
|||
+#define XXX_E_PGID ki_pgid
|
||||
+#define XXX_E_TPGID ki_tpgid
|
||||
+#define XXX_P_NICE ki_nice
|
||||
+#if __FreeBSD_version >= 500013
|
||||
+#define XXX_P_PRIORITY ki_pri.pri_user
|
||||
+#else
|
||||
+#define XXX_P_PRIORITY ki_priority
|
||||
+#endif
|
||||
+#else
|
||||
+
|
||||
+#define XXX_P_RUID kp_eproc.e_pcred.p_ruid
|
||||
|
@ -122,8 +126,8 @@
|
|||
+ buf->nice = pinfo [0].XXX_P_NICE;
|
||||
+ buf->priority = pinfo [0].XXX_P_PRIORITY;
|
||||
|
||||
--- sysdeps/freebsd/proctime.c.orig Thu Sep 16 16:08:07 1999
|
||||
+++ sysdeps/freebsd/proctime.c Fri Dec 22 22:45:57 2000
|
||||
--- sysdeps/freebsd/proctime.c.orig Fri Sep 17 06:08:07 1999
|
||||
+++ sysdeps/freebsd/proctime.c Thu Feb 15 01:15:11 2001
|
||||
@@ -68,5 +68,2 @@
|
||||
u_quad_t u, st, ut, it, tot;
|
||||
-#if (__FreeBSD_version < 300003)
|
||||
|
@ -150,10 +154,14 @@
|
|||
- buf->rtime = tv2sec (pinfo [0].kp_proc.p_rtime);
|
||||
+ buf->rtime = pinfo [0].kp_proc.p_runtime;
|
||||
#endif
|
||||
@@ -194,2 +186,13 @@
|
||||
@@ -194,2 +186,17 @@
|
||||
#else
|
||||
+#if __FreeBSD_version >= 500013
|
||||
+#if __FreeBSD_version >= 500016
|
||||
+ if ((pinfo [0].ki_flag & PS_INMEM)) {
|
||||
+#else
|
||||
+ if ((pinfo [0].ki_flag & P_INMEM)) {
|
||||
+#endif
|
||||
+ buf->utime = pinfo [0].ki_runtime;
|
||||
+ buf->stime = 0; /* XXX */
|
||||
+ buf->cutime = tv2sec (pinfo [0].ki_childtime);
|
||||
|
@ -164,7 +172,7 @@
|
|||
+
|
||||
+#else
|
||||
glibtop_suid_enter (server);
|
||||
@@ -224,2 +227,3 @@
|
||||
@@ -224,2 +231,3 @@
|
||||
}
|
||||
+#endif
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ lib/libgtop_sysdeps.so.1
|
|||
lib/libgtop_sysdeps_suid.a
|
||||
lib/libgtop_sysdeps_suid.so
|
||||
lib/libgtop_sysdeps_suid.so.1
|
||||
share/locale/az/LC_MESSAGES/libgtop.mo
|
||||
share/locale/da/LC_MESSAGES/libgtop.mo
|
||||
share/locale/de/LC_MESSAGES/libgtop.mo
|
||||
share/locale/es/LC_MESSAGES/libgtop.mo
|
||||
|
@ -92,5 +93,8 @@ share/locale/ko/LC_MESSAGES/libgtop.mo
|
|||
share/locale/nl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/no/LC_MESSAGES/libgtop.mo
|
||||
share/locale/pl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sk/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sl/LC_MESSAGES/libgtop.mo
|
||||
share/locale/sv/LC_MESSAGES/libgtop.mo
|
||||
@dirrm include/glibtop
|
||||
|
|
Loading…
Reference in a new issue