pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/pam-af
Module Name: pkgsrc
Committed By: joerg
Date: Wed Feb 8 00:07:39 UTC 2017
Modified Files:
pkgsrc/security/pam-af: Makefile distinfo
Added Files:
pkgsrc/security/pam-af/patches: patch-common_pam__af.h
Log Message:
Don't force unaligned memory use. Bump revision.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/security/pam-af/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/pam-af/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pam-af/patches/patch-common_pam__af.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/pam-af/Makefile
diff -u pkgsrc/security/pam-af/Makefile:1.14 pkgsrc/security/pam-af/Makefile:1.15
--- pkgsrc/security/pam-af/Makefile:1.14 Sun Mar 15 18:31:52 2015
+++ pkgsrc/security/pam-af/Makefile Wed Feb 8 00:07:38 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2015/03/15 18:31:52 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.15 2017/02/08 00:07:38 joerg Exp $
DISTNAME= pam_af-1.0.2
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://mbsd.msk.ru/dist/
EXTRACT_SUFX= .tar.bz2
Index: pkgsrc/security/pam-af/distinfo
diff -u pkgsrc/security/pam-af/distinfo:1.11 pkgsrc/security/pam-af/distinfo:1.12
--- pkgsrc/security/pam-af/distinfo:1.11 Wed Nov 4 01:17:59 2015
+++ pkgsrc/security/pam-af/distinfo Wed Feb 8 00:07:38 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/04 01:17:59 agc Exp $
+$NetBSD: distinfo,v 1.12 2017/02/08 00:07:38 joerg Exp $
SHA1 (pam_af-1.0.2.tar.bz2) = e3856a33d79beafa8d4e8cb44b19cbf79a3ed422
RMD160 (pam_af-1.0.2.tar.bz2) = 0c4163d811ba83de32e9b4633780ac76c8d10d8f
@@ -7,4 +7,5 @@ Size (pam_af-1.0.2.tar.bz2) = 17991 byte
SHA1 (patch-aa) = 9c8e44c7b25e268777967c742a6946abe0c80316
SHA1 (patch-ab) = 2d42056f2972a34d2ec681f3c408cfdfc7c26d67
SHA1 (patch-ad) = 0f46fecfec3b920a08e2c22c14ada368214d6a69
+SHA1 (patch-common_pam__af.h) = 026b303116b80cb48987c24b5f48677e7581a346
SHA1 (patch-pam__af__tool_pam__af__tool.c) = af061bc8766cbf8406dd7a8ce95240e708085bba
Added files:
Index: pkgsrc/security/pam-af/patches/patch-common_pam__af.h
diff -u /dev/null pkgsrc/security/pam-af/patches/patch-common_pam__af.h:1.1
--- /dev/null Wed Feb 8 00:07:39 2017
+++ pkgsrc/security/pam-af/patches/patch-common_pam__af.h Wed Feb 8 00:07:38 2017
@@ -0,0 +1,40 @@
+$NetBSD: patch-common_pam__af.h,v 1.1 2017/02/08 00:07:38 joerg Exp $
+
+Don't pessimize the build or even create unaligned access by forcing the
+structures to be packed.
+
+--- common/pam_af.h.orig 2017-01-08 20:09:41.718970211 +0000
++++ common/pam_af.h
+@@ -90,14 +90,6 @@
+ # define _PATH_BSHELL DEFSHL
+ #endif
+
+-#ifndef __packed
+-# ifdef __GNUC__
+-# define __packed __attribute__((packed))
+-# else /* __GNUC__ */
+-# define __packed
+-# endif /* __GNUC__ */
+-#endif
+-
+ #ifndef __unused
+ # ifdef __GNUC__
+ # define __unused __attribute__((unused))
+@@ -114,7 +106,7 @@ typedef struct hostrec {
+ unsigned long num;
+ time_t last_attempt;
+ unsigned long locked_for;
+-} __packed hostrec_t;
++} hostrec_t;
+
+ typedef struct hostrule {
+ uint mask;
+@@ -122,7 +114,7 @@ typedef struct hostrule {
+ long locktime;
+ char lock_cmd[MAX_CMD_LEN];
+ char unlock_cmd[MAX_CMD_LEN];
+-} __packed hostrule_t;
++} hostrule_t;
+ #define DEFAULT_ATTEMPTS ULONG_MAX
+ #define DEFAULT_LOCKTIME 0
+ #define DEFRULE "*"
Home |
Main Index |
Thread Index |
Old Index