public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-block/scsirastools/files/, sys-block/scsirastools/
@ 2022-03-19 18:20 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2022-03-19 18:20 UTC (permalink / raw
  To: gentoo-commits

commit:     4ef68f728e93ccb195b37da0be68cd92888b0012
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 18:19:43 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 18:19:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef68f72

sys-block/scsirastools: drop 1.5.7-r1, 1.6.4-r1

Closes: https://bugs.gentoo.org/835359
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-block/scsirastools/Manifest                    |  2 -
 .../files/scsirastools-1.5.6-glibc-2.10.patch      | 87 ----------------------
 .../files/scsirastools-1.5.7-sysmacros.patch       | 23 ------
 .../scsirastools/scsirastools-1.5.7-r1.ebuild      | 58 ---------------
 .../scsirastools/scsirastools-1.6.4-r1.ebuild      | 53 -------------
 5 files changed, 223 deletions(-)

diff --git a/sys-block/scsirastools/Manifest b/sys-block/scsirastools/Manifest
index 3b578032c07a..f6bb68fec95a 100644
--- a/sys-block/scsirastools/Manifest
+++ b/sys-block/scsirastools/Manifest
@@ -1,3 +1 @@
-DIST scsirastools-1.5.7.tar.gz 677348 BLAKE2B f94134fc9e4c17d794a77e42143d620fb8096e2cc64e66fa290563921fa625a322f823ba9f88c17547eb5f03e0a6caf14e106e9d0499afd301e6961fead0345c SHA512 399d366216b5f24ef67086b2e5713a259435293219e22166530a6b92a45519b677bd980906691d2166f1fa6b6ee873568b143df32cfed6a5500066ea914b12f2
-DIST scsirastools-1.6.4.tar.gz 659203 BLAKE2B d041d64662d13165baa1f182e765334ff9027325c90ae92557a48d1edbcba8e96376f0bd5fa1a9952557c74f1c0acad52aff415207c114df44459f1ad99f9da2 SHA512 a0331557eb9c535b3bf33a95994d957505873bc1b39ee240846161a79d7e1f7ed494b23678e23931e917014cf7ebb6a0dd81e5f62089db06e03cf138db06a0fa
 DIST scsirastools-1.6.6.tar.gz 813890 BLAKE2B 62ccbc2462e9d4d3ce3aba2a0c0c70b8634e41b8230415b0137674079fc2e73ea5006215ef7aa66f912170f1c485c5a03c3e365f280e8e173562f29a7952f56a SHA512 a679e41e0984e3aa21be57129329bd40a08a436c256645b4f8b00250f3f8f0c9d3cf15540f5f75a21d1b7b3826a0fc2830ad5f3ade54a6e703fc8ffbcc01d886

diff --git a/sys-block/scsirastools/files/scsirastools-1.5.6-glibc-2.10.patch b/sys-block/scsirastools/files/scsirastools-1.5.6-glibc-2.10.patch
deleted file mode 100644
index de874bad2911..000000000000
--- a/sys-block/scsirastools/files/scsirastools-1.5.6-glibc-2.10.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -ur scsirastools-1.5.6.orig/src/getmd.c scsirastools-1.5.6/src/getmd.c
---- scsirastools-1.5.6.orig/src/getmd.c	2007-02-02 21:16:38.000000000 +0200
-+++ scsirastools-1.5.6/src/getmd.c	2009-08-05 22:51:00.000000000 +0300
-@@ -81,7 +81,7 @@
-     } else return (-1);  /*not found*/
- }
- 
--static int getline(FILE * fd, char *buf, int len)
-+static int get_line(FILE * fd, char *buf, int len)
- {
-     int i;
-     int ch;
-@@ -119,7 +119,7 @@
-     sraidstr = strlen(raidstr);
-     strcpy(mdpart, "/dev/sda1");	/* default */
-     strcpy(rdev, "/dev/md0");	/* default */
--    while ((rlen = getline(fd, buf, 80)) > 0) {	/* process each line */
-+    while ((rlen = get_line(fd, buf, 80)) > 0) {	/* process each line */
- 	buf[rlen] = 0;		/* stringify */
- 	/* look for raiddev string */
- 	i = findmatch(buf, rlen, raidstr, sraidstr, 0);
-diff -ur scsirastools-1.5.6.orig/src/sgraidmon.c scsirastools-1.5.6/src/sgraidmon.c
---- scsirastools-1.5.6.orig/src/sgraidmon.c	2007-10-16 01:15:15.000000000 +0300
-+++ scsirastools-1.5.6/src/sgraidmon.c	2009-08-05 22:51:00.000000000 +0300
-@@ -330,7 +330,7 @@
-     rdev[0] = 0;	/* default rdev (mddev) */
-     strcpy(mdpart, "/dev/sdz1");	/* default mdpart */
-     foundit = 0;
--    while ((rlen = getline(fd, buf, 80)) > 0) {	/* process each line */
-+    while ((rlen = get_line(fd, buf, 80)) > 0) {	/* process each line */
- 	buf[rlen] = 0;		/* stringify */
- 	/* check for comment */
- 	if (buf[0] == '#') continue;
-@@ -392,7 +392,7 @@
-    if (fd == NULL) return (np);
-    sraidstr = strlen(raidstr);
-    sdevstr = strlen(devstr);
--   while ((rlen = getline(fd, buf, 80)) > 0) {	/* process each line */
-+   while ((rlen = get_line(fd, buf, 80)) > 0) {	/* process each line */
- 	buf[rlen] = 0;		/* stringify */
- 	/* check for comment */
- 	if (buf[0] == '#') continue;
-diff -ur scsirastools-1.5.6.orig/src/sgsafte.c scsirastools-1.5.6/src/sgsafte.c
---- scsirastools-1.5.6.orig/src/sgsafte.c	2007-09-13 00:45:29.000000000 +0300
-+++ scsirastools-1.5.6/src/sgsafte.c	2009-08-05 22:51:00.000000000 +0300
-@@ -231,7 +231,7 @@
-     rdev[0] = 0;	/* default rdev (mddev) */
-     strcpy(mdpart, "/dev/sdz1");	/* default mdpart */
-     foundit = 0;
--    while ((rlen = getline(fd, buf, 80)) > 0) {	/* process each line */
-+    while ((rlen = get_line(fd, buf, 80)) > 0) {	/* process each line */
- 	buf[rlen] = 0;		/* stringify */
- 	/* look for raiddev string */
- 	i = findmatch(buf, rlen, raidstr, sraidstr, 0);
-@@ -284,7 +284,7 @@
-    fd = fopen(raidfile, "r");
-    if (fd == NULL) return (np);
-    sraidstr = strlen(raidstr);
--   while ((rlen = getline(fd, buf, 80)) > 0) {	/* process each line */
-+   while ((rlen = get_line(fd, buf, 80)) > 0) {	/* process each line */
- 	buf[rlen] = 0;		/* stringify */
- 	/* look for raiddev string */
- 	i = findmatch(buf, rlen, raidstr, sraidstr, 0);
-diff -ur scsirastools-1.5.6.orig/src/sgsubmon.c scsirastools-1.5.6/src/sgsubmon.c
---- scsirastools-1.5.6.orig/src/sgsubmon.c	2007-10-16 17:03:39.000000000 +0300
-+++ scsirastools-1.5.6/src/sgsubmon.c	2009-08-05 22:51:00.000000000 +0300
-@@ -159,7 +159,7 @@
-    return;
- } 
- 
--int getline(FILE * fd, char *buf, int len)
-+int get_line(FILE * fd, char *buf, int len)
- {
-     int i;
-     int ch;
-diff -ur scsirastools-1.5.6.orig/src/sgsubmon.h scsirastools-1.5.6/src/sgsubmon.h
---- scsirastools-1.5.6.orig/src/sgsubmon.h	2007-09-13 00:38:28.000000000 +0300
-+++ scsirastools-1.5.6/src/sgsubmon.h	2009-08-05 22:50:59.000000000 +0300
-@@ -124,7 +124,7 @@
- void itoh(uchar * chp, int len, char *str);
- void dumpbufr(FILE * fdout, uchar * bufp, int mlen, char *hdr);
- void dump_buf(FILE * fdout, uchar * bufp, int mlen, char *hdr, char fascii);
--int  getline(FILE * fd, char *buf, int len) ;
-+int  get_line(FILE * fd, char *buf, int len) ;
- int  findmatch(char *buffer,int sbuf, char *pattern,int spattern,char figncase);
- int  fillstr(char *to, uchar *from,int len);
- int  IsSATA(int idev);

diff --git a/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch b/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch
deleted file mode 100644
index 76cef536de8f..000000000000
--- a/sys-block/scsirastools/files/scsirastools-1.5.7-sysmacros.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/580214
-https://sourceforge.net/p/scsirastools/bugs/16/
-
---- a/src/sgcommon.c
-+++ b/src/sgcommon.c
-@@ -62,6 +62,7 @@
-   -------------------------------------------------------------------------*/
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <unistd.h>
- #include <stdio.h>
- #include <stdlib.h>
---- a/src/sgsubmon.c
-+++ b/src/sgsubmon.c
-@@ -34,6 +34,7 @@
-  *---------------------------------------------------------------------------*/
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <unistd.h>
- #include <stdio.h>
- #include <stdlib.h>

diff --git a/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild b/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild
deleted file mode 100644
index 6fab3675a2ee..000000000000
--- a/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools epatch
-
-DESCRIPTION="Serviceability for SCSI Disks and Arrays"
-HOMEPAGE="http://scsirastools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=sys-apps/sg3_utils-1.44"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-sysmacros.patch #580214
-	# this builds a really old mdadm
-	sed -i \
-		-e '/RPMB/d' \
-		-e '/^SUBDIRS/s,mdadm.d,,' \
-		-e '/^SUBDIRS/s,files,,' \
-		Makefile.am || die "sed Makefile.am failed"
-	epatch "${FILESDIR}"/${PN}-1.5.6-glibc-2.10.patch
-	eautoreconf
-	# i386 ELF binaries in tarball = bad
-	rm -f "${S}"/files/alarms*
-
-	# Fix up /sbin instances to be /usr/sbin instead
-	for i in src/sgraidmon.c src/sgdiskmon.c ; do
-		sed -i "${S}"/${i} \
-			-e '/evtcmd\[\].*\"\/sbin\//s,/sbin/,/usr/sbin/,' \
-			|| die "Failed to set /sbin in sources"
-	done
-}
-
-src_configure() {
-	econf --sbindir=/usr/sbin
-}
-
-src_install() {
-	into /usr
-	docdir="/usr/share/doc/${PF}/"
-	emake install DESTDIR="${D}" datato="${D}${docdir}"
-	dosbin files/sgevt
-	dosbin files/mdevt
-	# unneeded files
-	rm -f "${D}"${docdir}/{SCSIRAS,COPYING}
-	# install modepage files
-	insinto /usr/share/${PN}
-	doins files/*.mdf
-	# new docs
-	dodoc ChangeLog AUTHORS TODO
-}

diff --git a/sys-block/scsirastools/scsirastools-1.6.4-r1.ebuild b/sys-block/scsirastools/scsirastools-1.6.4-r1.ebuild
deleted file mode 100644
index a0fd6aa0e5f1..000000000000
--- a/sys-block/scsirastools/scsirastools-1.6.4-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools epatch
-
-DESCRIPTION="Serviceability for SCSI Disks and Arrays"
-HOMEPAGE="http://scsirastools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=sys-apps/sg3_utils-1.44"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-1.5.7-sysmacros.patch #580214
-	# this builds a really old mdadm
-	sed -i \
-		-e '/RPMB/d' \
-		-e '/^SUBDIRS/s,mdadm.d,,' \
-		-e '/^SUBDIRS/s,files,,' \
-		Makefile.am || die "sed Makefile.am failed"
-	eautoreconf
-	# i386 ELF binaries in tarball = bad
-	rm "${S}"/files/ialarms* || die
-
-	# Fix up /sbin instances to be /usr/sbin instead
-	for i in src/sgraidmon.c src/sgdiskmon.c ; do
-		sed -i "${S}"/${i} \
-			-e '/evtcmd\[\].*\"\/sbin\//s,/sbin/,/usr/sbin/,' \
-			|| die "Failed to set /sbin in sources"
-	done
-}
-
-src_configure() {
-	econf --sbindir=/usr/sbin
-}
-
-src_install() {
-	local docdir="/usr/share/doc/${PF}"
-	emake install DESTDIR="${D}" datato="${ED}${docdir}"
-	dosbin files/sgevt files/mdevt
-	rm -f "${ED}${docdir}"/{SCSIRAS,COPYING}
-	# install modepage files
-	insinto /usr/share/${PN}
-	doins files/*.mdf
-	dodoc ChangeLog AUTHORS TODO
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-block/scsirastools/files/, sys-block/scsirastools/
@ 2022-03-19 18:20 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2022-03-19 18:20 UTC (permalink / raw
  To: gentoo-commits

commit:     408f407e2a8e4a3fc5222a9670fcde01f7783736
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 18:19:42 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 18:19:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408f407e

sys-block/scsirastools: add 1.6.6

Bug: https://bugs.gentoo.org/835359
Closes: https://bugs.gentoo.org/666536
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-block/scsirastools/Manifest                    |  1 +
 .../files/scsirastools-1.6.6-autotools.patch       | 71 ++++++++++++++++++++++
 .../files/scsirastools-1.6.6-prefix.patch          | 24 ++++++++
 sys-block/scsirastools/scsirastools-1.6.6.ebuild   | 43 +++++++++++++
 4 files changed, 139 insertions(+)

diff --git a/sys-block/scsirastools/Manifest b/sys-block/scsirastools/Manifest
index c410931fe358..3b578032c07a 100644
--- a/sys-block/scsirastools/Manifest
+++ b/sys-block/scsirastools/Manifest
@@ -1,2 +1,3 @@
 DIST scsirastools-1.5.7.tar.gz 677348 BLAKE2B f94134fc9e4c17d794a77e42143d620fb8096e2cc64e66fa290563921fa625a322f823ba9f88c17547eb5f03e0a6caf14e106e9d0499afd301e6961fead0345c SHA512 399d366216b5f24ef67086b2e5713a259435293219e22166530a6b92a45519b677bd980906691d2166f1fa6b6ee873568b143df32cfed6a5500066ea914b12f2
 DIST scsirastools-1.6.4.tar.gz 659203 BLAKE2B d041d64662d13165baa1f182e765334ff9027325c90ae92557a48d1edbcba8e96376f0bd5fa1a9952557c74f1c0acad52aff415207c114df44459f1ad99f9da2 SHA512 a0331557eb9c535b3bf33a95994d957505873bc1b39ee240846161a79d7e1f7ed494b23678e23931e917014cf7ebb6a0dd81e5f62089db06e03cf138db06a0fa
+DIST scsirastools-1.6.6.tar.gz 813890 BLAKE2B 62ccbc2462e9d4d3ce3aba2a0c0c70b8634e41b8230415b0137674079fc2e73ea5006215ef7aa66f912170f1c485c5a03c3e365f280e8e173562f29a7952f56a SHA512 a679e41e0984e3aa21be57129329bd40a08a436c256645b4f8b00250f3f8f0c9d3cf15540f5f75a21d1b7b3826a0fc2830ad5f3ade54a6e703fc8ffbcc01d886

diff --git a/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch b/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch
new file mode 100644
index 000000000000..d4f6e222e112
--- /dev/null
+++ b/sys-block/scsirastools/files/scsirastools-1.6.6-autotools.patch
@@ -0,0 +1,71 @@
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -1,42 +1,2 @@
+-#!/bin/sh
+-# Makefile to build/install doc files
+-#
+-TOPDIR = ${top_srcdir}
+-fromd =	$(TOPDIR)/doc
+-MKDIR = sh $(TOPDIR)/mkinstalldirs 
+-INSTALL_SH = sh $(TOPDIR)/install-sh
+-INSTALL_DATA_CMD = ${INSTALL_SH} -c -m 644
+-INSTALL_SCRIPT_CMD =  ${INSTALL_SH} -c -m 755
+-prefix = /usr
+-exe_prefix = 
+-
+-datadir = ${prefix}/share
+-mandir = ${prefix}/share/man
+-sysconfdir = ${exe_prefix}/etc
+-sbindir = ${exe_prefix}/sbin
+-datato = ${DESTDIR}${datadir}/scsirastools
+-
+-sbin_PROGRAMS = 
+-	
+-all:
+-
+-clean:
+-
+-distclean:
+-
+-install:
+-	$(MKDIR) ${DESTDIR}${mandir}/man8
+-	$(MKDIR) ${datato}
+-	${INSTALL_DATA_CMD} $(fromd)/sgdefects.8   ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgdskfl.8     ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgdiag.8      ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgmode.8      ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgraidmon.8   ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgdiskmon.8   ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/sgsafte.8     ${DESTDIR}${mandir}/man8
+-	${INSTALL_DATA_CMD} $(fromd)/UserGuide     ${datato}
+-	${INSTALL_DATA_CMD} $(TOPDIR)/README       ${datato}
+-	${INSTALL_DATA_CMD} $(TOPDIR)/COPYING      ${datato}
+-	${INSTALL_DATA_CMD} $(TOPDIR)/kern/SCSIRAS ${datato}
+-	
+-EXTRA_DIST = 
++dist_man_MANS = sgdefects.8 sgdskfl.8 sgdiag.8 sgmode.8 sgraidmon.8 sgdiskmon.8 sgsafte.8
++dist_doc_DATA = UserGuide
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,20 +1,15 @@
+ 
+-SUBDIRS = mdadm.d src files doc 
++SUBDIRS = src doc
+ PKGDIR = /usr/src/redhat
+ SOURCEDIR = $(PKGDIR)/SOURCES
+ BUILDDIR = $(PKGDIR)/BUILD
+ RSPEC = doc/$(PACKAGE).spec
+ PNAME  = $(PACKAGE)-$(VERSION)
+ TMPDIR = /tmp/$(PNAME)
+-RPMB = rpmbuild
+ 
+ rpm:	$(RSPEC)
+ 	make tarball
+-	$(RPMB) -bs  $(RSPEC)
+-	$(RPMB) -bb  $(RSPEC)
+ 
+-# $(RPMB) --rebuild $(PKGDIR)/SRPMS/$(PNAME)-1.i386.rpm
+-# $(RPMB) -bb --buildroot $(BUILDDIR)/$(PNAME) $(RSPEC)
+ 
+ tarball:
+ 	rm -f $(SOURCEDIR)/$(PNAME).tar.gz 

diff --git a/sys-block/scsirastools/files/scsirastools-1.6.6-prefix.patch b/sys-block/scsirastools/files/scsirastools-1.6.6-prefix.patch
new file mode 100644
index 000000000000..5d52ec7db003
--- /dev/null
+++ b/sys-block/scsirastools/files/scsirastools-1.6.6-prefix.patch
@@ -0,0 +1,24 @@
+* binaries get installed into /usr/sbin
+
+--- a/src/sgdiskmon.c
++++ b/src/sgdiskmon.c
+@@ -80,7 +80,7 @@
+ //////////////////////////////////////////////////////////////////////
+ char *progver  = "1.66";         /* program version */
+ char *progname    = "sgdiskmon";   /* program name */
+-char sgevtcmd[]   = "/sbin/sgevt";
++char sgevtcmd[]   = "/usr/sbin/sgevt";
+ char initscript[] = "/etc/init.d/sgdisk";
+ char logfile[]    = "/var/log/sgdiskmon.log";     /* log filename */   
+ FILE *fdlog = NULL;             /* log file descriptor */
+--- a/src/sgraidmon.c
++++ b/src/sgraidmon.c
+@@ -152,7 +152,7 @@
+ //////////////////////////////////////////////////////////////////////
+ char *progver  = "1.66";        /* program version */
+ char *progname    = "sgraidmon";   /* program name */
+-char mdevtcmd[]   = "/sbin/mdevt";
++char mdevtcmd[]   = "/usr/sbin/mdevt";
+ char initscript[] = "/etc/init.d/sgraid";
+ char logfile[]    = "/var/log/sgraidmon.log";     /* log filename */   
+ FILE *fdlog = NULL;             /* log file descriptor */

diff --git a/sys-block/scsirastools/scsirastools-1.6.6.ebuild b/sys-block/scsirastools/scsirastools-1.6.6.ebuild
new file mode 100644
index 000000000000..5ca7a0c6e0ba
--- /dev/null
+++ b/sys-block/scsirastools/scsirastools-1.6.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Serviceability for SCSI Disks and Arrays"
+HOMEPAGE="http://scsirastools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=sys-apps/sg3_utils-1.44"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-prefix.patch
+	"${FILESDIR}"/${P}-autotools.patch
+)
+
+src_prepare() {
+	default
+	eautoreconf
+
+	# remove pre-compiled binaries
+	rm files/ialarms* || die
+}
+
+src_configure() {
+	econf --sbindir=/usr/sbin
+}
+
+src_install() {
+	default
+	dosbin files/sgevt files/mdevt
+
+	# install modepage files
+	insinto /usr/share/${PN}
+	doins files/*.mdf
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-19 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-19 18:20 [gentoo-commits] repo/gentoo:master commit in: sys-block/scsirastools/files/, sys-block/scsirastools/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2022-03-19 18:20 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox