Juan RP
26c054d773
Checkpoint for installation of binary packages.
...
--HG--
extra : convert_revision : 0bc55ebae04b2e1e5ab20feca786b649fc2e0335
2008-12-23 12:28:21 +01:00
Juan RP
9bb392de51
README: ncurses-dev is also needed.
...
--HG--
extra : convert_revision : 59793eeea49b84ca602d068f32ed09dbc89a0216
2008-12-22 15:36:13 +01:00
Juan RP
00036e035b
README: mention that gettext is also needed.
...
--HG--
extra : convert_revision : e1903006cc63766cc3c614e805089943e69845e8
2008-12-22 15:30:25 +01:00
Juan RP
546cc0ccc1
Use %ju to printf uint64_t's. Fixes building on i386.
...
--HG--
extra : convert_revision : c910dcedf00a095ebbe001cb78d7f8fa2ef19035
2008-12-22 15:21:29 +01:00
Juan RP
fa793a5044
Prefix humanize_number() with xbps_.
...
This will avoid clashes if xbps ever works on NetBSD.
--HG--
extra : convert_revision : 064b690988ba5cd75de55eacd9f37996a952da17
2008-12-22 07:51:14 +01:00
Juan RP
a928bf02e2
Add queue.h from NetBSD rev 1.50, verbatim.
...
This will be used shortly to handle dependencies with xbps-bin.
--HG--
extra : convert_revision : a4e58303b7cc6a2a99c8874d0154fea4bcccbd11
2008-12-22 07:42:34 +01:00
Juan RP
6f707b7d2a
man-pages: always use a newline for long_desc.
...
--HG--
extra : convert_revision : 761e5983e51b8f7a5834504b66ada5adf69faefe
2008-12-22 07:34:55 +01:00
Juan RP
1282daf008
xbps_show_pkg_info: print with %zu if humanize_number() fails.
...
--HG--
extra : convert_revision : 1145081289336f3d76c877b68321f5f76d559a89
2008-12-22 07:29:27 +01:00
Juan RP
d10d9e824c
xbps_show_pkg_info(): use humanize_number().
...
--HG--
extra : convert_revision : e1c903e76d6d5b6501c8893b6d14e23e5b395e58
2008-12-22 07:09:04 +01:00
Juan RP
1105f4f278
libxbps: add humanize_number.
...
--HG--
extra : convert_revision : 145c77f32b58f9013a677ebac3f8ed030a1c07a9
2008-12-22 07:00:01 +01:00
Juan RP
ce5d9faac3
Add humanize_number.c from NetBSD HEAD, verbatim.
...
--HG--
extra : convert_revision : 021f8a0ed63b28d735682365fe34dbe666c30835
2008-12-22 06:55:54 +01:00
Juan RP
b303ff28a6
binpkg.sh: only continue building the binpkg if the packing was ok.
...
--HG--
extra : convert_revision : 4a568775cf91bdde816f2b2f7e12ee0f95a06828
2008-12-22 06:43:41 +01:00
Juan RP
4130596474
xbps-base-system: do not depend in fakeroot.
...
This seems to cause a problem in the host, not finding the
shared library for unknown reasons...
--HG--
extra : convert_revision : be957315fd3c5d29abf658a128c7fbd6030cb85b
2008-12-22 06:43:04 +01:00
Juan RP
fbcdbde679
install_funcs.sh: a meta-template needs $destdir.
...
--HG--
extra : convert_revision : 176760b9d895a32c95f48078a28ca85598de95a3
2008-12-22 06:27:34 +01:00
Juan RP
ea273f1e32
xbps-base-system: fix $pkgname, add wget rundep.
...
--HG--
extra : convert_revision : 522d0dccffc108d8b0edaaf0ac2ca177ee32ff25
2008-12-22 06:27:14 +01:00
Juan RP
542d47ea28
Added xbps-base-system-0.1 template.
...
This will depend on the minimal base system packages that
xbps will provide. In the future, you should be able to make
a basic system by installing this package.
--HG--
extra : convert_revision : f6002b773ac18933b01718d52cf466ef31d9c0fd
2008-12-22 05:37:50 +01:00
Juan RP
43bc7027a3
Remove example.tmpl. It's too old to be useful.
...
--HG--
extra : convert_revision : 356310905dbcf73b6d097197920ded8d1891be10
2008-12-22 05:37:29 +01:00
Juan RP
0cd947bff0
chroot.sh: don't hardcode path to xbps-src anymore.
...
--HG--
extra : convert_revision : bbaf586b398a1c359c8ebee085af7627ca9336e9
2008-12-22 05:29:26 +01:00
Juan RP
b463fe14a3
vars.mk: enable SSP via CFLAGS.
...
--HG--
extra : convert_revision : 1baae323ac109de4c70ac58b55e74b52f48348c7
2008-12-22 05:13:10 +01:00
Juan RP
4fd0807c5f
xbps_get_pkgidx_string(): don't forget nul.
...
--HG--
extra : convert_revision : 60f0e28fceb4b9e789612bd2f6183f85b63bd44b
2008-12-22 05:09:24 +01:00
Juan RP
3f7c353356
Fix some issues in repo handling.
...
--HG--
extra : convert_revision : 5ec7488c8967f50b7e2dce93276accd829c541b3
2008-12-22 05:00:15 +01:00
Juan RP
b13563dbfd
Always write pkg metadata on install, not just when stowning.
...
--HG--
extra : convert_revision : b16be22a9acf12005caca53978c1366463b7fff6
2008-12-22 03:48:58 +01:00
Juan RP
bf10932be1
genindex: $XBPS_DIGEST_CMD is no more.
...
--HG--
extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058
2008-12-22 03:37:21 +01:00
Juan RP
e4f9ab62d8
chroot.sh: don't mount unexistent dirs.
...
--HG--
extra : convert_revision : 51610bead1446f198b5a47596aeef3b82ae2c400
2008-12-22 03:16:16 +01:00
Juan RP
0bb6db28c2
stow_pkg(): remove wrong test.
...
--HG--
extra : convert_revision : 3a819bc1026c9ed718a0e6d7c6fe1d71cd0883e3
2008-12-22 03:06:15 +01:00
Juan RP
9a10b636cc
xbps-cmpver: fix usage.
...
--HG--
extra : convert_revision : 450fc45a76cb4dc24f3bf4c8f4cba747ed05d653
2008-12-22 02:47:36 +01:00
Juan RP
77debbc7c4
README: update for recent changes.
...
--HG--
extra : convert_revision : 38ce28d007a36e20b3a71764868f7b37776ee9b3
2008-12-22 02:27:51 +01:00
Juan RP
cde9dddfcf
Move xbps-src.sh into bin/.
...
--HG--
extra : convert_revision : bb6fba26702ec51514b31abd1eb5f8d7431b30b6
2008-12-22 02:26:28 +01:00
Juan RP
db45574f24
Add /usr/local/sbin into PATH.
...
--HG--
extra : convert_revision : c5315db73a191482858c52d5dc54f3e264ada219
2008-12-22 02:23:52 +01:00
Juan RP
6ee35486bf
To use xbps now 'make and make install' is required.
...
--HG--
extra : convert_revision : 976738f26daf1ccd2101ca2325e1e517d98e71cb
2008-12-22 02:14:40 +01:00
Juan RP
9f7bfc772a
stow_func.sh::unstow_pkg(): dont play with flist in metapkgs.
...
--HG--
extra : convert_revision : be2fa0ab535da930ce86824e9fceef786e55a541
2008-12-22 00:51:34 +01:00
Juan RP
d7c720ef7d
Move xbps.conf to the new etc dir.
...
--HG--
extra : convert_revision : 84988fe710423c1610c1a3aa79bd38eee884d4c0
2008-12-22 00:40:36 +01:00
Juan RP
f2a77f5e0e
xbps-pkgdb: fix crash if db file unexistent in 'list' target.
...
--HG--
extra : convert_revision : a42e5a7eda63a0d121dd7f15683220c84d58b620
2008-12-22 00:37:42 +01:00
Juan RP
6fbb8e0316
xbps_search_string_in_pkgs(): remove unneeded assert.
...
--HG--
extra : convert_revision : 8cf98bcf0ae83958f2f31d951465333930e32f2e
2008-12-22 00:21:11 +01:00
Juan RP
bd317f17ee
xbps_search_string_in_pkgs(): pass "arg" directly.
...
--HG--
extra : convert_revision : d1345ddf585304ec1617386b91aa827209362442
2008-12-22 00:17:20 +01:00
Juan RP
4a88e000e6
Update README with last changes.
...
--HG--
extra : convert_revision : b0ed200f01b731aee831d0d488c4900ac9804703
2008-12-22 00:02:13 +01:00
Juan RP
e7cf222ac9
Reorganize the tree splitting stuff on its own dir.
...
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00
Juan RP
9019592d9d
Add libxbps.so* into .gitignore.
...
--HG--
extra : convert_revision : 3dfc7f434bddffa06fc74f06b27cc9489aea0ada
2008-12-21 22:07:07 +01:00
Juan RP
3e7ef4fc9b
utils/Makefile: improve previous commit.
...
--HG--
extra : convert_revision : c7cf3b365d26484d1451d478c9851beac86bb256
2008-12-21 22:04:16 +01:00
Juan RP
4053dc4789
utils/Makefile: build the libxbps shared lib.
...
--HG--
extra : convert_revision : 8584a398b2ba51e841744c25be8a8b16e0736d7e
2008-12-21 22:00:33 +01:00
Juan RP
d14b2332b5
Simplify utils/Makefile even more!
...
--HG--
extra : convert_revision : 0d1855a743e64c74ae070424a2f98cd7d87813d4
2008-12-21 10:52:38 +01:00
Juan RP
8d66cb9a57
Simplify utils/Makefile.
...
--HG--
extra : convert_revision : 055106d402821281e64108257bd5d0e5e393a1b4
2008-12-21 10:40:04 +01:00
Juan RP
ddc026a5ff
stow_funcs.sh: fix previous for root(!).
...
--HG--
extra : convert_revision : 618c758ee199429cdc67eb66f9fb6fa2d7972f94
2008-12-21 09:16:55 +01:00
Juan RP
b80643802a
stow_funcs.sh: check for rw perms in {dest,master}dir.
...
--HG--
extra : convert_revision : fa9d0464480adef1ffd1e14c5a53cd1b96b5acd8
2008-12-21 09:13:12 +01:00
Juan RP
cf4103ec73
xbps-pkgdb: use strerror(errno) in more places.
...
--HG--
extra : convert_revision : 44bf0df97a1f27a56067f36a5669c9ee836977ed
2008-12-21 09:12:51 +01:00
Juan RP
c7415fa6c4
xbps-pkgdb: use write_plist_file() one more time.
...
--HG--
extra : convert_revision : 2fb3b77d82f780da943ef0505a09326c428009c7
2008-12-21 09:00:55 +01:00
Juan RP
592e9eca89
Use more appropiate types in loops to avoid future overflows.
...
--HG--
extra : convert_revision : 5376d21941333e5baa95cb4ee75dfe49ada351c6
2008-12-21 08:51:18 +01:00
Juan RP
120180f89d
xbps-pkgdb: use a common func to remove a pkgdict from a plist file.
...
--HG--
extra : convert_revision : 1d86cdca194aea6fb5ebaff0ac60c205788c63de
2008-12-21 08:43:57 +01:00
Juan RP
d534631f62
Better metadata printing for the 'show' target.
...
All objects are sorted to be comparable to 'apt-cache show'
output, like:
$ ./xbps-bin show openssl
Repository: /storage/xbps/binpkgs
Package: openssl
Installed size: 10265289 bytes
Maintainer: Juan RP [xtraeme@gmail.com ]
Architecture: x86_64
Version: 0.9.8i
Filename: openssl-0.9.8i.x86_64.xbps
SHA256: 33204337e944bdcca285af5540cee39e60cdcbc4bc99cb5da32040793844eab5
Dependencies:
glibc-2.8 zlib-1.2.3
Configuration files:
/etc/ssl/openssl.cnf
Permanent directories:
/etc/ssl
Description: Secure Socket Layer and cryptographic library
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
protocols as well as a full-strength general purpose cryptography
library.
$
--HG--
extra : convert_revision : 77e59abbd586e495288c3e0805d7865269846bd8
2008-12-21 07:22:44 +01:00
Juan RP
017b192a85
xbps-pkgdb: remove unneeded stuff from unregister_pkg().
...
--HG--
extra : convert_revision : 2482d7b37d913657fc274b4546e0ac995ed2fda4
2008-12-21 06:15:56 +01:00