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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Mar 23 11:30:19 CET 2015


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

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

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

Index: csw/mgar/pkg/cracklib-words/trunk
===================================================================
--- csw/mgar/pkg/cracklib-words/trunk	2015-03-23 07:41:53 UTC (rev 24755)
+++ csw/mgar/pkg/cracklib-words/trunk	2015-03-23 10:30:18 UTC (rev 24756)

Property changes on: csw/mgar/pkg/cracklib-words/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/cracklib-words/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cracklib-words/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cracklib-words/trunk/Makefile	2015-03-23 10:30:18 UTC (rev 24756)
@@ -0,0 +1,28 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = cracklib-words
+VERSION = 20080507
+GARTYPE = v2
+
+DESCRIPTION = Next generation version of libCrack password checking library
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES += $(DISTNAME).gz
+
+PACKAGES += CSWcracklib-words
+SPKG_DESC_CSWcracklib = Cracklib word dictionary
+# PKGFILES is catchall
+ARCHALL_CSWcracklib-words = 1
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+install-custom:
+	ginstall -D -m 0644 $(WORKDIR)/$(DISTNAME) $(DESTDIR)/opt/csw/share/lib/dict/$(DISTNAME)
+	ln -s $(DISTNAME) $(DESTDIR)/opt/csw/share/lib/dict/$(NAME)
+	@$(MAKECOOKIE)


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

Added: csw/mgar/pkg/cracklib-words/trunk/files/0001-Set-proper-types-instead-of-void.patch
===================================================================
--- csw/mgar/pkg/cracklib-words/trunk/files/0001-Set-proper-types-instead-of-void.patch	                        (rev 0)
+++ csw/mgar/pkg/cracklib-words/trunk/files/0001-Set-proper-types-instead-of-void.patch	2015-03-23 10:30:18 UTC (rev 24756)
@@ -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