From owner-svn-ports-head@freebsd.org Mon Apr 16 12:06:05 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52EA7FA493A; Mon, 16 Apr 2018 12:06:05 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6CF76C75E; Mon, 16 Apr 2018 12:06:04 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 75DE01D0D5; Mon, 16 Apr 2018 12:06:04 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3GC643D067307; Mon, 16 Apr 2018 12:06:04 GMT (envelope-from lev@FreeBSD.org) Received: (from lev@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3GC63ir067303; Mon, 16 Apr 2018 12:06:03 GMT (envelope-from lev@FreeBSD.org) Message-Id: <201804161206.w3GC63ir067303@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lev set sender to lev@FreeBSD.org using -f From: "Lev A. Serebryakov" Date: Mon, 16 Apr 2018 12:06:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467479 - in head/security/pam_pwdfile: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lev X-SVN-Commit-Paths: in head/security/pam_pwdfile: . files X-SVN-Commit-Revision: 467479 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 12:06:05 -0000 Author: lev Date: Mon Apr 16 12:06:03 2018 New Revision: 467479 URL: https://svnweb.freebsd.org/changeset/ports/467479 Log: Update to latest release 1.0. Reset maintainer to myself (maintainer approved). PR: 227494 Submitted by: lev Approved by: mschout@gkg.net Added: head/security/pam_pwdfile/files/patch-md5.c (contents, props changed) head/security/pam_pwdfile/files/patch-pam_pwdfile.c (contents, props changed) Deleted: head/security/pam_pwdfile/files/patch-bigcrypt.c Modified: head/security/pam_pwdfile/Makefile head/security/pam_pwdfile/distinfo Modified: head/security/pam_pwdfile/Makefile ============================================================================== --- head/security/pam_pwdfile/Makefile Mon Apr 16 11:53:03 2018 (r467478) +++ head/security/pam_pwdfile/Makefile Mon Apr 16 12:06:03 2018 (r467479) @@ -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 +MAINTAINER= lev@FreeBSD.org 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 ||g' ${WRKSRC}/pam_pwdfile.c +# ${REINPLACE_CMD} -e 's|#include ||g' ${WRKSRC}/pam_pwdfile.c ${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC} post-install: Modified: head/security/pam_pwdfile/distinfo ============================================================================== --- head/security/pam_pwdfile/distinfo Mon Apr 16 11:53:03 2018 (r467478) +++ head/security/pam_pwdfile/distinfo Mon Apr 16 12:06:03 2018 (r467479) @@ -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 Added: head/security/pam_pwdfile/files/patch-md5.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pam_pwdfile/files/patch-md5.c Mon Apr 16 12:06:03 2018 (r467479) @@ -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 +-#include ++#include + #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 + Added: head/security/pam_pwdfile/files/patch-pam_pwdfile.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pam_pwdfile/files/patch-pam_pwdfile.c Mon Apr 16 12:06:03 2018 (r467479) @@ -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 +-#else +-#ifndef _XOPEN_SOURCE +-#define _XOPEN_SOURCE 700 +-#endif +-#ifndef _BSD_SOURCE +-#define _BSD_SOURCE +-#endif +-#endif +- ++#include + #include + #include + #include +@@ -66,7 +55,9 @@ + + #define PAM_SM_AUTH + #include +-#include ++/* #include */ ++ ++#define pam_syslog(H, C, ...) syslog(C, __VA_ARGS__) + + #include "md5.h" + #include "bigcrypt.h"