mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
iana-etc: update to 20180731.
Fetch official data from IANA.
This commit is contained in:
parent
1b9feb5be8
commit
c6c381e55c
4 changed files with 11565 additions and 11 deletions
134
srcpkgs/iana-etc/files/protocols
Normal file
134
srcpkgs/iana-etc/files/protocols
Normal file
|
@ -0,0 +1,134 @@
|
||||||
|
hopopt 0 HOPOPT
|
||||||
|
icmp 1 ICMP
|
||||||
|
igmp 2 IGMP
|
||||||
|
ggp 3 GGP
|
||||||
|
ipv4 4 IPv4
|
||||||
|
st 5 ST
|
||||||
|
tcp 6 TCP
|
||||||
|
cbt 7 CBT
|
||||||
|
egp 8 EGP
|
||||||
|
igp 9 IGP
|
||||||
|
bbn-rcc-mon 10 BBN-RCC-MON
|
||||||
|
nvp-ii 11 NVP-II
|
||||||
|
pup 12 PUP
|
||||||
|
emcon 14 EMCON
|
||||||
|
xnet 15 XNET
|
||||||
|
chaos 16 CHAOS
|
||||||
|
udp 17 UDP
|
||||||
|
mux 18 MUX
|
||||||
|
dcn-meas 19 DCN-MEAS
|
||||||
|
hmp 20 HMP
|
||||||
|
prm 21 PRM
|
||||||
|
xns-idp 22 XNS-IDP
|
||||||
|
trunk-1 23 TRUNK-1
|
||||||
|
trunk-2 24 TRUNK-2
|
||||||
|
leaf-1 25 LEAF-1
|
||||||
|
leaf-2 26 LEAF-2
|
||||||
|
rdp 27 RDP
|
||||||
|
irtp 28 IRTP
|
||||||
|
iso-tp4 29 ISO-TP4
|
||||||
|
netblt 30 NETBLT
|
||||||
|
mfe-nsp 31 MFE-NSP
|
||||||
|
merit-inp 32 MERIT-INP
|
||||||
|
dccp 33 DCCP
|
||||||
|
3pc 34 3PC
|
||||||
|
idpr 35 IDPR
|
||||||
|
xtp 36 XTP
|
||||||
|
ddp 37 DDP
|
||||||
|
idpr-cmtp 38 IDPR-CMTP
|
||||||
|
tp++ 39 TP++
|
||||||
|
il 40 IL
|
||||||
|
ipv6 41 IPv6
|
||||||
|
sdrp 42 SDRP
|
||||||
|
ipv6-route 43 IPv6-Route
|
||||||
|
ipv6-frag 44 IPv6-Frag
|
||||||
|
idrp 45 IDRP
|
||||||
|
rsvp 46 RSVP
|
||||||
|
gre 47 GRE
|
||||||
|
dsr 48 DSR
|
||||||
|
bna 49 BNA
|
||||||
|
esp 50 ESP
|
||||||
|
ah 51 AH
|
||||||
|
i-nlsp 52 I-NLSP
|
||||||
|
narp 54 NARP
|
||||||
|
mobile 55 MOBILE
|
||||||
|
tlsp 56 TLSP
|
||||||
|
skip 57 SKIP
|
||||||
|
ipv6-icmp 58 IPv6-ICMP
|
||||||
|
ipv6-nonxt 59 IPv6-NoNxt
|
||||||
|
ipv6-opts 60 IPv6-Opts
|
||||||
|
cftp 62 CFTP
|
||||||
|
sat-expak 64 SAT-EXPAK
|
||||||
|
kryptolan 65 KRYPTOLAN
|
||||||
|
rvd 66 RVD
|
||||||
|
ippc 67 IPPC
|
||||||
|
sat-mon 69 SAT-MON
|
||||||
|
visa 70 VISA
|
||||||
|
ipcv 71 IPCV
|
||||||
|
cpnx 72 CPNX
|
||||||
|
cphb 73 CPHB
|
||||||
|
wsn 74 WSN
|
||||||
|
pvp 75 PVP
|
||||||
|
br-sat-mon 76 BR-SAT-MON
|
||||||
|
sun-nd 77 SUN-ND
|
||||||
|
wb-mon 78 WB-MON
|
||||||
|
wb-expak 79 WB-EXPAK
|
||||||
|
iso-ip 80 ISO-IP
|
||||||
|
vmtp 81 VMTP
|
||||||
|
secure-vmtp 82 SECURE-VMTP
|
||||||
|
vines 83 VINES
|
||||||
|
ttp 84 TTP
|
||||||
|
iptm 84 IPTM
|
||||||
|
nsfnet-igp 85 NSFNET-IGP
|
||||||
|
dgp 86 DGP
|
||||||
|
tcf 87 TCF
|
||||||
|
eigrp 88 EIGRP
|
||||||
|
ospfigp 89 OSPFIGP
|
||||||
|
sprite-rpc 90 Sprite-RPC
|
||||||
|
larp 91 LARP
|
||||||
|
mtp 92 MTP
|
||||||
|
ax.25 93 AX.25
|
||||||
|
ipip 94 IPIP
|
||||||
|
scc-sp 96 SCC-SP
|
||||||
|
etherip 97 ETHERIP
|
||||||
|
encap 98 ENCAP
|
||||||
|
gmtp 100 GMTP
|
||||||
|
ifmp 101 IFMP
|
||||||
|
pnni 102 PNNI
|
||||||
|
pim 103 PIM
|
||||||
|
aris 104 ARIS
|
||||||
|
scps 105 SCPS
|
||||||
|
qnx 106 QNX
|
||||||
|
a/n 107 A/N
|
||||||
|
ipcomp 108 IPComp
|
||||||
|
snp 109 SNP
|
||||||
|
compaq-peer 110 Compaq-Peer
|
||||||
|
ipx-in-ip 111 IPX-in-IP
|
||||||
|
vrrp 112 VRRP
|
||||||
|
pgm 113 PGM
|
||||||
|
l2tp 115 L2TP
|
||||||
|
ddx 116 DDX
|
||||||
|
iatp 117 IATP
|
||||||
|
stp 118 STP
|
||||||
|
srp 119 SRP
|
||||||
|
uti 120 UTI
|
||||||
|
smp 121 SMP
|
||||||
|
ptp 123 PTP
|
||||||
|
fire 125 FIRE
|
||||||
|
crtp 126 CRTP
|
||||||
|
crudp 127 CRUDP
|
||||||
|
sscopmce 128 SSCOPMCE
|
||||||
|
iplt 129 IPLT
|
||||||
|
sps 130 SPS
|
||||||
|
pipe 131 PIPE
|
||||||
|
sctp 132 SCTP
|
||||||
|
fc 133 FC
|
||||||
|
rsvp-e2e-ignore 134 RSVP-E2E-IGNORE
|
||||||
|
udplite 136 UDPLite
|
||||||
|
mpls-in-ip 137 MPLS-in-IP
|
||||||
|
manet 138 manet
|
||||||
|
hip 139 HIP
|
||||||
|
shim6 140 Shim6
|
||||||
|
wesp 141 WESP
|
||||||
|
rohc 142 ROHC
|
||||||
|
reserved 255 Reserved
|
11400
srcpkgs/iana-etc/files/services
Normal file
11400
srcpkgs/iana-etc/files/services
Normal file
File diff suppressed because it is too large
Load diff
20
srcpkgs/iana-etc/files/update.sh
Executable file
20
srcpkgs/iana-etc/files/update.sh
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
# Adapted from https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/iana-etc
|
||||||
|
|
||||||
|
curl -sL https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml |
|
||||||
|
gawk -F"[<>]" '
|
||||||
|
/<record/ { v=n="" }
|
||||||
|
/<value/ { v=$3 }
|
||||||
|
/<name/ && $3!~/ / { n=$3 }
|
||||||
|
/<\/record/ && n && v!="" { printf "%-12s %3i %s\n", tolower(n),v,n }
|
||||||
|
' > protocols
|
||||||
|
|
||||||
|
curl -sL https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml |
|
||||||
|
gawk -F"[<>]" '
|
||||||
|
/<updated/ && !v {v=$3; gsub("-","",v); print "version=" v >"/dev/stderr" }
|
||||||
|
/<record/ { n=u=p=c="" }
|
||||||
|
/<name/ && !/\(/ { n=$3 }
|
||||||
|
/<number/ { u=$3 }
|
||||||
|
/<protocol/ { p=$3 }
|
||||||
|
/Unassigned/ || /Reserved/ || /historic/ { c=1 }
|
||||||
|
/<\/record/ && n && u && p && !c { printf "%-15s %5i/%s\n", n,u,p }
|
||||||
|
' > services
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'iana-etc'
|
# Template file for 'iana-etc'
|
||||||
pkgname=iana-etc
|
pkgname=iana-etc
|
||||||
version=2.30
|
version=20180731
|
||||||
revision=4
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
noarch="yes"
|
noarch=yes
|
||||||
build_style=gnu-makefile
|
|
||||||
make_install_target="PREFIX=/ install"
|
|
||||||
short_desc="Unix /etc/services and /etc/protocols files"
|
short_desc="Unix /etc/services and /etc/protocols files"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
homepage="http://sethwklein.net/iana-etc.html"
|
homepage="https://www.iana.org/protocols"
|
||||||
license="OSL-3.0"
|
license="Public Domain"
|
||||||
distfiles="http://sethwklein.net/$pkgname-$version.tar.bz2"
|
|
||||||
checksum=b9a6874fb20012836efef75452ef2acae624022d680feeb1994d73facba3f20d
|
do_install() {
|
||||||
make_check_target="test"
|
vconf ${FILESDIR}/protocols
|
||||||
|
vconf ${FILESDIR}/services
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue