mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 0.7
PR: ports/73175 Submitted by: cperciva (maintainer)
This commit is contained in:
parent
6e1438c60d
commit
f4111be940
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120289
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= est
|
||||
PORTVERSION= 0.6
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.daemonology.net/freebsd-est/
|
||||
|
||||
@ -23,12 +23,6 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||
PLIST_FILES= modules/est.ko \
|
||||
etc/rc.d/est.sh
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500023
|
||||
EXTRA_PATCHES= ${FILESDIR}/est.c.diff.fbsd4
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/est.sh > ${WRKDIR}/est.sh
|
||||
@ -40,4 +34,4 @@ post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/est.sh ${PREFIX}/etc/rc.d/est.sh
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (est-0.6.tar.gz) = 57cf42fa9d1bf213a25c70e3cf5a2e08
|
||||
SIZE (est-0.6.tar.gz) = 3891
|
||||
MD5 (est-0.7.tar.gz) = d35f170283d5f5cf4db6cae755ec3cb0
|
||||
SIZE (est-0.7.tar.gz) = 5031
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- est.c.orig Thu Aug 26 22:51:42 2004
|
||||
+++ est.c Thu Aug 26 22:53:59 2004
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/kernel.h>
|
||||
-#include <sys/pcpu.h>
|
||||
+#include <sys/proc.h>
|
||||
|
||||
typedef struct {
|
||||
int mhz;
|
||||
@@ -566,13 +566,13 @@
|
||||
|
||||
switch (what) {
|
||||
case MOD_LOAD:
|
||||
- err = kernel_sysctlbyname(curthread, "hw.model", hwmodel,
|
||||
+ err = kernel_sysctlbyname(curproc, "hw.model", hwmodel,
|
||||
&modellen, NULL, 0, NULL);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
ncpulen = sizeof(ncpu);
|
||||
- err = kernel_sysctlbyname(curthread, "hw.ncpu", &ncpu,
|
||||
+ err = kernel_sysctlbyname(curproc, "hw.ncpu", &ncpu,
|
||||
&ncpulen, NULL, 0, NULL);
|
||||
if (err)
|
||||
return err;
|
Loading…
Reference in New Issue
Block a user