1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 07:22:38 +01:00

sys-kernel/dracut-openssh: cosmetic changes

This commit is contained in:
2024-05-08 21:39:00 +02:00
parent 60c625b52b
commit 1e1fc7e08a
3 changed files with 27 additions and 10 deletions

View File

@@ -1,2 +1 @@
DIST dracut-openssh-0.3.tar.gz 13944 BLAKE2B 4116b892b2ed7988453d35cec2f2f3f73c56c24876d447d8f852fed1c820139a6ab9dab5a713e6e4d6664bc3f64a66422ce7ee453d5a294ba9e5ba30b20916eb SHA512 30b8dac3829574ecebc18f27ada22a5d9adbb5e61780d8aa9cd6dfbd55c06112174b482445dbe0b7c5d187a26963a6c31e4310f287d96220ff207918be3ba3c8
EBUILD dracut-openssh-0.3.ebuild 701 BLAKE2B e55a9071a46199f2c0ebb62764505c865e5b819123b4fc1a0234b6a6b772f3ea1c66fc44f90107f337d6ed27695352a7fa9531ad19d8b680dc09dbced18ab6dd SHA512 717cf05b09a16e564a2058e1566ec13d82de66b098c234e4fa646a7a7603d3a2dcc305c835765434e7424d8278c3defb3b93a55cfff27189eb7a0bc8a2f0d808

View File

@@ -1,26 +1,30 @@
# Copyright 2020 Gentoo Authors
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Dracut OpenSSH module"
HOMEPAGE="https://github.com/dguglielmi/dracut-openssh"
SRC_URI="https://github.com/dguglielmi/dracut-openssh/archive/v0.3.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/dguglielmi/dracut-openssh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd-networkd"
IUSE="systemd systemd-networkd"
DEPEND="!systemd-networkd? ( net-misc/dhcp )
DEPEND="
net-misc/openssh
sys-apps/systemd
sys-kernel/dracut"
RDEPEND="${DEPEND}"
sys-kernel/dracut
"
RDEPEND="
${DEPEND}
!systemd-networkd? ( net-misc/dhcp )
systemd? ( sys-apps/systemd )
"
src_install() {
emake PREFIX=${D} install
emake PREFIX="${D}" install
if use systemd-networkd; then
sed -i \

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>david.guglielmi@gmail.com</email>
<name>David GUGLIELMI</name>
</maintainer>
<use>
<flag name="systemd-networkd">Enable systemd-networkd support</flag>
</use>
<upstream>
<remote-id type="github">dguglielmi/dracut-openssh</remote-id>
</upstream>
</pkgmetadata>