CONFIGURE = configure include/builddefs include/platform_defs.h
LSRCFILES = configure configure.in Makepkgs install-sh README VERSION
-LDIRT = config.log config.status config.cache confdefs.h conftest* \
+LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
Logs/* built .census install.* install-dev.* *.gz
SUBDIRS = include libxfs libxlog libhandle libdisk \
$(CONFIGURE):
autoconf
- ./configure
+ ./configure \
+ --prefix=/ \
+ --exec-prefix=/ \
+ --sbindir=/sbin \
+ --bindir=/usr/sbin \
+ --libdir=/lib \
+ --libexecdir=/usr/lib \
+ --includedir=/usr/include \
+ --mandir=/usr/share/man \
+ --datadir=/usr/share \
+ $$LOCAL_CONFIGURE_OPTIONS
touch .census
install: default
# start with a clean manifest
test -f files.rpm && rm -f files.rpm
test -f filesdevel.rpm && rm -f filesdevel.rpm
+test -f fileslib.rpm && rm -f fileslib.rpm
test ! -d $LOGDIR && mkdir $LOGDIR
rm -rf $LOGDIR/* > /dev/null 2>&1
echo "== configure, log is $LOGDIR/configure"
rm -f .census # force configure to run here
if $verbose ; then
- autoconf 2>&1 | tee $LOGDIR/configure
- ./configure 2>&1 | tee -a $LOGDIR/configure
+ $MAKE configure 2>&1 | tee $LOGDIR/configure
else
- autoconf > $LOGDIR/configure 2>&1
- ./configure >> $LOGDIR/configure 2>&1
+ $MAKE configure > $LOGDIR/configure 2>&1
fi
if [ $? -ne 0 ] ; then
echo \"configure\" failed, see log in $LOGDIR/configure
#
PKG_MAJOR=2
PKG_MINOR=1
-PKG_REVISION=0
+PKG_REVISION=1
PKG_BUILD=0
filesystem-specific programs, If you install xfsprogs-devel, you'll
also want to install xfsprogs.
-# If .census exists, then no setup is necessary, just go and do the build,
-# otherwise run setup
%prep
if [ -f .census ] ; then
if [ ! -d ${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION} ] ; then
fi
else
%setup
-touch .census
-./configure
+@make@ configure
fi
%build
# defaults (to change paths and/or executables, build parameters, etc):
#
# DEBUG OPTIMIZER MAKE CC LD TAR ZIP RPM AWK SED ECHO
-# MALLOCLIB DISTRIBUTION PACKAGE_BUILDER PREFIX ROOT_PREFIX
+# MALLOCLIB DISTRIBUTION PACKAGE_BUILDER
#
DEBUG=${DEBUG:-'-DDEBUG'} # -DNDEBUG
rpm=$RPM
AC_SUBST(rpm)
+dnl check if the msgfmt program is available
+test -z "$MSGFMT" && AC_CHECK_PROG(MSGFMT, msgfmt, /usr/bin/msgfmt)
+msgfmt=$MSGFMT
+AC_SUBST(msgfmt)
+
dnl .. and what version is rpm
rpm_version=0
test -x $RPM && \
dnl libtool to build libraries static only?
AC_ARG_ENABLE(shared,
- [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes].],
- ,
+ [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
enable_shared=yes)
AC_SUBST(enable_shared)
test $ac_cv_sizeof_char_p -eq 4 && AC_DEFINE(HAVE_32BIT_PTR)
test $ac_cv_sizeof_char_p -eq 8 && AC_DEFINE(HAVE_64BIT_PTR)
-
-dnl alternate root and usr prefixes
-test -z "$ROOT_PREFIX" && ROOT_PREFIX=""
-root_prefix="$ROOT_PREFIX"
-test -z "$PREFIX" && PREFIX="/usr"
-prefix="$PREFIX"
-
dnl man pages (source)
dnl also check if man page source is gzipped
dnl (usually on Debian, but not Redhat pre-7.0)
-pkg_man_dir=${prefix}/share/man
have_zipped_manpages=false
for d in ${prefix}/share/man ${prefix}/man ; do
if test -f $d/man1/man.1.gz
then
- pkg_man_dir=$d
have_zipped_manpages=true
break
fi
done
-AC_SUBST(pkg_man_dir)
AC_SUBST(have_zipped_manpages)
-dnl binaries
-pkg_bin_dir=${prefix}/sbin
-AC_SUBST(pkg_bin_dir)
-
-dnl static libraries
-pkg_lib_dir=${prefix}/lib
-AC_SUBST(pkg_lib_dir)
-
-dnl runtime shared system libraries
-pkg_slib_dir=${root_prefix}/lib
-AC_SUBST(pkg_slib_dir)
-
-dnl system binaries
-pkg_sbin_dir=${root_prefix}/sbin
-AC_SUBST(pkg_sbin_dir)
-
-dnl include files
-pkg_inc_dir=${prefix}/include/xfs
-AC_SUBST(pkg_inc_dir)
-dk_inc_dir=${prefix}/include/disk
-AC_SUBST(dk_inc_dir)
-
-dnl doc directory
-pkg_doc_dir=${prefix}/share/doc/${pkg_name}
-AC_SUBST(pkg_doc_dir)
-
-
-dnl
-dnl output files
-dnl
-
-AC_OUTPUT( \
-dnl Build definitions for use in Makefiles
- include/builddefs \
-)
+dnl build definitions for use in Makefiles
+AC_OUTPUT(include/builddefs)
+xfsprogs (2.1.1-1) unstable; urgency=low
+
+ * New upstream release (build-related changes only)
+
+ -- Nathan Scott <nathans@debian.org> Thu, 4 Jul 2002 12:10:38 +1000
+
xfsprogs (2.1.0-1) unstable; urgency=low
* New upstream release
stdenv = @GZIP=-q; export GZIP;
options = DEBUG=-DNDEBUG; DISTRIBUTION=debian; export DEBUG DISTRIBUTION;
-bfsopts = $(options) OPTIMIZER=-Os; export OPTIMIZER;
+bfsopts = OPTIMIZER=-Os; LOCAL_CONFIGURE_OPTIONS=--enable-shared-uuid=yes; \
+ $(options) export OPTIMIZER LOCAL_CONFIGURE_OPTIONS;
checkdir = test -f debian/rules
build: built
.census:
@echo "== dpkg-buildpackage: configure" 1>&2
$(checkdir)
- autoconf
- $(options) ./configure
+ $(options) $(MAKE) configure
touch .census
bfbuild:
$(checkdir)
@echo "== dpkg-buildpackage: bootfloppies" 1>&2
if [ ! -f mkfs/mkfs.xfs-$(bootpkg) ]; then \
- autoconf; \
- $(bfsopts) ./configure --enable-shared-uuid=yes; \
+ $(bfsopts) $(MAKE) configure; \
for dir in libxfs libdisk mkfs; do $(MAKE) -C $$dir; done; \
mv mkfs/mkfs.xfs mkfs/mkfs.xfs-$(bootpkg); \
$(MAKE) distclean; \
-xfsprogs-2.1.0 (14 Jun 2002)
+xfsprogs-2.1.1 (04 July 2002)
+ - Build infrastructure updates so that configure options can be
+ used to specify paths rather than semi-hard-coded path names
+ controlled by the ROOT/ROOT_PREFIX environment variables; eg.
+ now allows /lib64 and /lib32
+
+xfsprogs-2.1.0 (14 June 2002)
- support for xfs version 2 log format.
- Fix for xfs_repair mangling i8count for dir2_sf directories
- Minor mkfs.xfs man page update for blocksize limits on Linux
# @configure_input@
#
-ifndef _BUILDMACROS_INCLUDED_
-_BUILDMACROS_INCLUDED_ = 1
+ifndef _BUILDDEFS_INCLUDED_
+_BUILDDEFS_INCLUDED_ = 1
DEBUG = @debug_build@
OPTIMIZER = @opt_build@
LIBDISK = $(TOPDIR)/libdisk/libdisk.la
LIBHANDLE = $(TOPDIR)/libhandle/libhandle.la
-DK_INC_DIR = @dk_inc_dir@
+DK_INC_DIR = @includedir@/disk
PKG_NAME = @pkg_name@
PKG_RELEASE = @pkg_release@
PKG_VERSION = @pkg_version@
PKG_DISTRIBUTION = @pkg_distribution@
PKG_BUILDER = @pkg_builder@
-PKG_BIN_DIR = @pkg_bin_dir@
-PKG_LIB_DIR = @pkg_lib_dir@
-PKG_SBIN_DIR = @pkg_sbin_dir@
-PKG_SLIB_DIR = @pkg_slib_dir@
-PKG_INC_DIR = @pkg_inc_dir@
-PKG_MAN_DIR = @pkg_man_dir@
-PKG_DOC_DIR = @pkg_doc_dir@
+PKG_BIN_DIR = @bindir@
+PKG_SBIN_DIR = @sbindir@
+PKG_LIB_DIR = @libdir@
+PKG_DEVLIB_DIR = @libexecdir@
+PKG_INC_DIR = @includedir@/xfs
+PKG_MAN_DIR = @mandir@
+PKG_DOC_DIR = @datadir@/doc/@pkg_name@
CC = @cc@
LD = @ld@
LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) -D_REENTRANT -fno-strict-aliasing
ifeq ($(ENABLE_SHARED),yes)
-LTLDFLAGS += -rpath $(PKG_SLIB_DIR)
+LTLDFLAGS += -rpath $(PKG_LIB_DIR)
LTLDFLAGS += -version-info $(LTVERSION)
endif
ifeq ($(ENABLE_SHARED),yes)
INSTALL_LTLIB = \
cd $(TOPDIR)/$(LIBNAME)/.libs; \
- ../$(INSTALL) -m 755 -d $(PKG_SLIB_DIR); \
- ../$(INSTALL) -m 644 -T so_dot_version $(LIBNAME).lai $(PKG_SLIB_DIR); \
+ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
+ ../$(INSTALL) -m 644 -T so_dot_version $(LIBNAME).lai $(PKG_LIB_DIR); \
test "$(PKG_DISTRIBUTION)" = debian || \
- ../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_SLIB_DIR)
+ ../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_LIB_DIR)
endif
# Libtool thinks the static and shared libs should be in the same dir, so
ifeq ($(ENABLE_SHARED),yes)
INSTALL_LTLIB_DEV = \
cd $(TOPDIR)/$(LIBNAME)/.libs; \
+ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
+ ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR); \
+ ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
- ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \
- ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \
- ../$(INSTALL) -m 755 -d $(PKG_SLIB_DIR); \
- ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_SLIB_DIR); \
- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a $(PKG_SLIB_DIR)/$(LIBNAME).a; \
- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la $(PKG_SLIB_DIR)/$(LIBNAME).la; \
- ../$(INSTALL) -S $(PKG_SLIB_DIR)/$(LIBNAME).so $(PKG_LIB_DIR)/$(LIBNAME).so
+ ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
+ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
else
INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
endif
INSTALL_LTLIB_STATIC = \
cd $(TOPDIR)/$(LIBNAME)/.libs; \
- ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
- ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR)
+ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
+ ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR)
INSTALL_MAN = \
@for d in $(MAN_PAGES); do \