pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
confkerndev: Import confkerndev-0.0.1 as wip/confkerndev
Module Name: pkgsrc-wip
Committed By: Denis Bodor <lefinnois%lefinnois.net@localhost>
Pushed By: drrb
Date: Tue Feb 14 09:47:19 2023 +0100
Changeset: e6709f164a4ad7d709c7517307b30032dc72fac4
Modified Files:
Makefile
Added Files:
confkerndev/DESCR
confkerndev/Makefile
confkerndev/PLIST
confkerndev/distinfo
confkerndev/options.mk
Log Message:
confkerndev: Import confkerndev-0.0.1 as wip/confkerndev
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e6709f164a4ad7d709c7517307b30032dc72fac4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
confkerndev/DESCR | 5 +++++
confkerndev/Makefile | 37 +++++++++++++++++++++++++++++++++++++
confkerndev/PLIST | 3 +++
confkerndev/distinfo | 5 +++++
confkerndev/options.mk | 13 +++++++++++++
6 files changed, 64 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 81c82afcf6..03bf8850f9 100644
--- a/Makefile
+++ b/Makefile
@@ -525,6 +525,7 @@ SUBDIR+= compat80-x11
SUBDIR+= compiz-boxmenu
SUBDIR+= complexity
SUBDIR+= concorde
+SUBDIR+= confkerndev
SUBDIR+= conkeror
SUBDIR+= conky
SUBDIR+= consul
diff --git a/confkerndev/DESCR b/confkerndev/DESCR
new file mode 100644
index 0000000000..23a65472d5
--- /dev/null
+++ b/confkerndev/DESCR
@@ -0,0 +1,5 @@
+This tool allows you to disable drivers in a binary kernel file without
+recompiling from source. It browses the ELF file looking for the cfdata
+symbol and modifies the flag associated with the drivers specified on
+the command line.
+The way it works is quite similar to what OpenBSD's config command does.
diff --git a/confkerndev/Makefile b/confkerndev/Makefile
new file mode 100644
index 0000000000..f9502f32af
--- /dev/null
+++ b/confkerndev/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+PROGNAME= confkerndev
+VERS= 0.0.1
+
+DISTNAME= ${PROGNAME}-${VERS}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITLAB:=0xDRRB/}
+GITLAB_TAG= c04ed5bd08d4f79e06edefbb3a43b7f80307f0e5
+
+MAINTAINER= lefinnois%lefinnois.net@localhost
+HOMEPAGE= https://gitlab.com/0xDRRB/confkerndev/
+COMMENT= Command line tool to disable drivers in binary kernel file
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/${PROGNAME}-${GITLAB_TAG}
+
+USE_LANGUAGES+= c
+
+BUILD_TARGET= all
+
+.include "options.mk"
+
+PLIST_VARS+= build32
+.if !empty(PKG_OPTIONS:Mbuild32)
+PLIST.build32= yes
+.endif
+
+INSTALLATION_DIRS= sbin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGNAME} ${DESTDIR}${PREFIX}/sbin/${PROGNAME}
+.if !empty(PKG_OPTIONS:Mbuild32)
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGNAME}i386 ${DESTDIR}${PREFIX}/sbin/${PROGNAME}i386
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/confkerndev/PLIST b/confkerndev/PLIST
new file mode 100644
index 0000000000..9867faaef3
--- /dev/null
+++ b/confkerndev/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+sbin/confkerndev
+${PLIST.build32}sbin/confkerndevi386
diff --git a/confkerndev/distinfo b/confkerndev/distinfo
new file mode 100644
index 0000000000..fb476cf261
--- /dev/null
+++ b/confkerndev/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (confkerndev-0.0.1-c04ed5bd08d4f79e06edefbb3a43b7f80307f0e5.tar.gz) = 1d94333349b32e036d95dd844b99b5b6bacff8dba9940b46208ab3052d019ec6
+SHA512 (confkerndev-0.0.1-c04ed5bd08d4f79e06edefbb3a43b7f80307f0e5.tar.gz) = bd1141eb81386b43f4a34f3089f852da9fa3918ed126ffacd4153c9445900c97d59450569e929d212b3b1a9c184519eed233ca2a17af9ab2d379d74b5ae0a80e
+Size (confkerndev-0.0.1-c04ed5bd08d4f79e06edefbb3a43b7f80307f0e5.tar.gz) = 7214 bytes
diff --git a/confkerndev/options.mk b/confkerndev/options.mk
new file mode 100644
index 0000000000..5d829a2b09
--- /dev/null
+++ b/confkerndev/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+PKG_OPTIONS_VAR= PKG_OPTIONS.confkerndev
+PKG_SUPPORTED_OPTIONS= build32
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mbuild32)
+CONFKERNDEV_32TARGET= i386
+.else
+CONFKERNDEV_32TARGET=
+.endif
+
+BUILD_TARGET+= ${CONFKERNDEV_32TARGET}
Home |
Main Index |
Thread Index |
Old Index