]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - samba/samba.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / samba / samba.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = samba
7 version = 3.5.11
8 release = 1
9
10 maintainer = Christian Schmidt <christian.schmidt@ipfire.org>
11 groups = Networking/Daemons
12 url = http://www.samba.org/
13 license = GPLv3+ and LGPLv3+
14 summary = Server and Client software to interoperate with Windows machines.
15
16 description
17 Samba is the suite of programs by which a lot of PC-related machines
18 share files, printers, and other information (such as lists of
19 available files and printers). The Windows NT, OS/2, and Linux
20 operating systems support this natively, and add-on packages can
21 enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
22 and more. This package provides an SMB/CIFS server that can be used to
23 provide network services to SMB/CIFS clients.
24 Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
25 need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
26 end
27
28 source_dl = http://www.samba.org/samba/ftp/stable/
29
30 CFLAGS += \
31 -D_FILE_OFFSET_BITS=64 \
32 -D_GNU_SOURCE -DLDAP_DEPRECATED
33
34 build
35 requires
36 autoconf
37 automake
38 avahi-devel
39 cups-devel
40 ncurses-devel
41 libcap-devel
42 openldap-devel
43 openssl-devel
44 pam-devel
45 popt-devel
46 readline-devel
47 which
48 end
49
50 DIR_APP = %{DIR_SRC}/%{thisapp}/source3
51
52 configure_options += \
53 --prefix=/usr \
54 --localstatedir=/var \
55 --with-lockdir=/var/lib/samba \
56 --with-piddir=/var/run \
57 --with-mandir=/usr/share/man \
58 --with-privatedir=/var/lib/samba/private \
59 --with-logfilebase=/var/log/samba \
60 --with-modulesdir=/usr/lib/samba \
61 --with-configdir=/etc/samba \
62 --with-pammodulesdir=/lib/security \
63 --with-swatdir=/usr/share/swat \
64 --with-automount \
65 --with-libsmbclient \
66 --with-libsmbsharemodes \
67 --with-pam \
68 --with-pam_smbpass \
69 --with-quotas \
70 --with-sendfile-support \
71 --with-syslog \
72 --with-utmp \
73 --with-winbind \
74 --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash
75
76 make_build_targets += \
77 pch \
78 all modules
79
80 install_cmds
81 mkdir -pv %{BUILDROOT}/etc/samba
82 echo "127.0.0.1 localhost" > %{BUILDROOT}/etc/samba/lmhosts
83 end
84 end
85
86 packages
87 package %{name}
88 end
89
90 package %{name}-libs
91 template LIBS
92 end
93
94 package %{name}-devel
95 template DEVEL
96 end
97 end