pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new package inxi in wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Sat Nov 26 00:11:47 2022 +0000
Changeset:	32ddf8b444830afb258e1883a99a95d20b048387

Modified Files:
	Makefile
Added Files:
	inxi/DESCR
	inxi/Makefile
	inxi/PLIST
	inxi/distinfo
	inxi/patches/patch-inxi

Log Message:
new package inxi in wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32ddf8b444830afb258e1883a99a95d20b048387

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 inxi/DESCR              |  3 +++
 inxi/Makefile           | 28 ++++++++++++++++++++++++++++
 inxi/PLIST              |  3 +++
 inxi/distinfo           |  6 ++++++
 inxi/patches/patch-inxi | 13 +++++++++++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 19ef57aae7..887386b435 100644
--- a/Makefile
+++ b/Makefile
@@ -1802,6 +1802,7 @@ SUBDIR+=	input-mono-ttf
 SUBDIR+=	intel-gpu-tools
 SUBDIR+=	interbase-docs
 SUBDIR+=	intervaltree
+SUBDIR+=	inxi
 SUBDIR+=	io-base
 SUBDIR+=	io-blowfish
 SUBDIR+=	io-cgi
diff --git a/inxi/DESCR b/inxi/DESCR
new file mode 100644
index 0000000000..8e1521c529
--- /dev/null
+++ b/inxi/DESCR
@@ -0,0 +1,3 @@
+Inxi is a system information script that can display various things about
+your hardware and software to users in an IRC chatroom or support
+forum. It runs with the /exec command in most IRC clients
diff --git a/inxi/Makefile b/inxi/Makefile
new file mode 100644
index 0000000000..fb20cc6377
--- /dev/null
+++ b/inxi/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	inxi_3.3.01-1.orig
+PKGNAME=	inxi-3.3.01
+CATEGORIES=	sysutils
+MASTER_SITES=	http://deb.debian.org/debian/pool/main/i/inxi/
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://smxi.org/docs/inxi.htm
+COMMENT=	full featured system information script
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=		${WRKDIR}/inxi-3.3.01-1
+
+USE_TOOLS+=	perl
+USE_LANGUAGES=	# none
+
+NO_BUILD=	yes
+REPLACE_PERL+=	inxi
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/inxi ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN}	${WRKSRC}/inxi.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/inxi/PLIST b/inxi/PLIST
new file mode 100644
index 0000000000..b91def8253
--- /dev/null
+++ b/inxi/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/inxi
+man/man${PKGVERSION}/inxi.${PKGVERSION}
diff --git a/inxi/distinfo b/inxi/distinfo
new file mode 100644
index 0000000000..4bfc72d048
--- /dev/null
+++ b/inxi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (inxi_3.3.01-1.orig.tar.gz) = 7fdec1fb64834b066fbab7ba4a5fdc53650b6e3add3158bbcd5a01386de5f152
+SHA512 (inxi_3.3.01-1.orig.tar.gz) = f5638dfbbe9696970a3075e10fe69fa88a9cefe5253c57a5ab18500edf18483c3929afd74ca4dd219f128472f9b4e090c8be857fbcdecd06c4bd705d47226826
+Size (inxi_3.3.01-1.orig.tar.gz) = 399932 bytes
+SHA1 (patch-inxi) = 871f4c8085dfa27e951898af343db5f01fd2d211
diff --git a/inxi/patches/patch-inxi b/inxi/patches/patch-inxi
new file mode 100644
index 0000000000..8f1b47b2b8
--- /dev/null
+++ b/inxi/patches/patch-inxi
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- inxi.orig	2022-11-25 23:35:00.340304247 +0000
++++ inxi
+@@ -470,7 +470,7 @@ sub set_path {
+ 	my (@path);
+ 	# NOTE: recent Xorg's show error if you try /usr/bin/Xorg -version but work 
+ 	# if you use the /usr/lib/xorg-server/Xorg path.
+-	@paths = qw(/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin);
++	@paths = qw(/sbin /bin /usr/sbin /usr/bin /usr/pkg/bin /usr/pkg/sbin /usr/local/sbin /usr/local/bin);
+ 	@path = split(':', $ENV{'PATH'}) if $ENV{'PATH'};
+ 	# print "paths: @paths\nPATH: $ENV{'PATH'}\n";
+ 	# Create a difference of $PATH and $extra_paths and add that to $PATH:


Home | Main Index | Thread Index | Old Index