Age | Commit message (Collapse) | Author |
|
Commit 149839c5391e9a93 introduced a small behavior regression as a drawback
for a better portability. repo-add now includes the approximate size (to the
nearest KB) rather than an exact size due to the switching of the du command
to a more portable form. Instead of sacrificing the exact size, use
configure to help us determine a valid command to acquire our filesize and
place it in the sync database.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* change ln -s to ln -sf in the Makefile to prevent a failure when the link
already exists.
* make test_repo_db_file simpler and more natural, move the complexity out
of it.
* remove one $cmd = repo-remove check that wasn't needed
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
They shared about 75% of their code, so there is no real reason we should
maintain them separately. Merge the differences accordingly and add a check
based on the basename of the command used to decide what behavior to follow.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a new configure flag, --enable-git-version, that allows the output of
'git describe' to be used in the version string associated with this
package. This could aid in debugging for users that are using a development
version of pacman and we should be able to figure out which cut of code they
are using.
Sample output:
$ pacman --version
Pacman v3.1.4-190-g4cfa-dirty - libalpm v2.3.1
$ makepkg --version
makepkg (pacman) 3.1.4-190-g5861-dirty
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Move these two scripts into contrib/, and start the process of de-automaking
them by removing the @sysconfdir@ references and the gettext initialization.
The removal of all gettext will soon follow.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is an Arch-specific tool (although others could find use in it), so
off to the standalone ABS package it goes.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
abs has always been an Arch Linux specific tool, and although it is used
primarily by pacman and makepkg, it should not be included with a distro-
agnostic tarball. In addition, maintenance of the script would be better
outside of pacman and would allow for more frequent updates.
This also facilitates our move away from a cvsup/csup dependent tool for
syncing PKGBUILDs.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
If we move the scripts from *.in to *.sh.in and *.py.in, gettext can pull the
required strings to translate a whole lot easier. Do this.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Add vim modeline to Makefile.am and configure.ac
* Fix white space in Makefile.am and configure.ac
* Add contrib/wget-xdelta.sh to EXTRA_DIST in Makefile.am
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Rearrange the script.
* Add gettext support.
* Clean up usage message.
* Add PACKAGE_BUGREPORT to substitution in scripts/Makefile.am
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This should finally get the path replacement in our scripts right. This
is the way the autoconf package itself does it and should not need much
further tweaking.
Threw in a few trailing whitespace corrections from the scripts as well.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Added the autoconf option std-options to the scripts/ directory, which
checks to ensure all programs have both --help and --version options. A
few things needed cleaning up to get this working. To test these types
of options, use the 'make distcheck' target.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is automaticly done by autoconf.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/updatesync -> scripts/updatesync.in
- add -V --version options to scripts/updatesync.in
- add autotool commands to generate scripts/updatesync
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/repo-remove -> scripts/repo-remove.in
- add -V --version options to scripts/repo-remove.in
- add autotool commands to generate scripts/repo-remove
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/repo-add -> scripts/repo-add.in
- add -V --version options to scripts/repo-add.in
- add autotool commands to generate scripts/repo-add
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/pacman-optimize -> scripts/pacman-optimize.in
- add -V --version options to scripts/pacman-optimize.in
- add autotool commands to generate scripts/pacman-optimize
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/makeworld to scripts/makeworld.in
- add -V --version options to scripts/makeworld.in
- add autotool commands to generate scripts/makeworld
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/gensync -> scripts/gensync.in
- add -V --version options to scripts/gensync.in
- add autotool commands to generate scripts/gensync
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- move scripts/abs -> scripts/abs.in
- add -V --version options to scripts/abs.in
- add autotool commands to generate scripts/abs
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
- Remove scripts/makepkg on 'make distclean'
- scripts/makepkg.in: set myver on ./configure
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
|
|
* Makefile.am updates for Aaron's move of re-pacman to contrib.
|
|
* Updated all of the language files, as the POT file was updated. NOTE FOR
TRANSLATORS, try to base your next contribution off of these, notice how
some msgids and messages have been wrapped to the next line- it makes it
easier to read anyway.
* More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now
work properly, with only one caveat- the automatic testing in distclean
doesn't do so hot as it is compiled with a default configure, which includes
the fakeroot-proof code (which does not cooperate with pactest).
* Added a Makefile.am for the pactest directory.
|
|
to work as expected.
|
|
|
|
added all the newer scripts/
added pacman.d and abs sysconf subdirs
Minor makepkg revert for previous change to 'errexit' shell option
|
|
|
|
<krics@linuxforum.hu>
|