Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: apcupsd-3.14.14
@ 2022-04-12  7:27 basploeger
  2022-04-12  7:34 ` [PR PATCH] [Updated] " basploeger
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: basploeger @ 2022-04-12  7:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/basploeger/void-packages apcupsd-cont
https://github.com/void-linux/void-packages/pull/36654

New package: apcupsd-3.14.14
This PR is based on #13876.

#### 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**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apcupsd-cont-36654.patch --]
[-- Type: text/x-diff, Size: 1922 bytes --]

From 82cadf1e1401aae4401b1d100dc6b3688ae01e66 Mon Sep 17 00:00:00 2001
From: Bas Ploeger <5904333+basploeger@users.noreply.github.com>
Date: Sat, 2 Apr 2022 22:00:49 +0200
Subject: [PATCH] New package: apcupsd-3.14.14

---
 srcpkgs/apcupsd/files/apcupsd/run |  3 +++
 srcpkgs/apcupsd/template          | 37 +++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/apcupsd/files/apcupsd/run
 create mode 100644 srcpkgs/apcupsd/template

diff --git a/srcpkgs/apcupsd/files/apcupsd/run b/srcpkgs/apcupsd/files/apcupsd/run
new file mode 100644
index 000000000000..2c0b807da287
--- /dev/null
+++ b/srcpkgs/apcupsd/files/apcupsd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf] && . ./conf
+exec apcupsd -b ${OPTS}
diff --git a/srcpkgs/apcupsd/template b/srcpkgs/apcupsd/template
new file mode 100644
index 000000000000..91e3306cf45a
--- /dev/null
+++ b/srcpkgs/apcupsd/template
@@ -0,0 +1,37 @@
+pkgname=apcupsd
+version=3.14.14
+revision=1
+build_style=gnu-configure
+configure_args="
+ --disable-install-distdir
+ --enable-modbus-usb
+ --enable-usb
+ --sysconfdir=/etc/apcupsd
+ --with-dev=
+ --with-halpolicydir=
+ --with-pwrfail-dir=/etc/apcupsd
+ --with-upscable=usb
+ --with-upstype=usb"
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libusb-compat-devel net-snmp-devel"
+depends="libusb-compat net-snmp nullmailer"
+conf_files="/etc/apcupsd/*"
+short_desc="APC UPS daemon with integrated tcp/ip remote shutdown"
+maintainer="Bas Ploeger"
+license="GPL-2.0-only"
+homepage="http://www.apcupsd.org/"
+distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum="db7748559b6b4c3784f9856561ef6ac6199ef7bd019b3edcd7e0a647bf8f9867"
+
+make_install_args="STRIP="
+
+pre_configure() {
+  export SHUTDOWN=/usr/bin/shutdown
+  export WALL=/usr/bin/wall
+  export APCUPSD_MAIL=/usr/bin/mail
+}
+
+post_install() {
+  rm ${DESTDIR}/usr/bin/smtp
+  vsv apcupsd
+}

^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13876@inbox.vuxu.org>]

end of thread, other threads:[~2022-05-05 20:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12  7:27 [PR PATCH] New package: apcupsd-3.14.14 basploeger
2022-04-12  7:34 ` [PR PATCH] [Updated] " basploeger
2022-04-12 18:13 ` [PR REVIEW] " classabbyamp
2022-04-12 18:13 ` classabbyamp
2022-04-12 19:33 ` [PR PATCH] [Updated] " basploeger
2022-04-12 19:40 ` [PR REVIEW] " basploeger
2022-04-12 19:40 ` basploeger
2022-04-12 19:42 ` basploeger
2022-04-12 19:47 ` basploeger
2022-04-12 20:02 ` [PR PATCH] [Updated] " basploeger
2022-04-12 20:03 ` basploeger
2022-04-12 20:08 ` basploeger
2022-04-29 16:54 ` basploeger
2022-04-29 17:06 ` [PR REVIEW] " classabbyamp
2022-04-29 19:48 ` basploeger
2022-04-29 19:48 ` basploeger
2022-05-04 18:51 ` basploeger
2022-05-05  0:03 ` classabbyamp
2022-05-05 20:11 ` [PR PATCH] [Merged]: " abenson
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13876@inbox.vuxu.org>
2022-04-15  2:12 ` github-actions

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).