[packages/ppp-plugin-ifcfg-password] Rel 11
arekm
arekm at pld-linux.org
Mon Mar 9 14:52:40 CET 2026
commit 98410908d7a7d3f0a81eff117f7dc9d766c30808
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 14:52:26 2026 +0100
Rel 11
ppp-plugin-ifcfg-password-pppd25.patch | 29 +++++++++++++++++++++++++++++
ppp-plugin-ifcfg-password.spec | 4 +++-
2 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/ppp-plugin-ifcfg-password.spec b/ppp-plugin-ifcfg-password.spec
index d5f22de..3bd6136 100644
--- a/ppp-plugin-ifcfg-password.spec
+++ b/ppp-plugin-ifcfg-password.spec
@@ -2,11 +2,12 @@ Summary: ppp plugin reading passwords from ifcfg
Summary(pl.UTF-8): Wtyczka ppp czytająca hasła z ifcfg
Name: ppp-plugin-ifcfg-password
Version: 0.1
-Release: 10
+Release: 11
License: distributable
Group: Networking/Daemons
Source0: ftp://dev.null.pl/pub/%{name}-%{version}.tar.gz
# Source0-md5: 926c7fc7bd73fcec8769dfcda66247d7
+Patch0: %{name}-pppd25.patch
BuildRequires: ppp-plugin-devel >= 2.4.1
BuildRequires: rpmbuild(macros) >= 1.145
Requires: ppp
@@ -20,6 +21,7 @@ Wtyczka ppp czytająca hasła z ifcfg.
%prep
%setup -q
+%patch -P0 -p1
rm -f *.h
ln -sf /usr/include/pppd/*.h .
diff --git a/ppp-plugin-ifcfg-password-pppd25.patch b/ppp-plugin-ifcfg-password-pppd25.patch
new file mode 100644
index 0000000..6fe8355
--- /dev/null
+++ b/ppp-plugin-ifcfg-password-pppd25.patch
@@ -0,0 +1,29 @@
+--- ppp-plugin-ifcfg-password-0.1/ifcfg-password.c.orig 2003-01-01 00:00:00.000000000 +0000
++++ ppp-plugin-ifcfg-password-0.1/ifcfg-password.c 2024-01-01 00:00:00.000000000 +0000
+@@ -13,9 +13,18 @@
+
+ #include <errno.h>
+ #include <unistd.h>
++#include <stdio.h>
++#include <limits.h>
+ #include <syslog.h>
+ #include <string.h>
++
+ #include "pppd.h"
++#include "options.h"
++#include "upap.h"
++
++#if !defined(VERSION) && defined(PPPD_VERSION)
++#define VERSION PPPD_VERSION
++#endif
+
+ char pppd_version[] = VERSION;
+
+@@ -128,6 +137,6 @@
+
+ void plugin_init(void)
+ {
+- add_options(options);
++ ppp_add_options(options);
+ pap_passwd_hook = read_password;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ppp-plugin-ifcfg-password.git/commitdiff/98410908d7a7d3f0a81eff117f7dc9d766c30808
More information about the pld-cvs-commit
mailing list