]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = samba |
da48125f | 7 | version = 3.6.0 |
c11bcb63 | 8 | release = 2 |
b534427f | 9 | |
802ea3af MT |
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. | |
b534427f | 15 | |
802ea3af MT |
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 | |
b534427f | 25 | need the NetBEUI (Microsoft Raw NetBIOS frame) protocol. |
802ea3af MT |
26 | end |
27 | ||
28 | source_dl = http://www.samba.org/samba/ftp/stable/ | |
b534427f | 29 | |
802ea3af MT |
30 | CFLAGS += \ |
31 | -D_FILE_OFFSET_BITS=64 \ | |
32 | -D_GNU_SOURCE -DLDAP_DEPRECATED | |
b534427f | 33 | |
802ea3af MT |
34 | build |
35 | requires | |
36 | autoconf | |
37 | automake | |
38 | avahi-devel | |
39 | cups-devel | |
c11bcb63 | 40 | gettext |
802ea3af | 41 | ncurses-devel |
c11bcb63 | 42 | libacl-devel |
802ea3af MT |
43 | libcap-devel |
44 | openldap-devel | |
45 | openssl-devel | |
46 | pam-devel | |
47 | popt-devel | |
48 | readline-devel | |
49 | which | |
c11bcb63 | 50 | zlib-devel |
802ea3af | 51 | end |
d604bfdf | 52 | |
802ea3af | 53 | DIR_APP = %{DIR_SRC}/%{thisapp}/source3 |
b534427f | 54 | |
802ea3af MT |
55 | configure_options += \ |
56 | --prefix=/usr \ | |
57 | --localstatedir=/var \ | |
58 | --with-lockdir=/var/lib/samba \ | |
59 | --with-piddir=/var/run \ | |
60 | --with-mandir=/usr/share/man \ | |
61 | --with-privatedir=/var/lib/samba/private \ | |
62 | --with-logfilebase=/var/log/samba \ | |
63 | --with-modulesdir=/usr/lib/samba \ | |
64 | --with-configdir=/etc/samba \ | |
65 | --with-pammodulesdir=/lib/security \ | |
66 | --with-swatdir=/usr/share/swat \ | |
67 | --with-automount \ | |
68 | --with-libsmbclient \ | |
69 | --with-libsmbsharemodes \ | |
70 | --with-pam \ | |
71 | --with-pam_smbpass \ | |
72 | --with-quotas \ | |
73 | --with-sendfile-support \ | |
74 | --with-syslog \ | |
75 | --with-utmp \ | |
76 | --with-winbind \ | |
77 | --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash | |
b534427f | 78 | |
802ea3af MT |
79 | make_build_targets += \ |
80 | pch \ | |
81 | all modules | |
b534427f | 82 | |
802ea3af MT |
83 | install_cmds |
84 | mkdir -pv %{BUILDROOT}/etc/samba | |
85 | echo "127.0.0.1 localhost" > %{BUILDROOT}/etc/samba/lmhosts | |
86 | end | |
87 | end | |
b534427f | 88 | |
802ea3af MT |
89 | packages |
90 | package %{name} | |
91 | end | |
92 | ||
93 | package %{name}-libs | |
94 | template LIBS | |
95 | end | |
96 | ||
97 | package %{name}-devel | |
98 | template DEVEL | |
c11bcb63 MT |
99 | |
100 | requires += %{name}-libs=%{thisver} | |
802ea3af MT |
101 | end |
102 | end | |
da48125f | 103 |