Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cgminer: remove package
Date: Tue, 19 Apr 2022 17:28:59 +0200	[thread overview]
Message-ID: <20220419152859.i27AypwewNJc2I_afxaGMNbyz7WHMDhobtc19RD3gg0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36428@inbox.vuxu.org>

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

There is an updated 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 -->

cgminer:
- 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)

~~libbitcoin-*:~~
- ~~unused libraries~~
- ~~excludes libbitcoin-secp256k1, which is used by electrum~~

#### 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 e786019138c8d220d9d5c849acb55cee530987b6 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 6859fe29da93..0923c53cfc05 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -35,6 +35,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

  parent reply	other threads:[~2022-04-19 15:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31  1:19 [PR PATCH] " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220419152859.i27AypwewNJc2I_afxaGMNbyz7WHMDhobtc19RD3gg0@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).