* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/netcat-cpi/
@ 2021-12-07 16:01 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2021-12-07 16:01 UTC (permalink / raw
To: gentoo-commits
commit: 7da4a306ed3996e640cefcfbee9a785c413d731b
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec 7 15:59:04 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 7 16:00:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7da4a306
media-sound/netcat-cpi: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
media-sound/netcat-cpi/Manifest | 1 +
media-sound/netcat-cpi/metadata.xml | 8 +++++
.../netcat-cpi/netcat-cpi-2014.04.29.ebuild | 40 ++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/media-sound/netcat-cpi/Manifest b/media-sound/netcat-cpi/Manifest
new file mode 100644
index 000000000..716e0971d
--- /dev/null
+++ b/media-sound/netcat-cpi/Manifest
@@ -0,0 +1 @@
+DIST netcat-cpi-2014.04.29.tar.gz 56945680 BLAKE2B e5faecdbb14c95add1dcc4052c0a6d379811173ee874f4c98f2b12d825b2783a884a38fcc51d228d30e2d75987c27269ed197fc1ec2cebef35209e414e413bde SHA512 e43534c4642999b1c3fdfa4463f4dffd7c0239a14a5025c8129093ef1b2a6720d2373a42055ce13371cbae4d1db5777cbb9f08349b5683d1f000b0ea45bcea35
diff --git a/media-sound/netcat-cpi/metadata.xml b/media-sound/netcat-cpi/metadata.xml
new file mode 100644
index 000000000..7ebbd0334
--- /dev/null
+++ b/media-sound/netcat-cpi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild b/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
new file mode 100644
index 000000000..867068c68
--- /dev/null
+++ b/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod optfeature
+
+MY_PN="${PN}-kernel-module"
+COMMIT="c8798d698f9af5daf2be1be3d998e66374698271"
+DESCRIPTION="Kernel module edition of the Cycles Per Instruction (2014) album"
+HOMEPAGE="http://netcat.co https://github.com/usrbinnc/netcat-cpi-kernel-module"
+SRC_URI="https://github.com/usrbinnc/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${COMMIT}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ virtual/linux-sources
+ sys-kernel/linux-headers
+"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ BUILD_TARGETS="clean all"
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+ MODULE_NAMES="netcat(misc)"
+}
+
+src_prepare() {
+ default
+ sed '/module_exit/a\MODULE_LICENSE("Proprietary");' -i netcat_main.c || die
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ optfeature "playing the album" media-sound/vorbis-tools[ogg123]
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/netcat-cpi/
@ 2023-06-21 12:00 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2023-06-21 12:00 UTC (permalink / raw
To: gentoo-commits
commit: 05d218131df5a7df227b4a1930157ba48a9d03d0
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun 21 11:59:56 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun 21 12:00:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05d21813
media-sound/netcat-cpi: switch to linux-mod-r1
Closes: https://bugs.gentoo.org/908941
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
...4.29.ebuild => netcat-cpi-2014.04.29-r1.ebuild} | 28 +++++++++-------------
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild b/media-sound/netcat-cpi/netcat-cpi-2014.04.29-r1.ebuild
similarity index 70%
rename from media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
rename to media-sound/netcat-cpi/netcat-cpi-2014.04.29-r1.ebuild
index 867068c68..80af69253 100644
--- a/media-sound/netcat-cpi/netcat-cpi-2014.04.29.ebuild
+++ b/media-sound/netcat-cpi/netcat-cpi-2014.04.29-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit linux-mod optfeature
+inherit linux-mod-r1 optfeature
MY_PN="${PN}-kernel-module"
COMMIT="c8798d698f9af5daf2be1be3d998e66374698271"
@@ -16,25 +16,19 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
-BDEPEND="
- virtual/linux-sources
- sys-kernel/linux-headers
-"
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- BUILD_TARGETS="clean all"
- BUILD_PARAMS="KERNELDIR=${KV_DIR}"
- MODULE_NAMES="netcat(misc)"
-}
-
src_prepare() {
default
sed '/module_exit/a\MODULE_LICENSE("Proprietary");' -i netcat_main.c || die
}
+src_compile() {
+ local modlist=( netcat=misc )
+ local modargs=( KERNELDIR="${KV_OUT_DIR}" )
+
+ linux-mod-r1_src_compile
+}
+
pkg_postinst() {
- linux-mod_pkg_postinst
+ linux-mod-r1_pkg_postinst
optfeature "playing the album" media-sound/vorbis-tools[ogg123]
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-21 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-07 16:01 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/netcat-cpi/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2023-06-21 12:00 Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox