commit 3f1d3ae4705632e792ec1ce5c17a7952fdd68afb
Author: Arkadiusz Miśkiewicz <[email protected]>
Date: Fri Feb 3 06:46:26 2023 +0100
rel 4
build.patch | 10 ++++++++++
changepassword.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/changepassword.spec b/changepassword.spec
index 62e9d2b..5a810a3 100644
--- a/changepassword.spec
+++ b/changepassword.spec
@@ -11,12 +11,13 @@ Summary: ChangePassword
Summary(pl.UTF-8): ChangePassword - modyfikator haseł
Name: changepassword
Version: 0.9
-Release: 3
+Release: 4
License: GPL
Group: Networking/Admin
Source0:
http://dl.sourceforge.net/changepassword/%{name}-%{version}.tar.gz
# Source0-md5: 7449a80c65db2e37c0aa3bb709926127
Source1: pldlogo.png
+Patch0: build.patch
URL: http://changepassword.sourceforge.net/
Requires: webserver = apache
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,6 +38,7 @@ zmieniane w trybie rzeczywistym.
%setup -q
cp %{SOURCE1} .
tar -xf smbencrypt/libdes-4.04b.tar.gz
+%patch0 -p1
%build
%configure \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..d5946ef
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,10 @@
+--- changepassword-0.9/smbencrypt/encrypt.c~ 2023-02-03 06:43:06.000000000
+0100
++++ changepassword-0.9/smbencrypt/encrypt.c 2023-02-03 06:43:15.489832268
+0100
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include "nt.h"
+-char smbencrypted[66];
++extern char smbencrypted[66];
+
+ void smbencrypt(char *pass) {
+ char *p=strdup(pass);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/changepassword.git/commitdiff/3f1d3ae4705632e792ec1ce5c17a7952fdd68afb
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit