aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/netatalk/netatalk_2.0.5.bb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-05 16:54:43 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-08 07:05:02 +0100
commited68667b918805c7fbef54e9a4fe0a75bf06f22f (patch)
treed82be44386879917885c3edb1ded489b900e9c6c /recipes/netatalk/netatalk_2.0.5.bb
parentf285e1e75421deff88b474c199cbb2be5759a12a (diff)
downloadopenembedded-ed68667b918805c7fbef54e9a4fe0a75bf06f22f.tar.gz
openembedded-ed68667b918805c7fbef54e9a4fe0a75bf06f22f.tar.bz2
openembedded-ed68667b918805c7fbef54e9a4fe0a75bf06f22f.zip
netatalk: Upgrade from 2.0.3 to 2.0.5
Addresses CVE-2008-5718. netatalk-2.0.3-db43.patch: Done differently. netatalk-2.0.3-xfs.patch: Drop as the config switch was not used netatalk-2.0.3-setXid.patch: Was not used.
Diffstat (limited to 'recipes/netatalk/netatalk_2.0.5.bb')
-rw-r--r--recipes/netatalk/netatalk_2.0.5.bb46
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes/netatalk/netatalk_2.0.5.bb b/recipes/netatalk/netatalk_2.0.5.bb
new file mode 100644
index 0000000000..8971f07bed
--- /dev/null
+++ b/recipes/netatalk/netatalk_2.0.5.bb
@@ -0,0 +1,46 @@
+SECTION = "net"
+PR = "r1"
+LICENSE = "GPL"
+
+DEPENDS = "cups db openssl"
+
+SRC_URI = "http://ovh.dl.sourceforge.net/sourceforge/netatalk/netatalk-${PV}.tar.gz;name=src \
+ file://netatalk-dbd.patch;patch=1 \
+ file://netatalk.conf \
+ file://init"
+SRC_URI[src.md5sum] = "f35cd7a4ce26c780de380cd2bcae5ce6"
+SRC_URI[src.sha256sum] = "7e02b0d2849ec83459c65d240809ff95ee4a857a3ba38af2cafbbe3717d0c672"
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "atalk"
+INITSCRIPT_PARAMS = "defaults 65"
+
+PACKAGES = "${PN}-atalkd ${PN}-pap ${PN}-timelord ${PN}-dbg ${PN} ${PN}-doc ${PN}-dev"
+
+RRECOMMENDS_${PN}-atalkd = "kernel-module-appletalk"
+
+FILES_${PN}-atalkd += "${sysconfdir}/netatalk/atalkd.conf \
+ /usr/sbin/atalkd"
+FILES_${PN}-pap += "/usr/bin/pap \
+ ${sysconfdir}/netatalk/papd.conf \
+ /usr/sbin/papd \
+ /usr/bin/papstatus"
+FILES_${PN}-timelord += "/usr/sbin/timelord"
+FILES_${PN}-dbg += "${sysconfdir}/netatalk/uams/.debug"
+
+EXTRA_OECONF += "ac_cv_path_KRB5_CONFIG=no \
+ ac_cv_header_rpcsvc_rquota_h=no \
+ --with-bdb=${STAGING_DIR_TARGET}${layout_exec_prefix} \
+ --enable-timelord \
+ --without-shadow \
+ --enable-static=no \
+ --disable-srvloc \
+ --without-pam \
+ --with-ssl-dir=${STAGING_DIR_TARGET}${layout_exec_prefix}"
+LDFLAGS += "-lpthread -L${STAGING_LIBDIR}"
+
+do_install_append() {
+ install -D -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/atalk
+ install -D -m 0644 ${WORKDIR}/netatalk.conf ${D}${sysconfdir}/netatalk/netatalk.conf
+}