summaryrefslogtreecommitdiffstats
path: root/abuild.in
Commit message (Collapse)AuthorAgeFilesLines
...
* abuild: fix issue in maintainer checkCarlo Landmeter2015-09-161-15/+15
| | | | seems the maintainer variable is not set anymore when building .PKGINFO
* abuild: try to validate maintainer addressCarlo Landmeter2015-09-161-2/+17
| | | | abuild will error when the maintainer is set but is not a RFC822 address
* abuild: add -K for keeping tempdirs and depsNatanael Copa2015-09-081-1/+3
|
* abuild: fix fetch lock file on nfsNatanael Copa2015-08-261-68/+1
| | | | | | | | | | flock(2) on an NFS mount will on the server side convert the lock to a POSIX lock (fcntl(F_SETLK)). This means that abuild running on NFS server and client will create different locks and they will both try download same file at same time. We fix this by creating a small abuild-fetch application that will create a POSIX lock which works with NFS.
* abuild: fix man pages compressionNatanael Copa2015-08-191-3/+24
| | | | | fix handling of hardlinks and symlinks. also compress n man pages and localized man pages
* abuild: add support for sonameprefixNatanael Copa2015-08-181-4/+11
| | | | | | | | This is a feature to prefix all so:* provides with a tag. This was done so that the openjdk8 so depends would only be satisfied by openjdk8 provides and not openjdk7, which might provide same so:lib*.so file. To use it do: sonameprefix="openjdk8:"
* abuild: check correct name for -docNatanael Copa2015-08-181-3/+3
|
* abuild: always check for uncompressed man pagesNatanael Copa2015-08-171-4/+4
|
* abuild: check for /usr/share/{doc,man}Sören Tempel2015-08-171-0/+23
| | | | | | Output a warning if those directories exist on a non-doc package. Furthermore, check if uncompressed man pages where installed to /usr/share/man.
* abuild: fix dep-scanning when sub and main pkg's arch differsNatanael Copa2015-08-101-1/+7
| | | | | | | | | Force dependency scanning when main pkg has noarch but subpackage overrides it. We need to save the arch setting set in split func for later if it differs from main pkg's arch in a temp file because the splitfunc runs in a subprocess. fixes #4491
* abuild: add install_if for -doc packagesNatanael Copa2015-07-201-0/+1
| | | | This lets users 'apk add docs' to always pull in -doc packages.
* abuild: fix circular dependency for symlink depsNatanael Copa2015-06-231-2/+5
| | | | The package should not have itself as dependency.
* abuild: fix deps for versioned pkg-config depsNatanael Copa2015-06-121-1/+1
| | | | | Fix version stripping when filtering out needed pkg-configs that are provided from same (sub)package.
* abuild: fix finding pkg-config deps in subpackagesNatanael Copa2015-06-121-1/+2
| | | | | We strip version from pkg-config dependency when scanning the subpackages.
* abuild: fix provides and install_if in subpackagesNatanael Copa2015-06-111-6/+10
| | | | | | | | we need to clear provides set in global scope before splitting the subpackages so the subpackage does not inherit main packages' provides. But at the same time, we must not clear the provides/install_if set in the splitfunction itself.
* abuild: clear inherit provides and install_if for subpackagesNatanael Copa2015-06-081-0/+5
| | | | | Unexpected result will happen if subpackages inherits the provides or install_if from main package. So we clear them.
* abuild: make sure we don't add dupes of providesv2.23.0_rc1Natanael Copa2015-06-051-1/+1
|
* abuild: remove "added pkgconfig (found /usr/lib/pkgconfig)" messageNatanael Copa2015-06-051-1/+0
|
* abuild: normalize path when finding symlink targetsNatanael Copa2015-06-051-4/+19
| | | | | | | | some paths like usr/lib/../../lib/libudev.so.0.13.0 will fail to resolve if usr/lib is does not exist, even if lib/libudev.so.0.13.0 does. To solve thise we normalize out the ../ in path string before we try to resolve it.
* abuild: add warning when depends_dev needs cleanupNatanael Copa2015-06-051-0/+4
|
* abuild: add warning when pc:* provider is missingNatanael Copa2015-06-051-4/+7
| | | | and indicate which package that should provide it and needs a rebuild.
* abuild: fix detection of symlink dependenciesNatanael Copa2015-06-041-2/+6
| | | | | - add as dep when the target is also a symlink - fix handling of absolute path in target
* abuild: fix detection of pkg-config module versionNatanael Copa2015-06-041-1/+1
| | | | | pkg-config will not print version unless dependencies are met so we can not exclude the system modules.
* abuild: autodetect pkg-config dependenciesNatanael Copa2015-06-031-2/+65
| | | | | | | we create provides for pc:<module>=<version> for pkg-config files and whenever possible we add depends=pc:<module>. We also handle version requirements whenever those are specified.
* abuild: fix regression in scanning shared objectsNatanael Copa2015-06-031-1/+1
| | | | | fix regression introduced with commit c70dbf8 (abuild: automatically detect symlink targets in other subpackages)
* abuild: do not exclude depends_devNatanael Copa2015-06-031-1/+1
| | | | | fixes regression introduced with commit 6582be1d (abuild: pull only in needed dependencies for -dev packages)
* abuild: pull only in needed dependencies for -dev packagesNatanael Copa2015-06-031-7/+3
| | | | ref #4109
* abuild: automatically detect symlink targets in other subpackagesNatanael Copa2015-06-031-2/+43
| | | | | | | Automatically pull in dependencies for symlink targets provided by other subpackages. This is mainly for pulling in target of .so symlinks.
* abuild: cleanup. use better function namesNatanael Copa2015-06-031-9/+12
| | | | no change in code logic
* abuild: check that source package is not a version number onlyNatanael Copa2015-04-281-0/+10
| | | | | github tarballs are normally only a version number. we need to force that those are renamed so we dont get source tarball name collisions.
* abuild: require that .initd files are sbin/openrc-runNatanael Copa2015-04-281-5/+12
| | | | | | The sbin/runscript was renamed to sbin/openrc-run with openrc-0.13 warn only if it is sbin/runscript for compatibility
* abuild: fix license in pkginfoNatanael Copa2015-04-231-3/+1
| | | | license is a simple string, not an array
* abuild: preserve all xattrsTimo Teräs2015-04-091-1/+1
| | | | by default getfattr omits system xattrs like security.capability
* abuild: assume GNU tar and store xattrsTimo Teräs2015-04-081-2/+6
|
* abuild: fix CXXFLAGS for debugNatanael Copa2015-01-281-0/+1
|
* abuild: fix move of .a file to -dev subpackageNatanael Copa2015-01-141-1/+3
| | | | | seems like new version of busybox find would stop if lib/ dir does not exist.
* abuild: improve error message when conflicting packages are installedNatanael Copa2014-12-291-4/+4
|
* Removed conflicts= supportŁukasz Jendrysik2014-12-291-13/+3
| | | | | | Conflicts support in an abuild seems to be uneccessary feature. Signed-off-by: Łukasz Jendrysik <scadu@yandex.com>
* abuild: remove *.la files by defaultBartłomiej Piotrowski2014-12-291-6/+5
| | | | | | | | | | Libtool archives are useless in the most of cases and can be safely removed. A quick grep shows that *.la files are explicitly removed in 903 APKBUILDs, while intentionally preserved only in 17. postcheck() is discussable place to perform the deletion, but it's currently the only function being run for each subpackage, including the artifact of package().
* abuild: remove debug messageNatanael Copa2014-10-021-1/+0
| | | | this was added by mistake
* abuild: add 'index' subcommand to refresh the abuild repo indexNatanael Copa2014-09-251-0/+2
| | | | this is a convenience synonym to update_abuildrepo_index
* abuild: sort commands in helptext alpabeticallyNatanael Copa2014-09-251-13/+13
|
* abuild: use cat <<EOF instead of tons of echo for help textNatanael Copa2014-09-251-43/+45
| | | | no code changes
* abuild: update abuildrepo index after cleanoldpkgNatanael Copa2014-09-251-0/+1
|
* abuild: check for suid binariesNatanael Copa2014-09-251-1/+12
| | | | | Rais an error when binaries with suid bit set found. You need set options="suid" to allow it.
* abuild: fix typo in help for -AEivind Uggedal2014-06-231-1/+1
|
* abuild: compress man pagesEivind Uggedal2014-06-231-0/+5
|
* abuild: show 'prepare' in help textNatanael Copa2014-04-301-0/+1
| | | | ref #2878
* fix permissionsNatanael Copa2014-03-311-0/+0
|
* abuild: add -A for print archNatanael Copa2014-03-311-1/+3
|