Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=c564d750066b93cd14544a870828e9c81f8b4735
commit c564d750066b93cd14544a870828e9c81f8b4735 Author: Krisztian VASAS <i...@frugalware.org> Date: Sat Feb 19 15:47:11 2011 +0100 netatalk-2.1.5-1-x86_64 * initial import diff --git a/source/network-extra/netatalk/FrugalBuild b/source/network-extra/netatalk/FrugalBuild new file mode 100644 index 0000000..934dba3 --- /dev/null +++ b/source/network-extra/netatalk/FrugalBuild @@ -0,0 +1,34 @@ +# Compiling Time: 0 SBU +# Maintainer: Krisztian VASAS <i...@frugalware.org> + +pkgname=netatalk +pkgver=2.1.5 +pkgrel=1 +pkgdesc="Freely-available Open Source AFP fileserver" +depends=('openssl' 'pam' 'cracklib') +rodepends=('db') +options=('scriptlet') +Finclude sourceforge +up2date="lynx -dump http://netatalk.sourceforge.net/ | grep -A1 ' stable' | head -n 2 | awk '/]/ {print \$3}'" +source=(${source[@]} netatalk-2.0.2-uams_no_pie.patch netatalk-2.0.4-extern_ucreator.patch) +groups=('network-extra') +archs=('x86_64') +sha1sums=('a9e99df414b8d8952b48ac87ba838711bf3dd8fe' \ + '3cffe57c3f6e9af31393356be7456a8f288bd86d' \ + '17e49cc549d4ef52185d116d04a9c7a614275e36') + +build() +{ + Fmake --with-pkgconfdir=/etc/netatalk/ \ + --with-cracklib \ + --with-pam \ + --with-shadow \ + --with-uams-path=/usr/lib/netatalk \ + --enable-shared \ + --enable-overwrite \ + --with-gnu-ld + Fmakeinstall +} + + +# optimization OK diff --git a/source/network-extra/netatalk/netatalk-2.0.2-uams_no_pie.patch b/source/network-extra/netatalk/netatalk-2.0.2-uams_no_pie.patch new file mode 100644 index 0000000..c41c66f --- /dev/null +++ b/source/network-extra/netatalk/netatalk-2.0.2-uams_no_pie.patch @@ -0,0 +1,22 @@ +diff -up netatalk-2.0.3/etc/uams/Makefile.am.uams_no_pie netatalk-2.0.3/etc/uams/Makefile.am +--- netatalk-2.0.3/etc/uams/Makefile.am.uams_no_pie 2008-10-10 10:32:59.000000000 +0200 ++++ netatalk-2.0.3/etc/uams/Makefile.am 2008-10-10 10:32:59.000000000 +0200 +@@ -1,5 +1,5 @@ + # Makefile.am for etc/uams/ +- ++LDFLAGS = + SUBDIRS = uams_krb4 + + # +diff -up netatalk-2.0.3/macros/gssapi-check.m4.uams_no_pie netatalk-2.0.3/macros/gssapi-check.m4 +--- netatalk-2.0.3/macros/gssapi-check.m4.uams_no_pie 2008-10-10 10:32:59.000000000 +0200 ++++ netatalk-2.0.3/macros/gssapi-check.m4 2008-10-10 10:32:59.000000000 +0200 +@@ -126,7 +126,7 @@ AC_DEFUN([NETATALK_GSSAPI_CHECK], + if test x"$ac_cv_func_gss_acquire_cred" = x"yes"; then + AC_DEFINE(HAVE_GSSAPI,1,[Whether to enable GSSAPI support]) + AC_MSG_RESULT([yes]) +- GSSAPI_LIBS="$LDFLAGS $LIBS" ++ GSSAPI_LIBS="$LIBS" + else + AC_MSG_RESULT([no]) + if test x"$compilegssapi" = x"yes"; then diff --git a/source/network-extra/netatalk/netatalk-2.0.4-extern_ucreator.patch b/source/network-extra/netatalk/netatalk-2.0.4-extern_ucreator.patch new file mode 100644 index 0000000..413ac08 --- /dev/null +++ b/source/network-extra/netatalk/netatalk-2.0.4-extern_ucreator.patch @@ -0,0 +1,12 @@ +diff -up netatalk-2.0.4/etc/afpd/desktop.c.extern_ucreator netatalk-2.0.4/etc/afpd/desktop.c +--- netatalk-2.0.4/etc/afpd/desktop.c.extern_ucreator 2009-07-14 16:26:36.984610055 +0200 ++++ netatalk-2.0.4/etc/afpd/desktop.c 2009-07-14 16:27:01.607580009 +0200 +@@ -312,7 +312,7 @@ addicon_err: + } + + static const u_char utag[] = { 0, 0, 0, 0 }; +-static const u_char ucreator[] = { 0, 0, 0, 0 };/* { 'U', 'N', 'I', 'X' };*/ ++u_char ucreator[] = { 0, 0, 0, 0 };/* { 'U', 'N', 'I', 'X' };*/ + static const u_char utype[] = { 0, 0, 0, 0 };/* { 'T', 'E', 'X', 'T' };*/ + static const short usize = 256; + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git