42 |
mirror://${PNAME}/samba-3.0.34-subins-makefile.patch |
mirror://${PNAME}/samba-3.0.34-subins-makefile.patch |
43 |
mirror://${PNAME}/samba-3.0.34-magellan-no-swat.patch |
mirror://${PNAME}/samba-3.0.34-magellan-no-swat.patch |
44 |
mirror://${PNAME}/samba-3.0.27-invalid-free-fix.patch |
mirror://${PNAME}/samba-3.0.27-invalid-free-fix.patch |
45 |
|
mirror://${PNAME}/samba-3.0.34-fix-broken-readdir-detection.patch |
46 |
) |
) |
47 |
|
|
48 |
UP2DATE="updatecmd http://ftp.samba.org/samba/ftp | grep ${PNAME}-[0-9].* | lasttarball gz" |
UP2DATE="updatecmd http://ftp.samba.org/samba/ftp | grep ${PNAME}-[0-9].* | lasttarball gz" |
70 |
# fixes an invalid pointer in libsmbclient - see upstream bug #5021 |
# fixes an invalid pointer in libsmbclient - see upstream bug #5021 |
71 |
mpatch samba-3.0.27-invalid-free-fix.patch || die |
mpatch samba-3.0.27-invalid-free-fix.patch || die |
72 |
|
|
73 |
|
# fix compilation with libcaps-2 |
74 |
|
mpatch samba-3.0.34-fix-broken-readdir-detection.patch || die |
75 |
|
|
76 |
# add our vendor suffix |
# add our vendor suffix |
77 |
sed -i "s:^\(SAMBA_VERSION_VENDOR_SUFFIX=\).*:\1\"magellan\":" ${SRCDIR}/source/VERSION || die |
sed -i "s:^\(SAMBA_VERSION_VENDOR_SUFFIX=\).*:\1\"magellan\":" ${SRCDIR}/source/VERSION || die |
78 |
cd ${SRCDIR}/source |
cd ${SRCDIR}/source |