]> git.pld-linux.org Git - packages/poldek.git/commitdiff
This commit was manufactured by cvs2git to create tag 'auto-ti-poldek- auto/ti/poldek-0_21-0_20070703_00_5
authorcvs2git <feedback@pld-linux.org>
Thu, 27 Sep 2007 17:29:01 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
0_21-0_20070703_00_5'.

Sprout from master 2007-09-27 17:29:01 UTC hawk <hawk@pld-linux.org> '- release 5 (for Titanium)'
Cherrypick from unlabeled-1.13.2 2007-09-27 17:26:58 UTC hawk <hawk@pld-linux.org> '- adjusted for PLD Titanium':
    poldek-multilib.conf -> 1.13.2.1
Cherrypick from unlabeled-1.47.2 2007-09-27 17:20:54 UTC hawk <hawk@pld-linux.org> '- adjusted for PLD Titanium':
    poldek.conf -> 1.47.2.1
Delete:
    poldek-as_needed-fix.patch
    poldek-su-sigsev.patch
    poldek-uninstall-depfix.patch

poldek-as_needed-fix.patch [deleted file]
poldek-multilib.conf
poldek-su-sigsev.patch [deleted file]
poldek-uninstall-depfix.patch [deleted file]
poldek.conf

diff --git a/poldek-as_needed-fix.patch b/poldek-as_needed-fix.patch
deleted file mode 100644 (file)
index 9aabc46..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur poldek-0.20/vfile/Makefile.am poldek-0.20.as_needed-fix/vfile/Makefile.am
---- poldek-0.20/vfile/Makefile.am      2005-05-15 17:16:13.000000000 +0200
-+++ poldek-0.20.as_needed-fix/vfile/Makefile.am        2006-08-02 01:46:42.000000000 +0200
-@@ -22,7 +22,7 @@
-                                     vfffmod.c $(VFCURL_SRCS_) \
-                                         vopen3.c vopen3.h vfile_intern.h
--libvfile_la_LIBADD = vfff/libvfff.la
-+libvfile_la_LIBADD = vfff/libvfff.la -lutil
- pkgincludedir = $(includedir)/vfile
- pkginclude_HEADERS = vfile.h p_open.h vopen3.h
index 8efd922091f70032c6c447896ba7ae23f12484e4..a79dc633f2679061e5c627892dbb9b4311adbb4d 100644 (file)
@@ -1,51 +1,27 @@
-# Alternative multilib PLD 3.0 (Th)
+# PLD Titanium, multilib config
+# Unofficial version of PLD Linux Distribution
+# http://www.pld-linux.org/Titanium
+
 _arch   = %ARCH%
-_prefix = ftp://ftp.th.pld-linux.org/dists/th
-## Some mirrors
-## You can use them if you have better connection there
-# CI TASK:
-#_prefix = ftp://ftp.task.pld-linux.org/dists/th
+_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
 
 _type = pndir
 
 [source]
 type   = %{_type}
-name   = th-%{_arch}
+name   = titanium-%{_arch}
 path   = %{_prefix}/PLD/%{_arch}/RPMS/
-auto   = no
-autoup = no
-
-[source]
-type   = %{_type}
-name   = th-updates-security-%{_arch}
-path   = %{_prefix}/updates-security/%{_arch}/RPMS/
-auto   = no
-autoup = no
-
-[source]
-type   = %{_type}
-name   = th-updates-general-%{_arch}
-path   = %{_prefix}/updates-general/%{_arch}/RPMS/
-auto   = no
-autoup = no
-
-#[source]
-#type   = %{_type}
-#name   = th-supported-%{_arch}
-#path   = %{_prefix}/supported/%{_arch}/
-#auto   = no
-#autoup = no
 
 [source]
 type   = %{_type}
-name   = th-ready-%{_arch}
+name   = titanium-ready-%{_arch}
 path   = %{_prefix}/ready/%{_arch}/RPMS/
 auto   = no
 autoup = no
 
 [source]
 type   = %{_type}
-name   = th-test-%{_arch}
+name   = titanium-test-%{_arch}
 path   = %{_prefix}/test/%{_arch}/RPMS/
 auto   = no
 autoup = no
diff --git a/poldek-su-sigsev.patch b/poldek-su-sigsev.patch
deleted file mode 100644 (file)
index 740d680..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-Index: conf.c
-===================================================================
-RCS file: /cvsroot/poldek/poldek/conf.c,v
-retrieving revision 1.84
-diff -u -r1.84 conf.c
---- conf.c     27 Jun 2007 21:47:43 -0000      1.84
-+++ conf.c     28 Jun 2007 15:47:04 -0000
-@@ -944,6 +944,9 @@
-         addparam_flags |= ADD_PARAM_FOREIGN;
-     }
-+    if (flags & POLDEK_LDCONF_NOVALIDATE)
-+        validate = 0;
-+
-     if (flags & POLDEK_LDCONF_UPDATE)
-         update = 1;
-Index: conf.h
-===================================================================
-RCS file: /cvsroot/poldek/poldek/conf.h,v
-retrieving revision 1.18
-diff -u -r1.18 conf.h
---- conf.h     27 Jun 2007 00:44:47 -0000      1.18
-+++ conf.h     28 Jun 2007 15:47:04 -0000
-@@ -6,10 +6,11 @@
- #include <trurl/narray.h>
- #include <trurl/nhash.h>
--#define POLDEK_LDCONF_FOREIGN     (1 << 0) /* not a poldek file */
--#define POLDEK_LDCONF_UPDATE      (1 << 1) /* resync with remote config */
--#define POLDEK_LDCONF_NOINCLUDE   (1 << 2) /* ignore %include directives */
--#define POLDEK_LDCONF_GLOBALONLY  (1 << 9) /* for early cachedir setup */
-+#define POLDEK_LDCONF_FOREIGN     (1 << 0) /* not a poldek config file */
-+#define POLDEK_LDCONF_NOVALIDATE  (1 << 1) /* do not validate config variables */
-+#define POLDEK_LDCONF_UPDATE      (1 << 2) /* resync with remote config */
-+#define POLDEK_LDCONF_NOINCLUDE   (1 << 3) /* ignore %include directives */
-+#define POLDEK_LDCONF_GLOBALONLY  (1 << 4) /* for early cachedir setup */
- /* default localization is used if path is NULL */
- tn_hash *poldek_conf_load(const char *path, unsigned flags);
-Index: cli/main.c
-===================================================================
-RCS file: /cvsroot/poldek/poldek/cli/main.c,v
-retrieving revision 1.56
-diff -u -r1.56 main.c
---- cli/main.c 27 Jun 2007 00:44:47 -0000      1.56
-+++ cli/main.c 28 Jun 2007 15:47:05 -0000
-@@ -587,7 +587,8 @@
-     } else if (noautosu == 0 && getuid() == 0) {  /* check config's runas */
-         tn_hash *cnf;
-         
--        cnf = poldek_conf_load_default(POLDEK_LDCONF_NOINCLUDE | POLDEK_LDCONF_FOREIGN);
-+        cnf = poldek_conf_load_default(POLDEK_LDCONF_GLOBALONLY |
-+                                       POLDEK_LDCONF_NOVALIDATE);
-         if (cnf) {
-             tn_hash *global;
-             const char *u;
-Index: tests/sh/04-conf
-===================================================================
-RCS file: /cvsroot/poldek/poldek/tests/sh/04-conf,v
-retrieving revision 1.2
-diff -u -r1.2 04-conf
---- tests/sh/04-conf   27 Jun 2007 21:47:42 -0000      1.2
-+++ tests/sh/04-conf   28 Jun 2007 15:47:05 -0000
-@@ -28,12 +28,43 @@
-     is_verbose_mode && $poldek_l
--    n=$($poldek_l | grep -vE '^dbg:' | wc -l)
-+    n=$($poldek_l | grep 'test://' | wc -l)
-     assertEquals "2 sources expected" "$n" "2"
-     n=$($poldek_l | grep -E '^test[12] ' | wc -l)
-     assertEquals "2 sources expected, but not those" "$n" "2"
- }
-+
-+testConfAsRoot() 
-+{
-+    create_local_conf
-+    msgn "--conf"
-+    poldek_l="$POLDEK --conf $TMPDIR/poldek.conf -q  -l"
-+
-+    is_verbose_mode && $poldek_l
-+
-+    n=$(fakeroot $poldek_l | grep 'test://' | wc -l)
-+    assertEquals "2 sources expected" "$n" "2"
-+
-+    n=$(fakeroot $poldek_l | grep -E '^test[12] ' | wc -l)
-+    assertEquals "2 sources expected, but not those" "$n" "2"
-+
-+    msgn "default conf"
-+    mkdir $TMPDIR/home || fail "mkdir"
-+    mv -f $TMPDIR/poldek.conf $TMPDIR/home/.poldekrc
-+    HOME=$TMPDIR/home
-+    export HOME
-+
-+    poldek_l="$POLDEK -q -l"
-+    is_verbose_mode && $poldek_l
-+
-+    n=$(fakeroot $poldek_l | grep 'test://' | wc -l)
-+    assertEquals "2 sources expected" "$n" "2"
-+
-+    n=$(fakeroot $poldek_l | grep -E '^test[12] ' | wc -l)
-+    assertEquals "2 sources expected, but not those" "$n" "2"
-+}
-+
- testConfInclude() 
- {
diff --git a/poldek-uninstall-depfix.patch b/poldek-uninstall-depfix.patch
deleted file mode 100644 (file)
index 41f9c4e..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-Index: capreq.c
-===================================================================
-RCS file: /cvsroot/poldek/poldek/capreq.c,v
-retrieving revision 1.44
-diff -u -r1.44 capreq.c
---- capreq.c   21 Jun 2007 16:47:45 -0000      1.44
-+++ capreq.c   29 Jun 2007 20:10:22 -0000
-@@ -59,7 +59,7 @@
-     return strcmp(capreq_name(cr1), capreq_name(cr2));
- }
--__inline__
-+__inline__ static
- int capreq_cmp2name(struct capreq *cr1, const char *name)
- {
-     return strcmp(capreq_name(cr1), name);
-@@ -427,9 +427,24 @@
- __inline__
- int capreq_arr_find(tn_array *capreqs, const char *name)
- {
-+    /* capreq_cmp2name is compilant with capreq_cmp_name_evr */
-+    if (!n_array_is_sorted(capreqs))
-+        n_array_sort(capreqs);  
-+    
-     return n_array_bsearch_idx_ex(capreqs, name,
-                                   (tn_fn_cmp)capreq_cmp2name);
- }
-+
-+__inline__
-+int capreq_arr_contains(tn_array *capreqs, const char *name)
-+{
-+    if (!n_array_is_sorted(capreqs))
-+        n_array_sort(capreqs);  /* capreq_cmp2name */
-+    
-+    return n_array_bsearch_idx_ex(capreqs, name,
-+                                  (tn_fn_cmp)capreq_cmp2name) > -1;
-+}
-+
- tn_buf *capreq_arr_join(tn_array *capreqs, tn_buf *nbuf, const char *sep)
- {
-Index: capreq.h
-===================================================================
-RCS file: /cvsroot/poldek/poldek/capreq.h,v
-retrieving revision 1.30
-diff -u -r1.30 capreq.h
---- capreq.h   21 Jun 2007 22:29:49 -0000      1.30
-+++ capreq.h   29 Jun 2007 20:10:22 -0000
-@@ -117,12 +117,12 @@
- int capreq_strcmp_name_evr(struct capreq *pr1, struct capreq *pr2);
- int capreq_cmp_name(struct capreq *cr1, struct capreq *cr2);
--int capreq_cmp2name(struct capreq *pr1, const char *name);
- int capreq_cmp_name_evr(struct capreq *cr1, struct capreq *cr2);
- #ifndef SWIG
- tn_array *capreq_arr_new(int size);
--int capreq_arr_find(tn_array *capreqs, const char *name);
-+int capreq_arr_find(tn_array *capreqs, const char *name); /* returns index */
-+int capreq_arr_contains(tn_array *capreqs, const char *name); /* returns bool */
- tn_buf *capreq_arr_join(tn_array *capreqs, tn_buf *nbuf, const char *sep);
- int capreq_arr_store_n(tn_array *arr);
-Index: libpoldek.sym
-===================================================================
-RCS file: /cvsroot/poldek/poldek/libpoldek.sym,v
-retrieving revision 1.28
-diff -u -r1.28 libpoldek.sym
---- libpoldek.sym      28 Jun 2007 22:28:21 -0000      1.28
-+++ libpoldek.sym      29 Jun 2007 20:10:22 -0000
-@@ -20,7 +20,6 @@
- capreq_arr_store
- capreq_arr_store_n
- capreq_clone
--capreq_cmp2name
- capreq_cmp_name
- capreq_cmp_name_evr
- capreq_epoch_
-Index: pkg.c
-===================================================================
-RCS file: /cvsroot/poldek/poldek/pkg.c,v
-retrieving revision 1.115
-diff -u -r1.115 pkg.c
---- pkg.c      21 Jun 2007 16:47:45 -0000      1.115
-+++ pkg.c      29 Jun 2007 20:10:23 -0000
-@@ -920,8 +920,7 @@
-     struct capreq *cnfl = NULL;
-     DBGF("%s %s%s", pkg_id(pkg), pkg_id(cpkg), isbastard ? " (bastard)" : "");
--    if (n_array_bsearch_ex(pkg->cnfls, cpkg->name,
--                           (tn_fn_cmp)capreq_cmp2name) == NULL) {
-+    if (!capreq_arr_contains(pkg->cnfls, cpkg->name)) {
-         cnfl = capreq_new(pkg->na, cpkg->name, cpkg->epoch, cpkg->ver,
-                           cpkg->rel, REL_EQ,
-                           (isbastard ? CAPREQ_BASTARD : 0));
-@@ -935,8 +934,7 @@
- int pkg_has_pkgcnfl(struct pkg *pkg, struct pkg *cpkg)
- {
--    return pkg->cnfls && (n_array_bsearch_ex(pkg->cnfls, cpkg->name,
--                                             (tn_fn_cmp)capreq_cmp2name));
-+    return pkg->cnfls && capreq_arr_contains(pkg->cnfls, cpkg->name);
- }
- struct pkguinf *pkg_xuinf(const struct pkg *pkg, tn_array *langs) 
-Index: pkgdir/pkgdir_dirindex.c
-===================================================================
-RCS file: /cvsroot/poldek/poldek/pkgdir/pkgdir_dirindex.c,v
-retrieving revision 1.13
-diff -u -r1.13 pkgdir_dirindex.c
---- pkgdir/pkgdir_dirindex.c   24 Jun 2007 22:47:27 -0000      1.13
-+++ pkgdir/pkgdir_dirindex.c   29 Jun 2007 20:10:23 -0000
-@@ -505,7 +505,7 @@
- {
-     const char **tl, **tl_save;
-     char val[16 * 1024];
--    int  vlen, n = 0, nadded = 0;
-+    int  vlen, n = 0, nadded = 0, created_here = 0;
-     n_assert(key[1] == PREFIX_PKGKEY_REQDIR);
-     vlen = sizeof(val);
-@@ -513,15 +513,15 @@
-     if (tl == NULL)
-         return 0;
-     
--    if (!pkg->reqs)
-+    if (!pkg->reqs) {
-         pkg->reqs = capreq_arr_new(n);
--        
-+        created_here = 1;
-+    }
-+    
-     while (*tl) {
-         const char *dir = *tl;
-         
--        if (*dir && !n_array_bsearch_ex(pkg->reqs, dir,
--                                        (tn_fn_cmp)capreq_cmp2name)) {
--            
-+        if (*dir && (created_here || !capreq_arr_contains(pkg->reqs, dir))) {
-             struct capreq *req = capreq_new(pkg->na, dir, 0, NULL, NULL, 0,
-                                             CAPREQ_BASTARD);
-             n_array_push(pkg->reqs, req);
-================================================================
-Index: trurlib/include/trurl/narray.h
-diff -u trurlib/include/trurl/narray.h:1.29 trurlib/include/trurl/narray.h:1.30
---- trurlib/include/trurl/narray.h:1.29        Tue Jun 19 23:52:49 2007
-+++ trurlib/include/trurl/narray.h     Sat Jun 30 09:39:51 2007
-@@ -155,7 +155,9 @@
- /* internal macros, do not use them */
- #define TN_ARRAY_set_sorted(arr) ((arr)->flags |= TN_ARRAY_INTERNAL_ISSORTED)
- #define TN_ARRAY_clr_sorted(arr) ((arr)->flags &= ~TN_ARRAY_INTERNAL_ISSORTED)
--#define TN_ARRAY_is_sorted(arr)  ((arr)->flags &  TN_ARRAY_INTERNAL_ISSORTED)
-+
-+
-+#define n_array_is_sorted(arr)   ((arr)->flags & TN_ARRAY_INTERNAL_ISSORTED)
- tn_array *n_array_grow_priv_(tn_array *arr, size_t req_size);
- #ifndef SWIG
-
-================================================================
-Index: trurlib/n_array_sorts.c
-diff -u trurlib/n_array_sorts.c:1.6 trurlib/n_array_sorts.c:1.7
---- trurlib/n_array_sorts.c:1.6        Tue Nov 16 20:01:40 2004
-+++ trurlib/n_array_sorts.c    Sat Jun 30 09:39:51 2007
-@@ -121,7 +121,7 @@
-     cmpf = autosort(arr, cmpf, &set_sorted);
--    if ((arr->flags & TN_ARRAY_AUTOSORTED) && TN_ARRAY_is_sorted(arr))
-+    if ((arr->flags & TN_ARRAY_AUTOSORTED) && n_array_is_sorted(arr))
-         return arr;
-     
-     switch (alg) {
-
index 65dfe54e978fd6ea96eb124907d3abcc6bb5a27a..151b3421080bb0a86c25e62c8aeb2f6273aab3de 100644 (file)
@@ -1,78 +1,46 @@
-# PLD Linux Distribution <http://www.pld-linux.org/>.
+# PLD Titanium
+# Unofficial version of PLD Linux Distribution
+# http://www.pld-linux.org/Titanium
 
 _arch   = %ARCH%
-_prefix = ftp://ftp.th.pld-linux.org/dists/th
-## Some mirrors
-## You can use them if you have better connection there
-# CI TASK:
-#_prefix = ftp://ftp.task.pld-linux.org/dists/th
+_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
 
 _type = pndir
 
-# PLD 3.0 (Th)
 [source]
 type   = %{_type}
-name   = th
+name   = titanium
 path   = %{_prefix}/PLD/%{_arch}/RPMS/
 
 [source]
 type   = %{_type}
-name   = th
+name   = titanium
 path   = %{_prefix}/PLD/noarch/RPMS/
 
 [source]
 type   = %{_type}
-name   = th-updates-security
-path   = %{_prefix}/updates-security/%{_arch}/RPMS/
-
-[source]
-type   = %{_type}
-name   = th-updates-security
-path   = %{_prefix}/updates-security/noarch/RPMS/
-
-[source]
-type   = %{_type}
-name   = th-updates-general
-path   = %{_prefix}/updates-general/%{_arch}/RPMS/
-auto   = no
-
-[source]
-type   = %{_type}
-name   = th-updates-general
-path   = %{_prefix}/updates-general/noarch/RPMS/
-auto   = no
-
-#[source]
-#type   = %{_type}
-#name   = th-supported
-#path   = %{_prefix}/supported/%{_arch}/
-#auto   = no
-
-[source]
-type   = %{_type}
-name   = th-ready
+name   = titanium-ready
 path   = %{_prefix}/ready/%{_arch}/RPMS/
 auto   = no
 autoup = no
 
 [source]
 type   = %{_type}
-name   = th-ready
+name   = titanium-ready
 path   = %{_prefix}/ready/noarch/RPMS/
 auto   = no
 autoup = no
 
 [source]
 type   = %{_type}
-name   = th-test
+name   = titanium-test
 path   = %{_prefix}/test/%{_arch}/RPMS/
 auto   = no
 autoup = no
 
 [source]
 type   = %{_type}
-name   = th-test
+name   = titanium-test
 path   = %{_prefix}/test/noarch/RPMS/
 auto   = no
 autoup = no
-
This page took 0.077457 seconds and 4 git commands to generate.