Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
The goal of the Subversion project is to build a version control system that
is a compelling replacement for CVS in the open source community. The software
is released under an Apache/BSD-style open source license.
This package contains all the Subversion programs and libraries except
the Apache module mod_dav_svn (for which see the ap2-subversion
package) and the Python bindings and some programs which use them (for
which see the py-subversion package). Installing this package
alone will satisfy most people's needs, providing all three repository
access layers (local, svn, and dav) and the server for the svn access
layer.
+94
View File
@@ -0,0 +1,94 @@
# $NetBSD: Makefile,v 1.82 2013/02/09 13:22:10 ryoon Exp $
PKGNAME= subversion-base-${SVNVER}
COMMENT= Version control system, base programs and libraries
PKG_INSTALLATION_TYPES= overwrite pkgviews
# on at least solaris, configure fails to figure out
# that you need -lintl
BROKEN_GETTEXT_DETECTION= yes
.include "../../devel/subversion/Makefile.common"
USE_TOOLS+= msgfmt
CONFIGURE_ARGS+= --disable-neon-version-check
CONFIGURE_ARGS+= --without-apxs
.if !empty(PKG_OPTIONS:Mapr1)
APU_OPTIONS= PKG_BUILD_OPTIONS.apr-util
.else
APU_OPTIONS= PKG_BUILD_OPTIONS.apr
.endif
BUILD_DEFS+= ${APU_OPTIONS}
.if !empty(PKG_OPTIONS:Mapr1)
. include "../../devel/apr/buildlink3.mk"
. include "../../devel/apr-util/buildlink3.mk"
.else
BUILDLINK_API_DEPENDS.apr+= apr>=0.9.5
. include "../../devel/apr0/buildlink3.mk"
.endif
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.4
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
PLIST_VARS+= db4
.if !empty(PKG_OPTIONS:Mapr1) && !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
PLIST.db4= yes
#CONFIGURE_ARGS+= --with-berkeley-db=:${BUILDLINK_PREFIX.db4:Q}/include:${BUILDLINK_PREFIX.db4:Q}/lib:${BUILDLINK_LDADD.db4:S/^-l//:Q}
CONFIGURE_ARGS+= --with-berkeley-db
.else
CONFIGURE_ARGS+= --without-berkeley-db
.endif
PLIST_SUBST+= DAV_RA=${DAV_RA:Q}
RCD_SCRIPTS= svnserve
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${SVNDOC}
cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README ${DESTDIR}${SVNDOC}
cd ${WRKSRC}/doc/user && ${INSTALL_DATA} *.html *.txt ${DESTDIR}${SVNDOC}
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/backup
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/cgi
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/hook-scripts
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/hook-scripts/mailer
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/hook-scripts/mailer/tests
${INSTALL_DATA} ${WRKSRC}/tools/backup/hot-backup.py \
${DESTDIR}${SVNEXAMPLES}/backup
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/commit* \
${DESTDIR}${SVNEXAMPLES}/hook-scripts
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/svnperms* \
${DESTDIR}${SVNEXAMPLES}/hook-scripts
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/log-police.py \
${WRKSRC}/tools/hook-scripts/verify-po.py \
${DESTDIR}${SVNEXAMPLES}/hook-scripts
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer* \
${DESTDIR}${SVNEXAMPLES}/hook-scripts/mailer
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/tests/mailer* \
${DESTDIR}${SVNEXAMPLES}/hook-scripts/mailer/tests
.PHONY: svn-build-outputs-hack
# Subversion's build system is set up to build everything from source
# at once. In pkgsrc, we install the base part of subversion, and
# then build other pieces against installed libraries. Here, we run
# svn's equivalent of automake to say that the libraries installed as
# part of subversion-base are installed, and save that generated file.
# Other packages then copy this file into place when building to avoid
# having to build these libraries again.
#
# The normal update procedure is
# test build and package subversion-base
# run make svn-build-outputs-hack
# test build and package other subversion packages
# commit the update to ../subversion/files/build-outputs.mk along with the version change
#
svn-build-outputs-hack:
cd ${WRKSRC} && ./gen-make.py --release --installed-libs libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_ra,libsvn_repos,libsvn_subr,libsvn_wc
${MV} -f ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+111
View File
@@ -0,0 +1,111 @@
@comment $NetBSD: PLIST,v 1.21 2013/02/09 13:22:10 ryoon Exp $
bin/svn
bin/svnadmin
bin/svndumpfilter
bin/svnlook
bin/svnrdump
bin/svnserve
bin/svnsync
bin/svnversion
include/subversion-1/mod_authz_svn.h
include/subversion-1/mod_dav_svn.h
include/subversion-1/svn-revision.txt
include/subversion-1/svn_auth.h
include/subversion-1/svn_base64.h
include/subversion-1/svn_cache_config.h
include/subversion-1/svn_checksum.h
include/subversion-1/svn_client.h
include/subversion-1/svn_cmdline.h
include/subversion-1/svn_compat.h
include/subversion-1/svn_config.h
include/subversion-1/svn_ctype.h
include/subversion-1/svn_dav.h
include/subversion-1/svn_delta.h
include/subversion-1/svn_diff.h
include/subversion-1/svn_dirent_uri.h
include/subversion-1/svn_dso.h
include/subversion-1/svn_error.h
include/subversion-1/svn_error_codes.h
include/subversion-1/svn_fs.h
include/subversion-1/svn_hash.h
include/subversion-1/svn_io.h
include/subversion-1/svn_iter.h
include/subversion-1/svn_md5.h
include/subversion-1/svn_mergeinfo.h
include/subversion-1/svn_nls.h
include/subversion-1/svn_opt.h
include/subversion-1/svn_path.h
include/subversion-1/svn_pools.h
include/subversion-1/svn_props.h
include/subversion-1/svn_quoprint.h
include/subversion-1/svn_ra.h
include/subversion-1/svn_ra_svn.h
include/subversion-1/svn_repos.h
include/subversion-1/svn_sorts.h
include/subversion-1/svn_string.h
include/subversion-1/svn_subst.h
include/subversion-1/svn_time.h
include/subversion-1/svn_types.h
include/subversion-1/svn_user.h
include/subversion-1/svn_utf.h
include/subversion-1/svn_version.h
include/subversion-1/svn_wc.h
include/subversion-1/svn_xml.h
lib/libsvn_client-1.la
lib/libsvn_delta-1.la
lib/libsvn_diff-1.la
lib/libsvn_fs-1.la
lib/libsvn_fs_fs-1.la
${PLIST.db4}lib/libsvn_fs_base-1.la
lib/libsvn_fs_util-1.la
lib/libsvn_ra-1.la
lib/libsvn_ra_local-1.la
${PLIST.neon}lib/libsvn_ra_neon-1.la
${PLIST.serf}lib/libsvn_ra_serf-1.la
lib/libsvn_ra_svn-1.la
lib/libsvn_repos-1.la
lib/libsvn_subr-1.la
lib/libsvn_wc-1.la
man/man1/svn.1
man/man1/svnadmin.1
man/man1/svndumpfilter.1
man/man1/svnlook.1
man/man1/svnrdump.1
man/man1/svnsync.1
man/man1/svnversion.1
man/man5/svnserve.conf.5
man/man8/svnserve.8
share/doc/subversion/INSTALL
share/doc/subversion/README
share/doc/subversion/cvs-crossover-guide.html
share/doc/subversion/lj_article.txt
share/doc/subversion/svn-best-practices.html
share/examples/rc.d/svnserve
share/examples/subversion/backup/hot-backup.py
share/examples/subversion/hook-scripts/commit-access-control.cfg.example
share/examples/subversion/hook-scripts/commit-access-control.pl
share/examples/subversion/hook-scripts/commit-access-control.pl.in
share/examples/subversion/hook-scripts/commit-email.rb
share/examples/subversion/hook-scripts/log-police.py
share/examples/subversion/hook-scripts/mailer/mailer.conf.example
share/examples/subversion/hook-scripts/mailer/mailer.py
share/examples/subversion/hook-scripts/mailer/tests/mailer-init.sh
share/examples/subversion/hook-scripts/mailer/tests/mailer-t1.output
share/examples/subversion/hook-scripts/mailer/tests/mailer-t1.sh
share/examples/subversion/hook-scripts/mailer/tests/mailer-tweak.py
share/examples/subversion/hook-scripts/mailer/tests/mailer.conf
share/examples/subversion/hook-scripts/svnperms.conf.example
share/examples/subversion/hook-scripts/svnperms.py
share/examples/subversion/hook-scripts/verify-po.py
share/locale/de/LC_MESSAGES/subversion.mo
share/locale/es/LC_MESSAGES/subversion.mo
share/locale/fr/LC_MESSAGES/subversion.mo
share/locale/it/LC_MESSAGES/subversion.mo
share/locale/ja/LC_MESSAGES/subversion.mo
share/locale/ko/LC_MESSAGES/subversion.mo
share/locale/nb/LC_MESSAGES/subversion.mo
share/locale/pl/LC_MESSAGES/subversion.mo
share/locale/pt_BR/LC_MESSAGES/subversion.mo
share/locale/sv/LC_MESSAGES/subversion.mo
share/locale/zh_CN/LC_MESSAGES/subversion.mo
share/locale/zh_TW/LC_MESSAGES/subversion.mo
+44
View File
@@ -0,0 +1,44 @@
# $NetBSD: buildlink3.mk,v 1.31 2013/05/09 07:39:08 adam Exp $
.include "../../mk/bsd.fast.prefs.mk"
.include "../../devel/subversion/Makefile.version"
BUILDLINK_TREE+= subversion-base
.if !defined(SUBVERSION_BASE_BUILDLINK3_MK)
SUBVERSION_BASE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.subversion-base+= subversion-base>=1.5.2nb1
BUILDLINK_ABI_DEPENDS.subversion-base+= subversion-base>=1.7.9
BUILDLINK_PKGSRCDIR.subversion-base?= ../../devel/subversion-base
BUILDLINK_FILES.subversion-base+= bin/svn-config
pkgbase := subversion-base
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Msasl)
.include "../../security/cyrus-sasl/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Mapr1)
. include "../../devel/apr/buildlink3.mk"
. include "../../devel/apr-util/buildlink3.mk"
.else
. include "../../devel/apr0/buildlink3.mk"
.endif
# If serf and -apr1 are selected, the build will probably fail.
# Do that rather than force neon for apr0
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Mserf)
. include "../../www/serf/buildlink3.mk"
.else
. include "../../www/neon/buildlink3.mk"
.endif
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.4
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # SUBVERSION_BASE_BUILDLINK3_MK
BUILDLINK_TREE+= -subversion-base
+34
View File
@@ -0,0 +1,34 @@
# $NetBSD: options.mk,v 1.11 2011/12/06 02:02:10 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.subversion
PKG_SUPPORTED_OPTIONS= apr1 serf sasl
.include "../../mk/bsd.prefs.mk"
.if !defined(PKG_APACHE_DEFAULT) || empty(PKG_APACHE_DEFAULT:Mapache2)
PKG_SUGGESTED_OPTIONS= apr1
.endif
# Note that this file is included as part of several packages.
# Therefore this file defines options and includes some but not all of
# the typical fragments, leaving some to individual package files.
.include "../../mk/bsd.options.mk"
PLIST_VARS+= serf neon
.if !empty(PKG_OPTIONS:Mserf)
DAV_RA= serf
PLIST.serf= yes
. include "../../www/serf/buildlink3.mk"
.else
BUILDLINK_API_DEPENDS.neon+= neon>=0.25.0
DAV_RA= neon
PLIST.neon= yes
. include "../../www/neon/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msasl)
.include "../../security/cyrus-sasl/buildlink3.mk"
CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
.else
CONFIGURE_ARGS+= --without-sasl
.endif