2016-12-03 20:40:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.39 2016/12/03 19:40:05 wiedi Exp $
|
2009-10-11 11:32:30 +02:00
|
|
|
|
2016-10-25 19:57:39 +02:00
|
|
|
DISTNAME= fossil-src-1.36
|
Update to 1.32 based on patch by Jan Danielsson in private email.
Changes for Version 1.32 (2015-03-14)
When creating a new repository using fossil init, ensure that
the new repository is fully compatible with historical versions
of Fossil by having a valid manifest as RID 1.
Anti-aliased rendering of arrowheads on timeline graphs.
Added vi/less-style key bindings to the --tk diff GUI.
Documentation updates to fix spellings and changes all "checkins"
to "check-ins".
Add the --repolist option to server commands such as fossil
server or fossil http.
Added the "Xekri" skin.
Enhance the "ln=" query parameter on artifact displays to accept
multiple ranges, separate by spaces (or "+" when URL-encoded).
Added fossil forget as an alias for fossil rm.
Changes For Version 1.31 (2015-02-23)
Change the auxiliary schema by adding columns MLINK.ISAUX and
MLINK.PMID columns to the schema, to support better drawing of
file change graphs. A fossil rebuild is recommended but is not
required. so that the new graph drawing logic can work effectively.
Added search over Check-in comments, Documents, Tickets and
Wiki. Disabled by default. The search can be either a full-scan
or it can use an index that is kept up-to-date automatically.
The new /srchsetup web-page and the fts-config command were
added to help configure the search capability. Expect further
enhancements to the search capabilities in subsequent releases.
Added form elements to some submenus (in particular the /timeline)
for easier operation.
Added the --ifneeded option to fossil rebuild.
Added "override skins" using the "skin:" line of the CGI script
or using the --skin LABEL option on the server, ui, or http
commands.
Embedded html documents that begin with <doc class="fossil-doc">
are displayed with standard headers and footers added.
Allow <div style='...'> markup in wiki.
Renamed "Events" to "Technical Notes", while updating the
technote display and control pages. Add support for technotes
as plain text or as Markdown.
Added the /md_rules pages containing summary instructions on
the Markdown format.
Added the --repolist and --nojail options to the various server
commands (ex: fossil server).
Added the fossil all add subcommand to "fossil all".
Improvements to the /login page. Some hyperlinks to pages that
require "anonymous" privileges are displayed even if the current
user is "nobody" but automatically redirect to /login.
The /doc web-page will now try to deliver the file "404.md"
from the top-level directory (if such a file exists) in place
of its built-in 404 text.
Download of Tarballs and ZIP Archives by user "nobody" is now
enabled by default in new repositories.
Enhancements to the table sorting controls. More display tables
are now sortable.
Add IPv6 support to fossil sync and fossil clone
Add more skins such as "San Francisco Modern" and "Eagle".
During shutdown, check to see if the check-out database
(".fslckout") contains a lot of free space, and if it does,
VACUUM it.
Added the /mimetype_list page.
Added the /hash-collisions page.
Allow the user of Common Table Expressions in the SQL that
defaults ticket reports.
Break out the components (css, footer, and header) for the
various built-in skins into separate files in the source tree.
2015-03-15 08:54:35 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2016-06-16 10:34:29 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
2009-10-11 11:32:30 +02:00
|
|
|
CATEGORIES= devel scm
|
2016-10-25 19:57:39 +02:00
|
|
|
MASTER_SITES= http://fossil-scm.org/xfer/uv/download/
|
2009-10-11 11:32:30 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2012-02-08 20:45:41 +01:00
|
|
|
HOMEPAGE= http://www.fossil-scm.org/
|
Update to 1.25:
Version 1.25:
Enhancements to ticket processing. There are now two tables:
TICKET and TICKETCHNG. There is one row in TICKETCHNG for each
ticket artifact. Fields from ticket artifacts go into either
or both of TICKET and TICKETCHNG, whichever contain matching
column names. Default ticket edit and viewing scripts are
updated to use TICKETCHNG. The TH1 scripting language is enhanced
to support this, including the new "query" command for doing
SQL queries against the repository database. All changes should
be backwards compatible.
Add the ability to moderate ticket and wiki changes. Unmoderated
changes do not sync and may be deleted by the moderator if
found to contain spam or other objectionable content.
Add javascript so that clicking on a node of the timeline graph
selects that node. Then clicking on a second node shows a diff
between the two nodes. Clicking on the selected node unselects
it.
Warn of unresolved merge conflicts in "fossil status" and
disallow commits of unresolved conflicts unless the --allow-conflict
option is used.
Add javascript so that clicking on column headers in a ticket
report sorts by the indicated column.
Add the "fossil cat" command which is basically an alias for
"fossil finfo -p".
Hyperlinks with the class "button" are rendered as submenu
buttons on embedded documentation.
The check-in comment editor on windows now defaults to NotePad.exe.
Correctly deal with BOMs in check-in comments. Also attempt to
convert check-in comments to UTF8 from other encodings.
Allow the deletion of multiple stash entries using multiple
arguments to the "fossil stash rm" command.
Enhance the "fossil server DIRECTORY" command to serve static
content files contained in DIRECTORY. For security, only files
with a recognized suffix (such as *.html, *.jpg, *.txt, etc)
will be delivered as static content, and *.fossil files are
not on the list of recognized suffixes. There are additional
restrictions on the names of the files.
Allow the "fossil ui" command to specify a directory as long
as the the --notfound option is used.
Add a configuration option that causes timeline messages to be
rendered as text/x-fossil-plain (which is the same as text/plain
except that hyperlinks inside of [...] are decorated.)
Only decorate [...] in check-in comments and tickets if the
contented text really is a valid hyperlink target.
Improvements to the side-by-side diff algorithm, for a more
human-friendly display in some complex cases.
Added [utime] and [stime] commands to TH1. These commands can
be used for things such as displaying the page rendering time
in the footer.
Add the ability to pass command-line options of "fossil rebuild"
to "fossil all rebuild".
Add the --deanalyze option to "fossil rebuild" (and "fossil
all rebuild")
Do not run the graphical merging tool nor leave merge-droppings
after a dry-run merge. Display an improved merge-summary message
at the end of the merge.
Add options to "fossil commit" to override the various sanity
checks. Options added: --allow-empty, --allow-fork, --allow-older,
and --allow-conflict.
Optionally require a CAPTCHA (controlled by a setting on the
Admin/Access webpage) when a user who is not logged in tries
to edit wiki, or a ticket, or an attachment.
Improvements to the "ssh://" sync protocol, to help it move
past noisey motd comments.
Add the uf=FILE-SHA1-HASH query parameter to the timeline,
causing the timeline to show only check-ins that contain the
specific file identified by FILE-SHA1-HASH. ("uf" stands for
"uses file".)
Enhance the file change annotator so that it follows the file
across name changes.
Fix the server-side of the sync protocol so that it will not
generate a delta loop when a file changes from its original
state, through two or more intermediate states, and back to
the original state, all within a single sync.
Show much less output during a sync operation, unless the
--verbose option is used.
Set the action= attribute of <form> elements using javascript,
as an addition defense against spam-bots.
Disallow invalid UTF8 characters (such as characters in the
surrogate pair range) in filenames.
Judge the UserAgent strings issued by the NetSurf webbrowser
to be coming from a human, not from a bot.
Add the zlib sources to the Fossil source tree (under compat/zlib)
and use those sources when compiling on (windows) systems that
do not have a zlib library installed by default.
Prompt the user with the option to convert non-UTF8 files into
UTF8 when committing.
Allow the characters *[]? in filenames.
Allow the --context option on diff commands to have a value of
0.
Added the "dbstat" command.
Enhanced "fossil merge" so that if the VERSION argument is
omitted, Fossil tries to merge any forks of the current branch.
Improved detection of forks in a commit race.
Added the --analyze option to "fossil rebuild".
Version 1.24:
Added support for WYSIWYG editing of wiki pages. WYSIWYG is
turned off by default and can be turned on by setting a
configuration option.
Allow style= attribute to occur in HTML markup on wiki pages.
Added the --tk option to the "fossi diff" and "fossil stash
diff" commands, causing color-coded diff output to be displayed
in a Tcl/Tk GUI window. This option only works if Tcl/Tk is
installed on the host.
On windows, make the "gdiff" command default to use WinDiff.exe.
Update the "fossil stash" command so that it always prompts
for a comment if the -m option is omitted.
Enhance the timeline webpages so that a=, b=, c=, d=, p=, and
dp= query parameters (and others) can all accept any valid
checkin name (such as branch names or labels) instead of just
SHA1 hashes.
Added the "fossil stash show" command.
Added the "fileage" webpage with links to this page from the
check-in information page and from the file browser.
Added --age and -t options to the "fossil ls" command.
Added the --setmtime option to "fossil update". When used, the
mtime of all mananged files is set to the time when the most
recent version of the file was checked in.
Changed the "vdiff" webpage to show the complete text of files
that were added or removed (the equivelent of using the -N or
--newfile options with the "fossil diff" command-line.)
Added the --temp option to "fossil clean" and "fossil extra",
causing those commands to only look at temporary files generated
by Fossil, such as merge-conflict reports or aborted check-in
messages.
Enhance the raw page download so that it can guess the mimetype
of attachments based on the filename.
Change the behavior of the from= and to= query parameters on
the timeline page so that by default the path between the two
specified check-ins avoids merges.
Add the --baseurl option to "fossil server" and "fossil http"
commands, so that those commands can be used with reverse
proxies.
If unable to determine the command-line user, do not guess.
Instead issue an error message. This helps prevent check-ins
from accidentally occurring under the wrong username.
Include branch information in the output of file change listings
(the "finfo" webpage).
Make the simplified view of file history, rather than the full
view, the default.
In the "fossil configuration" command, allow the "css" option
for synchronizing, importing, or exporting just the CSS file.
This makes it easier to share CSS files across repositories by
exporting from one and importing to another.
Add the (unsupported) "fossil test-orphans" command.
Add the --template option to the "fossil init" command, to
facilitate creating new repositories based on a template
repository.
Add the diff-binary setting, which if enabled causes binary
files to be passed to the "gdiff" command for it to deal with,
rather than simply printing a "cannot diff binary files" error.
Add the --unified option to the "fossil diff" command to force
a unified diff even if the --tk option (which normally implies
a side-by-side diff) is used.
Present a choice of nearby branches and versions to diff against
on the check-in information page.
Add the --force option to the "fossil merge" command that will
force the merge to occur even if it would be a no-op. This is
sometimes useful for documentation purposes.
Add another built-in skin: "Enhanced Default". Other minor
tweaks to the existing skins.
Add the "urllist" webpage, showing a list of URLs by which a
server instance of Fossil has been accessed. Requires
"Administrator" privileges. A link is on the "Setup" main page.
Enable dynamic loading of the Tcl runtime for installations
that want to use Tcl as part of their configuration. This
reduces the size of the Fossil binary and allows any version
of Tcl 8.4 or later to be used.
Merge the latest SQLite changes from upstream.
Lots of minor bug fixes.
2013-04-10 13:31:58 +02:00
|
|
|
COMMENT= High-reliability, distributed software configuration management
|
2010-05-31 22:21:06 +02:00
|
|
|
LICENSE= 2-clause-bsd
|
2009-10-11 11:32:30 +02:00
|
|
|
|
2012-02-08 20:45:41 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2015-12-12 00:22:49 +01:00
|
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl:Q}
|
2016-12-03 20:40:05 +01:00
|
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib:Q}
|
2009-10-11 11:32:30 +02:00
|
|
|
|
2015-12-29 16:31:13 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
|
2009-10-11 11:32:30 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fossil ${DESTDIR}${PREFIX}/bin
|
2015-12-29 16:31:13 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/fossil.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT-BSD2.txt \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/linenoise.h \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2009-10-11 11:32:30 +02:00
|
|
|
|
2011-12-03 20:38:48 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2009-10-11 11:32:30 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|