1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

642 Commits

Author SHA1 Message Date
Michael Adam
8c37e70d51 packaging(RHEL-CTDB): add some checks to test the built smbd
Test whether some required features have been built into smbd.
Can be extended...

Michael
2009-12-08 08:01:52 +01:00
Michael Adam
87de8aec9e packaging(RHEL-CTDB): make everything instead of all in the build stage
Michael
2009-12-08 08:01:52 +01:00
Michael Adam
21d3aa8145 packaging(RHEL-CTDB): package dbwrap_tool and dbwrap_torture in the common pkg
Michael
2009-12-05 17:59:36 +01:00
Christian Ambach
6540804f40 add e2fsprogs-devel as build dependency this is needed for AD because it contains libcom/libcom_err files and headers
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:41 +01:00
Michael Adam
27f988c234 packaging(RHEL-CTDB): add the current githash to the rpm release number by default
Disable this (to build a release-rpm) by calling

USE_GITHASH=no makerpms.sh

Michael
2009-11-13 16:19:40 +01:00
Michael Adam
05ba2ee810 packaging(RHEL-CTDB): enable parallel build
Michael
2009-11-13 16:19:40 +01:00
Michael Adam
609a600e15 packaging(RHEL-CTDB): fix packaging of pam_winbind.mo file
Michael
2009-11-13 16:19:40 +01:00
Michael Adam
ee7c04e748 packaging(RHEL-CTDB): move the idmap and nss_info modules to the common package
In this layout, this is the package that contains winbindd related stuff.

Michael
2009-11-13 16:19:39 +01:00
Michael Adam
0abe1a3742 packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin
Michael
2009-11-13 16:19:39 +01:00
Michael Adam
f763886249 packaging(RHEL-CTDB): package the manpage of the winbind_krb5_locator plugin
Michael
2009-11-13 16:19:39 +01:00
Michael Adam
5a0c47df98 packaging(RHEL-CTDB): package the manpage of "ldbrename"
Michael
2009-11-13 16:19:38 +01:00
Michael Adam
c30bd08302 packaging(RHEL-CTDB): package the manpage of "sharesec"
Michael
2009-11-13 16:19:38 +01:00
Michael Adam
bf674dfa09 packaging(RHEL-CTDB): pam_winbindd man page has moved from section 7 to 8
This due to updating the docs tarball to the 3.4 docs.

Michael
2009-11-13 16:19:38 +01:00
Michael Adam
48fa8e4463 packaging(RHEL-CTDB): disable the merged build.
Michael
2009-11-13 16:19:37 +01:00
Michael Adam
a72714e67b packaging(RHEL-CTDB): also pack libwbcient in winbind-32bit package
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:37 +01:00
Michael Adam
c7106a6250 packaging(RHEL-CTDB): add new pam_winbind.mo to the common package
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:37 +01:00
Michael Adam
0247c2cd41 packaging(RHEL-CTDB): add new binary sharesec to the client package.
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:36 +01:00
Michael Adam
837487f1d0 packaging(RHEL-CTDB): add new binary ldbrename to the common rpm
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:36 +01:00
Michael Adam
c53de39623 packaging(RHEL-CTDB): fix location of nsswitch/ directory for install
This has been moved to the top level directory in 3.4.

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
2869772e73 packaging(RHEL-CTDB): don't pass CFLAGS to make.
This breaks the build since 3.3 since it overwrites the CFLAGS
set by configure.

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
de3b633983 packaging(RHEL-CTDB): don't "make proto" any more.
This has become unnecessary in 3.3

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
af2c5f2985 packaging(RHEL-CTDB):makerpms.sh: replace source/ by source3/
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
728b01fc03 packaging(RHEL-CTDB):makespec.sh: fix detection of version
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
91cd20a8f4 packaging(RHEL-CTDB): makeversion.sh: v3-4-test uses source3 instead of source
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
b43a09f2a0 packaging(RHEL-CTDB): makerpms.sh: build winbind-32bit libs in the 64bit build
Michael
(cherry picked from commit a9a506b6640986548e2ae8540b7ae93960d6ece5)
2009-11-13 16:19:33 +01:00
Michael Adam
233a05fb93 packaging(RHEL-CTDB): Build winbind-32bit package in the 64bit build
Michael
(cherry picked from commit f5cd88a25f360e6609dc5abe24247fab78af6854)
2009-11-13 16:19:33 +01:00
Michael Adam
0037b31b2f packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
Michael
(cherry picked from commit fc122aa276bce379b492e5bdf52ab3e03bc3737f)
2009-11-13 16:19:32 +01:00
Michael Adam
30edbb8660 packaging(RHEL-CTDB): The former release number has basically moved into VERSION
Michael
2009-11-13 16:19:32 +01:00
Karolin Seeger
79c2c61b99 s3:packaging: Fix building RHEL packages.
Fix bug #6721.
Thanks to Eero Volotinen <eero.volotinen@medicel.com> for providing the patch!

Karolin
2009-10-16 16:00:26 +02:00
Karolin Seeger
13494c0f8f s3/packaging: pam_winbind has been moved to section 8.
Karolin
2009-06-17 15:19:20 +02:00
Karolin Seeger
6098be34ba s3/packaging: source -> source3
Karolin
2009-06-17 15:18:16 +02:00
Jelmer Vernooij
ba4a047b36 packaging/Debian: Remove outdated Debian package sources and instead refer to
Debian.org and SerNet packages.
2009-06-12 14:15:08 +02:00
Karolin Seeger
42e0cb8c0a s3/packaging: Fix build on RHEL when ccache is not available.
This fixes bug #5832.
Patch was provided by D.L. Meyer <dlmeyer [at] uiuc.edu>.

Thanks for reporting and providing the patch!

Karolin
2009-05-13 10:07:56 +02:00
Karolin Seeger
d8de7e3193 s3/packaging: Add keyutils-devel to build requires.
This should fiy bug #5853. Thanks to D.L. Meyer <dlmeyer [at] uiuc.edu>
for reporting.

Karolin
2009-05-04 15:55:19 +02:00
Karolin Seeger
bed4f84134 s3/packaging: Add idmap_hash and idmap_adex to the list of built modules.
Karolin
2009-04-08 17:50:33 +02:00
Karolin Seeger
c666aef471 s3/packaging: Fix typo in comment.
Karolin
2009-03-09 16:16:55 +01:00
Karolin Seeger
a60aaf214c s3/packaging: Package new files properly.
That is part of the fix for bug #6144.
Thanks to Diego Remolina dijuremo [at] gatech [dot] edu for reporting!

Karolin
2009-03-09 16:16:55 +01:00
Michael Adam
a77605ae83 s3:packaging: fix parsing of include.h in fill-templates
The content has changed slightly in master for the merged build,
and we must be more exact when parsing the lines.

Michael
2009-02-11 22:39:29 +01:00
Michael Adam
0b5b08f077 s3:packaging: fix path to calling update-pkginfo after pushd in fill-templates
Michael
2009-02-11 22:39:29 +01:00
Michael Adam
c3dbdea73f s3:packaging: paths cosmetics in fill-templates
Michael
2009-02-11 22:39:29 +01:00
Michael Adam
49b84197e0 packaging: make update-pkginfo callable from any directory
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
d68e4a1503 packaging: remove commented out stuff from update-pkginfo
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
e374bef8fc packaging: don't clutter the output of fillup-templates with popd output
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
97cbf86e79 packaging: fix fill-templates call to update-pkginfo to pushd appropriately first
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
aa33bc134a packaging: fix source dir to source3 in fill-templates
Michael
2009-02-11 00:29:15 +01:00
Michael Adam
ca23469a90 packaging: add script fill-templates
This is a standalone-wrapper for update-pkginfo, which is
usually called from create-tarball. It basically repeats
some functionality of create-tarball.

Michael
2009-02-10 18:59:33 +01:00
Stefan Metzmacher
3913d0a205 packaging(RHEL-CTDB): export CC - really use ccache...
metze

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-15 22:58:25 +01:00
Michael Adam
71c74725bc packaging(RHEL): fix typo in [u]mount.cifs installation
Michael
(cherry picked from commit 835108bcf84a5f47f46d237c7a93c572348125a1)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-02 14:38:58 +01:00
Michael Adam
308dbca653 packaging(RHEL): fix build of [u]mount.cifs
mount.cifs is now built by make everything.
And it needs extra objects anyways (mtab.o),
which is why the build of mount.cifs failed.

Michael
(cherry picked from commit 96c811cf222be5463a6705feae73d6215685c5f1)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-02 14:38:01 +01:00
Michael Adam
8f2e7041a0 packaging(RHEL-CTDB): fix typo in [u]mount.cifs installation
Michael
(cherry picked from commit 835108bcf84a5f47f46d237c7a93c572348125a1)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:51:06 +01:00
Michael Adam
5b2d2ff9d8 packaging(RHEL-CTDB): fix build of [u]mount.cifs
mount.cifs is now built by make everything.
And it needs extra objects anyways (mtab.o),
which is why the build of mount.cifs failed.

Michael
(cherry picked from commit 96c811cf222be5463a6705feae73d6215685c5f1)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:50:56 +01:00
Michael Adam
b139ad71e3 packaging(RHEL-CTDB): Fix accidential linebreak
Michael
(cherry picked from commit 5cd8ff8a2aba6b1d6821d4ebb986449b03d40542)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:50:47 +01:00
Michael Adam
dfff610b46 packaging(RHEL-CTDB): don't show failure messages in check for ccache
by fixing the order of "> /dev/null 2>&1"

Michael
(cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382)
(cherry picked from commit 6e51f250c5)
2008-12-11 17:53:47 +01:00
Michael Adam
2ef0fc467a packaging(RHEL-CTDB): fix the build when ccache is not found.
Michael
(cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e)
(cherry picked from commit 7d929d9fa3)
2008-12-11 17:53:46 +01:00
Michael Adam
05c9766cef packaging(RHEL-CTDB): use ccache if available
Michael
(cherry picked from commit 36ca917a63f23126536e786bed845dee48fbf61c)
(cherry picked from commit 05b51bc176)
2008-12-11 17:53:46 +01:00
Michael Adam
9e4a95c928 packaging(RHEL-CTDB): move the cifs.upcall manpage to the client package
Michael
(cherry picked from commit 16f23eb27467ace9751ef2d1fbb6c4d3a5ae9550)
(cherry picked from commit 9538e3130f)
2008-12-11 17:53:45 +01:00
Michael Adam
0acddd96d9 packaging(RHEL-CTDB): add the cifs.upcall binary to the client package.
Michael
(cherry picked from commit 1875b373a319ac9494fdc907793e59804c577a4d)
(cherry picked from commit e1dca5f187)
2008-12-11 17:53:45 +01:00
Michael Adam
0c9d433f9e packaging(RHEL-CTDB): fix typo in makerpms.sh
Michael
(cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853)
(cherry picked from commit 0e35ff0b46)
2008-12-11 17:53:45 +01:00
Michael Adam
9ecb169deb packaging(RHEL-CTDB): refactor creation of spec file from template out
into new script makespec.sh

Michael
(cherry picked from commit d49a9d1c67e4d98017ce5f7d1351bca1366e1a8d)
(cherry picked from commit 086873f00d)
2008-12-11 17:53:44 +01:00
Michael Adam
1ad04b0319 packaging(RHEL-CTDB): fix installation of pam modules
use configure parameter to specify the pam modules dir.

Michael
(cherry picked from commit 24282daa5e)
2008-12-11 17:53:44 +01:00
Michael Adam
f4f477f432 packaging(RHEL-CTDB): explicitly build the gpfs module
to prevent potetential problems on PTF8 systems where there
is no valid autodetecting configure check yet.

Michael
(cherry picked from commit 37039d345e9a25654bef038f2b8bb4b891cfa6f0)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:28:55 +01:00
Michael Adam
e0a0b0a0cb packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec file
Michael
(cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:27:57 +01:00
Volker Lendecke
7c2bdead9e Revert "Fix some merge omissions for GPFS"
This reverts commit a0efc4cffb.

This one should have been done with careful cherry-picks, sorry.

Volker
2008-12-10 23:14:46 +01:00
Volker Lendecke
a0efc4cffb Fix some merge omissions for GPFS 2008-12-10 18:27:10 +01:00
Jelmer Vernooij
2fce8d83c4 Fix Debian maintainers email address. 2008-10-30 17:19:19 +01:00
Michael Adam
fd7635a116 packaging: use "find" instead of "du" to find files... :-)
Michael
(This used to be commit 768aa82361)
2008-09-12 15:07:00 +02:00
Michael Adam
b4c708cb94 packaging(RHEL): fix direction of link (.so) of nss libs.
libnss_winbindd.so -> libnss_winbindd.so.2
libnss_wins.so -> libnss_wins.so.2

Michael
(This used to be commit 295bfb6af8)
2008-09-10 23:24:21 +02:00
Michael Adam
6061b3fa64 packaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkout
This expects a path to a release docs tarball (.tar.bz2) in the DOCS_TARBALL
environment variable. The tarball should have a prefix of "docs/".

Michael
(This used to be commit d87c2192ab)
2008-09-09 10:57:27 +02:00
Michael Adam
8b2ae3ec2b packaging(RHEL): use ccache if available
Michael
(This used to be commit e8abbfabde)
2008-09-09 10:53:27 +02:00
Michael Adam
c7a8ab2ad4 packaging(RHEL): add ldbtools binaries and man pages to common package
Michael
(This used to be commit 206985dfda)
2008-09-09 10:53:27 +02:00
Michael Adam
db5e4a3505 packaging(RHEL): add cifs.upcall binary and manpage to client package
Michael
(This used to be commit f1b80bcb58)
2008-09-09 10:53:27 +02:00
Michael Adam
d2732bf628 packaging(RHEL): fix installation of pam modules.
Michael
(This used to be commit 0f045f18eb)
2008-09-09 10:53:27 +02:00
Michael Adam
a289a65140 packaging(RHEL): remove leftovers of smbmount from SPEC file.
Michael
(This used to be commit 041875c64d)
2008-09-09 10:53:27 +02:00
Michael Adam
38b3b031a4 packaging(RHEL): add new libs (talloc, tdb, ...) to the common package
Michael
(This used to be commit f23183bbec)
2008-09-09 10:53:27 +02:00
Michael Adam
47bb0ca88d packaging(RHEL): remove workaround code for libsmclient/sharemodes installation
With 3.3.0, this is not needed any more
(libdir/modulesdir separation and corrected library creation).

Michael
(This used to be commit 5348e28f66)
2008-09-09 10:53:26 +02:00
Michael Adam
e1ec833770 packaging(RHEL): fix libdir installation by using _libarch/_libarchdir
Michael
(This used to be commit 829f83c27a)
2008-09-09 10:53:26 +02:00
Michael Adam
1db0255b80 packaging(RHEL): remove libmsrpc stuff which is no more...
Michael
(This used to be commit 3eaa33e9df)
2008-09-09 10:53:26 +02:00
Michael Adam
4b93a7fe29 packaging(RHEL): remove duplicate installation of pam_smbpass.so
Michael
(This used to be commit cdc24fbb19)
2008-09-09 10:53:26 +02:00
Michael Adam
e8d02269f2 packaging(RHEL): remove smbmount related stuff from spec file
Michael
(This used to be commit 4420cf6199)
2008-09-09 10:53:26 +02:00
Michael Adam
7f19252030 packaging(RHEL): don't make proto for samba 3.3
Michael
(This used to be commit 75c2869949)
2008-09-09 10:53:26 +02:00
Michael Adam
349f98d174 packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir
Michael
(This used to be commit dc6625637f)
2008-09-09 10:53:26 +02:00
Michael Adam
21f927d26f packaging(RHEL): fix version of GPL (2 --> 3)
Michael
(This used to be commit c015e8e0cf)
2008-09-09 10:53:25 +02:00
Michael Adam
fcc7239e23 packaging(RHEL-CTDB): add fix for versions containing "-" signs.
Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
(This used to be commit 4bebce268a)
2008-09-08 14:43:39 +02:00
Michael Adam
44dd82b9c6 packaging(RHEL-CTDB): extend and slightly reformat comment header block
Michael
(cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5)
(This used to be commit 5354e42067)
2008-09-08 14:43:39 +02:00
Michael Adam
8f9ddcfdf8 packaging(RHEL-CTDB): unify and extend (C) header
Michael
(cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57)
(This used to be commit 68ec025d06)
2008-09-08 14:43:38 +02:00
Michael Adam
ebef5a8947 packaging(RHEL-CTDB): autodetect the samba version number from version.h
Generate version.h first.
Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION
by the version string. (as is done with update-pkginfo called
from the create-tarball release script)

Michael
(This used to be commit f1f3d1bef0)
2008-09-08 14:43:38 +02:00
Michael Adam
d4f87ed3b7 packaging(RHEL-CTDB): introduce variable TOPDIR
Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778)
2008-09-08 14:43:38 +02:00
Michael Adam
a38b80fb06 packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR
Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd2)
2008-09-08 14:43:38 +02:00
Michael Adam
a9f162d9ec packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR
Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d2)
2008-09-08 14:43:37 +02:00
Michael Adam
d2dc2e34be packaging(RHEL-CTDB): add the cifs.upcall manpage to package.
Michael
(This used to be commit 8343dd5c3a)
2008-08-29 18:03:10 +02:00
Michael Adam
dfa91accbd packaging(RHEL-CTDB): Add the ldbtools' manpages to the package.
Michael
(This used to be commit f570071e55)
2008-08-29 18:03:10 +02:00
Michael Adam
81e9895a0e packaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2
This is a workaround, until we have proper creation
of libnss_winbind.so.2 and .so as a symlink from the Makefile.

Michael
(This used to be commit f48070b879)
2008-08-29 18:03:10 +02:00
Michael Adam
3b18ac2282 packaging(RHEL-CTDB): move libnss_winbind.so bits closer together
and comment on commented out libnss_wins.so installation

Michael
(This used to be commit 590744d6ca)
2008-08-29 18:03:09 +02:00
Michael Adam
0d08227623 packaging(RHEL-CTDB): remove duplicate installation of pam_smbpass.so
Michael
(This used to be commit 54e3a6dcb2)
2008-08-29 18:03:09 +02:00
Michael Adam
595fff8585 packaging(RHEL-CTDB): remove library packaging hacks due to fixed Makfile.
Use --libdir instead of --with-libdir .
Use new --with-modulesdir to separate LIBDIR and MODULESDIR.

This makes post "make install" hacks unnecessary.

Michael
(This used to be commit a87c0cc084)
2008-08-29 18:03:03 +02:00
Michael Adam
9cfe9b3f86 packaging(RHEL-CTDB): remove unused variable from makerpms.sh
Michael
(This used to be commit 8686ceb9ad)
2008-08-29 18:00:52 +02:00
Michael Adam
8193b5694d packaging(RHEL-CTDB): auto-detect samba version from spec in makerpms.sh
Michael
(This used to be commit d18075524f)
2008-08-29 18:00:52 +02:00
Michael Adam
cde6c647af packaging(RHEL-CTDB): check for success of x86_64 build before building i386
Michael
(This used to be commit 3102582f02)
2008-08-13 11:54:14 +02:00
Michael Adam
8644db5787 packaging(RHEL-CTDB): fix installation of libsmbsharemodes for the 3.3.0 build.
Michael
(This used to be commit 061a46a35d)
2008-08-13 11:54:14 +02:00
Michael Adam
4cf505db7b packaging(RHEL-CTDB): fix installation of libsmclient for 3.3.0 build.
Michael
(This used to be commit e70529e477)
2008-08-13 11:54:14 +02:00