diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-24 14:05:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-24 14:06:16 +0000 |
commit | 1f116fd47d77324df42eba2edc82855c77dc0880 (patch) | |
tree | 87838540e2bdad22eadeb73bf25abf37c5d65d02 /main/samba | |
parent | 1d7a7a00644f8f143f74fa4282e30e044ee79281 (diff) | |
download | aports-1f116fd47d77324df42eba2edc82855c77dc0880.tar.bz2 aports-1f116fd47d77324df42eba2edc82855c77dc0880.tar.xz |
main/samba: build fix for samba on uclibc
Diffstat (limited to 'main/samba')
-rw-r--r-- | main/samba/APKBUILD | 6 | ||||
-rw-r--r-- | main/samba/uclibc-xattr-create.patch | 15 |
2 files changed, 20 insertions, 1 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index 3640d0ca37..ba6fc7df22 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba pkgver=4.1.5 -pkgrel=0 +pkgrel=1 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" arch="all" @@ -21,6 +21,7 @@ makedepends="popt-dev ncurses-dev openldap-dev heimdal-dev e2fsprogs-dev source="http://us1.samba.org/samba/ftp/stable/samba-$pkgver.tar.gz fix-libreplace.patch musl-fix-headers.patch + uclibc-xattr-create.patch samba.initd samba.confd samba.logrotate @@ -291,18 +292,21 @@ libs() { md5sums="71658f34cfdcffe3f48c0df5f4b08d79 samba-4.1.5.tar.gz b8c06c1a37bce8a7feea3b6896483da0 fix-libreplace.patch 2386589c1e2cbcf95b644554b8a2f4d1 musl-fix-headers.patch +f9ee1f13e59c60ee7e481f51329bf7d4 uclibc-xattr-create.patch 044c756d3c33c2d610c40bcd76cfb75c samba.initd c150433426e18261e6e3eed3930e1a76 samba.confd b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate" sha256sums="d98c1554d6f857053557ff024c243df5d15dd9ca436d5804be4b0546ede94cc8 samba-4.1.5.tar.gz 13617f691c648b44867c1a76d8be7c185021e8a8f3b695f8689a9f6244e65827 fix-libreplace.patch 0cf7e4eadf442422434d2b0fb43193f3a79f2887e32432f12cb6aed1941e807a musl-fix-headers.patch +dcf6a7118297d6567d8ff31c9eff1afffdf2f548db36fd17d00cdf0ffc555fe3 uclibc-xattr-create.patch 86646cb845aababd9e8655994379526f03327a2cc33b489c3a7dea83ab689c8f samba.initd 1d12f98a7727967b04eb123109b34cfffef320822dc0e8059286b6e3394c3fc0 samba.confd 4c2b7d529126b2fc4f62fb09d99e49a87632d723a2d9d289a61e37dd84145be1 samba.logrotate" sha512sums="28226cc3e5381dd6c3a6c28c4efbbb68d8df9127903b1976f4cd7f80dc5ad14109e5d6ebb80a3c918d711cbe2f02a01d4d2375895b16f0bc3d0c6ae4fad2de4f samba-4.1.5.tar.gz 4adbbeb75de6c55199e10f284e741ee252f403b7809251caf4baf378669770be01d469b23e12f8119ed5dca5080dd45bda1b5b78cc7a791be44c1eb6fb8c0fa2 fix-libreplace.patch 8d2e1be5f020d0558917f328770b289d0a41836616952d0d3208cecd457df3649f1357a2d35dc54123559ab6a1b720f3189286c65cee90b02ccbae7d676ae383 musl-fix-headers.patch +b43809d7ecbf3968f5154c2ded6ed47dae36921f1895ea98bcce50557eb2ad39b736345ffb4214655ed3154c143c20431d248cde828285380bafbf4d2627df9b uclibc-xattr-create.patch 59d05252b8ebbe6ba6a419edc86b66b9541d0bac9dbe810cccb20e64f6044e2900cc6c0979e077741ed00fbbf2d51f9184c83715013299782707b44e39aa99b1 samba.initd 4faf581ecef3ec38319e3c4ab6d3995c51fd7ba83180dc5553a2ff4dfb92efadb43030c543292130c4ed0c281dc0972c6973d52d48062c5edb39bb1c4bbb6dd6 samba.confd f88ebe59ca3a9e9b77dd5993c13ef3e73a838efb8ed858088b464a330132d662f33e25c27819e38835389dee23057a3951de11bae1eef55db8ff5e1ec6760053 samba.logrotate" diff --git a/main/samba/uclibc-xattr-create.patch b/main/samba/uclibc-xattr-create.patch new file mode 100644 index 0000000000..d4de15d2f2 --- /dev/null +++ b/main/samba/uclibc-xattr-create.patch @@ -0,0 +1,15 @@ +--- ./lib/replace/system/filesys.h.orig ++++ ./lib/replace/system/filesys.h +@@ -122,6 +122,12 @@ + #if HAVE_ATTR_XATTR_H + #include <attr/xattr.h> + #elif HAVE_SYS_XATTR_H ++#ifdef XATTR_CREATE ++#undef XATTR_CREATE ++#endif ++#ifdef XATTR_REPLACE ++#undef XATTR_REPLACE ++#endif + #include <sys/xattr.h> + #endif + |