New recipe - fossil
Freddy DISSAUX
freddy.dsx at free.fr
Sat Sep 20 19:44:03 CEST 2014
Hello,
My first recipe for fossil, a DSCM with built-in wiki, http interface
and server, tickets database.
Hope all opencsw/mgar rules are respected,
Regards
-------------- next part --------------
Index: fossil/Makefile
===================================================================
--- fossil/Makefile (revision 0)
+++ fossil/Makefile (working copy)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Index: fossil/trunk/Makefile
===================================================================
--- fossil/trunk/Makefile (revision 0)
+++ fossil/trunk/Makefile (working copy)
@@ -0,0 +1,35 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = fossil
+VERSION = 1.29
+GARTYPE = v2
+GARCOMPILER = GNU
+DISTVERSION = 20140612172556
+DESCRIPTION = DSCM with built-in wiki, http interface and server, tickets database
+define BLURB
+Fossil is an easy-to-use Distributed Source Control Management system (DSCM)
+which supports access and administration over HTTP CGI or via a built-in HTTP
+server, has a built-in wiki, file browser, ticket system, and more.
+endef
+VENDOR_URL = http://www.fossil-scm.org/
+
+MASTER_SITES = http://www.fossil-scm.org/download/
+DISTFILES = $(NAME)-src-$(DISTVERSION).tar.gz
+WORKSRC = $(WORKDIR)/$(NAME)-src-$(DISTVERSION)
+PATCHDIR = $(WORKSRC)
+PATCHFILES += 0001-Include-string.h-to-mitigate-warnings.patch
+
+BUILD_DEP_PKGS = CSWlibssl-dev
+RUNTIME_DEP_PKGS_CSWfossil = CSWlibssl1-0-0
+
+#PATCHFILES += 0001-Fix-defined-to-mitigate-warnings.patch
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-openssl=$(includedir)
+
+# Remove exec_prefix from DIRPATHS:
+NODIRPATHS += --exec_prefix=/opt/csw
+# No test/check target provided by fossil
+TEST_SCRIPTS =
+
+include gar/category.mk
Property changes on: fossil/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: fossil/trunk/checksums
===================================================================
--- fossil/trunk/checksums (revision 0)
+++ fossil/trunk/checksums (working copy)
@@ -0,0 +1 @@
+dd8e7392e1a0ea69eb391f8b13ee34bf fossil-src-20140612172556.tar.gz
Index: fossil/trunk/files/0001-Include-string.h-to-mitigate-warnings.patch
===================================================================
--- fossil/trunk/files/0001-Include-string.h-to-mitigate-warnings.patch (revision 0)
+++ fossil/trunk/files/0001-Include-string.h-to-mitigate-warnings.patch (working copy)
@@ -0,0 +1,25 @@
+From 3e7862a7efa384b5957a864c1b809afe480d3e51 Mon Sep 17 00:00:00 2001
+From: Freddy DISSAUX <fdissaux+opencsw at lncsa.fr>
+Date: Sat, 20 Sep 2014 17:31:33 +0200
+Subject: [PATCH] Include string.h to mitigate warnings
+
+---
+ src/makeheaders.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/makeheaders.c b/src/makeheaders.c
+index 858426f..087af9b 100644
+--- a/src/makeheaders.c
++++ b/src/makeheaders.c
+@@ -44,6 +44,8 @@
+ # define WIN32
+ # endif
+ # include <string.h>
++#elif defined(__sun) && defined(__SVR4)
++# include <string.h>
+ #else
+ # include <unistd.h>
+ #endif
+--
+2.0.3
+
Index: fossil/trunk
===================================================================
--- fossil/trunk (revision 0)
+++ fossil/trunk (working copy)
Property changes on: fossil/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
More information about the users
mailing list