Commit Graph

29 Commits

Author SHA1 Message Date
Juan RP
a549004e77 doc: update pkg_files_dictionary dot graph. 2011-07-15 09:25:59 +02:00
Juan RP
d794352bd9 xbps_pkg_props_dictionary.dot: update for homepage, license and build_date objs. 2011-05-27 09:45:19 +02:00
Juan RP
3c2ebfb6d3 doc/Makefile: use DISTVER as version for generated API docs if defined. 2011-05-25 15:48:55 +02:00
Juan RP
5af934cd5a Update the pkgprops graph to match latest code. 2011-02-05 12:39:55 +01:00
Juan RP
b70eb0f4c5 Transform PROJECT_NUMBER in the doxyfile.
--HG--
rename : doc/xbps_api_doxyfile => doc/xbps_api_doxyfile.in
2011-02-05 12:34:45 +01:00
Juan RP
b66b72cc63 Update the graph for the XBPS transaction dictionary. 2011-02-05 12:33:54 +01:00
Juan RP
d5c2a3266f Rename the transaction object key to "transaction" rater than "trans-action". 2011-02-05 12:21:04 +01:00
Juan RP
3ec5e27f8d Update doxygen's doxyfile for the API, add the XBPS logo. 2011-01-27 13:28:06 +01:00
Juan RP
c97c2c3f2f Update the dot(1) graph for the libxbps transaction dictionary. 2010-11-06 10:28:09 +01:00
Juan RP
f888b582f9 Added a configure script to emulate GNU autoconf and related changes.
Changes included in this set:

 * Added strlcat() and strlcpy() from OpenBSD, always use them if the
   system does not have them built in.
 * Changed an array of PATH_MAX size allocated in the stack, to a dynamically
   allocated buffer from heap. This should reduce memory usage a bit.
 * Simplify code that implemented a homegrown realpath(3) implementation,
   simply use realpath(3).
 * If compiler supports -fstack-protector, build all code with
   -D_FORTIFY_SOURCE=2 and --param ssp-buffer-size=1 so that all
   buffers are protected.
2010-05-19 22:38:27 +02:00
Juan RP
c13d3c96df Improve xbps_pkg_props_dictionary.dot even more. 2010-05-19 01:06:58 +02:00
Juan RP
706851b037 Improve binary package metadata plist file images. 2010-05-19 00:42:36 +02:00
Juan RP
abe9e91e8b Exclude portableproplib code when generating the API docs.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428161035-8s4icoa6azoeat62
2010-04-28 18:10:35 +02:00
Juan RP
61dde1ac02 Always overwrite files while unpacking, this makes the "essential" obj obsolete.
This helps to catch upgrade problems and simplifies some parts of the code.
Bumped XBPS_RELVER because xbps_remove_pkg() has been changed.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100128150850-gcs93su38t6moydn
2010-01-28 16:08:50 +01:00
Juan RP
31f821669f Add infrastructure changes to build the API documentation.
doxygen and graphviz are required. It's disabled by default, use
the BUILD_API_DOCS make(1) argument to enable it.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100123013719-pkk3a3823cx09v8l
2010-01-23 02:37:19 +01:00
Juan RP
625b3df820 Removed outdated doc files.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091122054748-1gidbo33c2c3e2j2
2009-11-22 06:47:48 +01:00
Juan RP
db9ae90dd4 Improve make output similar to what recent GNU configure scripts do.
Also always build the static bins so that it's done in one pass,
that means that objects are PIC and built with SSP.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091119050337-hkdksjqxy9n7vy7m
2009-11-19 06:03:37 +01:00
Juan RP
644d48a6f8 doc/TODO: remote repos are working.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091101063452-7ff1hest3wzf9vnf
2009-11-01 07:34:52 +01:00
Juan RP
3905c2106c Properly build shared/static libxbps and utils.
xbps-fetch: added -v flag to see verbose messages in libfetch.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091030111726-axf9paz2k01ntqzz
2009-10-30 12:17:26 +01:00
Juan RP
db58e48822 Added xbps-bin(8) and xbps-repo(8) manpages in asciidoc format.
That means that asciidoc is required to build/install XBPS.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091028153222-ljgdfqqe1ea74xs7
2009-10-28 16:32:22 +01:00
Juan RP
4acda249d9 README: mention that openssl is required for https support.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091027005634-u3j7i5vbldgrkjhu
2009-10-27 01:56:34 +01:00
Juan RP
7aebea684b Implemented support for working with remote repositories.
libfetch from NetBSD's pkgsrc has been imported into lib/fetch, but
the objects are embedded into libxbps. Only a public function to fetch
files has been implemented: xbps_fetch_file().

The library now is built with -fvisibility=hidden by default, and
exported symbols are the ones that use the SYMEXPORT macro.

The code works well enough, but will need many more cleanups.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091027004600-0lq9aao67lisbzxv
2009-10-27 01:46:00 +01:00
Juan RP
7bfb24dad6 doc/BINPKG_INFO: mention that binary packages might be compressed in
any format supported by libarchive, not just bzip2.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091020122551-lcr71azfscnow4x4
2009-10-20 14:25:51 +02:00
Juan RP
c72f3a1a3c Remove xbps-src and its associated code. This is required for the
upcoming 0.3 version.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091018091539-4f7ynscyvsqt3st4
2009-10-18 11:15:39 +02:00
Juan RP
cacb34147a Added support to replace packages with another one. Package metadata
uses an array of strings that lists the packages that should be
removed before new package can be installed.

In the build templates one can use: replaces="foo foo-blah foo-libs".

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091017022643-rdyrp9kvmx3m0p0h
2009-10-17 04:26:43 +02:00
Juan RP
4ef0fbcada Multiple changes to xbps-src and shutils:
* Added XBPS_FETCH_CMD to xbps-src.conf, this will be used to fetch
  distfiles. Please note that it will be copied to the chroot, so
  it should be statically linked or with only libc required.

* Removed libtool_func.sh and associated vars, it's unneeded currently.

* Added keep_empty_dirs, keep_libtool_archives and nostrip. By default
  all empty dirs and libtool archives are removed, and executables and
  libraries stripped, respectively. One can use set the var in a build
  template to change the behaviour.

* Explain in README what are the requirements to build XBPS.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091017005836-uifiof32ndy0wmd8
2009-10-17 02:58:36 +02:00
Juan RP
865b06be5d Build xbps-{bin,cmpver,digest,pkgdb,repo} as static, and install them
as foo.static.

Updated README to note the new requirements for it. It will be used
to reduce the number of dependencies when building packages in
the chroot.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091015222234-360i67zychjge3nh
2009-10-16 00:22:34 +02:00
Juan RP
e5c879fd14 Update documentation to match with reality.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821060205-m1zc41d0b0zqtsf5
2009-08-21 08:02:05 +02:00
juan
3f3b6d00dd Initial import of xbps with code as August '09.
--HG--
extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
2009-08-17 19:07:20 +02:00