Skip to content

Commit

Permalink
contrib/dmidecode: update to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopsykose committed Apr 24, 2024
1 parent d103583 commit 7729e3b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 114 deletions.
23 changes: 23 additions & 0 deletions contrib/dmidecode/patches/cflags.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/Makefile
+++ b/Makefile
@@ -64,16 +64,16 @@
#

dmidecode : dmidecode.o dmiopt.o dmioem.o dmioutput.o util.o
- $(CC) $(LDFLAGS) dmidecode.o dmiopt.o dmioem.o dmioutput.o util.o -o $@
+ $(CC) $(LDFLAGS) $(CFLAGS) dmidecode.o dmiopt.o dmioem.o dmioutput.o util.o -o $@

biosdecode : biosdecode.o util.o
- $(CC) $(LDFLAGS) biosdecode.o util.o -o $@
+ $(CC) $(LDFLAGS) $(CFLAGS) biosdecode.o util.o -o $@

ownership : ownership.o util.o
- $(CC) $(LDFLAGS) ownership.o util.o -o $@
+ $(CC) $(LDFLAGS) $(CFLAGS) ownership.o util.o -o $@

vpddecode : vpddecode.o vpdopt.o util.o
- $(CC) $(LDFLAGS) vpddecode.o vpdopt.o util.o -o $@
+ $(CC) $(LDFLAGS) $(CFLAGS) vpddecode.o vpdopt.o util.o -o $@

#
# Objects
46 changes: 0 additions & 46 deletions contrib/dmidecode/patches/recommended-1.patch

This file was deleted.

66 changes: 0 additions & 66 deletions contrib/dmidecode/patches/recommended-2.patch

This file was deleted.

7 changes: 5 additions & 2 deletions contrib/dmidecode/template.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
pkgname = "dmidecode"
pkgver = "3.5"
pkgver = "3.6"
pkgrel = 0
# smbios/dmi support
archs = ["aarch64", "riscv64", "x86_64"]
build_style = "makefile"
make_cmd = "gmake"
make_install_args = ["prefix=/usr", "sbindir=/usr/bin"]
hostmakedepends = ["gmake", "pkgconf"]
makedepends = ["bash-completion"]
pkgdesc = "Utility for reporting system hardware"
maintainer = "psykose <alice@ayaya.dev>"
license = "GPL-2.0-or-later"
url = "https://nongnu.org/dmidecode"
source = f"https://de.freedif.org/savannah/dmidecode/dmidecode-{pkgver}.tar.xz"
sha256 = "79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073"
sha256 = "e40c65f3ec3dafe31ad8349a4ef1a97122d38f65004ed66575e1a8d575dd8bae"
hardening = ["vis", "cfi"]
# none present
options = ["!check"]

0 comments on commit 7729e3b

Please sign in to comment.