SF.net SVN: gar:[24757] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Mar 23 11:45:15 CET 2015


Revision: 24757
          http://sourceforge.net/p/gar/code/24757
Author:   dmichelsen
Date:     2015-03-23 10:45:15 +0000 (Mon, 23 Mar 2015)
Log Message:
-----------
cracklib/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/cracklib/
    csw/mgar/pkg/cracklib/Makefile
    csw/mgar/pkg/cracklib/branches/
    csw/mgar/pkg/cracklib/tags/
    csw/mgar/pkg/cracklib/trunk/
    csw/mgar/pkg/cracklib/trunk/Makefile
    csw/mgar/pkg/cracklib/trunk/checksums
    csw/mgar/pkg/cracklib/trunk/files/
    csw/mgar/pkg/cracklib/trunk/files/0001-Set-proper-types-instead-of-void.patch

Added: csw/mgar/pkg/cracklib/Makefile
===================================================================
--- csw/mgar/pkg/cracklib/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cracklib/Makefile	2015-03-23 10:45:15 UTC (rev 24757)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/cracklib/trunk
===================================================================
--- csw/mgar/pkg/cracklib/trunk	2015-03-23 10:30:18 UTC (rev 24756)
+++ csw/mgar/pkg/cracklib/trunk	2015-03-23 10:45:15 UTC (rev 24757)

Property changes on: csw/mgar/pkg/cracklib/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/cracklib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cracklib/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cracklib/trunk/Makefile	2015-03-23 10:45:15 UTC (rev 24757)
@@ -0,0 +1,56 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = cracklib
+VERSION = 2.9.2
+GARTYPE = v2
+
+DESCRIPTION = Next generation version of libCrack password checking library
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES += $(DISTNAME).tar.gz
+DISTFILES += cracklib-words-20080507.gz
+
+PATCHFILES += 0001-Set-proper-types-instead-of-void.patch
+
+PACKAGES += CSWlibcrack2
+SPKG_DESC_CSWlibcrack2 = Next generation version of libCrack password checking library, libcrack.so.2
+PKGFILES_CSWlibcrack2 += $(call pkgfiles_lib,libcrack.so.2)
+RUNTIME_DEP_PKGS_CSWlibcrack2 += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWlibcrack2 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibcrack2 += CSWlibz1
+
+PACKAGES += CSWlibcrack-dev
+SPKG_DESC_CSWlibcrack-dev = Development files for libcrack.so.2
+PKGFILES_CSWlibcrack-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibcrack-dev += CSWlibcrack2
+
+PACKAGES += CSWcracklib
+SPKG_DESC_CSWcracklib = Next generation version of libCrack password checking
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWcracklib += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWcracklib += CSWlibcrack2
+
+REINPLACEMENTS += words
+REINPLACE_MATCH_words = /usr/share/words
+REINPLACE_WITH_words = /usr/share/lib/dict/words
+REINPLACE_FILES_words += util/create-cracklib-dict
+
+# Yes, this is ok - we just replaced it with the correct file
+CHECKPKG_OVERRIDES_CSWcracklib += file-with-bad-content|/usr/share|root/opt/csw/sbin/create-cracklib-dict
+
+BUILD64 = 1
+ISAEXEC = 1
+
+# Unconditional use of -Wall
+GARCOMPILER = GNU
+
+# We need standard-conforming definitions, see getpwuid_r(3c)
+EXTRA_CPPFLAGS +=  -D_POSIX_PTHREAD_SEMANTICS
+
+CONFIGURE_ARGS += $(DIRPATHS)
+# We don't need it and it is involves mixup of Sun Studio / GCC
+CONFIGURE_ARGS += --without-python
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/cracklib/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/cracklib/trunk/checksums
===================================================================
--- csw/mgar/pkg/cracklib/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/cracklib/trunk/checksums	2015-03-23 10:45:15 UTC (rev 24757)
@@ -0,0 +1,2 @@
+559072fdfc095cdb763c4de3471a889e  cracklib-2.9.2.tar.gz
+7fa6ba0cd50e7f9ccaf4707c810b14f1  cracklib-words-20080507.gz

Added: csw/mgar/pkg/cracklib/trunk/files/0001-Set-proper-types-instead-of-void.patch
===================================================================
--- csw/mgar/pkg/cracklib/trunk/files/0001-Set-proper-types-instead-of-void.patch	                        (rev 0)
+++ csw/mgar/pkg/cracklib/trunk/files/0001-Set-proper-types-instead-of-void.patch	2015-03-23 10:45:15 UTC (rev 24757)
@@ -0,0 +1,39 @@
+From 861498ed190776f0cf9e6ff74108444c7cd2778f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Sun, 22 Mar 2015 16:34:06 +0100
+Subject: [PATCH] Set proper types instead of void*
+
+---
+ lib/packlib.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/lib/packlib.c b/lib/packlib.c
+index f851424..b450275 100644
+--- a/lib/packlib.c
++++ b/lib/packlib.c
+@@ -408,7 +408,7 @@ PutPW(pwp, string)
+ 	fwrite((char *) &datum, sizeof(datum), 1, pwp->ifp);
+ 
+ 	fputs(pwp->data_put[0], pwp->dfp);
+-	putc(0, pwp->dfp);
++	putc(0, (FILE *) pwp->dfp);
+ 
+ 	ostr = pwp->data_put[0];
+ 
+@@ -421,10 +421,10 @@ PutPW(pwp, string)
+ 	    if (nstr[0])
+ 	    {
+ 		for (j = 0; ostr[j] && nstr[j] && (ostr[j] == nstr[j]); j++);
+-		putc(j & 0xff, pwp->dfp);
+-		fputs(nstr + j, pwp->dfp);
++		putc(j & 0xff, (FILE *) pwp->dfp);
++		fputs(nstr + j, (FILE *) pwp->dfp);
+ 	    }
+-	    putc(0, pwp->dfp);
++	    putc(0, (FILE *) pwp->dfp);
+ 
+ 	    ostr = nstr;
+ 	}
+-- 
+2.3.3
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list