Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cgminer: remove package
@ 2022-03-31  1:19 classabbyamp
  2022-03-31  2:59 ` [PR PATCH] [Updated] " classabbyamp
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: classabbyamp @ 2022-03-31  1:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages rm-cgminer
https://github.com/void-linux/void-packages/pull/36428

cgminer: remove package
<!-- Uncomment relevant sections and delete options which are not applicable -->

- Upstream is archived and hasn't had a commit or release since 2018
- Template last touched in 2020 (to update cflags), last updated in 2018
- Popcorn lists no usage (out of 75)

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36428.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rm-cgminer-36428.patch --]
[-- Type: text/x-diff, Size: 2822 bytes --]

From fe150794a0ee834077b42140a5a0ddeb4518b290 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Wed, 30 Mar 2022 21:10:51 -0400
Subject: [PATCH] cgminer: remove package

---
 srcpkgs/cgminer/files/cgminer/run |  2 --
 srcpkgs/cgminer/template          | 41 -------------------------------
 srcpkgs/removed-packages/template |  1 +
 3 files changed, 1 insertion(+), 43 deletions(-)
 delete mode 100644 srcpkgs/cgminer/files/cgminer/run
 delete mode 100644 srcpkgs/cgminer/template

diff --git a/srcpkgs/cgminer/files/cgminer/run b/srcpkgs/cgminer/files/cgminer/run
deleted file mode 100644
index b9f9b29ae3d6..000000000000
--- a/srcpkgs/cgminer/files/cgminer/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec cgminer -T --config /etc/cgminer.conf --syslog
diff --git a/srcpkgs/cgminer/template b/srcpkgs/cgminer/template
deleted file mode 100644
index c8add74d08fb..000000000000
--- a/srcpkgs/cgminer/template
+++ /dev/null
@@ -1,41 +0,0 @@
-# Template file for 'cgminer'
-pkgname=cgminer
-version=4.11.1
-revision=1
-build_style=gnu-configure
-configure_args="
- --enable-avalon --enable-avalon2 --enable-bflsc --enable-bitfury \
- --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio \
- --enable-icarus --enable-klondike --with-system-libusb"
-hostmakedepends="pkg-config automake libtool yasm"
-makedepends="libcurl-devel libusb-devel jansson-devel eudev-libudev-devel ncurses-devel"
-conf_files="/etc/cgminer.conf"
-short_desc="Multi-threaded multi-pool CPU and GPU miner for bitcoin"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/ckolivas/cgminer"
-distfiles="http://ck.kolivas.org/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
-checksum=a8f3e244343eda8c3410e6d27188ee941de25c54bd76412e5b4d17de9f30ac18
-
-CFLAGS="-fcommon"
-
-pre_configure() {
-	# We have latest jansson and libusb - just use them
-	sed	-e 's|^AC_CONFIG_SUBDIRS.*compat/jansson.*||' \
-		-e 's|JANSSON_LIBS=\".*\"|JANSSON_LIBS=-ljansson|' \
-		-e 's|compat/Makefile||' \
-		-i configure.ac
-
-	sed	-e 's|^JANSSON_CPPFLAGS= .*||' \
-		-e "s|^USBUTILS_CPPFLAGS = .*|USBUTILS_CPPFLAGS = -I${XBPS_CROSS_BASE}/usr/include/libusb-1.0|" \
-		-e 's|^SUBDIRS.*|SUBDIRS = lib ccan|' \
-		-i Makefile.am
-
-	rm -r compat
-	autoreconf -fi
-}
-post_install() {
-	vsv cgminer
-	vconf example.conf cgminer.conf
-	sed -i 's#/usr/local/bin#/usr/bin#g' ${DESTDIR}/etc/cgminer.conf
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index df264c9d7501..a066455af754 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -33,6 +33,7 @@ replaces="
  california<=0.4.0_4
  capstone-python<=4.0.2_3
  captain-ballard<=1.0.0_2
+ cgminer<=4.11.1_1
  clamz<=0.5_4
  couchdb<=1.7.1_2
  cracklib-python<=2.9.7_1

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

end of thread, other threads:[~2022-04-19 22:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31  1:19 [PR PATCH] cgminer: remove package classabbyamp
2022-03-31  2:59 ` [PR PATCH] [Updated] " classabbyamp
2022-03-31  3:07 ` classabbyamp
2022-03-31 19:36 ` cgminer and libbitcoin-*: remove packages Chocimier
2022-04-01  1:11 ` atweiden
2022-04-01 17:32 ` classabbyamp
2022-04-01 17:33 ` [PR PATCH] [Updated] " classabbyamp
2022-04-02 21:39 ` [PR PATCH] [Updated] cgminer: remove package classabbyamp
2022-04-19 15:28 ` classabbyamp
2022-04-19 19:00 ` paper42
2022-04-19 19:02 ` [PR PATCH] [Updated] " classabbyamp
2022-04-19 19:02 ` classabbyamp
2022-04-19 19:03 ` classabbyamp
2022-04-19 22:56 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).