[88556] trunk/dports/devel
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 4 00:36:22 PST 2012
Revision: 88556
http://trac.macports.org/changeset/88556
Author: ryandesign at macports.org
Date: 2012-01-04 00:36:19 -0800 (Wed, 04 Jan 2012)
Log Message:
-----------
fsvs: new port, version 1.2.3; see #25254
Added Paths:
-----------
trunk/dports/devel/fsvs/
trunk/dports/devel/fsvs/Portfile
trunk/dports/devel/fsvs/files/
trunk/dports/devel/fsvs/files/patch-configure.diff
trunk/dports/devel/fsvs/files/patch-src-Makefile.in.diff
trunk/dports/devel/fsvs/files/patch-src-fsvs.c.diff
Added: trunk/dports/devel/fsvs/Portfile
===================================================================
--- trunk/dports/devel/fsvs/Portfile (rev 0)
+++ trunk/dports/devel/fsvs/Portfile 2012-01-04 08:36:19 UTC (rev 88556)
@@ -0,0 +1,68 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name fsvs
+version 1.2.3
+categories devel
+platforms darwin
+maintainers ryandesign openmaintainer
+license GPL-3
+
+description Fast System VerSioning
+
+long_description FSVS is a complete backup/restore/versioning tool \
+ for all files in a directory tree or whole \
+ filesystems, with a Subversion repository as the \
+ backend. Think of it like tar or rsync with \
+ versioned storage.
+
+homepage http://fsvs.tigris.org/
+master_sites http://download.fsvs-software.org/ \
+ http://download.fsvs-software.org/old/
+use_bzip2 yes
+
+checksums rmd160 97b8f844b60569e807bd7d5980407bdfdfb7e2d2 \
+ sha256 5c9ffd204de2799538ab7b985c80d2900bced606497e2694652c11d991e68ebc
+
+depends_lib port:subversion \
+ port:gdbm \
+ port:pcre
+
+patchfiles patch-configure.diff \
+ patch-src-Makefile.in.diff
+
+configure.cflags-append -fnested-functions
+
+configure.universal_args
+
+build.args CC=${configure.cc}
+
+destroot.keepdirs ${destroot}${prefix}/etc/fsvs \
+ ${destroot}${prefix}/var/spool/fsvs \
+ ${destroot}${prefix}/etc/fsvs/svn/auth/svn.simple \
+ ${destroot}${prefix}/etc/fsvs/svn/auth/ssl.server \
+ ${destroot}${prefix}/etc/fsvs/svn/auth/ssl.client-passphrase
+
+post-destroot {
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/*.5] ${destroot}${prefix}/share/man/man5
+
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGES \
+ LICENSE \
+ README \
+ doc/FAQ \
+ doc/PERFORMANCE \
+ doc/USAGE \
+ doc/fsvs-ssl-setup \
+ doc/notice.txt \
+ ${docdir}
+}
+
+platform darwin {
+ patchfiles-append patch-src-fsvs.c.diff
+}
Property changes on: trunk/dports/devel/fsvs/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/fsvs/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/fsvs/files/patch-configure.diff (rev 0)
+++ trunk/dports/devel/fsvs/files/patch-configure.diff 2012-01-04 08:36:19 UTC (rev 88556)
@@ -0,0 +1,20 @@
+--- configure.orig 2011-01-17 01:52:50.000000000 -0600
++++ configure 2012-01-04 00:33:18.000000000 -0600
+@@ -4225,7 +4225,7 @@
+
+
+ ##################################### Header files
+-INCDIRS="/usr/local/include /usr/include /openpkg/include "
++INCDIRS=""
+ # The subversion headers do a #include <apr_pools.h>, so the APR libraries
+ # *have* to be directly specified.
+ # Furthermore there's apr-1/ as directory name, depending on apr version.
+@@ -4307,7 +4307,7 @@
+ $as_echo "$as_me: \"CFLAGS=$CFLAGS\"" >&6;}
+
+ ##################################### Linker
+-LIBDIRS="/usr/local/lib /openpkg/lib"
++LIBDIRS=""
+
+
+ # Check whether --with-aprlib was given.
Added: trunk/dports/devel/fsvs/files/patch-src-Makefile.in.diff
===================================================================
--- trunk/dports/devel/fsvs/files/patch-src-Makefile.in.diff (rev 0)
+++ trunk/dports/devel/fsvs/files/patch-src-Makefile.in.diff 2012-01-04 08:36:19 UTC (rev 88556)
@@ -0,0 +1,36 @@
+--- src/Makefile.in.orig 2010-02-12 10:30:31.000000000 -0600
++++ src/Makefile.in 2012-01-04 02:25:57.000000000 -0600
+@@ -88,7 +88,7 @@
+ prefix = @prefix@
+ mandir = @mandir@
+ install:
+- mkdir -p /etc/fsvs /var/spool/fsvs $(bindir) /etc/fsvs/svn/auth/svn.{simple,ssl.server,ssl.client-passphrase}
++ mkdir -p $(DESTDIR)$(prefix)/etc/fsvs $(DESTDIR)$(prefix)/var/spool/fsvs $(DESTDIR)$(bindir) $(DESTDIR)$(prefix)/etc/fsvs/svn/auth/svn.{simple,ssl.server,ssl.client-passphrase}
+ install -m 0755 $(DEST) $(DESTDIR)/$(bindir)
+ # install -m 0644 ../doc/fsvs.1 $(DESTDIR)/(mandir)
+
+@@ -146,13 +146,13 @@
+ ################################ Rules ######################################
+ %.o: %.c
+ @echo " CC $<"
+- @$(CC) $(CFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) -c -o $@ $<
+
+ # if the Makefile has changed, the output will (at least sometimes)
+ # change, too.
+ $(DEST): $(C_FILES:%.c=%.o)
+ @echo " Link $@"
+- @$(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS) -o $@ $^
++ $(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS) -o $@ $^
+ ifeq (@ENABLE_RELEASE@, 1)
+ -strip $@
+ endif
+@@ -169,7 +169,7 @@
+ deps: $(D_FILES)
+ .%.d: %.c
+ @echo " deps for $<"
+- @$(CC) $(INCS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@
++ $(CC) $(INCS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@
+ # $(CC) $(INCS) -MM -MF $@ $<
+ include $(D_FILES)
+
Added: trunk/dports/devel/fsvs/files/patch-src-fsvs.c.diff
===================================================================
--- trunk/dports/devel/fsvs/files/patch-src-fsvs.c.diff (rev 0)
+++ trunk/dports/devel/fsvs/files/patch-src-fsvs.c.diff 2012-01-04 08:36:19 UTC (rev 88556)
@@ -0,0 +1,12 @@
+http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2627813
+--- src/fsvs.c.orig 2010-01-25 03:29:49.000000000 -0600
++++ src/fsvs.c 2012-01-04 02:13:42.000000000 -0600
+@@ -357,7 +357,7 @@
+ struct url_t *current_url;
+
+ /* For Solaris, which doesn't have one ... */
+-char **environ=NULL;
++extern char **environ;
+
+
+ /** Opens the debug output file or pipe, as specified.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120104/68ed2acd/attachment.html>
More information about the macports-changes
mailing list