FreeBSD Bugzilla – Attachment 192487 Details for
Bug 227494
security/pam_pwdfile Update to to 1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update port
security-pam_pwdfile.patch (text/plain), 4.51 KB, created by
Lev A. Serebryakov
on 2018-04-13 13:00:20 UTC
(
hide
)
Description:
Patch to update port
Filename:
MIME Type:
Creator:
Lev A. Serebryakov
Created:
2018-04-13 13:00:20 UTC
Size:
4.51 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 467232) >+++ Makefile (working copy) >@@ -2,25 +2,28 @@ > # $FreeBSD$ > > PORTNAME= pam_pwdfile >-PORTVERSION= 0.99 >-PORTREVISION= 1 >+PORTVERSION= 1.0 > CATEGORIES= security >-MASTER_SITES= http://cpbotha.net/files/pam_pwdfile/ > > MAINTAINER= mschout@gkg.net > COMMENT= Pam module for authenticating with flat passwd files > >+USE_GITHUB= yes >+GH_ACCOUNT= tiwe-de >+GH_PROJECT= libpam-pwdfile >+GH_TAGNAME= v${PORTVERSION} >+ > USES= uidfix > MAKEFILE= ${FILESDIR}/Makefile.bsd > > PLIST_FILES= lib/pam_pwdfile.so >-PORTDOCS= README INSTALL changelog >+PORTDOCS= README INSTALL > CFLAGS+= -I${WRKSRC} > > OPTIONS_DEFINE= DOCS > > post-patch: >- ${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c >+# ${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c > ${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC} > > post-install: >Index: distinfo >=================================================================== >--- distinfo (revision 467232) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (pam_pwdfile-0.99.tar.gz) = 973420f203976ac98508bb253b33a23d189cfbaf72143670964470e84085688e >-SIZE (pam_pwdfile-0.99.tar.gz) = 16994 >+TIMESTAMP = 1523618004 >+SHA256 (tiwe-de-libpam-pwdfile-1.0-v1.0_GH0.tar.gz) = 5b8db1397cff9cadfd1bb96f53c134b787ab0e6a0fbedb71040541d340313ba2 >+SIZE (tiwe-de-libpam-pwdfile-1.0-v1.0_GH0.tar.gz) = 13418 >Index: files/patch-bigcrypt.c >=================================================================== >--- files/patch-bigcrypt.c (revision 467232) >+++ files/patch-bigcrypt.c (nonexistent) >@@ -1,11 +0,0 @@ >---- bigcrypt.c.orig 2009-09-04 18:37:28.000000000 -0500 >-+++ bigcrypt.c 2009-09-04 18:37:30.000000000 -0500 >-@@ -25,7 +25,7 @@ >- */ >- >- #include <string.h> >--#include <security/_pam_macros.h> >-+#include "_pam_macros.h" >- >- char *crypt(const char *key, const char *salt); >- char *bigcrypt(const char *key, const char *salt); > >Property changes on: files/patch-bigcrypt.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-md5.c >=================================================================== >--- files/patch-md5.c (nonexistent) >+++ files/patch-md5.c (working copy) >@@ -0,0 +1,20 @@ >+--- md5.c.orig 2018-04-13 14:15:16.302782000 +0300 >++++ md5.c 2018-04-13 14:25:07.662155000 +0300 >+@@ -17,7 +17,7 @@ >+ */ >+ >+ #include <string.h> >+-#include <byteswap.h> >++#include <sys/endian.h> >+ #include "md5.h" >+ >+ #ifndef HIGHFIRST >+@@ -25,7 +25,7 @@ >+ #else >+ static void byteReverse(unsigned char *buf, unsigned longs) { >+ for (; longs; --longs, buf +=4) >+- *((uint32_t *) buf) = bswap_32(*((uint32_t *) buf)); >++ *((uint32_t *) buf) = bswap32(*((uint32_t *) buf)); >+ } >+ #endif >+ > >Property changes on: files/patch-md5.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-pam_pwdfile.c >=================================================================== >--- files/patch-pam_pwdfile.c (nonexistent) >+++ files/patch-pam_pwdfile.c (working copy) >@@ -0,0 +1,33 @@ >+--- pam_pwdfile.c.orig 2018-04-13 14:25:49.414568000 +0300 >++++ pam_pwdfile.c 2018-04-13 14:42:33.040919000 +0300 >+@@ -38,18 +38,7 @@ >+ * OF THE POSSIBILITY OF SUCH DAMAGE. >+ */ >+ >+-#ifdef USE_CRYPT_R >+-#define _GNU_SOURCE >+-#include <crypt.h> >+-#else >+-#ifndef _XOPEN_SOURCE >+-#define _XOPEN_SOURCE 700 >+-#endif >+-#ifndef _BSD_SOURCE >+-#define _BSD_SOURCE >+-#endif >+-#endif >+- >++#include <stdint.h> >+ #include <syslog.h> >+ #include <stdio.h> >+ #include <stdlib.h> >+@@ -66,7 +55,9 @@ >+ >+ #define PAM_SM_AUTH >+ #include <security/pam_modules.h> >+-#include <security/pam_ext.h> >++/* #include <security/pam_ext.h> */ >++ >++#define pam_syslog(H, C, ...) syslog(C, __VA_ARGS__) >+ >+ #include "md5.h" >+ #include "bigcrypt.h" > >Property changes on: files/patch-pam_pwdfile.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227494
: 192487