summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEloy Paris <peloy@samba.org>2003-06-08 19:33:25 +0000
committerEloy Paris <peloy@samba.org>2003-06-08 19:33:25 +0000
commita3fdb5536c3938453b3b56c02bfaf8fab3913619 (patch)
treef57e2e1cff5902be3da7036ddf1019657e29fd2d
parent0d0d8047f285244e53e36d91a3a4636e9dbd3613 (diff)
downloadsamba-a3fdb5536c3938453b3b56c02bfaf8fab3913619.tar.gz
Debian fixes (update README and fhs.patch so that it applies cleanly.)
-rw-r--r--packaging/Debian/README25
-rw-r--r--packaging/Debian/debian/README.build-upstream39
-rw-r--r--packaging/Debian/debian/changelog9
-rw-r--r--packaging/Debian/debian/patches/fhs.patch6
4 files changed, 51 insertions, 28 deletions
diff --git a/packaging/Debian/README b/packaging/Debian/README
index 1bb68d633a5..764a0429392 100644
--- a/packaging/Debian/README
+++ b/packaging/Debian/README
@@ -27,19 +27,29 @@ these instructions:
to the normal Debian development packages -- dpkg-dev, libc6-dev,
devscripts, etc.):
+ autoconf
debhelper
libpam0g-dev
libreadline4-dev
libcupsys2-dev
- autoconf
+ libacl1-dev | acl-dev (>= 2.0.0)
+ libkrb5-dev
+ libldap2-dev
+ po-debconf
+ python-dev (>= 2.2)
- Notes about the packages required to build Samba Debian packages:
+ Notes regarding the packages required to build Samba Debian packages:
* The libcupsys2-dev is not available in Debian Potato (Debian 2.2).
- That's fine; the configure script won't detect CUPS support and the
- resulting binaries won't support CUPS.
+ That's fine; the configure script won't detect CUPS support and the
+ resulting binaries won't support CUPS.
+
+ * The list above is current as of samba-3.0.0beta1, but it can get
+ out of date. The best way to check what packages are required to
+ build the samba packages on Debian is to look for the Build-Depends:
+ field in the file debian/control.
-1) cd samba[-<version>]. For example, "cd samba-2.2.5".
+1) cd samba[-<version>]. For example, "cd samba-3.0.0beta1".
2) cp -a packaging/Debian/debian/ debian
It's important that you copy instead of symlink because the build
tools in Potato have a problem that prevents the build to work with
@@ -48,9 +58,8 @@ devscripts, etc.):
Debian version numbers! Don't complain later if you can't upgrade
to official versions of the Samba packages for Debian.)
- Edit the changelog and make sure the version is right. For example,
- for Samba 2.2.4, the version number should something like 2.2.4-0.1
- (use a number less than 1 like 0.1, 0.2, etc. so there is no conflict
- with future upgrades to the official Debian packages.)
+ for Samba 3.0.0beta1, the version number should something like
+ 3.0.0beta1-1.1.
4) Run 'debian/rules binary'.
- It is better that you prefix the above command with 'fakeroot'.
If you have problems you might try building as root.
diff --git a/packaging/Debian/debian/README.build-upstream b/packaging/Debian/debian/README.build-upstream
index f555f52af5b..764a0429392 100644
--- a/packaging/Debian/debian/README.build-upstream
+++ b/packaging/Debian/debian/README.build-upstream
@@ -3,10 +3,15 @@ Building Samba Packages for Debian GNU/Linux
Building Debian packages is not as hard as some people might think. The
following instructions will allow you to build your own Samba Debian
-packages. These instructions, and the files in packaging/Debian/, are
-current as of Samba 2.2.5, and should allow you to build Debian packages
-for Debian Potato (2.2), Debian Woody (3.0), and Debian unstable as of
-the date Samba 2.2.5 was released.
+packages. These instructions, and the files in packaging/Debian/, should
+be current as of Samba 3.0beta1, and should allow you to build Debian
+packages for Debian unstable.
+
+We try to maintain as much compatibility with previous releases
+of Debian as possible, so it is possible that the files in
+packaging/Debian/ can also be used to build Samba Debian packages for
+other Debian releases. However, sometimes this is just not possible
+because we need to use stuff that is only available on Debian unstable.
Instructions
------------
@@ -22,19 +27,29 @@ these instructions:
to the normal Debian development packages -- dpkg-dev, libc6-dev,
devscripts, etc.):
+ autoconf
debhelper
libpam0g-dev
libreadline4-dev
libcupsys2-dev
- autoconf
+ libacl1-dev | acl-dev (>= 2.0.0)
+ libkrb5-dev
+ libldap2-dev
+ po-debconf
+ python-dev (>= 2.2)
- Notes about the packages required to build Samba Debian packages:
+ Notes regarding the packages required to build Samba Debian packages:
* The libcupsys2-dev is not available in Debian Potato (Debian 2.2).
- That's fine; the configure script won't detect CUPS support and the
- resulting binaries won't support CUPS.
+ That's fine; the configure script won't detect CUPS support and the
+ resulting binaries won't support CUPS.
-1) cd samba[-<version>]. For example, "cd samba-2.2.5".
+ * The list above is current as of samba-3.0.0beta1, but it can get
+ out of date. The best way to check what packages are required to
+ build the samba packages on Debian is to look for the Build-Depends:
+ field in the file debian/control.
+
+1) cd samba[-<version>]. For example, "cd samba-3.0.0beta1".
2) cp -a packaging/Debian/debian/ debian
It's important that you copy instead of symlink because the build
tools in Potato have a problem that prevents the build to work with
@@ -43,9 +58,8 @@ devscripts, etc.):
Debian version numbers! Don't complain later if you can't upgrade
to official versions of the Samba packages for Debian.)
- Edit the changelog and make sure the version is right. For example,
- for Samba 2.2.4, the version number should something like 2.2.4-0.1
- (use a number less than 1 like 0.1, 0.2, etc. so there is no conflict
- with future upgrades to the official Debian packages.)
+ for Samba 3.0.0beta1, the version number should something like
+ 3.0.0beta1-1.1.
4) Run 'debian/rules binary'.
- It is better that you prefix the above command with 'fakeroot'.
If you have problems you might try building as root.
@@ -58,4 +72,3 @@ better things to do and know nothing about the Debian packaging system.
Eloy A. Paris <peloy@debian.org>
Steve Langasek <vorlon@debian.org>
-
diff --git a/packaging/Debian/debian/changelog b/packaging/Debian/debian/changelog
index 28d71269bfc..5eff13e711a 100644
--- a/packaging/Debian/debian/changelog
+++ b/packaging/Debian/debian/changelog
@@ -1,15 +1,16 @@
-samba (3.0beta1-1) unstable; urgency=low
+samba (3.0.0beta1-1.1) unstable; urgency=low
* Local build.
- -- Debian User <somebody@somewhere> Sat, 31 May 2003 22:49:18 -0400
+ -- Debian User <someone@somewhere.com> Sun, 8 Jun 2003 15:24:18 -0400
-samba (2.999+3.0.alpha24-4) unstable; urgency=low
+samba (3.0.0beta1-1) unstable; urgency=low
+ * New upstream version.
* Build-depend on python-dev >= 2.2 instead of on just python-dev
(without version).
- -- Eloy A. Paris <peloy@debian.org> Sat, 31 May 2003 18:46:05 -0400
+ -- Eloy A. Paris <peloy@debian.org> Sun, 8 Jun 2003 14:35:25 -0400
samba (2.999+3.0.alpha24-3) unstable; urgency=low
diff --git a/packaging/Debian/debian/patches/fhs.patch b/packaging/Debian/debian/patches/fhs.patch
index dd66188cbe5..fa1f464f100 100644
--- a/packaging/Debian/debian/patches/fhs.patch
+++ b/packaging/Debian/debian/patches/fhs.patch
@@ -23,7 +23,7 @@ diff -uNr samba-3.0alpha23.orig/source/Makefile.in samba-3.0alpha23/source/Makef
# the directory where pid files go
PIDDIR = @piddir@
# man pages language(s)
-@@ -115,7 +123,7 @@
+@@ -114,7 +122,7 @@
PATH_FLAGS4 = $(PATH_FLAGS3) -DSWATDIR=\"$(SWATDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\"
PATH_FLAGS5 = $(PATH_FLAGS4) -DLIBDIR=\"$(LIBDIR)\" \
-DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"@SHLIBEXT@\"
@@ -32,7 +32,7 @@ diff -uNr samba-3.0alpha23.orig/source/Makefile.in samba-3.0alpha23/source/Makef
PATH_FLAGS = $(PATH_FLAGS6) $(PASSWD_FLAGS)
# Note that all executable programs now provide for an optional executable suffix.
-@@ -1146,7 +1154,7 @@
+@@ -1128,7 +1136,7 @@
@$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS) $(DESTDIR)$(BINDIR) $(SCRIPTS)
installdat: installdirs
@@ -335,7 +335,7 @@ diff -uNr samba-3.0alpha23.orig/source/param/loadparm.c samba-3.0alpha23/source/
char *szLockDir;
char *szPidDir;
char *szRootdir;
-@@ -1055,8 +1058,13 @@
+@@ -1051,8 +1054,13 @@
{"config file", P_STRING, P_GLOBAL, &Globals.szConfigFile, NULL, NULL, FLAG_HIDE},
{"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
{"auto services", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},