diff options
author | pav <pav@FreeBSD.org> | 2008-03-25 23:39:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-03-25 23:39:33 +0800 |
commit | 872640368d18e4d0c079cd5952c10070451a7f35 (patch) | |
tree | 106f6ac01f35341b292865a36de47aa1e36a7ec1 /sysutils/smartmontools-devel | |
parent | bb7a285443c670b6388ab6c77facd96a2a65d28c (diff) | |
download | freebsd-ports-gnome-872640368d18e4d0c079cd5952c10070451a7f35.tar.gz freebsd-ports-gnome-872640368d18e4d0c079cd5952c10070451a7f35.tar.zst freebsd-ports-gnome-872640368d18e4d0c079cd5952c10070451a7f35.zip |
- Update to 5.38
- Mark the CISS patch as broken, it wasn't update to 5.38
Diffstat (limited to 'sysutils/smartmontools-devel')
-rw-r--r-- | sysutils/smartmontools-devel/Makefile | 5 | ||||
-rw-r--r-- | sysutils/smartmontools-devel/distinfo | 6 | ||||
-rw-r--r-- | sysutils/smartmontools-devel/files/patch-knowndrives.cpp | 15 | ||||
-rw-r--r-- | sysutils/smartmontools-devel/files/patch-os__freebsd.cpp | 25 |
4 files changed, 24 insertions, 27 deletions
diff --git a/sysutils/smartmontools-devel/Makefile b/sysutils/smartmontools-devel/Makefile index d5a5ee4525a9..66868bc8b250 100644 --- a/sysutils/smartmontools-devel/Makefile +++ b/sysutils/smartmontools-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= smartmontools -PORTVERSION= 5.37 -PORTREVISION= 2 +PORTVERSION= 5.38 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -36,6 +35,8 @@ IGNORE= built WITH_CISS requires /sys/dev/ciss/cissio.h . endif CFLAGS+= -I/sys/dev/ciss -I${FILESDIR} EXTRA_PATCHES= ${FILESDIR}/ciss-patch + +BROKEN= does not work with 5.38 .endif post-patch: diff --git a/sysutils/smartmontools-devel/distinfo b/sysutils/smartmontools-devel/distinfo index 7b927a1c4ff0..a604c0dabdad 100644 --- a/sysutils/smartmontools-devel/distinfo +++ b/sysutils/smartmontools-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (smartmontools-5.37.tar.gz) = 4ab3668b7d1362ce923f64a211e0e568 -SHA256 (smartmontools-5.37.tar.gz) = 2984645b207c52ea9b8ef3951af8bd0c5aab469607fabf63ade05f8fe87309c1 -SIZE (smartmontools-5.37.tar.gz) = 590605 +MD5 (smartmontools-5.38.tar.gz) = a282846532ecbd6b4a28072373b3a70b +SHA256 (smartmontools-5.38.tar.gz) = b2097320a1fca4851f1377a14f4cc14a46e27d2a44ca017c40a6cb618b2f31e8 +SIZE (smartmontools-5.38.tar.gz) = 617326 diff --git a/sysutils/smartmontools-devel/files/patch-knowndrives.cpp b/sysutils/smartmontools-devel/files/patch-knowndrives.cpp index 07291d4df9be..70071494c1a0 100644 --- a/sysutils/smartmontools-devel/files/patch-knowndrives.cpp +++ b/sysutils/smartmontools-devel/files/patch-knowndrives.cpp @@ -1,14 +1,11 @@ - -$FreeBSD$ - ---- knowndrives.cpp.orig -+++ knowndrives.cpp -@@ -1031,7 +1031,7 @@ +--- knowndrives.cpp.orig 2008-02-02 19:10:48.000000000 +0100 ++++ knowndrives.cpp 2008-03-14 13:35:59.000000000 +0100 +@@ -1155,7 +1155,7 @@ NULL, NULL, NULL, NULL }, - { "Western Digital Caviar SE (Serial ATA) family", -- "^WDC WD((4|8|12|16|20|25|32)00JD|(12|16|20|25|30|32)00JS|1600AAJS)-.*$", -+ "^WDC WD((4|8|12|16|20|25|32)00[JP]D|(12|16|20|25|30|32)00JS|1600AAJS)-.*$", + { "Western Digital Caviar SE Serial ATA family", +- "^WDC WD((4|8|12|16|20|25|32|40)00(JD|KD))-.*$", ++ "^WDC WD((4|8|12|16|20|25|32|40)00(JD|KD|PD))-.*$", ".*", NULL, NULL, NULL, NULL }, diff --git a/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp b/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp index 8521192345c1..288eb2cc07bf 100644 --- a/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp +++ b/sysutils/smartmontools-devel/files/patch-os__freebsd.cpp @@ -1,6 +1,14 @@ ---- os_freebsd.cpp.orig 2006-09-17 05:17:53.000000000 +0200 -+++ os_freebsd.cpp 2007-10-21 18:09:02.000000000 +0200 -@@ -873,6 +873,7 @@ +--- os_freebsd.cpp.orig 2008-03-04 23:09:47.000000000 +0100 ++++ os_freebsd.cpp 2008-03-14 13:52:37.000000000 +0100 +@@ -272,7 +272,6 @@ + } + + int highpoint_command_interface(__unused int fd, __unused smart_command_set command, __unused int select, __unused char *data) { +-{ + return -1; + } + +@@ -924,6 +923,7 @@ static const char * fbsd_dev_prefix = "/dev/"; static const char * fbsd_dev_ata_disk_prefix = "ad"; static const char * fbsd_dev_scsi_disk_plus = "da"; @@ -8,7 +16,7 @@ static const char * fbsd_dev_scsi_tape1 = "sa"; static const char * fbsd_dev_scsi_tape2 = "nsa"; static const char * fbsd_dev_scsi_tape3 = "esa"; -@@ -908,6 +909,11 @@ +@@ -960,6 +960,11 @@ return CONTROLLER_ATA; } @@ -20,12 +28,3 @@ // form /dev/da* or da* if (!strncmp(fbsd_dev_scsi_disk_plus, dev_name, strlen(fbsd_dev_scsi_disk_plus))) -@@ -1008,7 +1014,7 @@ - // to first list. Turn on NOCHECK for second call. This results in no - // error if no more matches found, however it does append the actual - // pattern to the list of paths.... -- if ((retglob=glob(pattern1, GLOB_ERR, NULL, &globbuf)) || -+ if ((retglob=glob(pattern1, GLOB_ERR|GLOB_NOCHECK, NULL, &globbuf)) || - (retglob=glob(pattern2, GLOB_ERR|GLOB_APPEND|GLOB_NOCHECK,NULL,&globbuf))) { - int retval = -1; - // glob failed |