Commit Graph

575 Commits

Author SHA1 Message Date
Natanael Copa cabbc874e6 abuild: check for FHS forbidden dirs 2012-02-29 15:53:42 +00:00
Natanael Copa affb05d446 abuild: use file descriptor 9 instead of 200
POSIX only requires that filedesriptors 0-9 are available for shell
redirections.
2012-02-28 07:27:29 +00:00
Natanael Copa 51dd555cf2 abuild: fix replaces_priority
was totally broke.
2012-02-22 14:23:16 +00:00
Natanael Copa 4cce57fba8 ==== release 2.12.0 ==== 2012-02-17 15:12:07 +00:00
Natanael Copa e7574cab44 abuild: always add -k to curl in case http -> https redirects 2012-02-17 15:07:42 +00:00
Natanael Copa dabc0dea8c abuild: add support for replaces_priority 2012-02-17 15:07:25 +00:00
Natanael Copa e76192fa59 abuild: do not create the apk index as root 2012-02-17 14:03:49 +00:00
Natanael Copa ea206bfe2e Revert "==== release 2.12.0 ===="
This reverts commit e045c4516f.
2012-02-17 14:03:08 +00:00
Natanael Copa e045c4516f ==== release 2.12.0 ==== 2012-02-17 13:52:45 +00:00
Natanael Copa 467db44962 abuild: no longer require wget in makedepends if https
we depend on curl instead
2012-02-17 13:51:01 +00:00
Natanael Copa c6263baeb9 abuild: remove dependency of sudo
use the abuild-sudo tool instead

fixes #951
2012-02-17 13:48:11 +00:00
Natanael Copa 442e804291 abuild-sudo: new tool
mini sudo that checks if user is in "abuild" group and allows it to
run apk, adduser adn addgroup as root

ref #951
2012-02-17 13:28:22 +00:00
Natanael Copa 52d6af779e abump: add -s option for security updates 2012-02-14 14:53:05 +00:00
Natanael Copa 817db0ea98 abuild: check for non-PIE suid files
fixes #955
2012-02-14 12:51:33 +00:00
Natanael Copa 7759f5e5df abuild: create the pkgusers/pkggroups as system users 2012-02-13 15:09:38 +00:00
Natanael Copa d66a5ee456 abuild: run postcheck for subpackages as well 2012-02-13 13:49:25 +00:00
Natanael Copa 92af0b8697 abuild: fix post check messages 2012-02-13 13:49:25 +00:00
Natanael Copa f7c56801e9 abuild: warn if world writable directories are found 2012-02-13 13:49:25 +00:00
Natanael Copa dd033763de abuild: warn if chown, chmod or chgrp found in install scripts 2012-02-13 13:49:25 +00:00
Natanael Copa 2f5545cd61 abuild: add msg2(), warning2() and error2()
For a second, indented message line.
2012-02-13 13:49:25 +00:00
Natanael Copa 0a11c5e3c1 apkgrel: optionally bump pkgrel when git is unclean 2012-02-13 13:49:25 +00:00
Natanael Copa 761472d96b abuild: busybox flock does not support -w 2012-01-20 10:38:30 +01:00
Natanael Copa 01bab6e26d abuild: implement locking of downloaded files
We need locking Since the build servers use a shared download dir
and multiple vservers might want download same file at same time.

fixes #873
2012-01-20 09:22:06 +01:00
Natanael Copa 2419e5026e devbuild: removed. has not been used for many years 2012-01-19 13:40:56 +00:00
Natanael Copa bdace10aa6 newapkbuild: add -n option for setting name
So we can set pkgname if it differs from download archive name
2011-12-21 16:57:09 +01:00
Natanael Copa 1187cc5c0a abuild: fail fetch on http 404 errors
curl does not fail by default. it downloads the 404 error page instead
so we need add -f option to curl.
2011-12-20 08:53:10 +01:00
Natanael Copa bea8577c43 abuild: cleanup. remove dead code
Not been used for ages.
2011-12-19 13:10:43 +01:00
Natanael Copa c98b47b7ad abuild: make curl follow redirects 2011-12-16 17:02:16 +01:00
Natanael Copa df05d495b0 abuild: use curl by default. fallback to wget if curl is missing
fixes #871
2011-12-16 16:02:46 +01:00
Natanael Copa ff53e77643 abuild: fix typo 2011-12-14 10:55:53 +01:00
Natanael Copa 36c87807d2 abuild: fix typo and prettify warning message 2011-12-14 10:55:30 +01:00
Natanael Copa 57e05c4c01 abuild: allow override sanitycheck 2011-12-14 09:54:43 +00:00
Kiyoshi Aman 9dab733417 apkbuild-cpan: Depend on test-requires and test-recommends, too, for safety's sake. 2011-11-04 03:43:00 -04:00
Kiyoshi Aman 45ad91b880 apkbuild-cpan: Emits runtime recommendations, depends on build recommendations. 2011-11-04 03:36:48 -04:00
Kiyoshi Aman 48b2794c10 apkbuild-pypi: script for generating APKBUILDs from PyPI. 2011-11-03 08:58:48 -04:00
Kiyoshi Aman ef2a421e04 apkbuild-cpan: export CFLAGS so modules using C/XS build properly. 2011-11-03 08:58:48 -04:00
Natanael Copa d4054415e8 ==== release 2.11.2 2011-11-01 08:51:51 +00:00
Natanael Copa b0f9ec91f7 abuild: verify names of subpackages
This is to avoid things like:
http://git.alpinelinux.org/cgit/aports/commit/?id=81c0a4bb37e709ebc5add8394331d28209a61b6f
2011-11-01 08:50:20 +00:00
Natanael Copa bfc8e37323 buildrepo: don't break if there are -*.apk files in dir
apk takes files that starts with - as params.
2011-11-01 08:45:19 +00:00
Natanael Copa 369e9d6980 ==== release 2.11.1 ==== 2011-10-03 18:40:17 +00:00
Natanael Copa 990b1f0607 abuild: fix pkgdesc and install_if for -lang packages 2011-10-03 18:36:58 +00:00
Natanael Copa b9a6405b8d ==== release 2.11.0 ==== 2011-10-03 11:20:34 +00:00
Natanael Copa 7fb94045b2 abuild: add warning if /usr/share/local found 2011-10-03 11:19:25 +00:00
Natanael Copa f654134675 ap: implement build-list and rebuild-list
build-list will list which aports that has missing packages

rebuild-list will list which aports that has outdated packages, i.e. when
APKBUILD is newer than the apk
2011-09-30 12:44:43 +00:00
Natanael Copa 94c7dfa6b9 aports.lua: try get vars from env var before parsing abuild.conf 2011-09-30 11:56:43 +00:00
Natanael Copa bbd9f10d24 aports.lua: add helper functions to find out the file paths 2011-09-30 11:50:28 +00:00
Natanael Copa b5d9c1e6c7 ap: cleanup. do not pass the cmd it self as option 2011-09-30 09:25:52 +00:00
Natanael Copa aa65657a76 aports.lua: read variables frrom abuild.conf 2011-09-30 09:25:10 +00:00
Natanael Copa 0b83646614 abuild: implement automatic -lang subpackages 2011-09-30 06:47:28 +00:00
Natanael Copa 624d98d599 abump: add -k option to keep existing built packages 2011-09-30 06:45:22 +00:00