summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
l---------data/netatalk/_metadata/berkeleydb.dep1
-rw-r--r--data/netatalk/_metadata/berkeleydb.ver.iphoneos-arm1
-rw-r--r--data/netatalk/_metadata/conffiles7
-rw-r--r--data/netatalk/_metadata/description1
-rw-r--r--data/netatalk/_metadata/homepage1
l---------data/netatalk/_metadata/license1
l---------data/netatalk/_metadata/maintainer1
-rw-r--r--data/netatalk/_metadata/name1
l---------data/netatalk/_metadata/openssl.dep1
-rwxr-xr-xdata/netatalk/_metadata/postinst4
-rwxr-xr-xdata/netatalk/_metadata/prerm4
-rw-r--r--data/netatalk/_metadata/priority1
-rw-r--r--data/netatalk/_metadata/role1
-rw-r--r--data/netatalk/_metadata/section1
-rw-r--r--data/netatalk/_metadata/tags1
-rw-r--r--data/netatalk/_metadata/version1
-rw-r--r--data/netatalk/dbstat.diff24
-rw-r--r--data/netatalk/make.sh6
-rw-r--r--data/netatalk/net.sourceforge.netatalk.afpd.plist17
-rw-r--r--data/netatalk/netatalk-2.0.3.tar.gzbin0 -> 1920570 bytes
-rw-r--r--data/netatalk/posix.diff21
21 files changed, 96 insertions, 0 deletions
diff --git a/data/netatalk/_metadata/berkeleydb.dep b/data/netatalk/_metadata/berkeleydb.dep
new file mode 120000
index 000000000..f945cb1a2
--- /dev/null
+++ b/data/netatalk/_metadata/berkeleydb.dep
@@ -0,0 +1 @@
+../../berkeleydb \ No newline at end of file
diff --git a/data/netatalk/_metadata/berkeleydb.ver.iphoneos-arm b/data/netatalk/_metadata/berkeleydb.ver.iphoneos-arm
new file mode 100644
index 000000000..220293e22
--- /dev/null
+++ b/data/netatalk/_metadata/berkeleydb.ver.iphoneos-arm
@@ -0,0 +1 @@
+4.6.21-4
diff --git a/data/netatalk/_metadata/conffiles b/data/netatalk/_metadata/conffiles
new file mode 100644
index 000000000..6314e7e71
--- /dev/null
+++ b/data/netatalk/_metadata/conffiles
@@ -0,0 +1,7 @@
+/etc/netatalk/afpd.conf
+/etc/netatalk/atalkd.conf
+/etc/netatalk/netatalk.conf
+/etc/netatalk/papd.conf
+/etc/netatalk/AppleVolumes.default
+/etc/netatalk/AppleVolumes.system
+/System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
diff --git a/data/netatalk/_metadata/description b/data/netatalk/_metadata/description
new file mode 100644
index 000000000..e34c1a22b
--- /dev/null
+++ b/data/netatalk/_metadata/description
@@ -0,0 +1 @@
+open-source ApplTalk implementation
diff --git a/data/netatalk/_metadata/homepage b/data/netatalk/_metadata/homepage
new file mode 100644
index 000000000..96ce6bc96
--- /dev/null
+++ b/data/netatalk/_metadata/homepage
@@ -0,0 +1 @@
+http://netatalk.sourceforge.net/
diff --git a/data/netatalk/_metadata/license b/data/netatalk/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/netatalk/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/netatalk/_metadata/maintainer b/data/netatalk/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/netatalk/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/netatalk/_metadata/name b/data/netatalk/_metadata/name
new file mode 100644
index 000000000..cb24c33cd
--- /dev/null
+++ b/data/netatalk/_metadata/name
@@ -0,0 +1 @@
+Netatalk
diff --git a/data/netatalk/_metadata/openssl.dep b/data/netatalk/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/netatalk/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/netatalk/_metadata/postinst b/data/netatalk/_metadata/postinst
new file mode 100755
index 000000000..4d874e08d
--- /dev/null
+++ b/data/netatalk/_metadata/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+/bin/launchctl list net.sourceforge.netatalk.afpd &>/dev/null ||
+ /bin/launchctl load /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
+exit 0
diff --git a/data/netatalk/_metadata/prerm b/data/netatalk/_metadata/prerm
new file mode 100755
index 000000000..d132b11c2
--- /dev/null
+++ b/data/netatalk/_metadata/prerm
@@ -0,0 +1,4 @@
+#!/bin/sh
+! /bin/launchctl list net.sourceforge.netatalk.afpd &>/dev/null ||
+ /bin/launchctl unload /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
+exit 0
diff --git a/data/netatalk/_metadata/priority b/data/netatalk/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/netatalk/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/netatalk/_metadata/role b/data/netatalk/_metadata/role
new file mode 100644
index 000000000..762113e87
--- /dev/null
+++ b/data/netatalk/_metadata/role
@@ -0,0 +1 @@
+enduser
diff --git a/data/netatalk/_metadata/section b/data/netatalk/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/netatalk/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/netatalk/_metadata/tags b/data/netatalk/_metadata/tags
new file mode 100644
index 000000000..b1fd16a17
--- /dev/null
+++ b/data/netatalk/_metadata/tags
@@ -0,0 +1 @@
+purpose::console, purpose::daemon
diff --git a/data/netatalk/_metadata/version b/data/netatalk/_metadata/version
new file mode 100644
index 000000000..50ffc5aa7
--- /dev/null
+++ b/data/netatalk/_metadata/version
@@ -0,0 +1 @@
+2.0.3
diff --git a/data/netatalk/dbstat.diff b/data/netatalk/dbstat.diff
new file mode 100644
index 000000000..15810c687
--- /dev/null
+++ b/data/netatalk/dbstat.diff
@@ -0,0 +1,24 @@
+diff -ru netatalk-2.0.3/bin/cnid/cnid_index.c netatalk-2.0.3+iPhone/bin/cnid/cnid_index.c
+--- netatalk-2.0.3/bin/cnid/cnid_index.c 2005-04-10 12:49:18.000000000 +0000
++++ netatalk-2.0.3+iPhone/bin/cnid/cnid_index.c 2008-07-11 01:15:39.000000000 +0000
+@@ -274,7 +274,7 @@
+ DB_BTREE_STAT *sp;
+ DB *db = db_table[dbi].db;
+
+- ret = db->stat(db, &sp, 0);
++ ret = db->stat(db, NULL, &sp, 0);
+
+ if (ret) {
+ LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno));
+diff -ru netatalk-2.0.3/etc/cnid_dbd/dbif.c netatalk-2.0.3+iPhone/etc/cnid_dbd/dbif.c
+--- netatalk-2.0.3/etc/cnid_dbd/dbif.c 2004-12-21 13:36:12.000000000 +0000
++++ netatalk-2.0.3+iPhone/etc/cnid_dbd/dbif.c 2008-07-11 01:16:01.000000000 +0000
+@@ -514,7 +514,7 @@
+ DB_BTREE_STAT *sp;
+ DB *db = db_table[dbi].db;
+
+- ret = db->stat(db, &sp, 0);
++ ret = db->stat(db, NULL, &sp, 0);
+
+ if (ret) {
+ LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno));
diff --git a/data/netatalk/make.sh b/data/netatalk/make.sh
new file mode 100644
index 000000000..7aab2d8de
--- /dev/null
+++ b/data/netatalk/make.sh
@@ -0,0 +1,6 @@
+pkg:setup
+AR=$(which "${PKG_TARG}-ar") pkg:configure --enable-cups=no --sysconfdir=/etc
+make
+pkg:install
+pkg: mkdir -p /System/Library/LaunchDaemons
+pkg: cp -a %/net.sourceforge.netatalk.afpd.plist /System/Library/LaunchDaemons
diff --git a/data/netatalk/net.sourceforge.netatalk.afpd.plist b/data/netatalk/net.sourceforge.netatalk.afpd.plist
new file mode 100644
index 000000000..79ebeffb4
--- /dev/null
+++ b/data/netatalk/net.sourceforge.netatalk.afpd.plist
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>net.sourceforge.netatalk.afpd</string>
+
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/sbin/afpd</string>
+ <string>-d</string>
+ </array>
+
+ <key>OnDemand</key>
+ <false/>
+</dict>
+</plist>
diff --git a/data/netatalk/netatalk-2.0.3.tar.gz b/data/netatalk/netatalk-2.0.3.tar.gz
new file mode 100644
index 000000000..8e75e66d5
--- /dev/null
+++ b/data/netatalk/netatalk-2.0.3.tar.gz
Binary files differ
diff --git a/data/netatalk/posix.diff b/data/netatalk/posix.diff
new file mode 100644
index 000000000..c963593b0
--- /dev/null
+++ b/data/netatalk/posix.diff
@@ -0,0 +1,21 @@
+diff -ru netatalk-2.0.3/bin/adv1tov2/adv1tov2.c netatalk-2.0.3+iPhone/bin/adv1tov2/adv1tov2.c
+--- netatalk-2.0.3/bin/adv1tov2/adv1tov2.c 2005-02-10 01:23:05.000000000 +0000
++++ netatalk-2.0.3+iPhone/bin/adv1tov2/adv1tov2.c 2008-07-11 01:10:01.000000000 +0000
+@@ -8,6 +8,8 @@
+ #include "config.h"
+ #endif /* HAVE_CONFIG_H */
+
++#include <atalk/util.h>
++
+ #include <atalk/adouble.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -25,8 +27,6 @@
+ #include <errno.h>
+ #include <string.h>
+
+-#include <atalk/util.h>
+-
+ #if AD_VERSION == AD_VERSION2
+ #if 0
+ /* translate characters */