diff options
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/netatalk/Manifest | 5 | ||||
-rw-r--r-- | net-fs/netatalk/files/afpd.init.3 | 22 | ||||
-rw-r--r-- | net-fs/netatalk/files/cnid_metad.init.2 | 15 | ||||
-rw-r--r-- | net-fs/netatalk/files/netatalk-3.0-gentoo.patch | 146 | ||||
-rw-r--r-- | net-fs/netatalk/netatalk-3.0.ebuild | 131 |
5 files changed, 0 insertions, 319 deletions
diff --git a/net-fs/netatalk/Manifest b/net-fs/netatalk/Manifest deleted file mode 100644 index bf0f6ad..0000000 --- a/net-fs/netatalk/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX afpd.init.3 549 SHA256 3583467680406b993602c90e83a7faf8d1ba8612944e99eb66dd3e9a00437799 SHA512 6f2cec35054bd9251821e41a02f1fa941bac7d5173be13eda7d02f407e194cc825473ff39850691a6759968b158a5b0058b34baed2058235eaa1d51984a689bd WHIRLPOOL 42c96babe4405a713c1a712e3ee1a6cd483634a5626f9be586a4a3f69310a54e6f7b4e5853512b43b04ab16a54d854a7be865663ced83fee0f94362edd8fa1d6 -AUX cnid_metad.init.2 408 SHA256 868028149f779fcee6d019a8bd04561d44bc771688e7e78203d87d50d4d57aca SHA512 7c0a370d937c41dcd217b1f290bf5594a5905c0babbd51b88755b3ee91ba39c3b7d8eb8f9b40f3a279ab09761172b0236a55df98f8bc37b6ff8adbb0af664fc5 WHIRLPOOL 17edade1c30bfe92e6c4678073e60340b71e55b08eaa5403d37fd30d273b6191c873b7ffbdc4e8be672de4ce88f1441d76396da3657ada64370cbe8397209c9a -AUX netatalk-3.0-gentoo.patch 5682 SHA256 6be3605c1d801e42e133bd0c6cc8b0adcd4cf0de208467292b7b8e2d4bed55c9 SHA512 8450ea6af84242f2e8ae813755ee9b708aa0a4a06818eae622a6a18220c87194f433f3fe3a9c78ff4355d221e8b8eb2889528103653ae138e12bd3bf125fc798 WHIRLPOOL 209ca25fc3129a5db743f59c0bde6383d1a19e4c0dc0d1767bf1f0c65cfb332eed0773637a86f3e70d2045200b244e4b2c205bfb09253c3dc321bc8fcf331bdb -DIST netatalk-3.0.tar.bz2 1628026 SHA256 b7babbc986dbd6f0fca55103637de6947892b29287cb7cfbbaaa77dea3ead54c SHA512 690fa21a72ef1ef119b930cf9aba160dff6e780a7e9aa4668f962d232d00abc21b8b256c1eef99e2a977ddd286fed7405c6b704da27036a4fa89397cf9ad446b WHIRLPOOL ac81c1cc1ec06e5c13dbbf7a688b946f79e846cfa587a187ab088569ed9bbd887f206c4d10016bd86f685420712382ed8f47ce189ee392ab03e797df04651c36 -EBUILD netatalk-3.0.ebuild 3549 SHA256 7ff0855fb65eaf77c26d4088f471c57abc1ea9df3e06d54f765504e0bbdbe235 SHA512 1cf06a2ee81c67cadd2170ad5c4e313d51c719358de846ebb30c7aa9ffb42d09987ce1738a8ac0df7ff77585a8ddb29a2303304569137f4037783689afbd33af WHIRLPOOL ea74ca29703597bed5322e8b80a6bff25951d0d7832b768e2284110560772704dbf5513059a2928121aa232fe323da85042d4eed6c0f0f37f46a1d55025a19ce diff --git a/net-fs/netatalk/files/afpd.init.3 b/net-fs/netatalk/files/afpd.init.3 deleted file mode 100644 index 449bb77..0000000 --- a/net-fs/netatalk/files/afpd.init.3 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init.3,v 1.1 2012/04/08 21:04:02 flameeyes Exp $ - -command="/usr/sbin/${SVCNAME}" -command_args="${EXTRA_CONF}" -pidfile="/var/run/${SVCNAME}.pid" - -depend() { - need net cnid_metad - use logger dns atalkd - after entropy - - config /etc/netatalk/afpd.conf - - sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \ - && need atalkd - - need avahi-daemon - need slpd -} diff --git a/net-fs/netatalk/files/cnid_metad.init.2 b/net-fs/netatalk/files/cnid_metad.init.2 deleted file mode 100644 index 997603d..0000000 --- a/net-fs/netatalk/files/cnid_metad.init.2 +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/cnid_metad.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $ - -: ${CNID_CONFIG:=-l log_note} - -command="/usr/sbin/${SVCNAME}" -command_args="${CNID_CONFIG}" -pidfile="/var/run/${SVCNAME}.pid" - -depend() { - need net - use logger -} diff --git a/net-fs/netatalk/files/netatalk-3.0-gentoo.patch b/net-fs/netatalk/files/netatalk-3.0-gentoo.patch deleted file mode 100644 index 59663ad..0000000 --- a/net-fs/netatalk/files/netatalk-3.0-gentoo.patch +++ /dev/null @@ -1,146 +0,0 @@ - Makefile.am | 8 +------- - etc/afpd/afp_avahi.c | 2 +- - etc/netatalk/Makefile.am | 7 ++++--- - etc/uams/Makefile.am | 20 ++++++++++---------- - libatalk/dsi/Makefile.am | 1 + - libatalk/vfs/Makefile.am | 1 + - macros/netatalk.m4 | 15 ++++++++------- - 7 files changed, 26 insertions(+), 28 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 448375a..67ea35f 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,6 +1,6 @@ - # Makefile.am for top level of netatalk package - --SUBDIRS = libatalk libevent bin config etc man contrib distrib include doc macros test -+SUBDIRS = libatalk bin config etc man contrib distrib include doc macros test - - EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION - -@@ -11,9 +11,3 @@ if USE_BUILTIN_LIBEVENT - SUBDIRS += libevent - endif - --if RUN_LDCONFIG --install-exec-hook: -- @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... " -- @-@NETA_LDCONFIG@ -- @printf "done\n" --endif -diff --git a/etc/afpd/afp_avahi.c b/etc/afpd/afp_avahi.c -index 5218d51..b68c266 100644 ---- a/etc/afpd/afp_avahi.c -+++ b/etc/afpd/afp_avahi.c -@@ -174,8 +174,8 @@ static void register_stuff(void) { - return; - - fail: -- time(NULL); - // avahi_threaded_poll_quit(ctx->threaded_poll); -+ return; - } - - /* Called when publishing of service data completes */ -diff --git a/etc/netatalk/Makefile.am b/etc/netatalk/Makefile.am -index 10f90ce..7897055 100644 ---- a/etc/netatalk/Makefile.am -+++ b/etc/netatalk/Makefile.am -@@ -10,8 +10,7 @@ netatalk_CFLAGS = \ - -D_PATH_AFPD=\"$(sbindir)/afpd\" \ - -D_PATH_CNID_METAD=\"$(sbindir)/cnid_metad\" - --netatalk_LDADD = \ -- $(top_builddir)/libatalk/libatalk.la -+netatalk_LDADD = $(top_builddir)/libatalk/libatalk.la - - if USE_BUILTIN_LIBEVENT - netatalk_CFLAGS += \ -@@ -20,4 +19,6 @@ netatalk_CFLAGS += \ - - netatalk_LDADD += \ - $(top_builddir)/libevent/libevent.la --endif -\ No newline at end of file -+else -+netatalk_LDADD += $(LIBEVENT_LIBS) -+endif -diff --git a/etc/uams/Makefile.am b/etc/uams/Makefile.am -index 3a02b83..70a2f76 100644 ---- a/etc/uams/Makefile.am -+++ b/etc/uams/Makefile.am -@@ -95,16 +95,16 @@ uams_dhx_pam_la_CFLAGS = @SSL_CFLAGS@ @PAM_CFLAGS@ - uams_dhx2_pam_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @PAM_CFLAGS@ - uams_gss_la_CFLAGS = @GSSAPI_CFLAGS@ - --uams_guest_la_LDFLAGS = -module -avoid-version --uams_randnum_la_LDFLAGS = -module -avoid-version @SSL_LIBS@ --uams_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ --uams_pam_la_LDFLAGS = -module -avoid-version @PAM_LIBS@ --uams_pgp_la_LDFLAGS = -module -avoid-version @SSL_LIBS@ --uams_dhx_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ --uams_dhx_pam_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@ --uams_dhx2_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@ --uams_dhx2_pam_la_LDFLAGS = -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@ --uams_gss_la_LDFLAGS = -module -avoid-version @GSSAPI_LIBS@ -+uams_guest_la_LDFLAGS = -shared -module -avoid-version -+uams_randnum_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@ -+uams_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ -+uams_pam_la_LDFLAGS = -shared -module -avoid-version @PAM_LIBS@ -+uams_pgp_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@ -+uams_dhx_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ -+uams_dhx_pam_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@ -+uams_dhx2_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@ -+uams_dhx2_pam_la_LDFLAGS = -shared -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@ -+uams_gss_la_LDFLAGS = -shared -module -avoid-version @GSSAPI_LIBS@ - - # - # module compilation -diff --git a/libatalk/dsi/Makefile.am b/libatalk/dsi/Makefile.am -index 34fa76e..757c458 100644 ---- a/libatalk/dsi/Makefile.am -+++ b/libatalk/dsi/Makefile.am -@@ -7,3 +7,4 @@ LIBS = @LIBS@ - noinst_LTLIBRARIES = libdsi.la - - libdsi_la_SOURCES = dsi_attn.c dsi_close.c dsi_cmdreply.c dsi_getsess.c dsi_getstat.c dsi_init.c dsi_opensess.c dsi_read.c dsi_tcp.c dsi_tickle.c dsi_write.c dsi_stream.c -+libdsi_la_LIBADD = $(WRAP_LIBS) -diff --git a/libatalk/vfs/Makefile.am b/libatalk/vfs/Makefile.am -index aa62aeb..8ac2045 100644 ---- a/libatalk/vfs/Makefile.am -+++ b/libatalk/vfs/Makefile.am -@@ -6,4 +6,5 @@ libvfs_la_SOURCES = vfs.c unix.c ea_ad.c ea_sys.c extattr.c - - if HAVE_ACLS - libvfs_la_SOURCES += acl.c -+libvfs_la_LIBADD = $(ACL_LIBS) - endif -diff --git a/macros/netatalk.m4 b/macros/netatalk.m4 -index 3e57077..765ce7a 100644 ---- a/macros/netatalk.m4 -+++ b/macros/netatalk.m4 -@@ -19,15 +19,16 @@ AC_DEFUN([AC_NETATALK_LIBEVENT], [ - AC_ARG_ENABLE( - bundled-libevent, - [AS_HELP_STRING([--disable-bundled-libevent],[whether the bundled version of libevent shall not be used (define CPPFLAGS and LDFLAGS otherwise appropiately to pick up installed version) -- ])], -- use_bundled_libevent=$enableval, -- use_bundled_libevent=yes -+ ])] - ) - -- if test x"$use_bundled_libevent" = x"yes" ; then -- AC_CONFIG_SUBDIRS([libevent]) -- fi -- AM_CONDITIONAL(USE_BUILTIN_LIBEVENT, test x"$use_bundled_libevent" = x"yes") -+ AS_IF([test x"$enable_bundled_libevent" != x"no"], -+ [AC_CONFIG_SUBDIRS([libevent]) -+ AC_MSG_RESULT([no])], -+ [AC_MSG_RESULT([yes]) -+ PKG_CHECK_MODULES([LIBEVENT], [libevent])]) -+ -+ AM_CONDITIONAL(USE_BUILTIN_LIBEVENT, test x"$bundled_libevent" = x"no") - ]) - - dnl Filesystem Hierarchy Standard (FHS) compatibility diff --git a/net-fs/netatalk/netatalk-3.0.ebuild b/net-fs/netatalk/netatalk-3.0.ebuild deleted file mode 100644 index 88134a6..0000000 --- a/net-fs/netatalk/netatalk-3.0.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-2.2.3.ebuild,v 1.2 2012/06/26 04:40:58 zmedico Exp $ - -EAPI=4 - -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils flag-o-matic multilib pam - -DESCRIPTION="Open Source AFP server and other AppleTalk-related utilities" -HOMEPAGE="http://netatalk.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="acl avahi cracklib cups debug gpg kerberos ldap pam quota +shadow slp ssl static-libs tcpd" - -RDEPEND=">=sys-libs/db-4.2.52 - avahi? ( net-dns/avahi[dbus] ) - cracklib? ( sys-libs/cracklib ) - pam? ( virtual/pam ) - ssl? ( dev-libs/openssl ) - tcpd? ( sys-apps/tcp-wrappers ) - slp? ( net-libs/openslp ) - kerberos? ( virtual/krb5 ) - >=sys-apps/coreutils-7.1 - !app-text/yudit - dev-libs/libgcrypt - acl? ( - sys-apps/attr - sys-apps/acl - ) - ldap? ( - net-nds/openldap - ) - " -DEPEND="${RDEPEND}" -RDEPEND="sys-apps/openrc" - -RESTRICT="test" - -REQUIRED_USE="ldap? ( acl )" - -DOCS=( CONTRIBUTORS NEWS VERSION AUTHORS doc/DEVELOPER ) - -PATCHES=( "${FILESDIR}"/${PN}-3.0-gentoo.patch ) - -src_prepare() { - sed \ - -e '/^LDFLAGS/d' \ - -i macros/netatalk.m4 || die - autotools-utils_src_prepare -} - - -src_configure() { - local myeconfargs=() - - if use acl; then - myconf+=( --with-acls $(use_with ldap) ) - else - myconf+=( --without-acls --without-ldap ) - fi - - append-flags -fno-strict-aliasing - - # Ignore --with-init-style=gentoo, we install the init.d by hand and we avoid having - # to sed the Makefiles to not do rc-update. - # TODO: - # systemd : --with-init-style=systemd - myeconfargs+=( - --disable-silent-rules - $(use_enable avahi zeroconf) - $(use_enable debug) - $(use_enable debug debugging) - $(use_enable kerberos) - $(use_enable kerberos krbV-uam) - $(use_enable quota) - $(use_enable slp srvloc) - $(use_enable tcpd tcp-wrappers) - $(use_with cracklib) - $(use_with pam) - $(use_with ssl ssl-dir) - $(use_with shadow) - --enable-overwrite - --disable-krb4-uam - --disable-afs - --disable-bundled-libevent - --enable-fhs - --with-bdb=/usr - --with-uams-path=/usr/$(get_libdir)/${PN} - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - - newinitd "${FILESDIR}"/afpd.init.3 afpd - newinitd "${FILESDIR}"/cnid_metad.init.2 cnid_metad - - use avahi || sed -i -e '/need avahi-daemon/d' "${D}"/etc/init.d/afpd - use slp || sed -i -e '/need slpd/d' "${D}"/etc/init.d/afpd - - # The pamd file isn't what we need, use pamd_mimic_system - rm -rf "${D}/etc/pam.d" - pamd_mimic_system netatalk auth account password session -} - -pkg_postinst() { - elog "Starting from version 2.2.1-r1 the netatalk init script has been split" - elog "into different services depending on what you need to start." - elog "This was done to make sure that all services are started and reported" - elog "properly." - elog "" - elog "The new services are:" - elog " cnid_metad" - elog " afpd" - elog " netatalk" - elog "" - elog "Dependencies should be resolved automatically depending on settings" - elog "but please report issues with this on https://bugs.gentoo.org/ if" - elog "you find any." - elog "" - elog "The old configuration file /etc/netatalk/netatalk.conf is no longer" - elog "installed, and will be ignored. The new configuration is supposed" - elog "to be done through individual /etc/conf.d files, for everything that" - elog "cannot be set already through their respective configuration files." -} |