summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2006-05-03 18:21:26 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2006-05-03 18:21:26 +0000
commit3b834c4f19733d33c30e63fccfc23fffe2e3e0ed (patch)
treef8af179ae73214023a684fb187a9b0189077b06a /net-fs/coda/files
parentRe-recommit manifest for sha256 issues. (diff)
downloadgentoo-2-3b834c4f19733d33c30e63fccfc23fffe2e3e0ed.tar.gz
gentoo-2-3b834c4f19733d33c30e63fccfc23fffe2e3e0ed.tar.bz2
gentoo-2-3b834c4f19733d33c30e63fccfc23fffe2e3e0ed.zip
Added coda 6.0.14 and solved bug #130870
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'net-fs/coda/files')
-rw-r--r--net-fs/coda/files/6.0.14/venus31
-rw-r--r--net-fs/coda/files/coda-6.0.14-with-includes-fix.patch68
-rw-r--r--net-fs/coda/files/digest-coda-6.0.143
3 files changed, 102 insertions, 0 deletions
diff --git a/net-fs/coda/files/6.0.14/venus b/net-fs/coda/files/6.0.14/venus
new file mode 100644
index 000000000000..4afa719cf187
--- /dev/null
+++ b/net-fs/coda/files/6.0.14/venus
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/files/6.0.14/venus,v 1.1 2006/05/03 18:21:26 griffon26 Exp $
+
+depend() {
+ need net
+ after codasrv
+}
+
+checkconfig() {
+ if ! /usr/sbin/codaconfedit venus.conf &>/dev/null; then
+ eerror "Please run venus-setup before starting the service..."
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting venus"
+ start-stop-daemon --start --quiet --exec /usr/sbin/venus > /dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping venus"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/venus
+ umount -l coda &>/dev/null
+ eend $?
+}
diff --git a/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch b/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch
new file mode 100644
index 000000000000..df299415c61f
--- /dev/null
+++ b/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch
@@ -0,0 +1,68 @@
+diff -ruN coda-6.0.14/configs/coda_macros.m4 coda-6.0.14-fixed/configs/coda_macros.m4
+--- coda-6.0.14/configs/coda_macros.m4 2005-08-09 21:30:43.000000000 +0200
++++ coda-6.0.14-fixed/configs/coda_macros.m4 2006-05-02 20:20:31.014296000 +0200
+@@ -116,12 +116,12 @@
+ AC_DEFUN(CODA_CHECK_OPENSSL,
+ [AC_ARG_WITH(openssl,
+ [ --with-openssl Link against openssl library],
+- [AC_CHECK_HEADERS(openssl/md5.h openssl/sha.h)
++ [CODA_OPTION_LIBRARY(openssl)
++ AC_CHECK_HEADERS(openssl/md5.h openssl/sha.h)
+ coda_save_LIBS="$LIBS"
+ AC_SEARCH_LIBS(SHA1_Init, crypto, [test "$ac_cv_search_SHA1_Init" = "none required" || LIBCRYPTO="$ac_cv_search_SHA1_Init"])
+ AC_CHECK_FUNCS([MD5_Init SHA1_Init])
+- LIBS="$coda_save_LIBS"])
+- CODA_OPTION_LIBRARY(openssl)])
++ LIBS="$coda_save_LIBS"])])
+
+ AC_DEFUN(CODA_CHECK_LIBCOMERR,
+ [AC_CHECK_HEADERS(com_err.h)
+@@ -131,7 +131,8 @@
+ AC_DEFUN(CODA_CHECK_KRB4,
+ [AC_ARG_WITH(krb4,
+ [ --with-krb4 Link against kerberos4 libraries],
+- [CODA_CHECK_LIBCOMERR
++ [CODA_OPTION_LIBRARY(krb4)
++ CODA_CHECK_LIBCOMERR
+ AC_CHECK_HEADERS(krb.h des.h)
+ coda_save_LIBS="$LIBS"
+ LIBS="$LIBCOMERR $LIBS"
+@@ -140,14 +141,14 @@
+ LIBS="$coda_save_LIBS"
+ if test "$ac_cv_search_krb_get_lrealm" != no ; then
+ AC_DEFINE(HAVE_KRB4, 1, [Define if kerberos 4 is available])
+- fi])
+- CODA_OPTION_LIBRARY(krb4)])
++ fi])])
+
+ AC_SUBST(LIBKRB5)
+ AC_DEFUN(CODA_CHECK_KRB5,
+ [AC_ARG_WITH(krb5,
+ [ --with-krb5 Link against kerberos5 libraries],
+- [CODA_CHECK_LIBCOMERR
++ [CODA_OPTION_LIBRARY(krb5)
++ CODA_CHECK_LIBCOMERR
+ AC_CHECK_HEADERS(krb5.h)
+ if test "$ac_cv_header_krb5_h" = yes -a "$ac_cv_header_com_err_h" = yes;then
+ coda_save_LIBS="$LIBS"
+@@ -181,8 +182,7 @@
+ fi
+ else
+ AC_MSG_WARN([Couldn't find krb5.h and com_err.h headers, not using kerberos 5])
+- fi])
+- CODA_OPTION_LIBRARY(krb5)])
++ fi])])
+
+
+ dnl ---------------------------------------------
+@@ -248,8 +248,8 @@
+ dnl AC_DEFUN(CODA_OPTION_CRYPTO,
+ dnl [AC_ARG_WITH($1,
+ dnl [ --with-$1 Link against $1 libraries],
+-dnl [AC_DEFINE(USE_`$1 | $as_tr_cpp`, 1, [Define if you want to use $1 libraries])])
+-dnl CODA_OPTION_LIBRARY($1)])
++dnl [CODA_OPTION_LIBRARY($1)
++dnl AC_DEFINE(USE_`$1 | $as_tr_cpp`, 1, [Define if you want to use $1 libraries])])])
+
+ AC_DEFUN(CODA_OPTION_LWP_PT,
+ [AC_ARG_WITH(lwp-pt,
diff --git a/net-fs/coda/files/digest-coda-6.0.14 b/net-fs/coda/files/digest-coda-6.0.14
new file mode 100644
index 000000000000..f1e79c123241
--- /dev/null
+++ b/net-fs/coda/files/digest-coda-6.0.14
@@ -0,0 +1,3 @@
+MD5 bf387348ca0c3cd833ab69272f53de54 coda-6.0.14.tar.gz 1570164
+RMD160 ae6e7cffb6a0c8f05e476ae5e8aa41597d87adb4 coda-6.0.14.tar.gz 1570164
+SHA256 7e6907f6cabb654450da37832878dcbcbb39591993d6dedc44a4ea8747144160 coda-6.0.14.tar.gz 1570164