[OpenAFS-port-freebsd] net/openafs fails on FreeBSD-10.3 (afs_sysnames.h not updated)

Jan Henrik Sylvester me@janh.de
Fri, 27 May 2016 11:56:47 +0200


This is a multi-part message in MIME format.
--------------FE55FFB181856FB769A598A6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

On FreeBSD-10.3, I tried to build the net/openafs port you updated a few
hours ago. It failed due to SYS_NAME_ID_amd64_fbsd_103 not being declared.

With the patch attached, the port builds and the AFS works.

Trying to update afs_sysnames.h correctly, I wondered about IDs being
used more than once:

SYS_NAME_ID_i386_fbsd_45=SYS_NAME_ID_i386_fbsd_46=2103
SYS_NAME_ID_i386_fbsd_72=SYS_NAME_ID_i386_fbsd_100=2130
SYS_NAME_ID_i386_fbsd_73=SYS_NAME_ID_i386_fbsd_101=2131
SYS_NAME_ID_amd64_fbsd_72=SYS_NAME_ID_amd64_fbsd_100=3030
SYS_NAME_ID_amd64_fbsd_73=SYS_NAME_ID_amd64_fbsd_101=3031

Considering 4.5 and 4.6 the same might have been correct, but 7.2 is
10.0 and 7.3 is 10.1 -- weird.

Anyhow for 10.2 and 10.3, I used the next free number above the two for
10.1.

Cheers,
Jan Henrik

--------------FE55FFB181856FB769A598A6
Content-Type: text/plain; charset=UTF-8;
 name="openafs-port-fbsd103-patch.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="openafs-port-fbsd103-patch.txt"

LS0tIG5ldC9vcGVuYWZzL2ZpbGVzL3BhdGNoLXNyY19fY29uZmlnX19hZnNfc3lzbmFtZXMu
aC5vcmlnCTE5NzAtMDEtMDEgMDE6MDA6MDAuMDAwMDAwMDAwICswMTAwCisrKyBuZXQvb3Bl
bmFmcy9maWxlcy9wYXRjaC1zcmNfX2NvbmZpZ19fYWZzX3N5c25hbWVzLmgJMjAxNi0wNS0y
NyAxMDo1ODoxNC4yMjk2NjQwMDAgKzAyMDAKQEAgLTAsMCArMSwyMCBAQAorLS0tIHNyYy9j
b25maWcvYWZzX3N5c25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