Skip to content

Instantly share code, notes, and snippets.

View zeha's full-sized avatar
:shipit:
Shipping it

Chris Hofstaedtler zeha

:shipit:
Shipping it
View GitHub Profile
This file has been truncated, but you can view the full file.
sbuild (Debian sbuild) 0.88.4 (20 February 2025) on tiksta.home.arpa
+==============================================================================+
| pdns-recursor 5.2.0-3 (arm64) Mon, 24 Feb 2025 10:30:19 +0000 |
+==============================================================================+
Package: pdns-recursor
Version: 5.2.0-3
Source Version: 5.2.0-3
From: Chris Hofstaedtler <[email protected]>
Date: Wed, 11 Dec 2024 13:54:46 +0100
X-Dgit-Generated: 0.1.1-11.2 596481d5fcce3065fe9f98b5e130547ac18ea17a
Subject: Fix various bugs exposed by gcc-14
---
diff --git a/src/t4k_menu.c b/src/t4k_menu.c
index a0b272f..d6d1633 100644
From 689fd3d6bceb492b2665ada3c6677da3f5e72e88 Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <[email protected]>
Date: Sat, 19 Oct 2024 17:43:46 +0200
Subject: [PATCH] Stop running quickcheck on i386
Closes: #1085438
---
debian/README.source | 2 +-
debian/control | 3 +--
debian/rules | 2 +-
diff -Nru kexec-tools-2.0.27/debian/changelog kexec-tools-2.0.27/debian/changelog
--- kexec-tools-2.0.27/debian/changelog 2024-06-12 00:36:59.000000000 +0200
+++ kexec-tools-2.0.27/debian/changelog 2024-06-23 12:26:20.000000000 +0200
@@ -1,3 +1,9 @@
+kexec-tools (1:2.0.27-2) UNRELEASED; urgency=medium
+
+ * TBD
+
+ -- Chris Hofstaedtler <[email protected]> Sun, 23 Jun 2024 12:26:20 +0200
+
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#define CPUID_EBX_AVX2 0x00000020
#define CPUID_EBX_AVX512F 0x00010000
#define XCR0_SSE 0x00000002
#define XCR0_AVX 0x00000004
#define XCR0_OPMASK 0x00000020
#!/bin/bash
if [ "$1" = "--cflags" ]; then
FLAGS=$(/usr/bin/net-snmp-config --cflags)
MYFLAGS=""
for flag in $FLAGS; do
if [[ "$flag" =~ -DNETSNMP* ]]; then
MYFLAGS="$MYFLAGS $flag"
fi
done
#!/bin/bash
set -x
puppet agent --disable "update Debian"
service keepalived stop
apt-get install udev acl
sed -i'' -e 's/jessie/stretch/g' /etc/apt/sources.list.d/*
export DEBIAN_FRONTEND=noninteractive
export DEBCONF_NONINTERACTIVE_SEEN=true
apt-get update
apt-get install apt dpkg deborphan # openjdk-8-jre-headless
function load_rootkeys()
root_key_path = "/usr/share/dns/root.ds"
print("LUA: Loading DNSSEC root keys from " .. root_key_path)
-- . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
for line in io.lines(root_key_path) do
ds = string.match(line, "^%.%s+IN%s+DS%s+(%d+%s+%d+%s+%d+%s+%S+)")
if ds then
print("LUA: Adding DS: " .. ds)
addDS(".", ds)
end
--- /opt/omd/versions/1.4.0p33.cee/share/check_mk/checks/netapp_api_vs_traffic 2018-06-14 22:38:10.015343639 +0200
+++ fixed 2018-06-14 22:38:02.875290054 +0200
@@ -88,7 +88,7 @@
if what not in data:
continue
- rate = get_rate(what, now, int(data[what]) * scale)
+ rate = get_rate('%s:%s' % (protocol, what), now, int(data[what]) * scale)
yield 0, "%s %s: %s" % (protoname, perftext, format_func(rate)), [(perfname, rate)]
@zeha
zeha / nordep.sql
Last active July 7, 2016 13:49
pkg-ruby-extras packages with no r-dep (or r-build-dep)
WITH
sidpkgs AS (
select distinct
p1.package, p1.maintainer, p1.version,
regexp_split_to_array(replace(regexp_replace(p1.depends, E'(\\([^\\)]+\\))', '', 'g'), ' ', ''), E'[,|]') as depends,
regexp_split_to_array(replace(regexp_replace(p1.recommends, E'(\\([^\\)]+\\))', '', 'g'), ' ', ''), E'[,|]') as recommends,
regexp_split_to_array(replace(regexp_replace(p1.suggests, E'(\\([^\\)]+\\))', '', 'g'), ' ', ''), E'[,|]') as suggests
from packages p1
where p1.release = 'sid'
and p1.package not like '%-dbgsym'