Ravenports generated: 06 Aug 2019 10:18
[ravenports.git] / bucket_15 / subversion
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               subversion
4 VERSION=                1.12.2
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Version control system
8 HOMEPAGE=               https://subversion.apache.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            APACHE/subversion
13 DISTFILE[1]=            subversion-1.12.2.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          expat:static:standard
21                         lz4:static:standard
22 BUILDRUN_DEPENDS=       serf:single:standard
23                         lz4:shared:standard
24                         utf8proc:single:standard
25
26 USES=                   bdb:5 cpe libtool pkgconfig gettext-runtime
27                         gettext-tools zlib shebangfix
28
29 CPE_VENDOR=             apache
30 FPC_EQUIVALENT=         devel/subversion
31 SHEBANG_FILES=          tools/server-side/svnpubsub/rc.d/svnpubsub.solaris
32                         tools/server-side/svnpubsub/rc.d/svnwcsub.solaris
33 SHEBANG_OLD_PYTHON=     {{LOCALBASE}}/bin/python2
34                         "/bin/env python"
35 SHEBANG_REGEX=          ./tools/.*
36
37 MUST_CONFIGURE=         gnu
38 CONFIGURE_ARGS=         --without-swig
39                         --with-serf
40                         --with-sqlite={{LOCALBASE}}
41                         --with-expat={{LOCALBASE}}/include:{{LOCALBASE}}/lib:expat
42                         --with-apr={{LOCALBASE}}/bin/apr-1-config
43                         --with-apr-util={{LOCALBASE}}/bin/apu-1-config
44                         --with-berkeley-db
45                         --enable-bdb6
46
47 MAKE_ARGS=              pkgconfig_dir={{PREFIX}}/lib/pkgconfig
48
49 INSTALL_REQ_TOOLCHAIN=  yes
50 RC_SUBR=                svnserve:single
51
52 VAR_OPSYS[sunos]=       CFLAGS=-D__EXTENSIONS__
53                         CONFIGURE_ENV=ac_cv_search_bindtextdomain="-lintl"
54 VAR_ARCH[x86_64]=       CFLAGS=-fpic
55                         CFLAGS=-DPIC
56
57 post-patch:
58         ${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c
59         ${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h
60         ${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in
61         ${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in
62         # remove all .bak files to clean the stage
63         ${FIND} ${WRKSRC} -name '*.bak' -delete
64
65 post-install:
66         (cd ${WRKSRC}/tools.examples && \
67                 ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/subversion)
68         (cd ${STAGEDIR}${PREFIX}/share/subversion && \
69                 ${RM} backup/hot-backup.py.in \
70                 hook-scripts/commit-access-control.pl.in)
71         (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
72                 ${MAKE_CMD} -C ${WRKSRC} install-tools ${MAKE_ARGS})
73         ${RMDIR} ${STAGEDIR}${PREFIX}/share/subversion/buildbot/slaves/svn-arm64-gentoo
74         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/svn*
75         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/x509-parser
76         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fsfs-access-map
77         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
78
79 post-build:
80         (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
81                 ${MAKE_CMD} -C ${WRKSRC} tools ${MAKE_ARGS})
82
83 post-configure:
84         # Enable GNOME Keyring / KWallet support in main code, as it is harmless
85         ${REINPLACE_CMD} -E 's%.*#undef SVN_HAVE_(GNOME_KEYRING|KWALLET).*%#define SVN_HAVE_\1 1%' ${WRKSRC}/subversion/svn_private_config.h
86         # ugly hack: save tools directory so we don't have to cleanup before installing
87         ${CP} -R ${WRKSRC}/tools ${WRKSRC}/tools.examples
88         ${CHMOD} -R a-st,o+rX ${WRKSRC}/tools.examples
89
90 [FILE:407:descriptions/desc.single]
91 Subversion is an open source version control system.
92
93 Subversion exists to be universally recognized and adopted as an
94 open-source, centralized version control system characterized by its
95 reliability as a safe haven for valuable data; the simplicity of its
96 model and usage; and its ability to support the needs of a wide variety
97 of users and projects, from individuals to large-scale enterprise
98 operations.
99
100
101 [FILE:104:distinfo]
102 3bd0b5c8e4c5175263dc9a92fd9aef94ce917e80af034f26fe5c45fde7e0f771      8506584 subversion-1.12.2.tar.bz2
103
104
105 [FILE:9865:manifests/plist.single]
106 bin/
107  fsfs-access-map
108  fsfs-stats
109  svn
110  svn-mergeinfo-normalizer
111  svn-populate-node-origins-index
112  svnadmin
113  svnauthz
114  svnauthz-validate
115  svnbench
116  svnconflict
117  svndiff
118  svndiff3
119  svndiff4
120  svndumpfilter
121  svnfsfs
122  svnlook
123  svnmover
124  svnmucc
125  svnraisetreeconflict
126  svnrdump
127  svnserve
128  svnsync
129  svnversion
130  x509-parser
131 include/subversion-1/
132  mod_authz_svn.h
133  mod_dav_svn.h
134  svn-revision.txt
135  svn_auth.h
136  svn_base64.h
137  svn_cache_config.h
138  svn_checksum.h
139  svn_client.h
140  svn_cmdline.h
141  svn_compat.h
142  svn_config.h
143  svn_ctype.h
144  svn_dav.h
145  svn_delta.h
146  svn_diff.h
147  svn_dirent_uri.h
148  svn_dso.h
149  svn_error.h
150  svn_error_codes.h
151  svn_fs.h
152  svn_hash.h
153  svn_io.h
154  svn_iter.h
155  svn_md5.h
156  svn_mergeinfo.h
157  svn_nls.h
158  svn_opt.h
159  svn_opt_impl.h
160  svn_path.h
161  svn_pools.h
162  svn_props.h
163  svn_quoprint.h
164  svn_ra.h
165  svn_ra_svn.h
166  svn_repos.h
167  svn_sorts.h
168  svn_string.h
169  svn_subst.h
170  svn_time.h
171  svn_types.h
172  svn_types_impl.h
173  svn_user.h
174  svn_utf.h
175  svn_version.h
176  svn_wc.h
177  svn_x509.h
178  svn_xml.h
179 lib/
180  libsvn_client-1.a
181  libsvn_client-1.so
182  libsvn_client-1.so.0
183  libsvn_client-1.so.0.0.0
184  libsvn_delta-1.a
185  libsvn_delta-1.so
186  libsvn_delta-1.so.0
187  libsvn_delta-1.so.0.0.0
188  libsvn_diff-1.a
189  libsvn_diff-1.so
190  libsvn_diff-1.so.0
191  libsvn_diff-1.so.0.0.0
192  libsvn_fs-1.a
193  libsvn_fs-1.so
194  libsvn_fs-1.so.0
195  libsvn_fs-1.so.0.0.0
196  libsvn_fs_base-1.a
197  libsvn_fs_base-1.so
198  libsvn_fs_base-1.so.0
199  libsvn_fs_base-1.so.0.0.0
200  libsvn_fs_fs-1.a
201  libsvn_fs_fs-1.so
202  libsvn_fs_fs-1.so.0
203  libsvn_fs_fs-1.so.0.0.0
204  libsvn_fs_util-1.a
205  libsvn_fs_util-1.so
206  libsvn_fs_util-1.so.0
207  libsvn_fs_util-1.so.0.0.0
208  libsvn_fs_x-1.a
209  libsvn_fs_x-1.so
210  libsvn_fs_x-1.so.0
211  libsvn_fs_x-1.so.0.0.0
212  libsvn_ra-1.a
213  libsvn_ra-1.so
214  libsvn_ra-1.so.0
215  libsvn_ra-1.so.0.0.0
216  libsvn_ra_local-1.a
217  libsvn_ra_local-1.so
218  libsvn_ra_local-1.so.0
219  libsvn_ra_local-1.so.0.0.0
220  libsvn_ra_serf-1.a
221  libsvn_ra_serf-1.so
222  libsvn_ra_serf-1.so.0
223  libsvn_ra_serf-1.so.0.0.0
224  libsvn_ra_svn-1.a
225  libsvn_ra_svn-1.so
226  libsvn_ra_svn-1.so.0
227  libsvn_ra_svn-1.so.0.0.0
228  libsvn_repos-1.a
229  libsvn_repos-1.so
230  libsvn_repos-1.so.0
231  libsvn_repos-1.so.0.0.0
232  libsvn_subr-1.a
233  libsvn_subr-1.so
234  libsvn_subr-1.so.0
235  libsvn_subr-1.so.0.0.0
236  libsvn_wc-1.a
237  libsvn_wc-1.so
238  libsvn_wc-1.so.0
239  libsvn_wc-1.so.0.0.0
240 lib/pkgconfig/
241  libsvn_client.pc
242  libsvn_delta.pc
243  libsvn_diff.pc
244  libsvn_fs.pc
245  libsvn_fs_base.pc
246  libsvn_fs_fs.pc
247  libsvn_fs_util.pc
248  libsvn_fs_x.pc
249  libsvn_ra.pc
250  libsvn_ra_local.pc
251  libsvn_ra_serf.pc
252  libsvn_ra_svn.pc
253  libsvn_repos.pc
254  libsvn_subr.pc
255  libsvn_wc.pc
256 share/locale/de/LC_MESSAGES/subversion.mo
257 share/locale/es/LC_MESSAGES/subversion.mo
258 share/locale/fr/LC_MESSAGES/subversion.mo
259 share/locale/it/LC_MESSAGES/subversion.mo
260 share/locale/ja/LC_MESSAGES/subversion.mo
261 share/locale/ko/LC_MESSAGES/subversion.mo
262 share/locale/nb/LC_MESSAGES/subversion.mo
263 share/locale/pl/LC_MESSAGES/subversion.mo
264 share/locale/pt_BR/LC_MESSAGES/subversion.mo
265 share/locale/sv/LC_MESSAGES/subversion.mo
266 share/locale/zh_CN/LC_MESSAGES/subversion.mo
267 share/locale/zh_TW/LC_MESSAGES/subversion.mo
268 share/man/man1/
269  svn.1.gz
270  svnadmin.1.gz
271  svndumpfilter.1.gz
272  svnlook.1.gz
273  svnmucc.1.gz
274  svnrdump.1.gz
275  svnsync.1.gz
276  svnversion.1.gz
277 share/man/man5/svnserve.conf.5.gz
278 share/man/man8/svnserve.8.gz
279 share/subversion/backup/hot-backup.py
280 share/subversion/bdb/
281  erase-all-text-data.py
282  skel.py
283  svn-bdb-view.py
284  svnfs.py
285  whatis-rep.py
286 share/subversion/buildbot/master/README
287 share/subversion/buildbot/slaves/README
288 share/subversion/buildbot/slaves/bb-openbsd/
289  svnbuild.sh
290  svncheck-bindings.sh
291  svncheck.sh
292  svnclean.sh
293 share/subversion/buildbot/slaves/i686-debian-sarge1/
294  mount-ramdrive.c
295  svnbuild.sh
296  svncheck.sh
297  svnclean.sh
298  svnlog.sh
299  unmount-ramdrive.c
300 share/subversion/buildbot/slaves/svn-sparc-solaris/
301  mount-tmpfs.c
302  rebuild-svn-bits.sh
303  serf.patch
304  svnbuild.sh
305  svncheck.sh
306  svncleanup.sh
307  svnenv.sh
308  twisted.patch
309 share/subversion/buildbot/slaves/svn-x64-centos/
310  list-svn-deps.sh
311  svnbuild.sh
312  svncheck-bindings.sh
313  svncheck.sh
314  svnclean.sh
315  svnlog.sh
316 share/subversion/buildbot/slaves/svn-x64-macosx/
317  mkramdisk.sh
318  rmramdisk.sh
319  setenv.sh
320  svnbuild-bindings.sh
321  svnbuild.sh
322  svncheck-bindings.sh
323  svncheck.sh
324  svnclean.sh
325 share/subversion/buildbot/slaves/svnbot-common/README
326 share/subversion/buildbot/slaves/ubuntu-x64/
327  svnbuild.sh
328  svncheck-bindings.sh
329  svncheck.sh
330  svnclean.sh
331  svnlog.sh
332 share/subversion/buildbot/slaves/win32-SharpSvn/
333  svn-config.cmd.template
334  svntest-bindings.cmd
335  svntest-build-bindings.cmd
336  svntest-build.cmd
337  svntest-cleanup.cmd
338  svntest-javahl.cmd
339  svntest-template.cmd
340  svntest-test.cmd
341 share/subversion/buildbot/slaves/win32-xp-VS2005/
342  config.bat
343  do_all.bat
344  svnbuild.bat
345  svncheck.bat
346  svnclean.bat
347  svnlog.bat
348 share/subversion/client-side/
349  bash_completion
350  bash_completion_test
351  change-svn-wc-format.py
352  mergeinfo-sanitizer.py
353  server-version.py
354  svn-graph.pl
355  svn-ssl-fingerprints.sh
356  svn-vendor.py
357  svn-viewspec.py
358  svnviewspec_test.py
359  wcfind
360 share/subversion/client-side/svn-mergeinfo-normalizer/
361  analyze-cmd.c
362  help-cmd.c
363  log.c
364  logic.c
365  mergeinfo-normalizer.h
366  missing-branches.c
367  normalize-cmd.c
368  remove-branches-cmd.c
369  svn-mergeinfo-normalizer.c
370  wc_mergeinfo.c
371 share/subversion/client-side/svnconflict/
372  README
373  svnconflict.c
374 share/subversion/dev/
375  analyze-svnlogs.py
376  aprerr.txt
377  build-svn-deps-win.pl
378  check-license.py
379  contribulyze.py
380  datecheck.py
381  find-bad-style.py
382  find-control-statements.py
383  find-unmoved-deprecated.sh
384  fsfs-access-map.c
385  gen-javahl-errors.py
386  gen-py-errors.py
387  gen_junit_report.py
388  gnuify-changelog.pl
389  graph-dav-servers.py
390  histogram.py
391  lock-check.py
392  log_revnum_change_asf.py
393  merge-graph.py
394  min-includes.sh
395  mklog.py
396  mlpatch.py
397  normalize-dump.py
398  po-merge.py
399  prebuild-cleanup.sh
400  random-commits.py
401  remove-trailing-whitespace.sh
402  sbox-ospath.py
403  scramble-tree.py
404  stress.pl
405  svn-dev.el
406  svn-dev.vim
407  svn-entries.el
408  svn-merge-revs.py
409  svnqlite3-dump
410  trails.py
411  verify-history.py
412  warn-ignored-err.sh
413  wc-format.py
414  which-error.py
415  x509-parser.c
416 share/subversion/dev/benchmarks/RepoPerf/
417  ClearMemory.cpp
418  TimeWin.cpp
419  copy_repo.py
420  win_repo_bench.py
421 share/subversion/dev/benchmarks/large_dirs/create_bigdir.sh
422 share/subversion/dev/benchmarks/suite1/
423  benchmark.py
424  cronjob
425  crontab.entry
426  generate_charts
427  run
428  run.bat
429 share/subversion/dev/gdb-py/README
430 share/subversion/dev/gdb-py/svndbg/
431  __init__.py
432  printers.py
433 share/subversion/dev/iz/
434  defect.dem
435  ff2csv.command
436  ff2csv.py
437  find-fix.py
438  run-queries.sh
439 share/subversion/dev/mergegraph/
440  __init__.py
441  mergegraph.py
442  save_as_sh.py
443 share/subversion/dev/svnmover/
444  merge3.c
445  ra.c
446  scanlog.c
447  svnmover.c
448  svnmover.h
449  util.c
450 share/subversion/dev/svnmover/linenoise/
451  LICENSE
452  README.markdown
453  linenoise.c
454  linenoise.h
455 share/subversion/dev/svnraisetreeconflict/svnraisetreeconflict.c
456 share/subversion/dev/unix-build/
457  Makefile.svn
458  README
459 share/subversion/dev/wc-ng/
460  bump-to-19.py
461  count-progress.py
462  gather-data.sh
463  graph-data.py
464  populate-pristine.py
465  svn-wc-db-tester.c
466 share/subversion/dev/windows-build/
467  Makefile
468  README
469  document-version.pl
470 share/subversion/diff/
471  diff.c
472  diff3.c
473  diff4.c
474 share/subversion/dist/
475  README.advisory
476  README.backport
477  advisory.py
478  backport.pl
479  backport_tests.py
480  backport_tests_pl.py
481  backport_tests_py.py
482  changes-to-html.py
483  checksums.py
484  create-minor-release-branch.py
485  detect-conflicting-backports.py
486  dist.sh
487  edit-N-log-messages
488  extract-for-examination.sh
489  merge-approved-backports.py
490  nightly.sh
491  nominate.pl
492  rat-excludes
493  release.py
494  test.sh
495 share/subversion/dist/backport/
496  __init__.py
497  merger.py
498  status.py
499 share/subversion/dist/backport_tests_data/
500  backport_accept.dump
501  backport_branch_with_original_revision.dump
502  backport_branches.dump
503  backport_indented_entry.dump
504  backport_logsummary_colon.dump
505  backport_multirevisions.dump
506  backport_two_approveds.dump
507  backport_unicode_entry.dump
508 share/subversion/dist/security/
509  __init__.py
510  _gnupg.py
511  adviser.py
512  mailer.py
513  mailinglist.py
514  parser.py
515 share/subversion/dist/templates/
516  download.ezt
517  rc-news.ezt
518  rc-release-ann.ezt
519  stable-news.ezt
520  stable-release-ann.ezt
521 share/subversion/examples/
522  ExampleAuthn.java
523  ExampleAuthnOld.java
524  ExampleAuthnVeryOld.java
525  SvnCLBrowse
526  blame.py
527  check-modified.py
528  dumpprops.py
529  get-location-segments.py
530  getfile.py
531  getlocks_test.c
532  geturl.py
533  headrev.c
534  info.rb
535  minimal_client.c
536  putfile.py
537  revplist.py
538  svnlog2html.rb
539  svnlook.py
540  svnlook.rb
541  svnput.c
542  svnserve-sgid.c
543  svnshell.py
544  svnshell.rb
545  testwrite.c
546  walk-config-auth.py
547 share/subversion/hook-scripts/
548  CVE-2017-9800-pre-commit.py
549  commit-access-control.cfg.example
550  commit-access-control.pl
551  commit-email.rb
552  control-chars.py
553  log-police.py
554  persist-ephemeral-txnprops.py
555  reject-detected-sha1-collisions.sh
556  reject-known-sha1-collisions.sh
557  svn2feed.py
558  svnperms.conf.example
559  svnperms.py
560  validate-extensions.py
561  validate-files.conf.example
562  validate-files.py
563  verify-po.py
564 share/subversion/hook-scripts/mailer/
565  mailer.conf.example
566  mailer.py
567 share/subversion/hook-scripts/mailer/tests/
568  mailer-init.sh
569  mailer-t1.output
570  mailer-t1.sh
571  mailer-tweak.py
572  mailer.conf
573 share/subversion/po/
574  l10n-report.py
575  po-update.sh
576 share/subversion/server-side/
577  fsfs-reshard.py
578  svn-backup-dumps.py
579  svn-populate-node-origins-index.c
580  svn_server_log_parse.py
581  svnauthz.c
582  svnpredumpfilter.py
583  test_svn_server_log_parse.py
584 share/subversion/server-side/mod_dontdothat/
585  README
586  mod_dontdothat.c
587 share/subversion/server-side/svnpubsub/
588  README.txt
589  commit-hook.py
590  daemonize.py
591  irkerbridge.py
592  revprop-change-hook.py
593  svnpubsub.tac
594  svntweet.py
595  svnwcsub.conf.example
596  svnwcsub.py
597  testserver.py
598  watcher.py
599 share/subversion/server-side/svnpubsub/rc.d/
600  svnpubsub
601  svnpubsub.debian
602  svnpubsub.freebsd
603  svnpubsub.solaris
604  svnwcsub
605  svnwcsub.debian
606  svnwcsub.freebsd
607  svnwcsub.solaris
608 share/subversion/server-side/svnpubsub/svnpubsub/
609  __init__.py
610  client.py
611  server.py
612  util.py
613 share/subversion/xslt/
614  svnindex.css
615  svnindex.xsl
616
617
618 [FILE:371:patches/patch-Makefile.in]
619 --- Makefile.in.orig    2019-01-22 13:55:54 UTC
620 +++ Makefile.in
621 @@ -93,7 +93,7 @@ swig_pydir = @libdir@/svn-python/libsvn
622  swig_pydir_extra = @libdir@/svn-python/svn
623  swig_pldir = @libdir@/svn-perl
624  swig_rbdir = $(SWIG_RB_SITE_ARCH_DIR)/svn/ext
625 -toolsdir = @bindir@/svn-tools
626 +toolsdir = @bindir@
627  
628  # where to install pkg-config files
629  pkgconfig_dir = $(datadir)/pkgconfig
630
631
632 [FILE:1392:patches/patch-build-outputs.mk]
633 --- build-outputs.mk.orig       2019-07-19 10:42:36 UTC
634 +++ build-outputs.mk
635 @@ -1354,11 +1354,11 @@ install-swig-rb-lib: subversion/bindings
636  
637  install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/client-side/svn-mergeinfo-normalizer/svn-mergeinfo-normalizer$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnconflict/svnconflict$(EXEEXT) tools/dev/svnmover/svnmover$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) tools/dev/x509-parser$(EXEEXT)
638         $(MKDIR) $(DESTDIR)$(toolsdir)
639 -       cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT)
640 +       cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff$(EXEEXT)
641         
642 -       cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT)
643 +       cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff3$(EXEEXT)
644         
645 -       cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/diff4$(EXEEXT)
646 +       cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff4$(EXEEXT)
647         
648         cd tools/dev ; $(INSTALL_TOOLS) fsfs-access-map$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-access-map$(EXEEXT)
649         
650
651
652 [FILE:1009:files/svnserve.in]
653 #!/bin/sh
654 #
655 # svnserve.sh for rc.d usage (c) 2005 Thomas E. Spanjaard.
656
657 # PROVIDE: svnserve
658 # REQUIRE: DAEMON
659 # BEFORE: LOGIN
660 # KEYWORD: shutdown
661 #
662 # Add the following line to /etc/rc.conf to enable SVNServe:
663 #
664 #  svnserve_enable="YES"
665 #  # optional
666 #  svnserve_flags="-d --listen-port=3690 --listen-host 0.0.0.0"
667 #  svnserve_data="/data/repositories"
668 #  svnserve_user="svn"
669 #  svnserve_group="svn"
670 #
671 # Note:
672 # svnserve bind per default at the ipv6 address!
673 # If you want svnserve binding at ipv4 address, you have
674 # to use option 'svnserve_flags' with --listen-host parameter
675
676 . /etc/rc.subr
677
678 # Set some defaults
679 svnserve_enable=${svnserve_enable:-"NO"}
680 svnserve_flags=${svnserve_flags:-"-d --listen-port=3690 --listen-host 0.0.0.0"}
681 svnserve_data=${svnserve_data:-"/home/svn/repos"}
682 svnserve_user=${svnserve_user:-"svn"}
683 svnserve_group=${svnserve_group:-"svn"}
684
685 name=svnserve
686 rcvar=svnserve_enable
687 load_rc_config $name
688 command=%%PREFIX%%/bin/svnserve
689 command_args="-r ${svnserve_data}"
690
691 run_rc_command "$1"
692