diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/davfs2 | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/davfs2')
-rw-r--r-- | recipes/davfs2/davfs2-0.2.7/Makefile.in.patch | 44 | ||||
-rw-r--r-- | recipes/davfs2/davfs2-0.2.7/no-func-checks.patch | 32 | ||||
-rw-r--r-- | recipes/davfs2/davfs2-0.2.7/no-neon-version-test.patch | 10 | ||||
-rw-r--r-- | recipes/davfs2/davfs2-0.2.8/Makefile.in.patch | 23 | ||||
-rw-r--r-- | recipes/davfs2/davfs2_0.2.7.bb | 45 | ||||
-rw-r--r-- | recipes/davfs2/davfs2_0.2.8.bb | 43 | ||||
-rw-r--r-- | recipes/davfs2/files/volatiles | 1 |
7 files changed, 198 insertions, 0 deletions
diff --git a/recipes/davfs2/davfs2-0.2.7/Makefile.in.patch b/recipes/davfs2/davfs2-0.2.7/Makefile.in.patch new file mode 100644 index 0000000000..16b4425f14 --- /dev/null +++ b/recipes/davfs2/davfs2-0.2.7/Makefile.in.patch @@ -0,0 +1,44 @@ +--- davfs2-0.2.7/Makefile.in.orig 2006-02-11 16:42:27.000000000 +0100 ++++ davfs2-0.2.7/Makefile.in 2006-02-11 16:43:10.000000000 +0100 +@@ -13,6 +13,7 @@ + datadir = @datadir@ + sysconfdir = @sysconfdir@/$(PACKAGE_NAME) + localstatedir = /var/run/$(PROGRAM_NAME) ++docdir = @datadir@/doc/$(PACKAGE_NAME) + datadir = @datadir@/$(PACKAGE_NAME) + mandir = @datadir@/man/man8 + +@@ -51,7 +52,7 @@ + + INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 4755 + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SECRETS = @INSTALL_DATA@ -b -m 600 ++INSTALL_SECRETS = @INSTALL_DATA@ -m 600 + INSTALL_DIR = @INSTALL@ -d -m 755 + INSTALL = @INSTALL@ + +@@ -67,7 +68,6 @@ + @echo "" + + install: $(PROGRAMS) +- $(INSTALL) -d -m 1775 -g $(dav_group) $(DESTDIR)$(localstatedir) + $(INSTALL_DIR) $(DESTDIR)$(sbindir) + for t in $(PROGRAMS); do \ + $(INSTALL_PROGRAM) $(top_builddir)/$$t $(DESTDIR)$(sbindir)/$$t;done +@@ -76,14 +77,13 @@ + $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done + for t in $(SECRETS); do \ + $(INSTALL_SECRETS) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done +- $(INSTALL_DIR) $(DESTDIR)$(datadir) ++ $(INSTALL_DIR) $(DESTDIR)$(docdir) + for t in $(DATA); do \ +- $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(datadir)/$$t;done ++ $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(docdir)/$$t;done + $(INSTALL_DIR) $(DESTDIR)$(mandir) + for t in $(MANS); do \ + $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(mandir)/$$t;done + if [ -L /sbin/$(PROGRAM_NAME) ]; then rm /sbin/$(PROGRAM_NAME); fi +- ln -s $(DESTDIR)$(sbindir)/$(PROGRAM_NAME) /sbin/$(PROGRAM_NAME) 2> /dev/null + + @echo "" + @echo "----------------------------------------------------" diff --git a/recipes/davfs2/davfs2-0.2.7/no-func-checks.patch b/recipes/davfs2/davfs2-0.2.7/no-func-checks.patch new file mode 100644 index 0000000000..46ca24398e --- /dev/null +++ b/recipes/davfs2/davfs2-0.2.7/no-func-checks.patch @@ -0,0 +1,32 @@ +--- neon-0.24.7/macros/neon.m4.old 2005-02-24 16:28:01 +00:00 ++++ neon-0.24.7/macros/neon.m4 2005-02-24 16:40:17 +00:00 +@@ -508,26 +508,9 @@ + # Enable getaddrinfo() support only if all the necessary functions + # are found. + ne_enable_gai=yes +-NE_CHECK_FUNCS(getaddrinfo gai_strerror inet_ntop,,[ne_enable_gai=no; break]) +-if test $ne_enable_gai = yes; then +- AC_DEFINE(USE_GETADDRINFO, 1, [Define if getaddrinfo() should be used]) +- AC_CACHE_CHECK([for working AI_ADDRCONFIG], [ne_cv_gai_addrconfig], [ +- AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <netdb.h>], +-[struct addrinfo hints = {0}, *result; +-hints.ai_flags = AI_ADDRCONFIG; +-if (getaddrinfo("localhost", NULL, &hints, &result) != 0) return 1;])], +- ne_cv_gai_addrconfig=yes, ne_cv_gai_addrconfig=no)]) +- if test $ne_cv_gai_addrconfig = yes; then +- AC_DEFINE(USE_GAI_ADDRCONFIG, 1, [Define if getaddrinfo supports AI_ADDRCONFIG]) +- fi +-else +- # Checks for non-getaddrinfo() based resolver interfaces. +- NE_SEARCH_LIBS(hstrerror, resolv,,[:]) +- NE_CHECK_FUNCS(hstrerror) +- # Older Unixes don't declare h_errno. +- AC_CHECK_DECL(h_errno,,,[#define _XOPEN_SOURCE_EXTENDED 1 +-#include <netdb.h>]) +-fi ++ne_cv_gai_addrconfig=yes ++AC_DEFINE(USE_GETADDRINFO, 1, [Define if getaddrinfo() should be used]) ++AC_DEFINE(USE_GAI_ADDRCONFIG, 1, [Define if getaddrinfo supports AI_ADDRCONFIG]) + + AC_CHECK_MEMBERS(struct tm.tm_gmtoff,, + AC_MSG_WARN([no timezone handling in date parsing on this platform]), diff --git a/recipes/davfs2/davfs2-0.2.7/no-neon-version-test.patch b/recipes/davfs2/davfs2-0.2.7/no-neon-version-test.patch new file mode 100644 index 0000000000..67b2055584 --- /dev/null +++ b/recipes/davfs2/davfs2-0.2.7/no-neon-version-test.patch @@ -0,0 +1,10 @@ +--- davfs2-0.2.7/configure.in.orig 2006-02-11 15:19:21.000000000 +0100 ++++ davfs2-0.2.7/configure.in 2006-02-11 15:19:34.000000000 +0100 +@@ -20,7 +20,6 @@ + top_builddir=`pwd` + AC_SUBST(top_builddir) + +-NEON_REQUIRE(0,24) + NEON_WITHOUT_ZLIB + NEON_WITHOUT_ACL + NEON_TEST diff --git a/recipes/davfs2/davfs2-0.2.8/Makefile.in.patch b/recipes/davfs2/davfs2-0.2.8/Makefile.in.patch new file mode 100644 index 0000000000..1f1b13f198 --- /dev/null +++ b/recipes/davfs2/davfs2-0.2.8/Makefile.in.patch @@ -0,0 +1,23 @@ +--- davfs2-0.2.8/Makefile.in.old 2006-03-15 23:30:50.000000000 +0100 ++++ davfs2-0.2.8/Makefile.in 2006-03-15 23:39:08.000000000 +0100 +@@ -50,7 +50,7 @@ + + INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 4755 + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SECRETS = @INSTALL_DATA@ -b -m 600 ++INSTALL_SECRETS = @INSTALL_DATA@ -m 600 + INSTALL_DIR = @INSTALL@ -d -m 755 + INSTALL = @INSTALL@ + +@@ -80,11 +80,6 @@ + $(INSTALL_DIR) $(DESTDIR)$(mandir) + for t in $(MANS); do \ + $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(mandir)/$$t;done +- if [ -n "$(DESTDIR)" -a "$(DESTDIR)" != "/" ]; then \ +- $(INSTALL_DIR) $(DESTDIR)/sbin; \ +- ln -sf ..$(sbindir)/$(PROGRAM_NAME) \ +- $(DESTDIR)/sbin/$(PROGRAM_NAME) 2> /dev/null; \ +- else ln -sf $(sbindir)/$(PROGRAM_NAME) /sbin/$(PROGRAM_NAME) 2> /dev/null; fi + + @echo "" + @echo "----------------------------------------------------" diff --git a/recipes/davfs2/davfs2_0.2.7.bb b/recipes/davfs2/davfs2_0.2.7.bb new file mode 100644 index 0000000000..310ccabb32 --- /dev/null +++ b/recipes/davfs2/davfs2_0.2.7.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "A Linux file system driver that allows you to mount a WebDAV server as a disk drive." +SECTION = "network" +PRIORITY = "optional" +HOMEPAGE = "http://dav.sourceforge.net" +DEPENDS = "neon-0.24.7" +RDEPENDS_${PN} = "kernel-module-coda" +LICENSE = "GPL" + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \ + file://no-func-checks.patch;patch=1 \ + file://no-neon-version-test.patch;patch=1 \ + file://Makefile.in.patch;patch=1 \ + file://volatiles" + +inherit autotools + +ALTERNATIVE_NAME = "mount.davfs" +ALTERNATIVE_PATH = "${sbindir}/${ALTERNATIVE_NAME}" +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_LINK = "${base_sbindir}/${ALTERNATIVE_NAME}" + +EXTRA_OECONF = "--with-neon" + +CONFFILES_${PN} = "${sysconfdir}/davfs2/davfs2.conf ${sysconfdir}/davfs2/secrets" + +do_configure_prepend () { + autoconf +} + +do_install_append () { + mkdir -p ${D}${sysconfdir}/default/volatiles + install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/10_davfs2 +} + +pkg_postinst () { + update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \ + ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY} + /etc/init.d/populate-volatile.sh +} + +pkg_prerm () { + update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH} +} diff --git a/recipes/davfs2/davfs2_0.2.8.bb b/recipes/davfs2/davfs2_0.2.8.bb new file mode 100644 index 0000000000..e49c4af424 --- /dev/null +++ b/recipes/davfs2/davfs2_0.2.8.bb @@ -0,0 +1,43 @@ +DESCRIPTION = "A Linux file system driver that allows you to mount a WebDAV server as a disk drive." +SECTION = "network" +PRIORITY = "optional" +HOMEPAGE = "http://dav.sourceforge.net" +DEPENDS = "neon-0.25.5" +RDEPENDS_${PN} = "kernel-module-coda" +LICENSE = "GPL" + +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \ + file://Makefile.in.patch;patch=1 \ + file://volatiles" + +inherit autotools + +ALTERNATIVE_NAME = "mount.davfs" +ALTERNATIVE_PATH = "${sbindir}/${ALTERNATIVE_NAME}" +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_LINK = "${base_sbindir}/${ALTERNATIVE_NAME}" + +EXTRA_OECONF = "--with-neon" + +CONFFILES_${PN} = "${sysconfdir}/davfs2/davfs2.conf ${sysconfdir}/davfs2/secrets" + +do_configure_prepend () { + autoconf +} + +do_install_append () { + mkdir -p ${D}${sysconfdir}/default/volatiles + install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/10_davfs2 +} + +pkg_postinst () { + update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \ + ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY} + /etc/init.d/populate-volatile.sh update +} + +pkg_prerm () { + update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH} +} diff --git a/recipes/davfs2/files/volatiles b/recipes/davfs2/files/volatiles new file mode 100644 index 0000000000..169fda7c3d --- /dev/null +++ b/recipes/davfs2/files/volatiles @@ -0,0 +1 @@ +d root users 0775 /var/run/mount.davfs none |