1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

sysutils/cciss_vol_status: update to 1.12a

Changes since 1.12

       * Correct some logic, use bitwise instead of logical ands

While here, fix port Makefile bug checking for SRC_BASE
without including bsd.port.pre.mk, so SRC_BASE was always empty
and the check works due to /sys symlink pointing to real source tree;
the check failed without such /sys symlink.

Also, remove the patch upstreamed.

PR:		259462
Approved by:	Frank Wall (maintainer, initial patch)
This commit is contained in:
Eugene Grosbein 2021-10-27 05:22:27 +07:00
parent 1e58dd3aed
commit bcc1dd2fa2
No known key found for this signature in database
GPG Key ID: B0CD1AF226988B28
3 changed files with 9 additions and 20 deletions

View File

@ -1,7 +1,7 @@
# Created by: mm
PORTNAME= cciss_vol_status
PORTVERSION= 1.12
PORTVERSION= 1.12a
CATEGORIES= sysutils
MASTER_SITES= SF/cciss/${PORTNAME}
@ -16,12 +16,12 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/cciss_vol_status etc/periodic/daily/cciss_vol_status man/man8/cciss_vol_status.8.gz
SUB_FILES= cciss_vol_status
.if !exists(${SRC_BASE}/sys/dev/ciss/cissio.h)
IGNORE= cciss_vol_status requires kernel sources of the ciss driver
.endif
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/cciss_vol_status ${STAGEDIR}${PREFIX}/etc/periodic/daily/cciss_vol_status
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if !exists(${SRC_BASE}/sys/dev/ciss/cissio.h)
IGNORE= cciss_vol_status requires kernel sources of the ciss driver
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1510485982
SHA256 (cciss_vol_status-1.12.tar.gz) = a49abbfde6369416ac3d71bca6f60f342584eb99c786c080f8722ad19a17f91f
SIZE (cciss_vol_status-1.12.tar.gz) = 120346
TIMESTAMP = 1635285613
SHA256 (cciss_vol_status-1.12a.tar.gz) = db5a2508e4a5c57fb35a8b6d9c841db339b7386798a6c560d92f2369cf1cca47
SIZE (cciss_vol_status-1.12a.tar.gz) = 120748

View File

@ -1,11 +0,0 @@
--- cciss_vol_status.c.orig 2017-10-18 07:49:43.578445000 +0200
+++ cciss_vol_status.c 2017-10-18 07:51:20.372056000 +0200
@@ -1098,7 +1098,7 @@
break;
case 1: sprintf(raid_level, "RAID 4");
break;
- case 2: sprintf(raid_level, "RAID 1");
+ case 2: sprintf(raid_level, "RAID 1(1+0)");
break;
case 3: sprintf(raid_level, "RAID 5");
break;