diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 18:00:25 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 18:00:25 -0500 |
| commit | df30352066a4373a912bc395b250b0b1fa2cf696 (patch) | |
| tree | 49c2c47431ac4c977b3f5b849123cfd4b767944f /net-libs/lwip | |
| parent | 46b253445e4dc73ee69188755ecbd45f6782960c (diff) | |
| download | baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.tar.gz baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.tar.xz baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.zip | |
Adding metadata
Diffstat (limited to 'net-libs/lwip')
| -rw-r--r-- | net-libs/lwip/Manifest | 2 | ||||
| -rw-r--r-- | net-libs/lwip/lwip-2.2.1_p5.ebuild | 57 | ||||
| -rw-r--r-- | net-libs/lwip/lwip-9999.ebuild | 57 | ||||
| -rw-r--r-- | net-libs/lwip/metadata.xml | 12 |
4 files changed, 128 insertions, 0 deletions
diff --git a/net-libs/lwip/Manifest b/net-libs/lwip/Manifest new file mode 100644 index 000000000000..63cdf0da89ec --- /dev/null +++ b/net-libs/lwip/Manifest @@ -0,0 +1,2 @@ +DIST lwip-2.2.1.zip 5087893 BLAKE2B 6c556a47db52b9ef78fbedaadcb3a3b561ea8e5f45d2b58353135e06e3e4366501263df083ce450580f8e129ea62d16fe9057ac61e6a159219dd3ee8db2b27d2 SHA512 feb37ce0dd452c1d0252311045e0e402944574b630c89855678435c0113b25359533ae503e747027cc0e2a0b32db0202f725367178c09ae6e6b351773c8998c3 +DIST lwip_2.2.1+dfsg1-5.debian.tar.xz 17292 BLAKE2B d04e74b64fd8eb8f2cee74ba7c3bb39163ff9cffb7fdc732188357bcb78e4568e543ec55bea06ea0c63a2d2848283de73b8b687b64a34a074c296c316a276284 SHA512 6896351d7d8453a0f230ecd3f0da8f2cf995c58598420cf36fb6a60d1b350206cefa530e5c1a0165a904a7bee706f2d41ec35c506f67ca537804c3a966ce7750 diff --git a/net-libs/lwip/lwip-2.2.1_p5.ebuild b/net-libs/lwip/lwip-2.2.1_p5.ebuild new file mode 100644 index 000000000000..5b7327483b30 --- /dev/null +++ b/net-libs/lwip/lwip-2.2.1_p5.ebuild @@ -0,0 +1,57 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edos2unix + +LWIP_BASE_S="${WORKDIR}"/${P%_p*} +LWIP_POSIX_S="${LWIP_BASE_S}"/contrib/ports/unix/posixlib + +DESCRIPTION="Small independent implementation of the TCP/IP protocol suite" +HOMEPAGE="https://savannah.nongnu.org/projects/lwip/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI=" + https://https.git.savannah.gnu.org/git/lwip.git + https://github.com/lwip-tcpip/lwip + " + inherit git-r3 +else + SRC_URI="mirror://nongnu/${PN}/${P%_p*}.zip" + + if [[ ${PV} == *_p* ]] ; then + LWIP_PV=+dfsg1-${PV#*_p} + SRC_URI+=" mirror://debian/pool/main/l/${PN}/${PN}_${PV%_p*}${LWIP_PV}.debian.tar.xz" + fi + + KEYWORDS="~amd64 ~x86" +fi + +S="${LWIP_POSIX_S}" + +LICENSE="BSD" +SLOT="0" + +BDEPEND="app-arch/unzip" + +src_prepare() { + cd "${LWIP_BASE_S}" || die + + # The .zips produced by upstream have Windows line-endings, but + # the Debian patches don't. But always do this for consistency + # for user patches. + edos2unix $(find "${LWIP_BASE_S}" -type 'f' || die) + + if [[ ${PV} == *_p* ]] ; then + eapply $(awk '{print $1}' "${WORKDIR}"/debian/patches/series | sed -e '/^#/d' -e "s:^:${WORKDIR}/debian/patches/:") + fi + + sed -i -e 's:-Werror::' \ + contrib/ports/CMakeCommon.cmake \ + contrib/ports/Common.allports.mk || die + + cd "${LWIP_POSIX_S}" || die + + cmake_src_prepare +} diff --git a/net-libs/lwip/lwip-9999.ebuild b/net-libs/lwip/lwip-9999.ebuild new file mode 100644 index 000000000000..5b7327483b30 --- /dev/null +++ b/net-libs/lwip/lwip-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edos2unix + +LWIP_BASE_S="${WORKDIR}"/${P%_p*} +LWIP_POSIX_S="${LWIP_BASE_S}"/contrib/ports/unix/posixlib + +DESCRIPTION="Small independent implementation of the TCP/IP protocol suite" +HOMEPAGE="https://savannah.nongnu.org/projects/lwip/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI=" + https://https.git.savannah.gnu.org/git/lwip.git + https://github.com/lwip-tcpip/lwip + " + inherit git-r3 +else + SRC_URI="mirror://nongnu/${PN}/${P%_p*}.zip" + + if [[ ${PV} == *_p* ]] ; then + LWIP_PV=+dfsg1-${PV#*_p} + SRC_URI+=" mirror://debian/pool/main/l/${PN}/${PN}_${PV%_p*}${LWIP_PV}.debian.tar.xz" + fi + + KEYWORDS="~amd64 ~x86" +fi + +S="${LWIP_POSIX_S}" + +LICENSE="BSD" +SLOT="0" + +BDEPEND="app-arch/unzip" + +src_prepare() { + cd "${LWIP_BASE_S}" || die + + # The .zips produced by upstream have Windows line-endings, but + # the Debian patches don't. But always do this for consistency + # for user patches. + edos2unix $(find "${LWIP_BASE_S}" -type 'f' || die) + + if [[ ${PV} == *_p* ]] ; then + eapply $(awk '{print $1}' "${WORKDIR}"/debian/patches/series | sed -e '/^#/d' -e "s:^:${WORKDIR}/debian/patches/:") + fi + + sed -i -e 's:-Werror::' \ + contrib/ports/CMakeCommon.cmake \ + contrib/ports/Common.allports.mk || die + + cd "${LWIP_POSIX_S}" || die + + cmake_src_prepare +} diff --git a/net-libs/lwip/metadata.xml b/net-libs/lwip/metadata.xml new file mode 100644 index 000000000000..d37c7343f554 --- /dev/null +++ b/net-libs/lwip/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>hurd@gentoo.org</email> + <name>GNU Hurd project</name> + </maintainer> + <upstream> + <remote-id type="savannah-nongnu">lwip</remote-id> + <remote-id type="github">lwip-tcpip/lwip</remote-id> + </upstream> +</pkgmetadata> |
