summaryrefslogtreecommitdiff
path: root/bootstrap.conf
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* maint: tighten per version requirementStefano Lattarini2012-08-301-1/+1
| | | | | | | | * bootstrap.conf ($buildreq): Require Perl >= 5.6 (not merely >= 5.5), because that's the minimal version required by modern Automake and Autoconf. Copyright-paperwork-exempt: yes
* maint: make Autoconf version requirement consistentStefano Lattarini2012-08-301-1/+1
| | | | | | | * bootstrap.conf ($buildreq): Require Autoconf >= 2.63, not >= 2.61, for consistency with what is done in AC_INIT in configure.ac Copyright-paperwork-exempt: yes
* build: require Automake >= 1.11.6Stefano Lattarini2012-08-301-1/+1
| | | | | | | | | | | | | | | Now that we use AM_TESTS_ENVIRONMENT, we should require at least Automake >= 1.11.2; but since all the Automake version until 1.11.5 are vulnerable to CVE-2012-3386: <https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html> it's even better to require 1.11.6. * configure.ac (AM_INIT_AUTOMAKE): Bump version requirement to 1.11.6. * bootstrap.conf ($buildreq): Likewise. Copyright-paperwork-exempt: yes
* build: update to latest from gnulibJim Meyering2012-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | * bootstrap: Update. * tests/init.sh: Likewise. * gnulib: Update submodule to latest. maint: remove two generated files in doc/ * doc/fdl.texi: Remove file from version control. It is generated. * doc/gendocs_template: Likewise. * doc/parted.texi: Add @node ... before inclusion of fdl.texi, since fdl.texi dropped that part. * doc/parted-pt_BR.texi: Likewise. * doc/.gitignore: Update. build: accommodate newer bootstrap from gnulib * bootstrap.conf (gnulib_tool_option_extras): Add both --symlink and --makefile-name=gnulib.mk. Remove stray use of $bt. * lib/Makefile.am: Initialize all of the following so that generated code in gnulib.mk may use += to append to those variables: AM_CFLAGS, AM_CPPFLAGS, BUILT_SOURCES, CLEANFILES, EXTRA_DIST, MAINTAINERCLEANFILES, MOSTLYCLEANDIRS, MOSTLYCLEANFILES, SUFFIXES, noinst_LTLIBRARIES.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* build: tweak how bootstrap manages ChangeLogJim Meyering2011-12-031-5/+2
| | | | | * bootstrap.conf: Create ChangeLog only by touching it, so that it doesn't ever remove my in-use symlink (w/vc-dwim).
* parted: mkpart: DWIM for IEC ending sector numbers like 2MiB and 9GiBPetr Uzel2011-11-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, if the user specified start and end in mkpart command using IEC units, parted created a partition that starts and ends exactly on these positions. With such behavior, it is impossible to create partitions as follows: 1MiB-2MiB, 2MiB-3MiB - parted would complain that it cannot create the second partition, because the first one occupied sectors 2048-4096 and the second one sectors 4096-3072, so they would overlap at sector 4096. With this patch, if the user uses IEC units to specify end of the partition, parted creates the partition which ends one sector before the specified position. See also https://lists.gnu.org/archive/html/bug-parted/2011-10/msg00009.html * parted/ui.c (command_line_get_sector): Add parameter to retrieve raw input from user. * parted/ui.h (command_line_get_sector): Adjust prototype of function. * parted/parted.c (_adjust_end_if_iec): New function. (_strip_trailing_spaces): New function. (_string_ends_with_iec_unit): New function. (do_mkpart): Call _adjust_end_if_iec(). Use new parameter of command_line_get_sector function. (do_rescue): Adjust call to command_line_get_sector. * bootstrap.conf (gnulib_modules): Add these: c-ctype, c-strcase. * tests/t0207-IEC-binary-notation.sh: Adjust to new semantics. * NEWS: Mention the changed behavior. Notable adjustments: - s/isspace/c_isblank/ so that parsing is locale-independent - avoid an array-bounds error: * parted/parted.c (_strip_trailing_spaces): Don't deref str[-1] for an empty string.
* build: list bc as a build-requirementJim Meyering2011-05-181-0/+1
| | | | | * bootstrap.conf (buildreq): Also require "bc", since it's used in some of 'make check's tests.
* maint: stop using .x-sc_* files to list syntax-check exemptionsJim Meyering2011-03-201-1/+0
| | | | | | | | | | | Instead, use the new mechanism with which you merely use a variable (derived from the rule name) defined in cfg.mk to an ERE matching the exempted file names. * gnulib: Update to latest, to get maint.mk that implements this. * .x-sc_GPL_version: Remove file. * .x-sc_prohibit_always-defined_macros: Likewise. * Makefile.am (EXTRA_DIST): Remove them from here, too. * cfg.mk: Define variables to exempt the same files.
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* libparted: ignore zero-length devicesColin Watson2010-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add xstrtoll. * configure.ac: Create DYNAMIC_LOADING output variable. * libparted/arch/linux.c (_device_get_length): Return the value of PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by the test suite. (init_generic): If geometry probing fails because the device was zero-length, return quietly rather than throwing an exception. This has been observed in the wild with cciss devices, and it's difficult for partitioners to tell the difference between that and more serious errors. * libparted/tests/Makefile.am (TESTS): Add t2100-zerolen.sh. (check_PROGRAMS): Add zerolen. (zerolen_SOURCES): Add. (TESTS_ENVIRONMENT): Add DYNAMIC_LOADING and ENABLE_DEVICE_MAPPER. * libparted/tests/t2100-zerolen.sh: New file. * libparted/tests/zerolen.c: New file. * tests/test-lib.sh (wait_for_dev_to_appear_): New function, copied from tests/t-local.sh. * NEWS (Bug fixes): Mention it.
* maint: don't use obsolete gnulib modulesJim Meyering2010-10-101-40/+44
| | | | | | * bootstrap.conf (gnulib_modules): Use calloc-gnu, malloc-gnu and realloc-gnu modules, rather than calloc, malloc and realloc. The shorter-named modules are now deprecated.
* maint: use the do-release-commit-and-tag module from gnulibJim Meyering2010-05-281-0/+1
| | | | * bootstrap.conf (gnulib_modules): Add do-release-commit-and-tag.
* build: use gettext-0.17Jim Meyering2010-05-261-1/+1
| | | | | | * configure.ac: Use gettext-0.17. * bootstrap.conf (gnulib_modules): Use gettext-h, not gettext. since the latter drags in a depedency on gettext 0.18.
* libparted: avoid race in informing the kernel of partition table changesJim Meyering2010-04-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sync'ing a partition table change using the latest code, sometimes we'd get an unwarranted failure like this: Warning: Partition(s) 1 on /dev/sdd have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. To be precise, when running the partition-resizing root-only test in a loop: for i in $(seq 240); do make -C tests check VERBOSE=yes \ TESTS=t3000-resize-fs.sh >& log.$i && printf . || echo $i $?; done I would typically see about 50% of them fail on a Fedora 13 system. It was obvious that this was due to a race condition when I found that modifying that tests' parted...resize invocation to go via strace changed the timing enough to make the test pass every time. The fix is to retry the partition-removal step upon any EBUSY failure, currently for up to 1 second (retrying up to 100 times, sleeping 10ms after each failure). * libparted/arch/linux.c (_disk_sync_part_table): Allocate "ok" using calloc, now that its initial values matter. Retry each removal upon EBUSY-failure. * bootstrap.conf (gnulib_modules): Use gnulib's usleep module.
* build: avoid warning from bootstrap about obsolete strdup moduleJim Meyering2010-03-161-1/+1
| | | | | * bootstrap.conf (gnulib_modules): Use the strdup-posix module, rather than the "strdup" one.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-081-1/+1
| | | | Run this command: make update-copyright
* ui: add --align command-line option to specify mkpart alignmentHans de Goede2009-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new --align command-line option can have the following values: none: Use the minimum alignment allowed by the disk type cylinder: Align partitions to cylinders (the default) minimal: Use minimum alignment as given by the disk topology information optimal: Use optimum alignment as given by the disk topology information Note the "minimal" and "optimal" values will use layout information provided by the disk to align the logical partition table addresses to actual physical blocks on the disks. The "minimal" value is the minimum aligment needed to align the partition properly to physical blocks, which avoids performance degradation. Whereas the "optimum" alignment align's to a multiple of the physical block size in a way that guarantees optimal performance. The "minimal" and "optimal" values are useful only when parted is compiled with libblkid >= 2.17 and running on a kernel >= 2.6.31, otherwise they are equivalent to --align=none. * parted/parted.c (ALIGNMENT_ enum values): New enum. (options, options_help): Add --align option. (align_args, align_types, alignment): New global variables. (do_mkpart): Honor aligment variable. (_parse_options): handle --align option. * bootstrap.conf (gnulib_modules): Add argmatch. * NEWS: Mention the new --align option. * doc/parted.texi: Document --align option. * doc/C/parted.8: Likewise.
* libparted: use gperf-generated lookup functionJim Meyering2009-12-081-1/+1
| | | | | | | | | | | | | | | | | * libparted/labels/pt-tools.c (ptt_partition_max_start_len): Rewrite to use the gperf-generated look-up function. (ptt_partition_max_start_sector): New function. (ptt_partition_max_length): New function. * libparted/labels/pt-tools.h: Declare them. * libparted/labels/Makefile.am (GPERF, GPERF_OPTIONS): Define. (BUILT_SOURCES): Define. (liblabels_la_SOURCES): Append pt-limit.gperf. (pt-limit.c): New rule. (MAINTAINERCLEANFILES): Remove useless definition. (DISTCLEANFILES): Set to $(BUILT_SOURCES). * libparted/labels/pt-limit.gperf: New file. * cfg.mk (bootstrap-tools): Mention gperf. * bootstrap.conf (buildreq): Require gperf-3.0.3.
* build: use gnulib's canonicalize-lgpl moduleJim Meyering2009-11-081-1/+1
| | | | | | | | Replace Parted's private version of canonicalize_file_name. * libparted/device.c: Include <stdlib.h>. (canonicalize_file_name) [!HAVE_CANONICALIZE_FILE_NAME]: Remove definition. * bootstrap.conf (gnulib_modules): Add canonicalize-lgpl.
* maint: add gnulib's gnu-web-doc-update moduleJim Meyering2009-10-061-1/+2
| | | | * bootstrap.conf (gnulib_modules): Add gnu-web-doc-update
* build: use more gnulib modules for better POSIX complianceJim Meyering2009-10-011-0/+6
| | | | | | | | * bootstrap.conf (gnulib_modules): Add modules exposed via make CFLAGS=-DGNULIB_POSIXCHECK 2>&1 \ |perl -lne '/.* use gnulib module (\S+).*/ and print $1' \ |sort |uniq -c|sort -nr Add these: close fsync lseek mkstemp strdup unlink
* build: update from gnulibJim Meyering2009-08-181-0/+1
| | | | | | * gnulib: Update submodule to latest. * bootstrap.conf (gnulib_modules): Add update-copyright * cfg.mk (update-copyright-env): Define.
* build: enable many warningsJim Meyering2009-07-241-0/+2
| | | | | | | | | | | | * configure.ac: New configure-time option: --enable-gcc-warnings. * bootstrap.conf: Use gnulib modules: warnings manywarnings. * debug/Makefile.am: Define AM_CFLAGS. * libparted/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * debug/clearfat/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise.
* build: require automake-1.11 via bootstrap.conf, tooJim Meyering2009-06-031-1/+1
| | | | * bootstrap.conf (buildreq): s/1.10c/1.11/
* build: rename internal library: lib/libparted -> lib/libgnulibJim Meyering2009-06-031-0/+2
| | | | | * bootstrap.conf (gnulib_name): Define gnulib_name=libgnulib. * libparted/Makefile.am (libparted_la_LIBADD): Update sole use.
* build: require 1.10c (get it by building from automake.git)Jim Meyering2009-05-151-1/+1
| | | | | | | * bootstrap.conf (buildreq): Require 1.10c (1.11 is coming soon) for our use of AM_SILENT_RULES. * configure.ac (AM_INIT_AUTOMAKE): Require 1.10c, for our use of AM_SILENT_RULES. Reported by Joel Granados.
* build: use gnulib's vc-list-files moduleJim Meyering2009-05-151-0/+1
| | | | | | * bootstrap.conf (gnulib_modules): Add vc-list-files, so we pull this file from gnulib. * build-aux/vc-list-files: Remove now-outdated file.
* build: use gnulib's dirname moduleJim Meyering2009-04-261-0/+1
| | | | * bootstrap.conf (gnulib_modules): Add dirname.
* build: stop using obsolete gnulib modulesJim Meyering2009-04-261-8/+0
| | | | | * bootstrap.conf (obsolete_gnulib_modules): Remove. (gnulib_modules): Remove use.
* build: use maint.mk from gnulibJim Meyering2009-04-261-0/+1
| | | | | | | * maint.mk: Remove file. Now it's generated. * .gitignore: Ignore it. * bootstrap.conf (gnulib_modules): Add maintainer-makefile. * gnulib: Update submodule to latest.
* build-from-git: depend on automake-1.10bJim Meyering2009-04-081-1/+1
| | | | | | * bootstrap.conf (buildreq): Note the automake-1.10b requirement. * configure.ac (AM_INIT_AUTOMAKE): Enable new automake options: dist-xz, color-tests, parallel-tests, silent-rules.
* bootstrap.conf: require automake 1.10 since 1.10a is an alpha versionOtavio Salvador2009-04-081-1/+1
|
* clearfat: diagnose an invalid device numberJim Meyering2009-02-071-0/+1
| | | | | | * debug/clearfat/clearfat.c: Include <limits.h> and "xstrtol.h". (main): Diagnose an invalid minor device number argument. * bootstrap.conf (gnulib_modules): Add xstrtol.
* avoid bootstrap failureJim Meyering2009-01-271-0/+1
| | | | | * bootstrap.conf: Ensure the gnulib-tests/ exists. Reported by Matt Domsch.
* * bootstrap.conf: sync from coreutilsJim Meyering2009-01-261-26/+69
|
* use gnulib's mktempd module/scriptJim Meyering2008-06-051-0/+1
| | | | | | | * bootstrap.conf (gnulib_modules): Add mktempd. * tests/test-lib.sh: Use build-aux/mktempd, not mkdtemp. * tests/mkdtemp: Remove file. * tests/Makefile.am (EXTRA_DIST): Remove mkdtemp.
* use gnulib's progname moduleJim Meyering2008-06-051-0/+1
| | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * debug/clearfat/clearfat.c: Include "progname.h". (main): Call set_program_name rather than setting program_name. * parted/parted.c: Likewise. * partprobe/partprobe.c: Likewise. * libparted/tests/disk.c: Include "progname.h" and call set_program_name even though program_name isn't used, yet. * libparted/tests/label.c: Likewise.
* * bootstrap.conf (gnulib_modules): Add useless-if-before-free.Jim Meyering2008-04-301-0/+1
|
* more updates from gnulib and coreutilsJim Meyering2008-04-301-0/+1
| | | | | | | | | | * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog. * .gitignore: Add .tarball-version * Makefile.am (EXTRA_DIST): Add .version and .prev-version. (dist-hook): Update rule. (gen-ChangeLog): New rule. * maint.mk: Rename from Makefile.maint and update from coreutils. * cfg.mk: Rename from Makefile.cfg and update from coreutils.
* use gnulib's gnumakefile moduleJim Meyering2008-04-301-2/+2
| | | | | | | | * GNUmakefile: Remove from version control. * bootstrap.conf (gnulib_modules): Add gnumakefile. * .gitignore: Add GNUmakefile Signed-off-by: Jim Meyering <meyering@redhat.com>
* Make inter-release --version output more useful.Jim Meyering2007-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | Now, each unofficial build has a version "number" like 1.8.8.1.19-58dd, which indicates that it is built using the 19th change set (in _some_ repository) following the "v1.8.8.1" tag, and that 58dd is a prefix of the commit SHA1. * configure.ac: Run it to set the version. (PED_MAJOR_VERSION): Derive from $PACKAGE_VERSION. (PED_MINOR_VERSION): Likewise. (PED_MICRO_VERSION): Likewise. Remove the test that would ensure $PACKAGE_VERSION != $PED_VERSION, now that the latter is derived from the former. * Makefile.am (dist-hook): Arrange so that .version appears only in distribution tarballs, never in a checked-out repository. * .gitignore: Add .version here, too. Just in case. * lib/.gitignore: Remove now-generated (by bootstrap) file. * build-aux/.gitignore: Likewise. Ensure that $(VERSION) is up to date for dist-related targets. * GNUmakefile: Arrange to rerun autoconf, if the version reported by git-version-gen doesn't match $(VERSION), but only for dist targets.
* Perform ChangeLog-creation here, rather than in bootstrap,v1.8.8.1Jim Meyering2007-12-171-0/+6
| | | | so that the next merge will be less likely to clobber this parted-specific bit.
* Updated COPYING file to the GNU General Public License version 3. Updated ↵David Cantrell2007-07-231-4/+2
| | | | boilerplate GPL text to reference version 3 of the license.