diff --git a/srcpkgs/libsvn b/srcpkgs/libsvn new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/libsvn @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-apache b/srcpkgs/subversion-apache new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-apache @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-devel b/srcpkgs/subversion-devel new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-devel @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-gnome-keyring-auth b/srcpkgs/subversion-gnome-keyring-auth new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-gnome-keyring-auth @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-perl b/srcpkgs/subversion-perl new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-perl @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-python b/srcpkgs/subversion-python new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-python @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion-ruby b/srcpkgs/subversion-ruby new file mode 120000 index 0000000000..4f007e127c --- /dev/null +++ b/srcpkgs/subversion-ruby @@ -0,0 +1 @@ +subversion \ No newline at end of file diff --git a/srcpkgs/subversion/depends b/srcpkgs/subversion/depends new file mode 100644 index 0000000000..c8bad8605e --- /dev/null +++ b/srcpkgs/subversion/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.29.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/subversion/libsvn.template b/srcpkgs/subversion/libsvn.template new file mode 100644 index 0000000000..9b1b77dedc --- /dev/null +++ b/srcpkgs/subversion/libsvn.template @@ -0,0 +1,25 @@ +# Template file for 'libsvn'. +# +short_desc="${short_desc} - shared libraries" +long_desc="${long_desc} + + This package contains the shared libraries used by subversion." + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run zlib +Add_dependency run sqlite +Add_dependency run gdbm +Add_dependency run expat +Add_dependency run libdb +Add_dependency run libsasl +Add_dependency run libldap +Add_dependency run apr-util +Add_dependency run apr +Add_dependency run neon + +do_install() +{ + mkdir -p ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib ${DESTDIR}/usr +} diff --git a/srcpkgs/subversion/patches/subversion.rpath.fix.patch b/srcpkgs/subversion/patches/subversion.rpath.fix.patch new file mode 100644 index 0000000000..ba6ee9e4e3 --- /dev/null +++ b/srcpkgs/subversion/patches/subversion.rpath.fix.patch @@ -0,0 +1,10 @@ +--- Makefile.in.orig 2009-02-16 14:10:48.000000000 -0200 ++++ Makefile.in 2009-06-04 00:56:29.000000000 -0300 +@@ -678,6 +678,7 @@ + + $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL + cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ++ cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}} + + swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \ + $(SWIG_PL_DIR)/native/Makefile diff --git a/srcpkgs/subversion/subversion-apache.template b/srcpkgs/subversion/subversion-apache.template new file mode 100644 index 0000000000..1e59f44429 --- /dev/null +++ b/srcpkgs/subversion/subversion-apache.template @@ -0,0 +1,16 @@ +# Template file for 'subversion-apache'. +# +short_desc="${short_desc} - apache httpd modules" +long_desc="${long_desc} + + This package contains two modules for the HTTP apache daemon for use + with subversion." + +Add_dependency run glibc +Add_dependency run libsvn ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/libexec ${DESTDIR}/usr +} diff --git a/srcpkgs/subversion/subversion-devel.template b/srcpkgs/subversion/subversion-devel.template new file mode 100644 index 0000000000..158662c99b --- /dev/null +++ b/srcpkgs/subversion/subversion-devel.template @@ -0,0 +1,34 @@ +# Template file for 'subversion-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run perl +Add_dependency run ruby-devel +Add_dependency run python-devel +Add_dependency run swig +Add_dependency run apr-util-devel +Add_dependency run libldap-devel +Add_dependency run db-devel +Add_dependency run gdbm-devel +Add_dependency run expat-devel +Add_dependency run apr-devel +Add_dependency run libuuid-devel +Add_dependency run zlib-devel +Add_dependency run sqlite-devel +Add_dependency run libsasl-devel +Add_dependency run dbus-devel +Add_dependency run libgnome-keyring-devel +Add_dependency run glib-devel +Add_dependency run neon-devel +Add_dependency run libsvn + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/subversion/subversion-gnome-keyring-auth.template b/srcpkgs/subversion/subversion-gnome-keyring-auth.template new file mode 100644 index 0000000000..10d1480af3 --- /dev/null +++ b/srcpkgs/subversion/subversion-gnome-keyring-auth.template @@ -0,0 +1,22 @@ +# Template file for 'subversion-gnome-keyring-auth'. +# +short_desc="subversion - gnome-keyring authentication support" +long_desc="${long_desc} + + This package contains files for subversion to authenticate with + the libgnome-keyring package." + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run glib +Add_dependency run dbus-libs +Add_dependency run apr +Add_dependency run libgnome-keyring +Add_dependency run libsvn ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*gnome_keyring*.so* \ + ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/subversion/subversion-perl.template b/srcpkgs/subversion/subversion-perl.template new file mode 100644 index 0000000000..1f7c0c52f2 --- /dev/null +++ b/srcpkgs/subversion/subversion-perl.template @@ -0,0 +1,25 @@ +# Template file for 'subversion-perl'. +# +short_desc="${short_desc} - perl bindings" +long_desc="${long_desc} + + This package contains the perl language bindings for subversion." + +Add_dependency run glibc +Add_dependency run perl +Add_dependency run libuuid +Add_dependency run expat +Add_dependency run libldap +Add_dependency run libdb +Add_dependency run gdbm +Add_dependency run apr-util +Add_dependency run apr +Add_dependency run libsvn ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_perl-1.so* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/perl5 ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man +} diff --git a/srcpkgs/subversion/subversion-python.template b/srcpkgs/subversion/subversion-python.template new file mode 100644 index 0000000000..04f0dfa198 --- /dev/null +++ b/srcpkgs/subversion/subversion-python.template @@ -0,0 +1,25 @@ +# Template file for 'subversion-python'. +# +short_desc="${short_desc} - python bindings" +long_desc="${long_desc} + + This package contains the Python language bindings for subversion." + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run libldap +Add_dependency run libdb +Add_dependency run gdbm +Add_dependency run expat +Add_dependency run python +Add_dependency run apr-util +Add_dependency run apr +Add_dependency run libsvn ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/python2.7 + mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_py-1.so* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/svn-python/ \ + ${DESTDIR}/usr/lib/python2.7/site-packages +} diff --git a/srcpkgs/subversion/subversion-ruby.template b/srcpkgs/subversion/subversion-ruby.template new file mode 100644 index 0000000000..a81a661ca5 --- /dev/null +++ b/srcpkgs/subversion/subversion-ruby.template @@ -0,0 +1,24 @@ +# Template file for 'subversion-ruby'. +# +short_desc="${short_desc} - ruby bindings" +long_desc="${long_desc} + + This package contains the ruby language bindings for subversion." + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run ruby +Add_dependency run gdbm +Add_dependency run expat +Add_dependency run libdb +Add_dependency run libldap +Add_dependency run apr-util +Add_dependency run apr +Add_dependency run libsvn ">=${version}" + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_ruby-1.so* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/ruby ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/subversion/template b/srcpkgs/subversion/template new file mode 100644 index 0000000000..bfb2c0e8a1 --- /dev/null +++ b/srcpkgs/subversion/template @@ -0,0 +1,75 @@ +# Template file for 'subversion' +pkgname=subversion +version=1.6.15 +distfiles="http://subversion.tigris.org/downloads/$pkgname-$version.tar.bz2" +build_style=custom-install +short_desc="Enterprise-class centralized version control for the masses" +maintainer="Juan RP " +checksum=b2919d603a5f3c19f42e3265c4b930e2376c43b3969b90ef9c42b2f72d5aaa45 +long_desc=" + Apache Subversion is a full-featured version control system originally + designed to be a better CVS. Subversion has since expanded beyond its + original goal of replacing CVS, but its basic model, design, and interface + remain heavily influenced by that goal. Even today, Subversion should still + feel very familiar to CVS users." + +# XXX enable kwallet when kdelibs is available. +subpackages="$pkgname-python $pkgname-perl $pkgname-ruby" +subpackages="${subpackages} $pkgname-gnome-keyring-auth $pkgname-devel" +subpackages="${subpackages} $pkgname-apache libsvn" + +Add_dependency run glibc +Add_dependency run libsasl +Add_dependency run apr +Add_dependency run libsvn ">=${version}" + +Add_dependency build pkg-config +Add_dependency build perl +Add_dependency build ruby-devel +Add_dependency build python-devel +Add_dependency build swig +Add_dependency build apr-util-devel +Add_dependency build libldap-devel +Add_dependency build db-devel +Add_dependency build gdbm-devel +Add_dependency build expat-devel +Add_dependency build apr-devel +Add_dependency build libuuid-devel +Add_dependency build zlib-devel +Add_dependency build sqlite-devel +Add_dependency build libsasl-devel +Add_dependency build dbus-devel +Add_dependency build libgnome-keyring-devel +Add_dependency build glib-devel +Add_dependency build neon-devel + +do_build() +{ + ./configure --prefix=/usr --with-apxs --disable-javahl \ + --without-kwallet --with-gnome-keyring --with-editor=vim \ + --disable-mod-activation + + (make ${makejobs} external-all && \ + make ${makejobs} LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all) +} + +do_install() +{ + export LD_LIBRARY_PATH=${DESTDIR}/usr/lib:$LD_LIBRARY_PATH + + make DESTDIR=${DESTDIR} install + make DESTDIR=${DESTDIR} swig-py + make DESTDIR=${DESTDIR} install-swig-py + make DESTDIR=${DESTDIR} swig-pl + make DESTDIR=${DESTDIR} INSTALLDIRS=vendor install-swig-pl + make DESTDIR=${DESTDIR} swig-rb + make DESTDIR=${DESTDIR} install-swig-rb + + rm -rf ${DESTDIR}/usr/lib/perl5/core_perl + install -d ${DESTDIR}/usr/share/subversion + install -d -m755 tools/hook-scripts ${DESTDIR}/usr/share/subversion/ + rm -f ${DESTDIR}/usr/share/subversion/hook-scripts/*.in + + install -D -m644 tools/client-side/bash_completion \ + ${DESTDIR}/etc/bash_completion.d/subversion +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 42aff5e0cc..e87fb26050 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -736,3 +736,21 @@ VBoxKeyboard.so virtualbox-ose VBoxOGLrenderspu.so virtualbox-ose VBoxOGLcrutil.so virtualbox-ose-guest libfetch.so libfetch libfetch-devel +libneon.so.27 neon neon-devel +libsvn_subr-1.so libsvn subversion-devel +libsvn_diff-1.so libsvn subversion-devel +libsvn_client-1.so libsvn subversion-devel +libsvn_delta-1.so libsvn subversion-devel +libsvn_fs-1.so libsvn subversion-devel +libsvn_ra-1.so libsvn subversion-devel +libsvn_repos-1.so libsvn subversion-devel +libsvn_wc-1.so libsvn subversion-devel +libsvn_fs_util-1.so libsvn subversion-devel +libsvn_ra_svn-1.so libsvn subversion-devel +libsvn_fs_fs-1.so libsvn subversion-devel +libsvn_fs_base-1.so libsvn subversion-devel +libsvn_ra_local-1.so libsvn subversion-devel +libsvn_ra_neon-1.so libsvn subversion-devel +libsvn_swig_py-1.so subversion-python subversion-devel +libsvn_swig_perl-1.so subversion-perl subversion-devel +libsvn_swig_ruby-1.so subversion-ruby subversion-devel