From 66bd3e48e852bc4c273257d0bee774787d7ff158 Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Thu, 4 Jul 2024 16:42:18 +0300 Subject: [PATCH] Initial Commit --- iana-etc-src.bpm | Bin 0 -> 739 bytes pkg.info | 6 ++++++ source.sh | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 iana-etc-src.bpm create mode 100644 pkg.info create mode 100644 source.sh diff --git a/iana-etc-src.bpm b/iana-etc-src.bpm new file mode 100644 index 0000000000000000000000000000000000000000..59257941e85f75e7631c11812d68ac80c3808096 GIT binary patch literal 739 zcmV<90v!DxiwFP!000001MQVtYuhjsfb*S)dPDn~ktGDZOluMU@pt z)Uk{tC(TO!`;KDgQd(N}(2W&+1Y&fK&Q0e?*^AoQ*R(qA zO0yHT!mt~Loo=Pk>~vb)3N+p_s13O`Q~^{N&6wgm<0@9q>AfcZPf6*F_dw8;*12IM z;+iRu86ndi1h^7pN*c*zqJgGSv81`03&u5|Y%U@m!R-=;{ZXIHxzg*cEj-jlx6vZG zN_sFgCeytjSS%L4b>&MH?+g>F*i;zKOs+5%nl6c1X85ILt{5l(x(MGQ(W`Z*lb@2qS*LHL5#1j&abZsIT`;PosRn_N8aX!jD?xzw?0-d zI1}u1E7;u3f#M0Ln(H8vi!_lm3ThA5*7^5uH$Mg!m&5UBwbiaamHF7_e*DWLUx%lI zQU7dkf|W;z?S^&U8C4u6dCKfd@TddIVkjvM$jSQKHo`7_Qnu9o?%Wn& zA{A_cx1}gbZC@3vpRp@wY_>aeCY3b_iDc9oB4u13KEeY5Sj60bSKFlE;gX%?`u%)@ z%bP4csMoc@Uas4&lqsI4K59b!7d*Hgw!W^&HUbnH~vI;`{F zrdc-L&R7{inda;cC1tQh-+1;BMhVMc|0OP8>8F}2_kubc4u`|xa5x+ehr{7;I2;a# V!{Kl^91h3(=Qp)eirfGw001UgXs7@H literal 0 HcmV?d00001 diff --git a/pkg.info b/pkg.info new file mode 100644 index 0000000..0e14ada --- /dev/null +++ b/pkg.info @@ -0,0 +1,6 @@ +name: iana-etc +description: /etc/protocols and /etc/services provided by IANA +version: 20240502 +url: https://www.iana.org/protocols +architecture: any +type: source diff --git a/source.sh b/source.sh new file mode 100644 index 0000000..31eb2bf --- /dev/null +++ b/source.sh @@ -0,0 +1,20 @@ +# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package +# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE +# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT + +DOWNLOAD="https://github.com/Mic92/iana-etc/releases/download/${BPM_PKG_VERSION}/iana-etc-${BPM_PKG_VERSION}.tar.gz" +FILENAME="${DOWNLOAD##*/}" + +# The prepare function is executed in the root of the temp directory +# This function is used for downloading files and putting them into the correct location +prepare() { + wget "$DOWNLOAD" + tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" +} + +# The package function is executed in the source directory +# This function is used to move the compiled files into the output directory +package() { + mkdir "$BPM_OUTPUT"/etc + cp services protocols "$BPM_OUTPUT"/etc +}