aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--config.def.h2
-rw-r--r--pacredir.c4
-rw-r--r--pacredir.h2
-rw-r--r--systemd/pacredir.service2
-rw-r--r--systemd/pacserve.service2
-rw-r--r--systemd/sysusers.conf2
7 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index bb6ac24..9a4d191 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ ID := $(shell shopt -u extglob && source /etc/os-release && echo $$ID)
# this is just a fallback in case you do not use git but downloaded
# a release tarball...
-VERSION := 0.4.7
+VERSION := 0.4.8
MARKDOWN = $(wildcard *.md)
HTML = $(MARKDOWN:.md=.html)
diff --git a/config.def.h b/config.def.h
index 5fd7c13..c1a0d2e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,5 +1,5 @@
/*
- * (C) 2013-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2013-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/pacredir.c b/pacredir.c
index 4bfb16c..9ac7b99 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -1,5 +1,5 @@
/*
- * (C) 2013-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2013-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -776,7 +776,7 @@ int main(int argc, char ** argv) {
/* prepare struct to make microhttpd listen on localhost only */
address.sin_family = AF_INET;
address.sin_port = htons(PORT_PACREDIR);
- address.sin_addr.s_addr = htonl(0x7f000001);
+ address.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/* start http server */
if ((mhd = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION | MHD_USE_TCP_FASTOPEN, PORT_PACREDIR,
diff --git a/pacredir.h b/pacredir.h
index 5be6295..3537625 100644
--- a/pacredir.h
+++ b/pacredir.h
@@ -1,5 +1,5 @@
/*
- * (C) 2013-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2013-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/systemd/pacredir.service b/systemd/pacredir.service
index ed5e45a..b1e0af8 100644
--- a/systemd/pacredir.service
+++ b/systemd/pacredir.service
@@ -1,4 +1,4 @@
-# (C) 2013-2024 by Christian Hesse <mail@eworm.de>
+# (C) 2013-2025 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
index d5e064d..7757b26 100644
--- a/systemd/pacserve.service
+++ b/systemd/pacserve.service
@@ -1,4 +1,4 @@
-# (C) 2013-2024 by Christian Hesse <mail@eworm.de>
+# (C) 2013-2025 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/systemd/sysusers.conf b/systemd/sysusers.conf
index cd2e81c..ced5210 100644
--- a/systemd/sysusers.conf
+++ b/systemd/sysusers.conf
@@ -1 +1 @@
-u pacredir - "redirect pacman requests"
+u! pacredir - "redirect pacman requests"