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