Commit graph

855 commits

Author SHA1 Message Date
Juan RP
63059b0266 xbps-digest doesn't need to be linked to proplib.
--HG--
extra : convert_revision : 6b99784c1c0a0669da5fe8ece36eb5bc434cbc61
2008-12-19 04:46:10 +01:00
Juan RP
b4662e94c2 Add the xbps bins.
--HG--
extra : convert_revision : bbe02ca4cb277550c105b4bd3c693b1c5a003692
2008-12-19 04:27:08 +01:00
Juan RP
48b2f033da A bit of reorganization in C/shell code.
With these changes:
 - Added 'sanitize-plist' action to xbps-pkgdb. It takes a plist
   file as argument and writes another one "sanitized" by proplib.
   Use it to sanitize the pkgindex plist file.
 - Split xbps-pkgdb functions to be shared by other files.
 - Split xbps-digest functions to be shared by other files.
 - Rename the plist file to register/unregister installed pkgs to
   regpkgdb.plist, and related stuff in shell scripts.

--HG--
extra : convert_revision : 37731b04c6b41aebac629dfa06106175b9b5e59c
2008-12-19 04:18:49 +01:00
Juan RP
5f69948167 Remove utils from .gitignore!
--HG--
extra : convert_revision : 2a045a6632b6cd05d3e9b0481deafba648d4b1b4
2008-12-19 04:15:29 +01:00
Juan RP
b0089e7284 binpkg: replace invalid chars in $maintainer.
--HG--
extra : convert_revision : 31669a428ad626a7c97d533d057ca0be1d265c31
2008-12-19 03:24:49 +01:00
Juan RP
071a1148c5 Fix another stupid error in genindex.
--HG--
extra : convert_revision : 18b91a31fc42ec374a5f51d4c32fcc85d1615738
2008-12-19 03:06:43 +01:00
Juan RP
931731bb2c binpkg.sh: fix some typos that really fucked me!
--HG--
extra : convert_revision : ffceafd696ab31e057ebfcab1e565132dd69aae9
2008-12-19 03:01:11 +01:00
Juan RP
a17ba41e17 binpkg-genindex.sh: be sure there are binpkgs before starting.
--HG--
extra : convert_revision : 451c8924fdd71dfc020cf5a4f068d564b66de981
2008-12-18 11:40:56 +01:00
Juan RP
f19afb5fe0 chroot.sh: improve error messages.
--HG--
extra : convert_revision : a0d0b166ca331bd8af9cdf1c54459b09156ab978
2008-12-18 11:40:43 +01:00
Juan RP
d9fb96533f Rename xbps.sh to xbps-src.sh.
In preparation for the utility that will handle binary packages.

--HG--
extra : convert_revision : c67f42bccad28f1b5313ae0e1739979a477fd2f1
2008-12-18 11:07:33 +01:00
Juan RP
ff4f1346c2 stow_funcs.sh: don't error with metapkgs while removing.
--HG--
extra : convert_revision : 04d1f2fe6e9bc962f62b93f9b4bd6d566c759e07
2008-12-18 09:50:19 +01:00
Juan RP
ae39fc9d34 xbps-base-chroot: add missing rundeps.
--HG--
extra : convert_revision : 4da66d00b3e6b179c372ffe569b226ba925a8976
2008-12-18 09:40:15 +01:00
Juan RP
6a0386e2b9 git: update to 1.6.0.5 and add missing rundeps.
--HG--
extra : convert_revision : 3495f935f4bfedf616a021db0fcd0225d7f44d64
2008-12-18 08:56:05 +01:00
Juan RP
6626a77bd7 Use -w rather than -O for write permission.
--HG--
extra : convert_revision : 20cbb0fff9d9e2fb21a174c606db84bfc9ffba76
2008-12-18 08:17:46 +01:00
Juan RP
dbf2d140e0 binutils: added glibc rundep.
--HG--
extra : convert_revision : 4c872af5f191524e1048e79344dea747fbaa32c3
2008-12-18 08:13:45 +01:00
Juan RP
75acc69282 xbps.sh: added a new target 'genindex'.
This target will create a package index file with all metadata info,
for all binary packages available at XBPS_PACKAGESDIR.

--HG--
extra : convert_revision : 02ab69209e5096f060969ef803aa1cc74fe8a843
2008-12-18 07:32:42 +01:00
Juan RP
95d03dedd6 bzip2: escape the '%' char in $long_desc.
--HG--
extra : convert_revision : fb55e33452de432378817bf20bfa03db2537d5c5
2008-12-18 07:15:36 +01:00
Juan RP
756757d034 Explain some more about binpkgs and repositories.
--HG--
extra : convert_revision : 76193e4a513a216400bebbdfb69787e9405f5b20
2008-12-18 07:15:02 +01:00
Juan RP
8a35ef0945 binpkg.sh: add $pkgname/$version in metadata plist.
--HG--
extra : convert_revision : 8d3926972b082b28f16ef20afe4a76ab01bebc0a
2008-12-18 07:14:01 +01:00
Juan RP
6f8456d9f1 binpkg.sh: use xbps as extension and add hw machine.
Packages are now named like: foo-2.0.x86_64.xbps
so that they don't have any common extension that could lead
to confusion for installing.

These packages shouldn't be installed directly with tar(1).

--HG--
extra : convert_revision : ee3efd57adbba6aa025a2a4e76002c784510f810
2008-12-18 02:11:12 +01:00
Juan RP
d222a32dc0 tmpl_vars.sh: added $UBUNTU_SITE.
--HG--
extra : convert_revision : cf7ecd7a07deae82c3907bec9b798990eaed9692
2008-12-17 19:12:31 +01:00
Juan RP
31c83abfd3 kernel: remove not useful stuff post_install().
--HG--
extra : convert_revision : 02c41532e7bbc1c39504ed65a2503cdd7c9d1138
2008-12-17 19:11:48 +01:00
Juan RP
405fb8c93e kernel-headers: install into /usr/src/$pkgname-$version.
--HG--
extra : convert_revision : 86a67cbd88901213c4596a4147f37d764ba15a2d
2008-12-17 10:21:28 +01:00
Juan RP
d9c6363159 chroot.sh: fix created dirs again.
--HG--
extra : convert_revision : cc507288837d8b12015e17f570fe4b5e0616ce65
2008-12-17 10:10:13 +01:00
Juan RP
dc13e970b1 Added new kernel-headers template.
This pkg will install the stuff that goes in /usr/src/linux-$version.
Make klibc depend on it.

--HG--
extra : convert_revision : f2d95a145a8d3a0fe038625be4ba41eb6ee26dd3
2008-12-17 10:05:13 +01:00
Juan RP
e63d48e37e Rename kernel26 to kernel and don't install headers.
The /usr/src/linux-$version headers/Makefiles and whatever will
be installed now by the new "kernel-headers" pkg.

--HG--
extra : convert_revision : 2d60053d37e0dfc27d094145500b05cd4355c319
2008-12-17 10:03:42 +01:00
Juan RP
edc40d770d xbps-base-chroot: depend on kernel-libc-headers, bump to 0.2.
--HG--
extra : convert_revision : 93f1820a898997b92add4bd6be86f42375aed8fe
2008-12-17 09:13:54 +01:00
Juan RP
3dcb85e5f4 Rename kernel-headers to kernel-libc-headers.
In preparation for the real "kernel-headers".

--HG--
extra : convert_revision : 3514b517c3ceefc6669b9d18907a3f533b79ebea
2008-12-17 09:12:33 +01:00
Juan RP
7e4a61c822 extract_func.sh: don't check perms in chroot.
--HG--
extra : convert_revision : 555418e9a3c1097bcfd78c355f86b1b344d10689
2008-12-17 08:40:39 +01:00
Juan RP
ef2601f4eb Add pkg metadata into /var/cache/xbps/metadata and not /xbps-metadata.
With this change it's possible to use a binary package just by unpacking
it into the destination directory.

--HG--
extra : convert_revision : 5f025a5e5d7593555fa55d08d5652c26736a139e
2008-12-17 08:27:28 +01:00
Juan RP
ca40133cbe udev: improve installation.
--HG--
extra : convert_revision : f9cef829e004e9bad48c2660596c29425370a705
2008-12-17 06:36:37 +01:00
Juan RP
0f4c3a385a Update TODO with reality.
--HG--
extra : convert_revision : 7f19cdb77433b553d95d3cfa802e4f610c76d5c9
2008-12-17 00:53:12 +01:00
Juan RP
d586935a1a chroot.sh: fix created dirs in /usr.
--HG--
extra : convert_revision : 4ef49617035c60aedb4f2834de0d20de6a8d6e7b
2008-12-17 00:30:46 +01:00
Juan RP
ce78c8394b bzip2: install manpages into /usr/share/man.
--HG--
extra : convert_revision : 3f86f3d08619ca146e3ff8fb6e4642a19fb01506
2008-12-17 00:30:19 +01:00
Juan RP
0863aa593d Added eject-2.1.5 template.
--HG--
extra : convert_revision : bbde5aaaa1d065dddb7ed5b2879947e34cabec10
2008-12-17 00:01:54 +01:00
Juan RP
dcd43cbe50 extract_funcs.sh: return if XBPS_BUILDDIR not writable.
--HG--
extra : convert_revision : 1aa11d2c19f7678ab3d668ce6afcc1abd8553f23
2008-12-16 23:44:35 +01:00
Juan RP
204e393cd8 Added squashfs-tools-3.4 template.
--HG--
extra : convert_revision : fe1b862bb714d9be6aa5859664014c3ea55e967d
2008-12-16 23:17:40 +01:00
Juan RP
3b5bd74e04 shadow: enable SHA512 passwords by default in PAM.
--HG--
extra : convert_revision : 69e23e2a9af2b6a04082e3833795489f958a5932
2008-12-16 22:47:10 +01:00
Juan RP
dc5030514b chroot.sh: create users group with GID 1000.
--HG--
extra : convert_revision : 6e0323ab1b32393a84d724242bf11a6f20b14272
2008-12-16 22:39:41 +01:00
Juan RP
d903c1d26e kbd: update to 1.14.1.
--HG--
extra : convert_revision : 192cb0f44bd74fea4265702d55760c0750ea638b
2008-12-16 21:35:25 +01:00
Juan RP
0021648313 kernel26: update to 2.6.27.9, add unionfs/squashfs modules.
--HG--
extra : convert_revision : 210b5580d2b2d0d348a44d774e8ad84783d577e6
2008-12-16 20:55:14 +01:00
Juan RP
9bd1471410 patch_funcs.sh: return immediately if no patches.
--HG--
extra : convert_revision : 2c87a0d74bc7a8f340213627b0b80374eb75cd44
2008-12-16 18:59:36 +01:00
Juan RP
710a7b8509 Move pkg metadata to /var/cache/xbps/$pkgname.
--HG--
extra : convert_revision : 70e1199e8f7e577e0c8fc20bb8643fe6fca31bc7
2008-12-16 10:22:24 +01:00
Juan RP
3eed39a879 kernel-headers: update to 2.6.27.9.
--HG--
extra : convert_revision : ede841ca3f376ff8829fbcc43b906f7965fe2899
2008-12-16 10:18:51 +01:00
Juan RP
648ddf5cb2 Added zisofs-tools-1.0.8 template.
--HG--
extra : convert_revision : a1fab82816168eb9d351c674cd8a3c552c4d7ec8
2008-12-16 07:35:05 +01:00
Juan RP
1d9f2d3922 initng: bah. fix /sbin/init link again.
--HG--
extra : convert_revision : 1a7ffc98036d9a206504f6596c5dd9ce84470c43
2008-12-16 06:17:19 +01:00
Juan RP
a127aa48e6 initng: fix /bin/pidof and installation.
--HG--
extra : convert_revision : 32553e4dffb78d3a922dd25790cefcdde1c0651d
2008-12-16 06:13:54 +01:00
Juan RP
f036a85acb util-linux-ng: fix installation.
--HG--
extra : convert_revision : 815f64b8c3a09ef98f2709f226c45de9eb18057d
2008-12-16 05:48:27 +01:00
Juan RP
c464f084ed chroot.sh: add some missing files in /var/log.
--HG--
extra : convert_revision : 77cc4113c23fe9b00516261e12c0ae002e4831a4
2008-12-16 05:07:14 +01:00
Juan RP
32945c2e2f chroot.sh: create from scratch required files.
--HG--
extra : convert_revision : af01f1a7fcad7dd961334542b551a2dc390615a0
2008-12-16 04:53:03 +01:00