Commit Graph

1042 Commits

Author SHA1 Message Date
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Juan RP 6c252d43d4 Split installation/removal parts in prepost-action scripts.
There are two scripts that can be used now:
	- prepost-inst: for pre/post actions at installation.
	- prepost-rm: for pre/post actions at removal.

--HG--
extra : convert_revision : 5e054758f549f5c81693b825795fbb36e2d5513a
2009-02-03 17:32:51 +01:00
Juan RP 388dd30b45 check_installed_pkgname: returns a bool, so EINVAL is wrong.
--HG--
extra : convert_revision : 6f3d615a27a1bf76962b6daf88929efa8d5cde8e
2009-02-03 17:02:19 +01:00
Juan RP fe8ea8c21c Check that pkg is installed before removing.
--HG--
extra : convert_revision : 4ea85e367ecbc0d39dcba1c8ee63392f0e1177f7
2009-02-03 16:51:42 +01:00
Juan RP edfeec4622 Added support to run pre/post remove actions with binpkgs.
--HG--
extra : convert_revision : ecc70358e9009a0b2f71aaccc5b8b1282417e3bf
2009-02-03 16:07:08 +01:00
Juan RP 4a9125364a xbps-bin: added WIP remove target.
--HG--
extra : convert_revision : 71314f7183384094223cf10bf16ff704ca084883
2009-02-03 03:18:00 +01:00
Juan RP b2fe705924 When writing the flist in pkg metadata, sort files before dirs.
--HG--
extra : convert_revision : bf341c59954e02e320986d259521643beb25f291
2009-02-02 20:40:06 +01:00
Juan RP 37668944b7 bash: update to 048 patch level.
--HG--
extra : convert_revision : 228c04c6208f5863d902a0a83ab3549c4c9535a8
2009-02-02 17:07:58 +01:00
Juan RP 8e76afef28 initramfs-tools: fix path to busybox dir.
--HG--
extra : convert_revision : 9d9646c4431000f3ad88276c20d5e33130715b4a
2009-01-30 16:50:56 +01:00
Juan RP 161113838e initramfs-tools: make this depend on busybox-initramfs.
--HG--
extra : convert_revision : a984dc983d72a4f869a803239e35470ab90eb4c6
2009-01-30 01:29:15 +01:00
Juan RP 905ae418c2 Added busybox-initramfs-1.13.2 template. To be used by initramfs-tools.
--HG--
extra : convert_revision : 4e9a3d9a1df99ef85b57c3df506ce62e2bf67756
2009-01-30 01:28:50 +01:00
Juan RP 74b213b519 TODO: add another bug.
--HG--
extra : convert_revision : a1daa1ea882b1877ff8ed7a71697757bdc71bdb1
2009-01-28 16:26:42 +01:00
Juan RP c25663cd3b xbps-base-system: depend on tzdata. Bump to 0.3.
--HG--
extra : convert_revision : 51a851a1a7a5c75a9b574dd41b8c8376fd966399
2009-01-28 16:07:10 +01:00
Juan RP dc7ca7a46d Added tzdata-2009a template.
--HG--
extra : convert_revision : a2a19025771a39da833e05e0a0bc06313a1e83a2
2009-01-28 16:06:47 +01:00
Juan RP f7598a476c kernel-headers: needs kernel-libc-headers at runtime, remove unneeded patches.
--HG--
extra : convert_revision : 9b81e74f59574ef7339e51d358168109a8a3d60e
2009-01-27 23:20:31 +01:00
Juan RP 3550f9cd27 Update TODO with new stuff.
--HG--
extra : convert_revision : 385a0335f4e6750dd4fdc559631a264eb8907c38
2009-01-27 19:41:11 +01:00
Juan RP f60582a716 initng-ifiles: depend on sysklogd, so that it's run by default.
--HG--
extra : convert_revision : 3118a8bba77a981d068dd5b1ca5568d9052aace2
2009-01-27 19:39:28 +01:00
Juan RP edefe63680 shadow: add a prepost-action script to enable shadow passwords and
create a default /etc/passwd and /etc/group file.

--HG--
extra : convert_revision : 5967a67bce2b0d504b3cff502466e4ac72d3178c
2009-01-27 19:28:31 +01:00
Juan RP 028a4b63f5 kernel: enable unionfs and squashfs, this time properly!
--HG--
extra : convert_revision : 7a2a919a751a5895d288ae6b1bc694f10e6530fd
2009-01-27 18:54:53 +01:00
Juan RP de800de41f initng-ifiles: add a prepost-action script to generate required files.
--HG--
extra : convert_revision : 376e924f763c342b0d0ad19895f0241475e18eec
2009-01-27 13:35:41 +01:00
Juan RP 9efb9f6d69 initng: needs bash at runtime.
--HG--
extra : convert_revision : f63dcab3a7de1a685a4ca8630cbd3f9bd889a016
2009-01-27 13:35:26 +01:00
Juan RP 919ac78f4c cmake: needs openssl at runtime.
--HG--
extra : convert_revision : ff9ead6ff17597c1b7850006df23551453d09c7c
2009-01-27 13:34:52 +01:00
Juan RP 644867c419 initng-ifiles: fix genrunlevel hardcoded path for the binpkg.
--HG--
extra : convert_revision : fa6707f48f8bc1e31aefa5218fd80192ba23dd5d
2009-01-27 12:50:24 +01:00
Juan RP d6d8c91d8d udev: update to 137. Less changes by default to have a working setup.
--HG--
extra : convert_revision : d71a3e8cd4ad0a0cb944a64c5eef688b331f5781
2009-01-27 12:34:58 +01:00
Juan RP b70527d4d1 syslinux: update to 3.73.
--HG--
extra : convert_revision : 7fe4ef1d2833328315a65d0862929921f0793b65
2009-01-26 16:32:27 +01:00
Juan RP d410602ced kbd: add patch to make this build with kernel 2.6.28.
--HG--
extra : convert_revision : ab84ee8a4b9b16639174e31e219eff176c794fd8
2009-01-25 23:41:15 +01:00
Juan RP 374c65648b kernel*: update to 2.6.28.1, without unionfs/squashfs.
--HG--
extra : convert_revision : 46a38da454341ff361d349e6a1ef26e8fd1749c6
2009-01-25 23:40:41 +01:00
Juan RP a490aa8945 proplib: update to 0.3.
--HG--
extra : convert_revision : 6037d4bcf3f652aec8fb6749125a8532a154a740
2009-01-25 23:40:13 +01:00
Juan RP 73e510f2aa builddep_funcs: fix a wrong conditional.
--HG--
extra : convert_revision : c4f0b0a47239e7449730473456636a8dfe32c3c3
2009-01-14 16:51:17 +01:00
Juan RP bc9bf83f0a xbps-src: update PATH with default PREFIX set by make.
--HG--
extra : convert_revision : 235ae5d28d075ffda87734224a4edf724799e2f1
2009-01-14 16:50:30 +01:00
Juan RP 869b38b9fa Make sure to run tmpl_vars for a template.
--HG--
extra : convert_revision : 2146c1d7492dd27490501f0fe836fdb19e792548
2009-01-14 16:49:40 +01:00
Juan RP a0174e5135 procps: update $distfiles with a working location.
--HG--
extra : convert_revision : 70b01d3cf76a6c4ba6776906b2acbaeeac4422be
2009-01-14 16:48:51 +01:00
Juan RP d0bbf183d9 initramfs-tools: update to 0.92o because previous distfile was removed.
--HG--
extra : convert_revision : 62c2865117465d728c7d2585c3e44d38b4a5c660
2009-01-14 16:48:25 +01:00
Juan RP aafefa6c23 Simplify xbps_add_pkg_dependency().
--HG--
extra : convert_revision : d4702da2278e65eabf998f2cbe7b3cd10eb34852
2009-01-03 14:59:55 +01:00
Juan RP a2d218eb4c xbps_unpack_archive_cb: fix a comment.
--HG--
extra : convert_revision : 48bda135d47987c22ce71b46d999d48ef83a7f99
2009-01-02 17:22:43 +01:00
Juan RP d8e8d3f6ab xbps_remove_pkg(): continue even if $destdir is not there.
Binary packages won't provide $destdir anyway.

--HG--
extra : convert_revision : b803c58c359e7e0f321d5855faa7ac2377b05364
2008-12-29 16:47:57 +01:00
Juan RP 3bb459b493 Improve BINPKG_INFO/REPOSITORY doc files.
--HG--
extra : convert_revision : 7a09f2d04e98d26d13b6a632e3c91eabe61af341
2008-12-29 16:22:55 +01:00
Juan RP 68d2bbe8fb xbps-bin: add missing newline.
--HG--
extra : convert_revision : e75a20206dc19000360df659814b9c2d6f7769d1
2008-12-29 16:02:35 +01:00
Juan RP 650aae7b58 kernel: added a prepost-action script to create the initramfs.
--HG--
extra : convert_revision : 50026c51a815fafbe655d39c8fa3dd31dffd5846
2008-12-29 15:59:18 +01:00
Juan RP f0f479a3c1 Pass more arguments to the prepost-action command.
--HG--
extra : convert_revision : f39f2926d0b3d9155e409a6193662c55c263167c
2008-12-29 15:57:37 +01:00
Juan RP 15e15465c8 bin: use EXIT_SUCCESS and EXIT_FAILURE.
--HG--
extra : convert_revision : 730a4f09ae67423e4a34b1c7e9d020998cc2288c
2008-12-29 15:56:40 +01:00
Juan RP c0549cd845 binpkg: fix the priority object.
--HG--
extra : convert_revision : 478d30796865eaa479571fb3834a0e9e2a309b5c
2008-12-29 15:54:33 +01:00
Juan RP 7f05ee8ed8 initramfs-tools: add missing rundeps.
--HG--
extra : convert_revision : c4e500503a34bdf3646df272417eae3437ff16c2
2008-12-29 15:53:24 +01:00
Juan RP c985e3974b kernel: add missing run_depends.
--HG--
extra : convert_revision : b601910b35d0bfe02bf520d927407fd013a0c772
2008-12-29 15:04:21 +01:00
Juan RP 78b036f346 Add the prepost-action script into the binary package if exists.
--HG--
extra : convert_revision : 3d1db89a9347d423550984e7ff5c941d0d7b6cbe
2008-12-29 09:26:49 +01:00
Juan RP 5d3e701b3a Simplify xbps_get_dependency().
--HG--
extra : convert_revision : 2174be8c7c6386f403a3d2d96c8443629fa6db21
2008-12-29 07:01:01 +01:00
Juan RP e6590dd285 Rename binpkg's metadata script to prepost-action.
Because in theory any shell script or executable program might run,
and therefore the .sh extension is wrong.

--HG--
extra : convert_revision : 2f52520ccb04cdf1c414ee0ac6128e54d82c1d36
2008-12-29 06:50:59 +01:00
Juan RP b445b83fd3 Implement a stupid sorting dependency algorithm.
Dependencies are sorted with highest to lowest priority by the
following rules:

	- package has highest required count and priority.
	- package has highest priority.
	- package has highest reqcount.
	- everything else.

--HG--
extra : convert_revision : e661b90c38f6b6ca4d9559c0f88d1e4ea9df6c1e
2008-12-29 06:46:08 +01:00
Juan RP a1425f164d TODO: add new items.
--HG--
extra : convert_revision : 636dec5341d934ef18f0686a84d08e7e8a230a14
2008-12-28 11:38:40 +01:00
Juan RP 43543bbaa1 Split info related funcs from plist.c into its own file.
--HG--
extra : convert_revision : 70ec29b722ff5a702f64b525812bb2cbdad56a44
2008-12-28 11:22:58 +01:00