]>
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 |
ee877deb | 7 | version = 3.6.2 |
802ea3af | 8 | release = 1 |
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 | |
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 | |
d604bfdf | 49 | |
802ea3af | 50 | DIR_APP = %{DIR_SRC}/%{thisapp}/source3 |
b534427f | 51 | |
802ea3af MT |
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 | |
b534427f | 75 | |
802ea3af MT |
76 | make_build_targets += \ |
77 | pch \ | |
78 | all modules | |
b534427f | 79 | |
802ea3af MT |
80 | install_cmds |
81 | mkdir -pv %{BUILDROOT}/etc/samba | |
82 | echo "127.0.0.1 localhost" > %{BUILDROOT}/etc/samba/lmhosts | |
83 | end | |
84 | end | |
b534427f | 85 | |
802ea3af MT |
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 | |
da48125f | 98 |