SF.net SVN: gar:[25914] csw/mgar/pkg/lang-java/ldapjdk/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Tue Aug 30 08:17:41 CEST 2016


Revision: 25914
          http://sourceforge.net/p/gar/code/25914
Author:   cgrzemba
Date:     2016-08-30 06:17:40 +0000 (Tue, 30 Aug 2016)
Log Message:
-----------
lang-java/ldapjdk/trunk: update recipe for the new source repository

Modified Paths:
--------------
    csw/mgar/pkg/lang-java/ldapjdk/trunk/Makefile
    csw/mgar/pkg/lang-java/ldapjdk/trunk/files/0001-matching-rule-parsing.patch

Modified: csw/mgar/pkg/lang-java/ldapjdk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-java/ldapjdk/trunk/Makefile	2016-08-29 13:53:58 UTC (rev 25913)
+++ csw/mgar/pkg/lang-java/ldapjdk/trunk/Makefile	2016-08-30 06:17:40 UTC (rev 25914)
@@ -13,11 +13,14 @@
 In the LDAP protocol, requests and responses are encoded using the Basic Encoding Rules (BER). The SDK source code include classes for encoding and decoding data, according to these rules.
 endef
 
+VENDOR_URL = http://developer.mozilla.org
+
 # MASTER_SITES = http://ftp.mozilla.org/pub/mozilla.org/directory/java-sdk
 # MASTER_SITES = http://www-archive.mozilla.org/directory/
-MASTER_SITES = http://pki.fedoraproject.org/pki/sources/ldapjdk/
+# MASTER_SITES = http://pki.fedoraproject.org/pki/sources/ldapjdk/
+HG_REPOS = http://hg.mozilla.org/projects/ldap-sdks
 DISTNAME = $(NAME)-$(VERSION)
-# DISTFILES  = $(NAME)-$(VERSION).tar.gz
+# DISTFILES  += $(NAME)-$(VERSION).tar.gz
 DISTFILES += COPYING
 
 PACKAGES = CSWldapjdk
@@ -29,8 +32,8 @@
 
 CATALOGNAME_CSWldapjdk = ldapjdk
 
-WORKSRC = $(WORKDIR)
-DISTDIR = mozilla/directory/java-sdk
+# WORKSRC = $(WORKDIR)
+DISTDIR = java-sdk
 LICENSE = COPYING
 # LICENSE = $(WORKDIR)/$(DISTDIR)/relnotes.htm
 
@@ -47,11 +50,11 @@
 
 install-custom: 
 	@ginstall -d $(DESTDIR)$(datadir)/java
-	@gcp -fp $(WORKSRC)/$(DISTNAME)/$(DISTDIR)/dist/packages/$(CATALOGNAME_CSWldapjdk).jar $(DESTDIR)$(datadir)/java
+	@gcp -fp $(WORKSRC)/$(DISTDIR)/dist/packages/$(CATALOGNAME_CSWldapjdk).jar $(DESTDIR)$(datadir)/java
 	@$(MAKECOOKIE)
 
 build-custom:
-	@( cd $(WORKSRC)/$(DISTNAME)/$(DISTDIR); \
+	@( cd $(WORKSRC)/$(DISTDIR); \
 	  JAVA_HOME=$(JAVA_HOME) gmake -f ldap.mk MOZ_SRC=. JAVA_VERSION=1.7 ; \
 	  JAVA_HOME=$(JAVA_HOME) gmake -f ldap.mk basepackage )
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/lang-java/ldapjdk/trunk/files/0001-matching-rule-parsing.patch
===================================================================
--- csw/mgar/pkg/lang-java/ldapjdk/trunk/files/0001-matching-rule-parsing.patch	2016-08-29 13:53:58 UTC (rev 25913)
+++ csw/mgar/pkg/lang-java/ldapjdk/trunk/files/0001-matching-rule-parsing.patch	2016-08-30 06:17:40 UTC (rev 25914)
@@ -1,5 +1,5 @@
---- ./mozilla/directory/java-sdk/ldapjdk/netscape/ldap/LDAPSchemaElement.java	Fri Feb 18 09:02:26 2011 -0700
-+++ ./mozilla/directory/java-sdk/ldapjdk/netscape/ldap/LDAPSchemaElement.java	Thu Mar 10 13:51:04 2011 -0800
+--- ./java-sdk/ldapjdk/netscape/ldap/LDAPSchemaElement.java	Fri Feb 18 09:02:26 2011 -0700
++++ ./java-sdk/ldapjdk/netscape/ldap/LDAPSchemaElement.java	Thu Mar 10 13:51:04 2011 -0800
 @@ -544,6 +544,10 @@
          for( int i = 0; i < names.length; i++ ) {
              String[] vals = getQualifier( names[i] );

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