summaryrefslogtreecommitdiff
path: root/net/netatalk/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk/files')
-rw-r--r--net/netatalk/files/netatalk.in67
-rw-r--r--net/netatalk/files/patch-config_netatalk.conf20
-rw-r--r--net/netatalk/files/patch-configure20
-rw-r--r--net/netatalk/files/patch-etc_apfd_Makefile.in11
-rw-r--r--net/netatalk/files/patch-etc_cnid_dbd_cnid_metad.c10
-rw-r--r--net/netatalk/files/patch-include_atalk_util.h10
6 files changed, 0 insertions, 138 deletions
diff --git a/net/netatalk/files/netatalk.in b/net/netatalk/files/netatalk.in
deleted file mode 100644
index 4408a7eb85b2..000000000000
--- a/net/netatalk/files/netatalk.in
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: atalkd papd cnid_metad timelord afpd
-# REQUIRE: DAEMON %%SRVLOC%% %%ZEROCONF%%
-# KEYWORD: shutdown
-#
-# AppleTalk daemons. Make sure not to start atalkd in the background:
-# its data structures must have time to stablize before running the
-# other processes.
-#
-
-# Set defaults. Please overide these in %%PREFIX%%/etc/netatalk.conf
-ATALK_ZONE=
-ATALK_NAME="`/bin/hostname -s`"
-AFPD_UAMLIST=
-AFPD_MAX_CLIENTS=50
-AFPD_GUEST=nobody
-
-# Load user config
-if [ -f %%PREFIX%%/etc/netatalk.conf ]; then . %%PREFIX%%/etc/netatalk.conf; fi
-
-netatalk_enable=${netatalk_enable-"NO"}
-atalkd_enable=${atalkd_enable-"NO"}
-papd_enable=${papd_enable-"NO"}
-cnid_metad_enable=${cnid_metad_enable-"NO"}
-afpd_enable=${afpd_enable-"NO"}
-timelord_enable=${timelord_enable-"NO"}
-
-. /etc/rc.subr
-
-name=netatalk
-rcvar=netatalk_enable
-hostname=`hostname -s`
-
-start_cmd=netatalk_start
-stop_cmd=netatalk_stop
-
-netatalk_start() {
- checkyesno atalkd_enable && %%PREFIX%%/sbin/atalkd
- checkyesno atalkd_enable && \
- %%PREFIX%%/bin/nbprgstr -p 4 "${ATALK_NAME}:Workstation${ATALK_ZONE}" &
- checkyesno atalkd_enable && \
- %%PREFIX%%/bin/nbprgstr -p 4 "${ATALK_NAME}:netatalk${ATALK_ZONE}" &
- checkyesno papd_enable && %%PREFIX%%/sbin/papd
- checkyesno cnid_metad_enable && %%PREFIX%%/sbin/cnid_metad
- checkyesno timelord_enable && %%PREFIX%%/sbin/timelord
- checkyesno afpd_enable && \
- %%PREFIX%%/sbin/afpd -n "${ATALK_NAME}${ATALK_ZONE}" \
- -s %%PREFIX%%/etc/AppleVolumes.system \
- -f %%PREFIX%%/etc/AppleVolumes.default \
- -g ${AFPD_GUEST} \
- -c ${AFPD_MAX_CLIENTS} \
- ${AFPD_UAMLIST}
-}
-
-netatalk_stop() {
- checkyesno timelord_enable && killall timelord
- checkyesno afpd_enable && killall afpd
- checkyesno cnid_metad_enable && killall cnid_metad
- checkyesno papd_enable && killall papd
- checkyesno atalkd_enable && killall atalkd
-}
-
-load_rc_config ${name}
-run_rc_command "$1"
diff --git a/net/netatalk/files/patch-config_netatalk.conf b/net/netatalk/files/patch-config_netatalk.conf
deleted file mode 100644
index 9d3c7bf4c25f..000000000000
--- a/net/netatalk/files/patch-config_netatalk.conf
+++ /dev/null
@@ -1,20 +0,0 @@
---- config/netatalk.conf.orig 2011-07-22 00:30:42.000000000 -0400
-+++ config/netatalk.conf 2011-07-30 18:01:04.000000000 -0400
-@@ -1,4 +1,5 @@
--# Netatalk configuration
-+# netatalk configuration
-+# For details see man netatalk.conf
-
- #########################################################################
- # Global configuration
-@@ -21,8 +22,8 @@ export ATALK_MAC_CHARSET
-
- #### Set which daemons to run.
- #### If you use AFP file server, run both cnid_metad and afpd.
--CNID_METAD_RUN=yes
--AFPD_RUN=yes
-+#CNID_METAD_RUN=yes
-+#AFPD_RUN=yes
-
- #### maximum number of clients that can connect:
- #AFPD_MAX_CLIENTS=20
diff --git a/net/netatalk/files/patch-configure b/net/netatalk/files/patch-configure
deleted file mode 100644
index 32e1af48bff0..000000000000
--- a/net/netatalk/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig 2012-04-26 10:27:12.000000000 -0400
-+++ configure 2012-07-08 21:21:38.000000000 -0400
-@@ -16127,7 +16127,7 @@ fi
- fi
-
- # mDNS support using mDNSResponder
-- ac_fn_c_check_header_mongrel "$LINENO" "dns_sd.h" "ac_cv_header_dns_sd_h" "$ac_includes_default"
-+ ac_fn_c_check_header_mongrel "$LINENO" "xxxdns_sd.hxxx" "ac_cv_header_dns_sd_h" "$ac_includes_default"
- if test "x$ac_cv_header_dns_sd_h" = xyes; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DNSServiceRegister in -ldns_sd" >&5
- $as_echo_n "checking for DNSServiceRegister in -ldns_sd... " >&6; }
-@@ -18150,7 +18150,7 @@ if test "x$bdb_required" = "xyes"; then
- trybdbdir=""
- dobdbsearch=yes
- bdb_search_dirs="/usr/local /usr"
-- search_subdirs="/ /db5 /db5.1 /db51 /db5.0 /db50 /db4.8 /db48 /db4.7 /db47 /db4.6 /db46 /db4"
-+ search_subdirs="/%%DB_NAME%% / /db5 /db5.1 /db51 /db5.0 /db50 /db4.8 /db48 /db4.7 /db47 /db4.6 /db46 /db4"
-
- bdbfound=no
- savedcflags="$CFLAGS"
diff --git a/net/netatalk/files/patch-etc_apfd_Makefile.in b/net/netatalk/files/patch-etc_apfd_Makefile.in
deleted file mode 100644
index e91692393775..000000000000
--- a/net/netatalk/files/patch-etc_apfd_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- etc/afpd/Makefile.in.orig 2011-07-27 07:59:24.000000000 -0400
-+++ etc/afpd/Makefile.in 2011-07-30 18:03:30.000000000 -0400
-@@ -317,7 +317,7 @@ afpd_SOURCES = afp_asp.c afp_avahi.c afp
- afpd_LDADD = \
- $(top_builddir)/libatalk/cnid/libcnid.la \
- $(top_builddir)/libatalk/libatalk.la \
-- @LIBGCRYPT_LIBS@ @ZEROCONF_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @PTHREAD_LIBS@
-+ @LIBGCRYPT_LIBS@ @ZEROCONF_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @PTHREAD_LIBS@ @PAM_LIBS@
-
- afpd_LDFLAGS = -export-dynamic
- afpd_CFLAGS = \
diff --git a/net/netatalk/files/patch-etc_cnid_dbd_cnid_metad.c b/net/netatalk/files/patch-etc_cnid_dbd_cnid_metad.c
deleted file mode 100644
index e83a11997d16..000000000000
--- a/net/netatalk/files/patch-etc_cnid_dbd_cnid_metad.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- etc/cnid_dbd/cnid_metad.c.orig 2011-07-30 18:28:32.000000000 -0400
-+++ etc/cnid_dbd/cnid_metad.c 2011-07-30 18:29:01.000000000 -0400
-@@ -39,6 +39,7 @@
- #include <string.h>
- #include <signal.h>
- #include <sys/types.h>
-+#include <sys/resource.h>
- #include <sys/time.h>
- #include <sys/wait.h>
- #include <sys/uio.h>
diff --git a/net/netatalk/files/patch-include_atalk_util.h b/net/netatalk/files/patch-include_atalk_util.h
deleted file mode 100644
index 7df14fa51921..000000000000
--- a/net/netatalk/files/patch-include_atalk_util.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- include/atalk/util.h.orig 2010-06-09 18:45:10.000000000 -0400
-+++ include/atalk/util.h 2010-06-09 18:45:22.000000000 -0400
-@@ -17,6 +17,7 @@
-
- #include <sys/cdefs.h>
- #include <sys/types.h>
-+#include <sys/socket.h>
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif /* HAVE_UNISTD_H */