Pacman-dev
Threads by month
- ----- 2026 -----
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- 2 participants
- 7336 discussions
Date: Monday, February 12, 2007 @ 10:39:29
Author: dan
Path: /home/cvs-pacman/pacman-lib
Modified: lib/libalpm/po/libalpm.pot (1.3 -> 1.4)
src/pacman/package.c (1.28 -> 1.29)
src/pacman/po/pacman.pot (1.3 -> 1.4)
* Fixed an i18n bug; length of description string was hardcoded previously;
now uses an strlen call.
* Updates of the *.pot files.
----------------------------+
lib/libalpm/po/libalpm.pot | 460 ++++++++++++++++++++++---------------------
src/pacman/package.c | 18 +
src/pacman/po/pacman.pot | 345 ++++++++++++++++----------------
3 files changed, 435 insertions(+), 388 deletions(-)
Index: pacman-lib/lib/libalpm/po/libalpm.pot
diff -u pacman-lib/lib/libalpm/po/libalpm.pot:1.3 pacman-lib/lib/libalpm/po/libalpm.pot:1.4
--- pacman-lib/lib/libalpm/po/libalpm.pot:1.3 Tue Feb 6 21:22:53 2007
+++ pacman-lib/lib/libalpm/po/libalpm.pot Mon Feb 12 10:39:29 2007
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pacman-dev@archlinux.org\n"
-"POT-Creation-Date: 2007-02-06 20:43-0500\n"
+"POT-Creation-Date: 2007-02-12 10:35-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -45,7 +45,7 @@
msgid "looking for unsatisfied dependencies"
msgstr ""
-#: lib/libalpm/add.c:256 lib/libalpm/sync.c:476
+#: lib/libalpm/add.c:256 lib/libalpm/sync.c:475
msgid "looking for conflicts"
msgstr ""
@@ -61,222 +61,222 @@
msgid "looking for file conflicts"
msgstr ""
-#: lib/libalpm/add.c:391
+#: lib/libalpm/add.c:394
#, c-format
msgid "upgrading package %s-%s"
msgstr ""
-#: lib/libalpm/add.c:401 lib/libalpm/conflict.c:288 lib/libalpm/conflict.c:318
+#: lib/libalpm/add.c:404 lib/libalpm/conflict.c:288 lib/libalpm/conflict.c:318
#, c-format
msgid "loading FILES info for '%s'"
msgstr ""
-#: lib/libalpm/add.c:423
+#: lib/libalpm/add.c:426
#, c-format
msgid "removing old package first (%s-%s)"
msgstr ""
-#: lib/libalpm/add.c:453
+#: lib/libalpm/add.c:456
#, c-format
msgid "adding package %s-%s"
msgstr ""
-#: lib/libalpm/add.c:464
+#: lib/libalpm/add.c:467
#, c-format
msgid "adding new package %s-%s"
msgstr ""
-#: lib/libalpm/add.c:468
+#: lib/libalpm/add.c:471
msgid "extracting files"
msgstr ""
-#: lib/libalpm/add.c:483 lib/libalpm/util.c:461
+#: lib/libalpm/add.c:487 lib/libalpm/util.c:461
msgid "could not get current working directory"
msgstr ""
-#: lib/libalpm/add.c:529
+#: lib/libalpm/add.c:545
#, c-format
msgid "notice: %s is in NoExtract -- skipping extraction"
msgstr ""
-#: lib/libalpm/add.c:565 lib/libalpm/add.c:718
+#: lib/libalpm/add.c:581 lib/libalpm/add.c:734
#, c-format
msgid "could not extract %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:608
+#: lib/libalpm/add.c:624
#, c-format
msgid "checking md5 hashes for %s"
msgstr ""
-#: lib/libalpm/add.c:609 lib/libalpm/add.c:616
+#: lib/libalpm/add.c:625 lib/libalpm/add.c:632
#, c-format
msgid "current: %s"
msgstr ""
-#: lib/libalpm/add.c:610 lib/libalpm/add.c:617
+#: lib/libalpm/add.c:626 lib/libalpm/add.c:633
#, c-format
msgid "new: %s"
msgstr ""
-#: lib/libalpm/add.c:612 lib/libalpm/add.c:619
+#: lib/libalpm/add.c:628 lib/libalpm/add.c:635
#, c-format
msgid "original: %s"
msgstr ""
-#: lib/libalpm/add.c:615
+#: lib/libalpm/add.c:631
#, c-format
msgid "checking sha1 hashes for %s"
msgstr ""
-#: lib/libalpm/add.c:633
+#: lib/libalpm/add.c:649
#, c-format
msgid "could not rename %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:634
+#: lib/libalpm/add.c:650
#, c-format
msgid "error: could not rename %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:638 lib/libalpm/add.c:682
+#: lib/libalpm/add.c:654 lib/libalpm/add.c:698
#, c-format
msgid "could not copy %s to %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:639
+#: lib/libalpm/add.c:655
#, c-format
msgid "error: could not copy %s to %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:643
+#: lib/libalpm/add.c:659
#, c-format
msgid "%s saved as %s.pacorig"
msgstr ""
-#: lib/libalpm/add.c:644
+#: lib/libalpm/add.c:660
#, c-format
msgid "warning: %s saved as %s"
msgstr ""
-#: lib/libalpm/add.c:654 lib/libalpm/add.c:657 lib/libalpm/add.c:663
+#: lib/libalpm/add.c:670 lib/libalpm/add.c:673 lib/libalpm/add.c:679
msgid "action: installing new file"
msgstr ""
-#: lib/libalpm/add.c:661
+#: lib/libalpm/add.c:677
msgid "action: leaving existing file in place"
msgstr ""
-#: lib/libalpm/add.c:667
+#: lib/libalpm/add.c:683
msgid "action: keeping current file and installing new one with .pacnew ending"
msgstr ""
-#: lib/libalpm/add.c:671
+#: lib/libalpm/add.c:687
#, c-format
msgid "could not install %s as %s: %s"
msgstr ""
-#: lib/libalpm/add.c:672
+#: lib/libalpm/add.c:688
#, c-format
msgid "error: could not install %s as %s: %s"
msgstr ""
-#: lib/libalpm/add.c:674
+#: lib/libalpm/add.c:690
#, c-format
msgid "%s installed as %s"
msgstr ""
-#: lib/libalpm/add.c:675
+#: lib/libalpm/add.c:691
#, c-format
msgid "warning: %s installed as %s"
msgstr ""
-#: lib/libalpm/add.c:680 lib/libalpm/add.c:700
+#: lib/libalpm/add.c:696 lib/libalpm/add.c:716
#, c-format
msgid "extracting %s"
msgstr ""
-#: lib/libalpm/add.c:702
+#: lib/libalpm/add.c:718
#, c-format
msgid "%s is in NoUpgrade -- skipping"
msgstr ""
-#: lib/libalpm/add.c:704
+#: lib/libalpm/add.c:720
#, c-format
msgid "extracting %s as %s.pacnew"
msgstr ""
-#: lib/libalpm/add.c:705
+#: lib/libalpm/add.c:721
#, c-format
msgid "warning: extracting %s%s as %s"
msgstr ""
-#: lib/libalpm/add.c:719
+#: lib/libalpm/add.c:735
#, c-format
msgid "error: could not extract %s (%s)"
msgstr ""
-#: lib/libalpm/add.c:729
+#: lib/libalpm/add.c:745
msgid "appending backup entry"
msgstr ""
-#: lib/libalpm/add.c:760 lib/libalpm/add.c:762
+#: lib/libalpm/add.c:776 lib/libalpm/add.c:778
#, c-format
msgid "errors occurred while %s %s"
msgstr ""
-#: lib/libalpm/add.c:761 lib/libalpm/add.c:763
+#: lib/libalpm/add.c:777 lib/libalpm/add.c:779
msgid "upgrading"
msgstr ""
-#: lib/libalpm/add.c:761 lib/libalpm/add.c:763
+#: lib/libalpm/add.c:777 lib/libalpm/add.c:779
msgid "installing"
msgstr ""
-#: lib/libalpm/add.c:784 lib/libalpm/add.c:840
+#: lib/libalpm/add.c:800 lib/libalpm/add.c:856
#, c-format
msgid "adding '%s' in requiredby field for '%s'"
msgstr ""
-#: lib/libalpm/add.c:795 lib/libalpm/remove.c:293
+#: lib/libalpm/add.c:811 lib/libalpm/remove.c:334
msgid "updating database"
msgstr ""
-#: lib/libalpm/add.c:796
+#: lib/libalpm/add.c:812
#, c-format
msgid "adding database entry '%s'"
msgstr ""
-#: lib/libalpm/add.c:798
+#: lib/libalpm/add.c:814
#, c-format
msgid "could not update database entry %s-%s"
msgstr ""
-#: lib/libalpm/add.c:800
+#: lib/libalpm/add.c:816
#, c-format
msgid "error updating database for %s-%s!"
msgstr ""
-#: lib/libalpm/add.c:804
+#: lib/libalpm/add.c:820
#, c-format
msgid "could not add entry '%s' in cache"
msgstr ""
-#: lib/libalpm/add.c:810 lib/libalpm/remove.c:303
+#: lib/libalpm/add.c:826 lib/libalpm/remove.c:344
msgid "updating dependency packages 'requiredby' fields"
msgstr ""
-#: lib/libalpm/add.c:832
+#: lib/libalpm/add.c:848
#, c-format
msgid "could not find dependency '%s'"
msgstr ""
-#: lib/libalpm/add.c:843 lib/libalpm/remove.c:345
+#: lib/libalpm/add.c:859 lib/libalpm/remove.c:386
#, c-format
msgid "could not update 'requiredby' database entry %s-%s"
msgstr ""
-#: lib/libalpm/add.c:870 lib/libalpm/remove.c:358 lib/libalpm/sync.c:1046
+#: lib/libalpm/add.c:885 lib/libalpm/remove.c:399 lib/libalpm/sync.c:1045
#, c-format
msgid "running \"ldconfig -r %s\""
msgstr ""
@@ -362,185 +362,170 @@
msgid "md5sums do not match for package %s-%s"
msgstr ""
-#: lib/libalpm/alpm.c:791
+#: lib/libalpm/alpm.c:790
#, c-format
msgid "could not remove lock file %s"
msgstr ""
-#: lib/libalpm/alpm.c:792
+#: lib/libalpm/alpm.c:791
#, c-format
msgid "warning: could not remove lock file %s"
msgstr ""
-#: lib/libalpm/alpm.c:929
+#: lib/libalpm/alpm.c:926
#, c-format
msgid "config: new section '%s'"
msgstr ""
-#: lib/libalpm/alpm.c:958
+#: lib/libalpm/alpm.c:955
msgid "config: nopassiveftp"
msgstr ""
-#: lib/libalpm/alpm.c:961
+#: lib/libalpm/alpm.c:958
msgid "config: usesyslog"
msgstr ""
-#: lib/libalpm/alpm.c:964
+#: lib/libalpm/alpm.c:961
msgid "config: chomp"
msgstr ""
-#: lib/libalpm/alpm.c:967
+#: lib/libalpm/alpm.c:964
msgid "config: usecolor"
msgstr ""
-#: lib/libalpm/alpm.c:976
+#: lib/libalpm/alpm.c:973
#, c-format
msgid "config: including %s"
msgstr ""
-#: lib/libalpm/alpm.c:986 lib/libalpm/alpm.c:991
+#: lib/libalpm/alpm.c:983 lib/libalpm/alpm.c:988
#, c-format
msgid "config: noupgrade: %s"
msgstr ""
-#: lib/libalpm/alpm.c:999 lib/libalpm/alpm.c:1004
+#: lib/libalpm/alpm.c:996 lib/libalpm/alpm.c:1001
#, c-format
msgid "config: noextract: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1012 lib/libalpm/alpm.c:1017
+#: lib/libalpm/alpm.c:1009 lib/libalpm/alpm.c:1014
#, c-format
msgid "config: ignorepkg: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1025 lib/libalpm/alpm.c:1030
+#: lib/libalpm/alpm.c:1022 lib/libalpm/alpm.c:1027
#, c-format
msgid "config: holdpkg: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1037
+#: lib/libalpm/alpm.c:1034
#, c-format
msgid "config: dbpath: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1044
+#: lib/libalpm/alpm.c:1041
#, c-format
msgid "config: cachedir: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1047
+#: lib/libalpm/alpm.c:1044
#, c-format
msgid "config: logfile: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1050
+#: lib/libalpm/alpm.c:1047
#, c-format
msgid "config: xfercommand: %s"
msgstr ""
-#: lib/libalpm/alpm.c:1055
+#: lib/libalpm/alpm.c:1052
#, c-format
msgid "config: upgradedelay: %d"
msgstr ""
-#: lib/libalpm/alpm.c:1094 lib/libalpm/sync.c:129 lib/libalpm/sync.c:197
+#: lib/libalpm/alpm.c:1091 lib/libalpm/sync.c:129 lib/libalpm/sync.c:197
msgid "checking for package replacements"
msgstr ""
-#: lib/libalpm/alpm.c:1103 lib/libalpm/sync.c:138
+#: lib/libalpm/alpm.c:1100 lib/libalpm/sync.c:138
#, c-format
msgid "checking replacement '%s' for package '%s'"
msgstr ""
-#: lib/libalpm/alpm.c:1105 lib/libalpm/sync.c:140
+#: lib/libalpm/alpm.c:1102 lib/libalpm/sync.c:140
#, c-format
msgid "%s-%s: ignoring package upgrade (to be replaced by %s-%s)"
msgstr ""
-#: lib/libalpm/alpm.c:1139 lib/libalpm/sync.c:174
+#: lib/libalpm/alpm.c:1136 lib/libalpm/sync.c:174
#, c-format
msgid "%s-%s elected for upgrade (to be replaced by %s-%s)"
msgstr ""
-#: lib/libalpm/alpm.c:1161 lib/libalpm/sync.c:212
+#: lib/libalpm/alpm.c:1157 lib/libalpm/sync.c:211
#, c-format
msgid "'%s' not found in sync db -- skipping"
msgstr ""
-#: lib/libalpm/alpm.c:1175 lib/libalpm/sync.c:226 lib/libalpm/sync.c:502
+#: lib/libalpm/alpm.c:1171 lib/libalpm/sync.c:225 lib/libalpm/sync.c:501
#, c-format
msgid "'%s' is already elected for removal -- skipping"
msgstr ""
-#: lib/libalpm/alpm.c:1185 lib/libalpm/package.c:144
-#, c-format
-msgid "%s: local (%s) is newer than %s (%s)"
-msgstr ""
-
-#: lib/libalpm/alpm.c:1191 lib/libalpm/package.c:149
-#, c-format
-msgid "%s-%s: ignoring package upgrade (%s)"
-msgstr ""
-
-#: lib/libalpm/alpm.c:1195 lib/libalpm/package.c:154
-#, c-format
-msgid "%s-%s: delaying upgrade of package (%s)"
-msgstr ""
-
-#: lib/libalpm/alpm.c:1199 lib/libalpm/sync.c:233
+#: lib/libalpm/alpm.c:1177 lib/libalpm/sync.c:232
#, c-format
msgid "%s-%s elected for upgrade (%s => %s)"
msgstr ""
-#: lib/libalpm/be_files.c:59
+#: lib/libalpm/be_files.c:58
#, c-format
msgid "unpacking database '%s'"
msgstr ""
-#: lib/libalpm/be_files.c:183
+#: lib/libalpm/be_files.c:182
#, c-format
msgid "invalid name for dabatase entry '%s'"
msgstr ""
-#: lib/libalpm/be_files.c:211
+#: lib/libalpm/be_files.c:210
msgid "invalid package entry provided to _alpm_db_read, skipping"
msgstr ""
-#: lib/libalpm/be_files.c:216
+#: lib/libalpm/be_files.c:215
#, c-format
msgid ""
"request to read database info for a file-based package '%s', skipping..."
msgstr ""
-#: lib/libalpm/be_files.c:224
+#: lib/libalpm/be_files.c:223
#, c-format
msgid "loading package data for %s : level=%d"
msgstr ""
-#: lib/libalpm/be_files.c:232
+#: lib/libalpm/be_files.c:231
#, c-format
msgid "cannot find '%s-%s' in db '%s'"
msgstr ""
-#: lib/libalpm/be_files.c:240 lib/libalpm/be_files.c:384
-#: lib/libalpm/be_files.c:407 lib/libalpm/be_files.c:495
-#: lib/libalpm/be_files.c:581 lib/libalpm/be_files.c:608
-#: lib/libalpm/package.c:185
+#: lib/libalpm/be_files.c:239 lib/libalpm/be_files.c:383
+#: lib/libalpm/be_files.c:406 lib/libalpm/be_files.c:494
+#: lib/libalpm/be_files.c:580 lib/libalpm/be_files.c:607
+#: lib/libalpm/package.c:194
#, c-format
msgid "could not open file %s: %s"
msgstr ""
-#: lib/libalpm/be_files.c:492
+#: lib/libalpm/be_files.c:491
#, c-format
msgid "writing %s-%s DESC information back to db"
msgstr ""
-#: lib/libalpm/be_files.c:578
+#: lib/libalpm/be_files.c:577
#, c-format
msgid "writing %s-%s FILES information back to db"
msgstr ""
-#: lib/libalpm/be_files.c:605
+#: lib/libalpm/be_files.c:604
#, c-format
msgid "writing %s-%s DEPENDS information back to db"
msgstr ""
@@ -607,8 +592,8 @@
#: lib/libalpm/conflict.c:250 lib/libalpm/conflict.c:350 lib/libalpm/deps.c:57
#: lib/libalpm/deps.c:593 lib/libalpm/deps.c:633 lib/libalpm/group.c:43
-#: lib/libalpm/handle.c:49 lib/libalpm/package.c:74 lib/libalpm/sync.c:65
-#: lib/libalpm/sync.c:607 lib/libalpm/sync.c:623 lib/libalpm/sync.c:719
+#: lib/libalpm/handle.c:49 lib/libalpm/package.c:78 lib/libalpm/sync.c:65
+#: lib/libalpm/sync.c:606 lib/libalpm/sync.c:622 lib/libalpm/sync.c:718
#: lib/libalpm/trans.c:49 lib/libalpm/util.c:599 lib/libalpm/util.c:606
#, c-format
msgid "malloc failure: could not allocate %d bytes"
@@ -755,11 +740,11 @@
msgstr ""
#: lib/libalpm/error.c:40
-msgid "wrong or NULL argument passed"
+msgid "could not find or read file"
msgstr ""
#: lib/libalpm/error.c:42
-msgid "could not find or read file"
+msgid "wrong or NULL argument passed"
msgstr ""
#: lib/libalpm/error.c:45
@@ -802,135 +787,147 @@
msgid "could not remove database entry"
msgstr ""
-#: lib/libalpm/error.c:71
-msgid "could not set parameter"
+#: lib/libalpm/error.c:67
+msgid "invalid url for server"
msgstr ""
-#: lib/libalpm/error.c:74 lib/libalpm/error.c:80
-msgid "transaction not initialized"
+#: lib/libalpm/error.c:74
+msgid "could not set parameter"
msgstr ""
-#: lib/libalpm/error.c:76
+#: lib/libalpm/error.c:77
msgid "transaction already initialized"
msgstr ""
-#: lib/libalpm/error.c:78
+#: lib/libalpm/error.c:79 lib/libalpm/error.c:83
+msgid "transaction not initialized"
+msgstr ""
+
+#: lib/libalpm/error.c:81
msgid "duplicate target"
msgstr ""
-#: lib/libalpm/error.c:82
+#: lib/libalpm/error.c:85
msgid "transaction not prepared"
msgstr ""
-#: lib/libalpm/error.c:84
+#: lib/libalpm/error.c:87
msgid "transaction aborted"
msgstr ""
-#: lib/libalpm/error.c:86
+#: lib/libalpm/error.c:89
msgid "operation not compatible with the transaction type"
msgstr ""
-#: lib/libalpm/error.c:89
+#: lib/libalpm/error.c:91 lib/libalpm/sync.c:984
+msgid "could not commit transaction"
+msgstr ""
+
+#: lib/libalpm/error.c:93
+msgid "could not download all files"
+msgstr ""
+
+#: lib/libalpm/error.c:96
msgid "could not find or read package"
msgstr ""
-#: lib/libalpm/error.c:91
+#: lib/libalpm/error.c:98
msgid "invalid or corrupted package"
msgstr ""
-#: lib/libalpm/error.c:93
+#: lib/libalpm/error.c:100
msgid "cannot open package file"
msgstr ""
-#: lib/libalpm/error.c:95
+#: lib/libalpm/error.c:102
msgid "cannot load package data"
msgstr ""
-#: lib/libalpm/error.c:97
+#: lib/libalpm/error.c:104
msgid "package already installed"
msgstr ""
-#: lib/libalpm/error.c:99
+#: lib/libalpm/error.c:106
msgid "package not installed or lesser version"
msgstr ""
-#: lib/libalpm/error.c:101
+#: lib/libalpm/error.c:108
+msgid "cannot remove all files for package"
+msgstr ""
+
+#: lib/libalpm/error.c:110
msgid "package name is not valid"
msgstr ""
-#: lib/libalpm/error.c:103
+#: lib/libalpm/error.c:112
msgid "corrupted package"
msgstr ""
-#: lib/libalpm/error.c:105
+#: lib/libalpm/error.c:114
msgid "no such repository"
msgstr ""
-#: lib/libalpm/error.c:108
+#: lib/libalpm/error.c:117
msgid "group not found"
msgstr ""
-#: lib/libalpm/error.c:111
+#: lib/libalpm/error.c:120
msgid "could not satisfy dependencies"
msgstr ""
-#: lib/libalpm/error.c:113
+#: lib/libalpm/error.c:122
msgid "conflicting dependencies"
msgstr ""
-#: lib/libalpm/error.c:115
+#: lib/libalpm/error.c:124
msgid "conflicting files"
msgstr ""
-#: lib/libalpm/error.c:118
-msgid "user aborted"
+#: lib/libalpm/error.c:127
+msgid "user aborted the operation"
msgstr ""
-#: lib/libalpm/error.c:120
-msgid "libarchive error"
+#: lib/libalpm/error.c:129
+msgid "internal error"
msgstr ""
-#: lib/libalpm/error.c:122
-msgid "internal error"
+#: lib/libalpm/error.c:131
+msgid "libarchive error"
msgstr ""
-#: lib/libalpm/error.c:124
-msgid "not enough space"
+#: lib/libalpm/error.c:133
+msgid "not enough space on disk"
msgstr ""
-#: lib/libalpm/error.c:126
+#: lib/libalpm/error.c:136
msgid "not confirmed"
msgstr ""
-#: lib/libalpm/error.c:129
-msgid "bad section name"
+#: lib/libalpm/error.c:139
+msgid "bad configuration section name"
msgstr ""
-#: lib/libalpm/error.c:131
-msgid "'local' is reserved and cannot be used as a package tree"
+#: lib/libalpm/error.c:141
+msgid "'local' is reserved and cannot be used as a repository name"
msgstr ""
-#: lib/libalpm/error.c:133
-msgid "syntax error"
+#: lib/libalpm/error.c:143
+msgid "syntax error in config file"
msgstr ""
-#: lib/libalpm/error.c:135
+#: lib/libalpm/error.c:145
msgid "all directives must belong to a section"
msgstr ""
-#: lib/libalpm/error.c:137
+#: lib/libalpm/error.c:147
msgid "invalid regular expression"
msgstr ""
-#: lib/libalpm/error.c:139
+#: lib/libalpm/error.c:150
msgid "connection to remote host failed"
msgstr ""
-#: lib/libalpm/error.c:141
-msgid "forking process failed"
-msgstr ""
-
-#: lib/libalpm/error.c:143
+#: lib/libalpm/error.c:153
msgid "unexpected error"
msgstr ""
@@ -939,40 +936,65 @@
msgid "%s can't be opened\n"
msgstr ""
-#: lib/libalpm/package.c:202 lib/libalpm/package.c:262
+#: lib/libalpm/package.c:146
+#, c-format
+msgid "%s: forcing upgrade to version %s"
+msgstr ""
+
+#: lib/libalpm/package.c:150
+#, c-format
+msgid "%s: local (%s) is newer than %s (%s)"
+msgstr ""
+
+#: lib/libalpm/package.c:155
+#, c-format
+msgid "%s-%s: ignoring package upgrade (%s)"
+msgstr ""
+
+#: lib/libalpm/package.c:160
+#, c-format
+msgid "%s-%s: delaying upgrade of package (%s)"
+msgstr ""
+
+#: lib/libalpm/package.c:165
+#, c-format
+msgid "compare versions for %s: %s vs %s, result=%d"
+msgstr ""
+
+#: lib/libalpm/package.c:208 lib/libalpm/package.c:263
#, c-format
msgid "%s: syntax error in description file line %d"
msgstr ""
-#: lib/libalpm/package.c:331
+#: lib/libalpm/package.c:337
msgid "could not parse the package description file"
msgstr ""
-#: lib/libalpm/package.c:335
+#: lib/libalpm/package.c:341
#, c-format
msgid "missing package name in %s"
msgstr ""
-#: lib/libalpm/package.c:339
+#: lib/libalpm/package.c:345
#, c-format
msgid "missing package version in %s"
msgstr ""
-#: lib/libalpm/package.c:374
+#: lib/libalpm/package.c:380
#, c-format
msgid "could not remove tempfile %s"
msgstr ""
-#: lib/libalpm/package.c:387 lib/libalpm/package.c:394
+#: lib/libalpm/package.c:393 lib/libalpm/package.c:400
#, c-format
msgid "error while reading package: %s"
msgstr ""
-#: lib/libalpm/package.c:400
+#: lib/libalpm/package.c:406
msgid "missing package metadata"
msgstr ""
-#: lib/libalpm/package.c:407
+#: lib/libalpm/package.c:413
#, c-format
msgid "missing package filelist in %s, generating one"
msgstr ""
@@ -1001,71 +1023,81 @@
msgid "finding removable dependencies"
msgstr ""
-#: lib/libalpm/remove.c:193
+#: lib/libalpm/remove.c:186
+#, c-format
+msgid "cannot remove file '%s': %s"
+msgstr ""
+
+#: lib/libalpm/remove.c:226
#, c-format
msgid "file %s does not exist"
msgstr ""
-#: lib/libalpm/remove.c:199
+#: lib/libalpm/remove.c:232
#, c-format
msgid "keeping directory %s"
msgstr ""
-#: lib/libalpm/remove.c:201
+#: lib/libalpm/remove.c:234
#, c-format
msgid "removing directory %s"
msgstr ""
-#: lib/libalpm/remove.c:215
+#: lib/libalpm/remove.c:248
#, c-format
msgid "skipping removal of %s as it has moved to another package"
msgstr ""
-#: lib/libalpm/remove.c:227
+#: lib/libalpm/remove.c:260
#, c-format
msgid "%s saved as %s"
msgstr ""
-#: lib/libalpm/remove.c:231
+#: lib/libalpm/remove.c:264
#, c-format
msgid "unlinking %s"
msgstr ""
-#: lib/libalpm/remove.c:237
+#: lib/libalpm/remove.c:271
#, c-format
msgid "cannot remove file %s: %s"
msgstr ""
-#: lib/libalpm/remove.c:265
+#: lib/libalpm/remove.c:299
#, c-format
msgid "removing package %s-%s"
msgstr ""
-#: lib/libalpm/remove.c:276
+#: lib/libalpm/remove.c:311
+#, c-format
+msgid "not removing package '%s', can't remove all files"
+msgstr ""
+
+#: lib/libalpm/remove.c:317
msgid "removing files"
msgstr ""
-#: lib/libalpm/remove.c:294
+#: lib/libalpm/remove.c:335
#, c-format
msgid "removing database entry '%s'"
msgstr ""
-#: lib/libalpm/remove.c:296
+#: lib/libalpm/remove.c:337
#, c-format
msgid "could not remove database entry %s-%s"
msgstr ""
-#: lib/libalpm/remove.c:299
+#: lib/libalpm/remove.c:340
#, c-format
msgid "could not remove entry '%s' from cache"
msgstr ""
-#: lib/libalpm/remove.c:333
+#: lib/libalpm/remove.c:374
#, c-format
msgid "could not find dependency '%s' for removal"
msgstr ""
-#: lib/libalpm/remove.c:343
+#: lib/libalpm/remove.c:384
#, c-format
msgid "updating 'requiredby' field for package '%s'"
msgstr ""
@@ -1074,194 +1106,190 @@
msgid "checking for package upgrades"
msgstr ""
-#: lib/libalpm/sync.c:278
+#: lib/libalpm/sync.c:277
#, c-format
msgid "searching for target in repo '%s'"
msgstr ""
-#: lib/libalpm/sync.c:287 lib/libalpm/sync.c:310
+#: lib/libalpm/sync.c:286 lib/libalpm/sync.c:309
#, c-format
msgid "target '%s' not found -- looking for provisions"
msgstr ""
-#: lib/libalpm/sync.c:292 lib/libalpm/sync.c:315
+#: lib/libalpm/sync.c:291 lib/libalpm/sync.c:314
#, c-format
msgid "found '%s' as a provision for '%s'"
msgstr ""
-#: lib/libalpm/sync.c:299
+#: lib/libalpm/sync.c:298
#, c-format
msgid "repository '%s' not found"
msgstr ""
-#: lib/libalpm/sync.c:333
+#: lib/libalpm/sync.c:332
#, c-format
msgid "%s-%s is up to date -- skipping"
msgstr ""
-#: lib/libalpm/sync.c:353
+#: lib/libalpm/sync.c:352
#, c-format
msgid "adding target '%s' to the transaction set"
msgstr ""
-#: lib/libalpm/sync.c:401
+#: lib/libalpm/sync.c:400
msgid "resolving target's dependencies"
msgstr ""
-#: lib/libalpm/sync.c:421
+#: lib/libalpm/sync.c:420
#, c-format
msgid "adding package %s-%s to the transaction targets"
msgstr ""
-#: lib/libalpm/sync.c:456
+#: lib/libalpm/sync.c:455
msgid "looking for unresolvable dependencies"
msgstr ""
-#: lib/libalpm/sync.c:487
+#: lib/libalpm/sync.c:486
#, c-format
msgid "package '%s' is conflicting with '%s'"
msgstr ""
-#: lib/libalpm/sync.c:509
+#: lib/libalpm/sync.c:508
#, c-format
msgid "'%s' not found in transaction set -- skipping"
msgstr ""
-#: lib/libalpm/sync.c:520
+#: lib/libalpm/sync.c:519
#, c-format
msgid "package '%s' provides its own conflict"
msgstr ""
-#: lib/libalpm/sync.c:543 lib/libalpm/sync.c:548
+#: lib/libalpm/sync.c:542 lib/libalpm/sync.c:547
#, c-format
msgid "'%s' is in the target list -- keeping it"
msgstr ""
-#: lib/libalpm/sync.c:560 lib/libalpm/sync.c:597
+#: lib/libalpm/sync.c:559 lib/libalpm/sync.c:596
#, c-format
msgid "removing '%s' from target list"
msgstr ""
-#: lib/libalpm/sync.c:569
+#: lib/libalpm/sync.c:568
#, c-format
msgid "resolving package '%s' conflict"
msgstr ""
-#: lib/libalpm/sync.c:592
+#: lib/libalpm/sync.c:591
#, c-format
msgid "electing '%s' for removal"
msgstr ""
-#: lib/libalpm/sync.c:603 lib/libalpm/sync.c:619
+#: lib/libalpm/sync.c:602 lib/libalpm/sync.c:618
msgid "unresolvable package conflicts detected"
msgstr ""
-#: lib/libalpm/sync.c:671
+#: lib/libalpm/sync.c:670
msgid "checking dependencies of packages designated for removal"
msgstr ""
-#: lib/libalpm/sync.c:685
+#: lib/libalpm/sync.c:684
msgid "something has gone horribly wrong"
msgstr ""
-#: lib/libalpm/sync.c:704
+#: lib/libalpm/sync.c:703
#, c-format
msgid "found '%s' as a provision for '%s' -- conflict aborted"
msgstr ""
-#: lib/libalpm/sync.c:800
+#: lib/libalpm/sync.c:799
#, c-format
msgid "%s is already in the cache\n"
msgstr ""
-#: lib/libalpm/sync.c:811
+#: lib/libalpm/sync.c:810
#, c-format
msgid "no %s cache exists. creating...\n"
msgstr ""
-#: lib/libalpm/sync.c:812
+#: lib/libalpm/sync.c:811
#, c-format
msgid "warning: no %s cache exists. creating..."
msgstr ""
-#: lib/libalpm/sync.c:817
+#: lib/libalpm/sync.c:816
msgid "couldn't create package cache, using /tmp instead\n"
msgstr ""
-#: lib/libalpm/sync.c:818
+#: lib/libalpm/sync.c:817
msgid "warning: couldn't create package cache, using /tmp instead"
msgstr ""
-#: lib/libalpm/sync.c:825
+#: lib/libalpm/sync.c:824
#, c-format
msgid "failed to retrieve some files from %s\n"
msgstr ""
-#: lib/libalpm/sync.c:854 lib/libalpm/sync.c:866
+#: lib/libalpm/sync.c:853 lib/libalpm/sync.c:865
#, c-format
msgid "can't get md5 or sha1 checksum for package %s\n"
msgstr ""
-#: lib/libalpm/sync.c:885
+#: lib/libalpm/sync.c:884
#, c-format
msgid "archive %s was corrupted (bad MD5 or SHA1 checksum)\n"
msgstr ""
-#: lib/libalpm/sync.c:887
+#: lib/libalpm/sync.c:886
#, c-format
msgid "archive %s is corrupted (bad MD5 or SHA1 checksum)\n"
msgstr ""
-#: lib/libalpm/sync.c:908
+#: lib/libalpm/sync.c:907
msgid "could not create removal transaction"
msgstr ""
-#: lib/libalpm/sync.c:914
+#: lib/libalpm/sync.c:913
msgid "could not initialize the removal transaction"
msgstr ""
-#: lib/libalpm/sync.c:934
+#: lib/libalpm/sync.c:933
msgid "removing conflicting and to-be-replaced packages"
msgstr ""
-#: lib/libalpm/sync.c:936
+#: lib/libalpm/sync.c:935
msgid "could not prepare removal transaction"
msgstr ""
-#: lib/libalpm/sync.c:942
+#: lib/libalpm/sync.c:941
msgid "could not commit removal transaction"
msgstr ""
-#: lib/libalpm/sync.c:949
+#: lib/libalpm/sync.c:948
msgid "installing packages"
msgstr ""
-#: lib/libalpm/sync.c:952
+#: lib/libalpm/sync.c:951
msgid "could not create transaction"
msgstr ""
-#: lib/libalpm/sync.c:957
+#: lib/libalpm/sync.c:956
msgid "could not initialize transaction"
msgstr ""
-#: lib/libalpm/sync.c:980
+#: lib/libalpm/sync.c:979
msgid "could not prepare transaction"
msgstr ""
-#: lib/libalpm/sync.c:985
-msgid "could not commit transaction"
-msgstr ""
-
-#: lib/libalpm/sync.c:992
+#: lib/libalpm/sync.c:991
msgid "updating database for replaced packages' dependencies"
msgstr ""
-#: lib/libalpm/sync.c:1021
+#: lib/libalpm/sync.c:1020
#, c-format
msgid "could not update requiredby for database entry %s-%s"
msgstr ""
-#: lib/libalpm/sync.c:1030
+#: lib/libalpm/sync.c:1029
#, c-format
msgid "could not update new database entry %s-%s"
msgstr ""
Index: pacman-lib/src/pacman/package.c
diff -u pacman-lib/src/pacman/package.c:1.28 pacman-lib/src/pacman/package.c:1.29
--- pacman-lib/src/pacman/package.c:1.28 Wed Feb 7 20:12:48 2007
+++ pacman-lib/src/pacman/package.c Mon Feb 12 10:39:29 2007
@@ -41,7 +41,7 @@
*/
void dump_pkg_full(pmpkg_t *pkg, int level)
{
- const char *bdate, *type, *idate, *reason;
+ const char *bdate, *type, *idate, *reason, *descheader;
if(pkg == NULL) {
return;
@@ -64,6 +64,8 @@
break;
}
+ descheader = _("Description : ");
+
/* actual output */
printf(_("Name : %s\n"), (char *)alpm_pkg_get_name(pkg));
printf(_("Version : %s\n"), (char *)alpm_pkg_get_version(pkg));
@@ -90,8 +92,9 @@
printf(_("Install Script : %s\n"),
alpm_pkg_has_scriptlet(pkg) ? _("Yes") : _("No"));
- printf(_("Description : "));
- indentprint(alpm_pkg_get_desc(pkg), 17);
+ /* printed using a variable to make i18n safe */
+ printf("%s", descheader);
+ indentprint(alpm_pkg_get_desc(pkg), strlen(descheader));
printf("\n");
/* Print additional package info if info flag passed more than once */
@@ -107,11 +110,13 @@
*/
void dump_pkg_sync(pmpkg_t *pkg, const char *treename)
{
- char *md5sum, *sha1sum;
+ char *descheader, *md5sum, *sha1sum;
if(pkg == NULL) {
return;
}
+ descheader = _("Description : ");
+
md5sum = (char *)alpm_pkg_get_md5sum(pkg);
sha1sum = (char *)alpm_pkg_get_sha1sum(pkg);
@@ -127,8 +132,9 @@
printf(_("Download Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0);
printf(_("Installed Size : %6.2f K\n"), (float)alpm_pkg_get_isize(pkg) / 1024.0);
- printf(_("Description : "));
- indentprint(alpm_pkg_get_desc(pkg), 17);
+ /* printed using a variable to make i18n safe */
+ printf("%s", descheader);
+ indentprint(alpm_pkg_get_desc(pkg), strlen(descheader));
printf("\n");
if (md5sum != NULL && md5sum[0] != '\0') {
Index: pacman-lib/src/pacman/po/pacman.pot
diff -u pacman-lib/src/pacman/po/pacman.pot:1.3 pacman-lib/src/pacman/po/pacman.pot:1.4
--- pacman-lib/src/pacman/po/pacman.pot:1.3 Tue Feb 6 21:22:53 2007
+++ pacman-lib/src/pacman/po/pacman.pot Mon Feb 12 10:39:29 2007
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pacman-dev@archlinux.org\n"
-"POT-Creation-Date: 2007-02-06 20:43-0500\n"
+"POT-Creation-Date: 2007-02-12 10:17-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -16,8 +16,8 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: src/pacman/add.c:69 src/pacman/deptest.c:69 src/pacman/remove.c:79
-#: src/pacman/sync.c:442 src/pacman/sync.c:491
+#: src/pacman/add.c:69 src/pacman/deptest.c:57 src/pacman/remove.c:79
+#: src/pacman/sync.c:438 src/pacman/sync.c:487
#, c-format
msgid ""
" if you're sure a package manager is not already running,\n"
@@ -33,13 +33,14 @@
msgid "failed to add target '%s' (%s)"
msgstr ""
-#: src/pacman/add.c:85 src/pacman/sync.c:194 src/pacman/trans.c:86
-#: src/pacman/trans.c:93 src/pacman/trans.c:97 src/pacman/trans.c:107
-#: src/pacman/trans.c:121 src/pacman/trans.c:135 src/pacman/trans.c:147
+#: src/pacman/add.c:85 src/pacman/sync.c:194 src/pacman/trans.c:70
+#: src/pacman/trans.c:77 src/pacman/trans.c:81 src/pacman/trans.c:91
+#: src/pacman/trans.c:105 src/pacman/trans.c:119 src/pacman/trans.c:131
+#: src/pacman/trans.c:142
msgid "done.\n"
msgstr ""
-#: src/pacman/add.c:92 src/pacman/remove.c:98 src/pacman/sync.c:576
+#: src/pacman/add.c:92 src/pacman/remove.c:98 src/pacman/sync.c:572
#, c-format
msgid "failed to prepare transaction (%s)\n"
msgstr ""
@@ -49,68 +50,68 @@
msgid ":: %s: requires %s"
msgstr ""
-#: src/pacman/add.c:118 src/pacman/sync.c:605
+#: src/pacman/add.c:118 src/pacman/sync.c:601
#, c-format
msgid ":: %s: conflicts with %s"
msgstr ""
-#: src/pacman/add.c:127 src/pacman/sync.c:669
+#: src/pacman/add.c:127 src/pacman/sync.c:665
#, c-format
msgid "%s%s exists in \"%s\" (target) and \"%s\" (target)\n"
msgstr ""
-#: src/pacman/add.c:134 src/pacman/sync.c:676
+#: src/pacman/add.c:134 src/pacman/sync.c:672
#, c-format
msgid "%s: %s%s exists in filesystem\n"
msgstr ""
-#: src/pacman/add.c:141 src/pacman/sync.c:683 src/pacman/sync.c:689
+#: src/pacman/add.c:141 src/pacman/sync.c:679 src/pacman/sync.c:685
msgid ""
"\n"
"errors occurred, no packages were upgraded.\n"
msgstr ""
-#: src/pacman/add.c:151 src/pacman/sync.c:612
+#: src/pacman/add.c:151 src/pacman/sync.c:608
#, c-format
msgid ":: %.1f MB required, have %.1f MB"
msgstr ""
-#: src/pacman/add.c:164 src/pacman/remove.c:138 src/pacman/sync.c:662
+#: src/pacman/add.c:164 src/pacman/remove.c:138 src/pacman/sync.c:658
#, c-format
msgid "failed to commit transaction (%s)\n"
msgstr ""
-#: src/pacman/add.c:174 src/pacman/remove.c:148 src/pacman/sync.c:484
-#: src/pacman/sync.c:705
+#: src/pacman/add.c:174 src/pacman/remove.c:148 src/pacman/sync.c:480
+#: src/pacman/sync.c:701
#, c-format
msgid "failed to release transaction (%s)\n"
msgstr ""
-#: src/pacman/deptest.c:82
+#: src/pacman/deptest.c:70
msgid "memory allocation failure\n"
msgstr ""
-#: src/pacman/deptest.c:93
+#: src/pacman/deptest.c:81
#, c-format
msgid "add target %s\n"
msgstr ""
-#: src/pacman/deptest.c:96
+#: src/pacman/deptest.c:84
#, c-format
msgid "could not add target (%s)\n"
msgstr ""
-#: src/pacman/deptest.c:115
+#: src/pacman/deptest.c:103
#, c-format
msgid "requires: %s"
msgstr ""
-#: src/pacman/deptest.c:139
+#: src/pacman/deptest.c:127
#, c-format
msgid "conflict: %s"
msgstr ""
-#: src/pacman/deptest.c:153 src/pacman/deptest.c:171
+#: src/pacman/deptest.c:141 src/pacman/deptest.c:159
#, c-format
msgid "could not release transaction (%s)"
msgstr ""
@@ -135,11 +136,11 @@
msgid "function"
msgstr ""
-#: src/pacman/log.c:199
+#: src/pacman/log.c:201
msgid "Y"
msgstr ""
-#: src/pacman/log.c:199
+#: src/pacman/log.c:201
msgid "YES"
msgstr ""
@@ -163,12 +164,12 @@
msgid "Unknown"
msgstr ""
-#: src/pacman/package.c:68 src/pacman/package.c:118
+#: src/pacman/package.c:68 src/pacman/package.c:119
#, c-format
msgid "Name : %s\n"
msgstr ""
-#: src/pacman/package.c:69 src/pacman/package.c:119
+#: src/pacman/package.c:69 src/pacman/package.c:120
#, c-format
msgid "Version : %s\n"
msgstr ""
@@ -182,19 +183,19 @@
msgid "License :"
msgstr ""
-#: src/pacman/package.c:72 src/pacman/package.c:120
+#: src/pacman/package.c:72 src/pacman/package.c:121
msgid "Groups :"
msgstr ""
-#: src/pacman/package.c:73 src/pacman/package.c:121
+#: src/pacman/package.c:73 src/pacman/package.c:122
msgid "Provides :"
msgstr ""
-#: src/pacman/package.c:74 src/pacman/package.c:122
+#: src/pacman/package.c:74 src/pacman/package.c:123
msgid "Depends On :"
msgstr ""
-#: src/pacman/package.c:75 src/pacman/package.c:123
+#: src/pacman/package.c:75 src/pacman/package.c:124
msgid "Removes :"
msgstr ""
@@ -202,7 +203,7 @@
msgid "Required By :"
msgstr ""
-#: src/pacman/package.c:80 src/pacman/package.c:124
+#: src/pacman/package.c:80 src/pacman/package.c:125
msgid "Conflicts With :"
msgstr ""
@@ -254,61 +255,66 @@
msgid "No"
msgstr ""
-#: src/pacman/package.c:93 src/pacman/package.c:129
+#: src/pacman/package.c:93 src/pacman/package.c:130
#, c-format
msgid "Description : "
msgstr ""
-#: src/pacman/package.c:117
+#: src/pacman/package.c:118
#, c-format
msgid "Repository : %s\n"
msgstr ""
-#: src/pacman/package.c:125
+#: src/pacman/package.c:126
msgid "Replaces :"
msgstr ""
-#: src/pacman/package.c:126
+#: src/pacman/package.c:127
#, c-format
msgid "Download Size : %6.2f K\n"
msgstr ""
-#: src/pacman/package.c:127
+#: src/pacman/package.c:128
#, c-format
msgid "Installed Size : %6.2f K\n"
msgstr ""
-#: src/pacman/package.c:134
+#: src/pacman/package.c:135
#, c-format
msgid "MD5 Sum : %s"
msgstr ""
-#: src/pacman/package.c:137
+#: src/pacman/package.c:138
#, c-format
msgid "SHA1 Sum : %s"
msgstr ""
-#: src/pacman/package.c:168
+#: src/pacman/package.c:149
+#, c-format
+msgid "Backup Files :\n"
+msgstr ""
+
+#: src/pacman/package.c:169
#, c-format
msgid "error calculating checksums for %s\n"
msgstr ""
-#: src/pacman/package.c:181
+#: src/pacman/package.c:182
#, c-format
msgid "MODIFIED\t%s\n"
msgstr ""
-#: src/pacman/package.c:183
+#: src/pacman/package.c:184
#, c-format
msgid "Not Modified\t%s\n"
msgstr ""
-#: src/pacman/package.c:188
+#: src/pacman/package.c:189
#, c-format
msgid "MISSING\t\t%s\n"
msgstr ""
-#: src/pacman/package.c:221
+#: src/pacman/package.c:222
#, c-format
msgid "No changelog available for '%s'.\n"
msgstr ""
@@ -330,27 +336,27 @@
#: src/pacman/pacman.c:91
#, c-format
-msgid " %s {-R --remove} [options] <package>\n"
+msgid " %s {-F --freshen} [options] <file>\n"
msgstr ""
#: src/pacman/pacman.c:92
#, c-format
-msgid " %s {-U --upgrade} [options] <file>\n"
+msgid " %s {-Q --query} [options] [package]\n"
msgstr ""
#: src/pacman/pacman.c:93
#, c-format
-msgid " %s {-F --freshen} [options] <file>\n"
+msgid " %s {-R --remove} [options] <package>\n"
msgstr ""
#: src/pacman/pacman.c:94
#, c-format
-msgid " %s {-Q --query} [options] [package]\n"
+msgid " %s {-S --sync} [options] [package]\n"
msgstr ""
#: src/pacman/pacman.c:95
#, c-format
-msgid " %s {-S --sync} [options] [package]\n"
+msgid " %s {-U --upgrade} [options] <file>\n"
msgstr ""
#: src/pacman/pacman.c:96
@@ -374,12 +380,12 @@
#: src/pacman/pacman.c:101 src/pacman/pacman.c:107 src/pacman/pacman.c:118
#: src/pacman/pacman.c:138
#, c-format
-msgid " -d, --nodeps skip dependency checks\n"
+msgid " -d, --nodeps skip dependency checks\n"
msgstr ""
#: src/pacman/pacman.c:102 src/pacman/pacman.c:119 src/pacman/pacman.c:140
#, c-format
-msgid " -f, --force force install, overwrite conflicting files\n"
+msgid " -f, --force force install, overwrite conflicting files\n"
msgstr ""
#: src/pacman/pacman.c:104
@@ -390,23 +396,24 @@
#: src/pacman/pacman.c:106
#, c-format
msgid ""
-" -c, --cascade remove packages and all packages that depend on them\n"
+" -c, --cascade remove packages and all packages that depend on them\n"
msgstr ""
#: src/pacman/pacman.c:108
#, c-format
-msgid " -k, --dbonly only remove database entry, do not remove files\n"
+msgid ""
+" -k, --dbonly only remove database entry, do not remove files\n"
msgstr ""
#: src/pacman/pacman.c:109
#, c-format
-msgid " -n, --nosave remove configuration files as well\n"
+msgid " -n, --nosave remove configuration files as well\n"
msgstr ""
#: src/pacman/pacman.c:110
#, c-format
msgid ""
-" -s, --recursive remove dependencies also (that won't break packages)\n"
+" -s, --recursive remove dependencies also (that won't break packages)\n"
msgstr ""
#: src/pacman/pacman.c:113
@@ -426,65 +433,65 @@
#: src/pacman/pacman.c:123
#, c-format
-msgid " -c, --changelog view the changelog of a package\n"
+msgid " -c, --changelog view the changelog of a package\n"
msgstr ""
#: src/pacman/pacman.c:124
#, c-format
msgid ""
-" -e, --orphans list all packages installed as dependencies but no "
+" -e, --orphans list all packages installed as dependencies but no "
"longer\n"
msgstr ""
#: src/pacman/pacman.c:125
#, c-format
-msgid " required by any package\n"
+msgid " required by any package\n"
msgstr ""
#: src/pacman/pacman.c:126 src/pacman/pacman.c:141
#, c-format
-msgid " -g, --groups view all members of a package group\n"
+msgid " -g, --groups view all members of a package group\n"
msgstr ""
#: src/pacman/pacman.c:127 src/pacman/pacman.c:142
#, c-format
-msgid " -i, --info view package information\n"
+msgid " -i, --info view package information\n"
msgstr ""
#: src/pacman/pacman.c:128
#, c-format
-msgid " -l, --list list the contents of the queried package\n"
+msgid " -l, --list list the contents of the queried package\n"
msgstr ""
#: src/pacman/pacman.c:129
#, c-format
msgid ""
-" -m, --foreign list all packages that were not found in the sync db"
+" -m, --foreign list all packages that were not found in the sync db"
"(s)\n"
msgstr ""
#: src/pacman/pacman.c:130
#, c-format
-msgid " -o, --owns <file> query the package that owns <file>\n"
+msgid " -o, --owns <file> query the package that owns <file>\n"
msgstr ""
#: src/pacman/pacman.c:131
#, c-format
msgid ""
-" -p, --file query the package file [package] instead of the "
+" -p, --file query the package file [package] instead of the "
"database\n"
msgstr ""
#: src/pacman/pacman.c:132
#, c-format
msgid ""
-" -s, --search search locally-installed packages for matching "
+" -s, --search search locally-installed packages for matching "
"strings\n"
msgstr ""
#: src/pacman/pacman.c:133
#, c-format
-msgid " -u, --upgrades list all packages that can be upgraded\n"
+msgid " -u, --upgrades list all packages that can be upgraded\n"
msgstr ""
#: src/pacman/pacman.c:135
@@ -495,149 +502,163 @@
#: src/pacman/pacman.c:137
#, c-format
msgid ""
-" -c, --clean remove old packages from cache directory (use -cc for "
+" -c, --clean remove old packages from cache directory (use -cc for "
"all)\n"
msgstr ""
#: src/pacman/pacman.c:139
#, c-format
-msgid " -e, --dependsonly install dependencies only\n"
+msgid " -e, --dependsonly install dependencies only\n"
msgstr ""
#: src/pacman/pacman.c:143
#, c-format
msgid ""
-" -p, --print-uris print out URIs for given packages and their "
+" -p, --print-uris print out URIs for given packages and their "
"dependencies\n"
msgstr ""
#: src/pacman/pacman.c:144
#, c-format
-msgid " -s, --search search remote repositories for matching strings\n"
+msgid ""
+" -s, --search search remote repositories for matching strings\n"
msgstr ""
#: src/pacman/pacman.c:145
#, c-format
-msgid " -u, --sysupgrade upgrade all packages that are out of date\n"
+msgid " -u, --sysupgrade upgrade all packages that are out of date\n"
msgstr ""
#: src/pacman/pacman.c:146
#, c-format
msgid ""
-" -w, --downloadonly download packages but do not install/upgrade anything\n"
+" -w, --downloadonly download packages but do not install/upgrade "
+"anything\n"
msgstr ""
#: src/pacman/pacman.c:147
#, c-format
msgid ""
-" -y, --refresh download fresh package databases from the server\n"
+" -y, --refresh download fresh package databases from the server\n"
msgstr ""
#: src/pacman/pacman.c:148
#, c-format
msgid ""
-" --ignore <pkg> ignore a package upgrade (can be used more than once)\n"
+" --ignore <pkg> ignore a package upgrade (can be used more than "
+"once)\n"
msgstr ""
#: src/pacman/pacman.c:150
#, c-format
-msgid " --config <path> set an alternate configuration file\n"
+msgid " --config <path> set an alternate configuration file\n"
msgstr ""
#: src/pacman/pacman.c:151
#, c-format
-msgid " --noconfirm do not ask for anything confirmation\n"
+msgid " --noconfirm do not ask for anything confirmation\n"
msgstr ""
#: src/pacman/pacman.c:152
#, c-format
-msgid " --ask <number> pre-specify answers for questions (see manpage)\n"
+msgid ""
+" --ask <number> pre-specify answers for questions (see manpage)\n"
msgstr ""
#: src/pacman/pacman.c:153
#, c-format
msgid ""
-" --noprogressbar do not show a progress bar when downloading files\n"
+" --noprogressbar do not show a progress bar when downloading files\n"
msgstr ""
#: src/pacman/pacman.c:154
#, c-format
msgid ""
-" --noscriptlet do not execute the install scriptlet if there is any\n"
+" --noscriptlet do not execute the install scriptlet if there is any\n"
msgstr ""
#: src/pacman/pacman.c:155
#, c-format
-msgid " -v, --verbose be verbose\n"
+msgid " -v, --verbose be verbose\n"
msgstr ""
#: src/pacman/pacman.c:156
#, c-format
-msgid " -r, --root <path> set an alternate installation root\n"
+msgid " -r, --root <path> set an alternate installation root\n"
msgstr ""
#: src/pacman/pacman.c:157
#, c-format
-msgid " -b, --dbpath <path> set an alternate database location\n"
+msgid " -b, --dbpath <path> set an alternate database location\n"
msgstr ""
-#: src/pacman/pacman.c:170
+#: src/pacman/pacman.c:158
#, c-format
-msgid " This program may be freely redistributed under\n"
+msgid " --cachedir <dir> set an alternate database location\n"
msgstr ""
#: src/pacman/pacman.c:171
#, c-format
+msgid " This program may be freely redistributed under\n"
+msgstr ""
+
+#: src/pacman/pacman.c:172
+#, c-format
msgid " the terms of the GNU General Public License\n"
msgstr ""
-#: src/pacman/pacman.c:298
+#: src/pacman/pacman.c:299
+#, c-format
+msgid "'%s' is not a valid debug level"
+msgstr ""
+
+#: src/pacman/pacman.c:315
#, c-format
-msgid "error: '%s' is not a valid debug level"
+msgid "'%s' is not a valid cache directory\n"
msgstr ""
-#: src/pacman/pacman.c:334
+#: src/pacman/pacman.c:341
#, c-format
-msgid "error: '%s' is not a valid db path\n"
+msgid "'%s' is not a valid db path\n"
msgstr ""
-#: src/pacman/pacman.c:364
+#: src/pacman/pacman.c:371
#, c-format
-msgid "error: '%s' is not a valid root path\n"
+msgid "'%s' is not a valid root path\n"
msgstr ""
-#: src/pacman/pacman.c:391
+#: src/pacman/pacman.c:398
msgid "only one operation may be used at a time\n"
msgstr ""
-#: src/pacman/pacman.c:454
+#: src/pacman/pacman.c:461
#, c-format
msgid "failed to initilize alpm library (%s)\n"
msgstr ""
-#: src/pacman/pacman.c:487
+#: src/pacman/pacman.c:494
msgid "you cannot perform this operation unless you are root.\n"
msgstr ""
-#: src/pacman/pacman.c:503
+#: src/pacman/pacman.c:510
#, c-format
msgid "failed to parse config (%s)\n"
msgstr ""
-#: src/pacman/pacman.c:513 src/pacman/remove.c:125 src/pacman/util.c:316
+#: src/pacman/pacman.c:520 src/pacman/remove.c:125 src/pacman/util.c:323
msgid "Targets:"
msgstr ""
-#: src/pacman/pacman.c:519
+#: src/pacman/pacman.c:526
#, c-format
msgid "could not register 'local' database (%s)\n"
msgstr ""
-#: src/pacman/pacman.c:526
+#: src/pacman/pacman.c:533
msgid "no targets specified (use -h for help)\n"
msgstr ""
-#: src/pacman/pacman.c:539
+#: src/pacman/pacman.c:546
msgid "no operation specified (use -h for help)\n"
msgstr ""
@@ -655,38 +676,38 @@
msgid "No package owns %s\n"
msgstr ""
-#: src/pacman/query.c:122 src/pacman/sync.c:413
+#: src/pacman/query.c:119 src/pacman/sync.c:409
msgid "no usable package repositories configured.\n"
msgstr ""
-#: src/pacman/query.c:128
+#: src/pacman/query.c:125
msgid "Checking for package upgrades..."
msgstr ""
-#: src/pacman/query.c:135
+#: src/pacman/query.c:132
msgid "no upgrades found"
msgstr ""
-#: src/pacman/query.c:173
+#: src/pacman/query.c:170
#, c-format
msgid "group \"%s\" was not found\n"
msgstr ""
-#: src/pacman/query.c:184
+#: src/pacman/query.c:181
msgid "no package file was specified for --file\n"
msgstr ""
-#: src/pacman/query.c:188
+#: src/pacman/query.c:185
#, c-format
msgid "failed to load package '%s' (%s)\n"
msgstr ""
-#: src/pacman/query.c:226 src/pacman/query.c:263
+#: src/pacman/query.c:223 src/pacman/query.c:255
#, c-format
msgid "package \"%s\" not found\n"
msgstr ""
-#: src/pacman/remove.c:58 src/pacman/sync.c:528
+#: src/pacman/remove.c:58 src/pacman/sync.c:524
#, c-format
msgid ":: group %s:\n"
msgstr ""
@@ -700,7 +721,7 @@
msgid ":: Remove %s from group %s? [Y/n] "
msgstr ""
-#: src/pacman/remove.c:77 src/pacman/sync.c:440 src/pacman/sync.c:489
+#: src/pacman/remove.c:77 src/pacman/sync.c:436 src/pacman/sync.c:485
#, c-format
msgid "failed to init transaction (%s)\n"
msgstr ""
@@ -764,229 +785,221 @@
msgid " %s is up to date\n"
msgstr ""
-#: src/pacman/sync.c:341
+#: src/pacman/sync.c:337
#, c-format
msgid "package \"%s\" was not found.\n"
msgstr ""
-#: src/pacman/sync.c:378
+#: src/pacman/sync.c:374
#, c-format
msgid "repository \"%s\" was not found.\n"
msgstr ""
-#: src/pacman/sync.c:450
+#: src/pacman/sync.c:446
msgid ":: Synchronizing package databases...\n"
msgstr ""
-#: src/pacman/sync.c:451
+#: src/pacman/sync.c:447
msgid "synchronizing package lists"
msgstr ""
-#: src/pacman/sync.c:453
+#: src/pacman/sync.c:449
msgid "failed to synchronize any databases"
msgstr ""
-#: src/pacman/sync.c:459
+#: src/pacman/sync.c:455
msgid ":: Starting full system upgrade...\n"
msgstr ""
-#: src/pacman/sync.c:460
+#: src/pacman/sync.c:456
msgid "starting full system upgrade"
msgstr ""
-#: src/pacman/sync.c:478
+#: src/pacman/sync.c:474
msgid ""
"\n"
":: pacman has detected a newer version of the \"pacman\" package.\n"
msgstr ""
-#: src/pacman/sync.c:479
+#: src/pacman/sync.c:475
msgid ":: It is recommended that you allow pacman to upgrade itself\n"
msgstr ""
-#: src/pacman/sync.c:480
+#: src/pacman/sync.c:476
msgid ":: first, then you can re-run the operation with the newer version.\n"
msgstr ""
-#: src/pacman/sync.c:482
+#: src/pacman/sync.c:478
msgid ":: Upgrade pacman first? [Y/n] "
msgstr ""
-#: src/pacman/sync.c:497
+#: src/pacman/sync.c:493
#, c-format
msgid "pacman: %s\n"
msgstr ""
-#: src/pacman/sync.c:517
+#: src/pacman/sync.c:513
#, c-format
msgid "'%s': %s\n"
msgstr ""
-#: src/pacman/sync.c:532
+#: src/pacman/sync.c:528
msgid ":: Install whole content? [Y/n] "
msgstr ""
-#: src/pacman/sync.c:539
+#: src/pacman/sync.c:535
#, c-format
msgid ":: Install %s from group %s? [Y/n] "
msgstr ""
-#: src/pacman/sync.c:563
+#: src/pacman/sync.c:559
#, c-format
msgid "'%s': not found in sync db\n"
msgstr ""
-#: src/pacman/sync.c:583
+#: src/pacman/sync.c:579
msgid "requires"
msgstr ""
-#: src/pacman/sync.c:583
+#: src/pacman/sync.c:579
msgid "is required by"
msgstr ""
-#: src/pacman/sync.c:625
+#: src/pacman/sync.c:621
msgid "local database is up to date\n"
msgstr ""
-#: src/pacman/sync.c:634
+#: src/pacman/sync.c:630
msgid ""
"\n"
"Beginning download...\n"
msgstr ""
-#: src/pacman/sync.c:638
+#: src/pacman/sync.c:634
msgid "Proceed with download? [Y/n] "
msgstr ""
-#: src/pacman/sync.c:646
+#: src/pacman/sync.c:642
msgid ""
"\n"
"Beginning upgrade process...\n"
msgstr ""
-#: src/pacman/sync.c:650
+#: src/pacman/sync.c:646
msgid "Proceed with installation? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:57
-msgid "] 100% LOCAL "
-msgstr ""
-
-#: src/pacman/trans.c:68
+#: src/pacman/trans.c:52
msgid "checking dependencies... "
msgstr ""
-#: src/pacman/trans.c:72
+#: src/pacman/trans.c:56
msgid "checking for file conflicts... "
msgstr ""
-#: src/pacman/trans.c:76
+#: src/pacman/trans.c:60
msgid "cleaning up... "
msgstr ""
-#: src/pacman/trans.c:79
+#: src/pacman/trans.c:63
msgid "resolving dependencies... "
msgstr ""
-#: src/pacman/trans.c:82
+#: src/pacman/trans.c:66
msgid "looking for inter-conflicts... "
msgstr ""
-#: src/pacman/trans.c:102
+#: src/pacman/trans.c:86
#, c-format
msgid "installing %s... "
msgstr ""
-#: src/pacman/trans.c:109
+#: src/pacman/trans.c:93
#, c-format
msgid "installed %s (%s)"
msgstr ""
-#: src/pacman/trans.c:116
+#: src/pacman/trans.c:100
#, c-format
msgid "removing %s... "
msgstr ""
-#: src/pacman/trans.c:123
+#: src/pacman/trans.c:107
#, c-format
msgid "removed %s (%s)"
msgstr ""
-#: src/pacman/trans.c:130
+#: src/pacman/trans.c:114
#, c-format
msgid "upgrading %s... "
msgstr ""
-#: src/pacman/trans.c:137
+#: src/pacman/trans.c:121
#, c-format
msgid "upgraded %s (%s -> %s)"
msgstr ""
-#: src/pacman/trans.c:144
+#: src/pacman/trans.c:128
msgid "checking package integrity... "
msgstr ""
-#: src/pacman/trans.c:158
-msgid " done.\n"
-msgstr ""
-
-#: src/pacman/trans.c:160
-msgid " failed.\n"
+#: src/pacman/trans.c:144
+msgid "failed.\n"
msgstr ""
-#: src/pacman/trans.c:167
+#: src/pacman/trans.c:151
#, c-format
msgid ":: Retrieving packages from %s...\n"
msgstr ""
-#: src/pacman/trans.c:190
+#: src/pacman/trans.c:171
#, c-format
msgid ":: %s requires %s, but it is in IgnorePkg. Install anyway? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:204
+#: src/pacman/trans.c:185
#, c-format
msgid ":: %s is designated as a HoldPkg. Remove anyway? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:217
+#: src/pacman/trans.c:198
#, c-format
msgid ":: Replace %s with %s/%s? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:232
+#: src/pacman/trans.c:213
#, c-format
msgid ":: %s conflicts with %s. Remove %s? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:248
+#: src/pacman/trans.c:229
#, c-format
msgid ":: %s-%s: local version is newer. Upgrade anyway? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:266
+#: src/pacman/trans.c:247
#, c-format
msgid ":: %s-%s: local version is up to date. Upgrade anyway? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:284
+#: src/pacman/trans.c:265
#, c-format
msgid ":: Archive %s is corrupted. Do you want to delete it? [Y/n] "
msgstr ""
-#: src/pacman/trans.c:333
+#: src/pacman/trans.c:314
msgid "installing"
msgstr ""
-#: src/pacman/trans.c:336
+#: src/pacman/trans.c:317
msgid "upgrading"
msgstr ""
-#: src/pacman/trans.c:339
+#: src/pacman/trans.c:320
msgid "removing"
msgstr ""
-#: src/pacman/trans.c:342
+#: src/pacman/trans.c:323
msgid "checking for file conflicts"
msgstr ""
@@ -995,25 +1008,25 @@
msgid "None\n"
msgstr ""
-#: src/pacman/util.c:303
+#: src/pacman/util.c:310
msgid "Remove:"
msgstr ""
-#: src/pacman/util.c:311
+#: src/pacman/util.c:318
#, c-format
msgid ""
"\n"
"Total Removed Size: %.2f MB\n"
msgstr ""
-#: src/pacman/util.c:322
+#: src/pacman/util.c:329
#, c-format
msgid ""
"\n"
"Total Package Size: %.2f MB\n"
msgstr ""
-#: src/pacman/util.c:329
+#: src/pacman/util.c:336
#, c-format
msgid "Total Installed Size: %.2f MB\n"
msgstr ""
1
0
Date: Monday, February 12, 2007 @ 04:28:36
Author: aaron
Path: /home/cvs-pacman/pacman-lib/scripts
Modified: makeworld (1.7 -> 1.8)
Added changes from Daniel YC Lin via bug #3266
- support for the 'BCemno' makepkg options
-----------+
makeworld | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
Index: pacman-lib/scripts/makeworld
diff -u pacman-lib/scripts/makeworld:1.7 pacman-lib/scripts/makeworld:1.8
--- pacman-lib/scripts/makeworld:1.7 Tue Jan 30 00:41:13 2007
+++ pacman-lib/scripts/makeworld Mon Feb 12 04:28:36 2007
@@ -25,16 +25,20 @@
usage() {
echo "makeworld version $version"
- echo
- echo "Usage: $0 [options] <destdir> <category> [category] ..."
- echo
- echo "Options:"
+ echo "usage: $0 [options] <destdir> <category> [category] ..."
+ echo "options:"
echo " -b, --builddeps Build missing dependencies from source"
+ echo " -B, --noccache Do not use ccache during build"
echo " -c, --clean Clean up work files after build"
+ echo " -C, --cleancache Clean up source files from the cache"
echo " -d, --nodeps Skip all dependency checks"
+ echo " -e, --noextract Do not extract source files (use existing src/ dir)"
echo " -f, --force Overwrite existing packages"
echo " -i, --install Install package after successful build"
+ echo " -m, --nocolor Disable colorized output messages"
+ echo " -n, --nostrip Do not strip binaries/libraries"
echo " -h, --help This help"
+ echo " -o, --nobuild Download and extract files only"
echo " -r, --rmdeps Remove installed dependencies after a successful build"
echo " -s, --syncdeps Install missing dependencies with pacman"
echo " -S, --sudosync Install missing dependencies with pacman and sudo"
@@ -79,16 +83,22 @@
exit 1
;;
-*)
- while getopts "chisSbdfr-" opt; do
+ while getopts "chisSbdfrBCemnoS-" opt; do
case $opt in
c) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;;
i) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;;
s) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;;
- S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;;
b) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;;
d) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;;
f) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;;
r) MAKEPKG_OPTS="$MAKEPKG_OPTS -r" ;;
+ B) MAKEPKG_OPTS="$MAKEPKG_OPTS -B" ;;
+ C) MAKEPKG_OPTS="$MAKEPKG_OPTS -C" ;;
+ e) MAKEPKG_OPTS="$MAKEPKG_OPTS -e" ;;
+ m) MAKEPKG_OPTS="$MAKEPKG_OPTS -m" ;;
+ n) MAKEPKG_OPTS="$MAKEPKG_OPTS -n" ;;
+ o) MAKEPKG_OPTS="$MAKEPKG_OPTS -o" ;;
+ S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;;
h)
usage
exit 0
1
0
[pacman-dev] PKGBUILD style (was Re: CVS update of pacman-lib (TODO.dan doc/PKGBUILD.5 scripts/rankmirrors))
by Roman Kyrylych 12 Feb '07
by Roman Kyrylych 12 Feb '07
12 Feb '07
2007/2/12, dan(a)archlinux.org <dan(a)archlinux.org>:
> Date: Sunday, February 11, 2007 @ 20:08:35
> Author: dan
> Path: /home/cvs-pacman/pacman-lib
>
> Modified: TODO.dan (1.7 -> 1.8) doc/PKGBUILD.5 (1.6 -> 1.7)
> scripts/rankmirrors (1.4 -> 1.5)
>
> * Unified description of arch variable. Recommend using single quotes in
> the array, e.g. arch=('i686').
I think there should be same recommendations for all variables in
PKGBUILD, because now many contributors use very different style.
--
Roman Kyrylych (Роман Кирилич)
1
0
I changed the version numbering, but this is momentary really.
This is the latest RC fixing all (hopefully) the issues we had before.
URL:
http://archlinux.org/~aaron/pacman/pacman-rc-2007.02.12-1-i686.pkg.tar.gz
Some new "fixes" that I thought I should mention:
* install/upgrade progress bars never actually worked. They do now.
* display issues and duplications should all be fixed (sorry)
* gensync and updatesync have been changed (gensync3 and updatesync3)
* download progress only displays the package NAME for package
downloads, it looks better this way. Also, names that are too long are
truncated with "..."
* Added --cachedir commandline param, that was never there before
(though --root and --dbpath were)
* Fixed pacman's "deptest" functionality as non-root (for use in makepkg)
* Added a "testpkg" binary that allows you to test the validity of a package.
* Numerous documentation and makepkg fixes, from Dan (I'll let him
explain what is important and what is not).
Currently, we are a bit behind on the schedule I posted a while back.
At least this isn't like a real job where that means working unpaid
overtime, heh. I'd like to get as much testing done as possible. By
tomorrow evening, or Tuesday even, I'd like to give a public URL to
the normal users who aren't part of this list (lets face it, not many
are).
So, please do whatever testing you can.
Bugcatcher is here:
http://bugs.archlinux.org/task/6316
Enjoy!
1
0
Date: Monday, February 12, 2007 @ 02:23:36
Author: aaron
Path: /home/cvs-pacman/pacman-lib/src/pacman
Modified: pacman.c (1.93 -> 1.94)
Exit status of 2 seems wrong for -V
----------+
pacman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: pacman-lib/src/pacman/pacman.c
diff -u pacman-lib/src/pacman/pacman.c:1.93 pacman-lib/src/pacman/pacman.c:1.94
--- pacman-lib/src/pacman/pacman.c:1.93 Mon Feb 12 02:03:08 2007
+++ pacman-lib/src/pacman/pacman.c Mon Feb 12 02:23:36 2007
@@ -405,7 +405,7 @@
}
if(config->version) {
version();
- return(2);
+ return(0);
}
while(optind < argc) {
1
0
[pacman-dev] CVS update of pacman-lib (TODO.dan src/util/.cvsignore)
by danï¼ archlinux.org 12 Feb '07
by danï¼ archlinux.org 12 Feb '07
12 Feb '07
Date: Monday, February 12, 2007 @ 02:03:43
Author: dan
Path: /home/cvs-pacman/pacman-lib
Modified: TODO.dan (1.8 -> 1.9) src/util/.cvsignore (1.2 -> 1.3)
TODO update and .cvsignore addition
---------------------+
TODO.dan | 5 +++--
src/util/.cvsignore | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
Index: pacman-lib/TODO.dan
diff -u pacman-lib/TODO.dan:1.8 pacman-lib/TODO.dan:1.9
--- pacman-lib/TODO.dan:1.8 Sun Feb 11 20:08:35 2007
+++ pacman-lib/TODO.dan Mon Feb 12 02:03:43 2007
@@ -40,8 +40,9 @@
Go through options list. Decide if namings are good, all options are still
relevant, etc. Ideas for -Re (#6273), changing meaning of -c (has two meanings,
-another FS bug), etc. Remove the -A flag and possibly -D, -T, and -Y if they
-can be done by other actions. Possible switch of -U --> -I (#5571).
+another FS bug), etc. Remove the -A flag and possibly -D, -T, and -Y (-Y is
+killed now in favor of vercmp binary) if they can be done by other actions.
+Possible switch of -U --> -I (#5571).
Rewrite _alpm_sortbydeps to use Topological Sort. Should work using a standard
topo sort algorithm, once the crazy types can be fixed up a bit. Include a
Index: pacman-lib/src/util/.cvsignore
diff -u pacman-lib/src/util/.cvsignore:1.2 pacman-lib/src/util/.cvsignore:1.3
--- pacman-lib/src/util/.cvsignore:1.2 Fri Feb 9 16:54:58 2007
+++ pacman-lib/src/util/.cvsignore Mon Feb 12 02:03:43 2007
@@ -3,3 +3,4 @@
Makefile
Makefile.in
vercmp
+testpkg
1
0
Date: Monday, February 12, 2007 @ 02:03:08
Author: aaron
Path: /home/cvs-pacman/pacman-lib/src/pacman
Modified: pacman.c (1.92 -> 1.93)
* Added --cachedir commandline option
* Removed usage of 'realpath'. From the manpage:
"Avoid using this function. It is broken by design"
----------+
pacman.c | 96 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 52 insertions(+), 44 deletions(-)
Index: pacman-lib/src/pacman/pacman.c
diff -u pacman-lib/src/pacman/pacman.c:1.92 pacman-lib/src/pacman/pacman.c:1.93
--- pacman-lib/src/pacman/pacman.c:1.92 Mon Feb 12 01:44:00 2007
+++ pacman-lib/src/pacman/pacman.c Mon Feb 12 02:03:08 2007
@@ -98,16 +98,16 @@
if(op == PM_OP_ADD) {
printf(_("usage: %s {-A --add} [options] <file>\n"), myname);
printf(_("options:\n"));
- printf(_(" -d, --nodeps skip dependency checks\n"));
- printf(_(" -f, --force force install, overwrite conflicting files\n"));
+ printf(_(" -d, --nodeps skip dependency checks\n"));
+ printf(_(" -f, --force force install, overwrite conflicting files\n"));
} else if(op == PM_OP_REMOVE) {
printf(_("usage: %s {-R --remove} [options] <package>\n"), myname);
printf(_("options:\n"));
- printf(_(" -c, --cascade remove packages and all packages that depend on them\n"));
- printf(_(" -d, --nodeps skip dependency checks\n"));
- printf(_(" -k, --dbonly only remove database entry, do not remove files\n"));
- printf(_(" -n, --nosave remove configuration files as well\n"));
- printf(_(" -s, --recursive remove dependencies also (that won't break packages)\n"));
+ printf(_(" -c, --cascade remove packages and all packages that depend on them\n"));
+ printf(_(" -d, --nodeps skip dependency checks\n"));
+ printf(_(" -k, --dbonly only remove database entry, do not remove files\n"));
+ printf(_(" -n, --nosave remove configuration files as well\n"));
+ printf(_(" -s, --recursive remove dependencies also (that won't break packages)\n"));
} else if(op == PM_OP_UPGRADE) {
if(config->flags & PM_TRANS_FLAG_FRESHEN) {
printf(_("usage: %s {-F --freshen} [options] <file>\n"), myname);
@@ -115,46 +115,47 @@
printf(_("usage: %s {-U --upgrade} [options] <file>\n"), myname);
}
printf(_("options:\n"));
- printf(_(" -d, --nodeps skip dependency checks\n"));
- printf(_(" -f, --force force install, overwrite conflicting files\n"));
+ printf(_(" -d, --nodeps skip dependency checks\n"));
+ printf(_(" -f, --force force install, overwrite conflicting files\n"));
} else if(op == PM_OP_QUERY) {
printf(_("usage: %s {-Q --query} [options] [package]\n"), myname);
printf(_("options:\n"));
- printf(_(" -c, --changelog view the changelog of a package\n"));
- printf(_(" -e, --orphans list all packages installed as dependencies but no longer\n"));
- printf(_(" required by any package\n"));
- printf(_(" -g, --groups view all members of a package group\n"));
- printf(_(" -i, --info view package information\n"));
- printf(_(" -l, --list list the contents of the queried package\n"));
- printf(_(" -m, --foreign list all packages that were not found in the sync db(s)\n"));
- printf(_(" -o, --owns <file> query the package that owns <file>\n"));
- printf(_(" -p, --file query the package file [package] instead of the database\n"));
- printf(_(" -s, --search search locally-installed packages for matching strings\n"));
- printf(_(" -u, --upgrades list all packages that can be upgraded\n"));
+ printf(_(" -c, --changelog view the changelog of a package\n"));
+ printf(_(" -e, --orphans list all packages installed as dependencies but no longer\n"));
+ printf(_(" required by any package\n"));
+ printf(_(" -g, --groups view all members of a package group\n"));
+ printf(_(" -i, --info view package information\n"));
+ printf(_(" -l, --list list the contents of the queried package\n"));
+ printf(_(" -m, --foreign list all packages that were not found in the sync db(s)\n"));
+ printf(_(" -o, --owns <file> query the package that owns <file>\n"));
+ printf(_(" -p, --file query the package file [package] instead of the database\n"));
+ printf(_(" -s, --search search locally-installed packages for matching strings\n"));
+ printf(_(" -u, --upgrades list all packages that can be upgraded\n"));
} else if(op == PM_OP_SYNC) {
printf(_("usage: %s {-S --sync} [options] [package]\n"), myname);
printf(_("options:\n"));
- printf(_(" -c, --clean remove old packages from cache directory (use -cc for all)\n"));
- printf(_(" -d, --nodeps skip dependency checks\n"));
- printf(_(" -e, --dependsonly install dependencies only\n"));
- printf(_(" -f, --force force install, overwrite conflicting files\n"));
- printf(_(" -g, --groups view all members of a package group\n"));
- printf(_(" -i, --info view package information\n"));
- printf(_(" -p, --print-uris print out URIs for given packages and their dependencies\n"));
- printf(_(" -s, --search search remote repositories for matching strings\n"));
- printf(_(" -u, --sysupgrade upgrade all packages that are out of date\n"));
- printf(_(" -w, --downloadonly download packages but do not install/upgrade anything\n"));
- printf(_(" -y, --refresh download fresh package databases from the server\n"));
- printf(_(" --ignore <pkg> ignore a package upgrade (can be used more than once)\n"));
+ printf(_(" -c, --clean remove old packages from cache directory (use -cc for all)\n"));
+ printf(_(" -d, --nodeps skip dependency checks\n"));
+ printf(_(" -e, --dependsonly install dependencies only\n"));
+ printf(_(" -f, --force force install, overwrite conflicting files\n"));
+ printf(_(" -g, --groups view all members of a package group\n"));
+ printf(_(" -i, --info view package information\n"));
+ printf(_(" -p, --print-uris print out URIs for given packages and their dependencies\n"));
+ printf(_(" -s, --search search remote repositories for matching strings\n"));
+ printf(_(" -u, --sysupgrade upgrade all packages that are out of date\n"));
+ printf(_(" -w, --downloadonly download packages but do not install/upgrade anything\n"));
+ printf(_(" -y, --refresh download fresh package databases from the server\n"));
+ printf(_(" --ignore <pkg> ignore a package upgrade (can be used more than once)\n"));
}
- printf(_(" --config <path> set an alternate configuration file\n"));
- printf(_(" --noconfirm do not ask for anything confirmation\n"));
- printf(_(" --ask <number> pre-specify answers for questions (see manpage)\n"));
- printf(_(" --noprogressbar do not show a progress bar when downloading files\n"));
- printf(_(" --noscriptlet do not execute the install scriptlet if there is any\n"));
- printf(_(" -v, --verbose be verbose\n"));
- printf(_(" -r, --root <path> set an alternate installation root\n"));
- printf(_(" -b, --dbpath <path> set an alternate database location\n"));
+ printf(_(" --config <path> set an alternate configuration file\n"));
+ printf(_(" --noconfirm do not ask for anything confirmation\n"));
+ printf(_(" --ask <number> pre-specify answers for questions (see manpage)\n"));
+ printf(_(" --noprogressbar do not show a progress bar when downloading files\n"));
+ printf(_(" --noscriptlet do not execute the install scriptlet if there is any\n"));
+ printf(_(" -v, --verbose be verbose\n"));
+ printf(_(" -r, --root <path> set an alternate installation root\n"));
+ printf(_(" -b, --dbpath <path> set an alternate database location\n"));
+ printf(_(" --cachedir <dir> set an alternate database location\n"));
}
}
@@ -257,9 +258,9 @@
{"noprogressbar", no_argument, 0, 1004},
{"noscriptlet", no_argument, 0, 1005},
{"ask", required_argument, 0, 1006},
+ {"cachedir", required_argument, 0, 1007},
{0, 0, 0, 0}
};
- char root[PATH_MAX];
struct stat st;
unsigned short logmask;
@@ -309,6 +310,13 @@
case 1004: config->noprogressbar = 1; break;
case 1005: config->flags |= PM_TRANS_FLAG_NOSCRIPTLET; break;
case 1006: config->noask = 1; config->ask = atoi(optarg); break;
+ case 1007:
+ if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
+ ERR(NL, _("'%s' is not a valid cache directory\n"), optarg);
+ return(1);
+ }
+ alpm_option_set_cachedir(optarg);
+ break;
case 'A': config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_ADD); break;
case 'D':
config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST);
@@ -329,7 +337,7 @@
config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST);
break;
case 'b':
- if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
+ if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
ERR(NL, _("'%s' is not a valid db path\n"), optarg);
return(1);
}
@@ -359,11 +367,11 @@
config->flags |= PM_TRANS_FLAG_PRINTURIS;
break;
case 'r':
- if(realpath(optarg, root) == NULL) {
+ if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
ERR(NL, _("'%s' is not a valid root path\n"), optarg);
return(1);
}
- alpm_option_set_root(strdup(root));
+ alpm_option_set_root(optarg);
break;
case 's':
config->op_s_search = 1;
1
0
[pacman-dev] CVS update of pacman-lib/src/pacman (conf.h deptest.c pacman.c)
by Aaron Griffin 12 Feb '07
by Aaron Griffin 12 Feb '07
12 Feb '07
Date: Monday, February 12, 2007 @ 01:44:00
Author: aaron
Path: /home/cvs-pacman/pacman-lib/src/pacman
Modified: conf.h (1.15 -> 1.16) deptest.c (1.13 -> 1.14)
pacman.c (1.91 -> 1.92)
* Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should be
used instead
* Allow -T/--deptest to work without root privileges
-----------+
conf.h | 1 -
deptest.c | 12 ------------
pacman.c | 6 ++----
3 files changed, 2 insertions(+), 17 deletions(-)
Index: pacman-lib/src/pacman/conf.h
diff -u pacman-lib/src/pacman/conf.h:1.15 pacman-lib/src/pacman/conf.h:1.16
--- pacman-lib/src/pacman/conf.h:1.15 Sun Feb 4 03:26:53 2007
+++ pacman-lib/src/pacman/conf.h Mon Feb 12 01:44:00 2007
@@ -33,7 +33,6 @@
unsigned short upgrade;
unsigned short noconfirm;
unsigned short noprogressbar;
- unsigned short op_d_vertest;
unsigned short op_d_resolve;
unsigned short op_q_isfile;
unsigned short op_q_info;
Index: pacman-lib/src/pacman/deptest.c
diff -u pacman-lib/src/pacman/deptest.c:1.13 pacman-lib/src/pacman/deptest.c:1.14
--- pacman-lib/src/pacman/deptest.c:1.13 Wed Jan 31 01:10:22 2007
+++ pacman-lib/src/pacman/deptest.c Mon Feb 12 01:44:00 2007
@@ -49,18 +49,6 @@
return(0);
}
- if(config->op_d_vertest) {
- const char *pkga, *pkgb;
- pkga = alpm_list_getdata(targets);
- i = alpm_list_next(targets);
- if(pkga && i && (pkgb = alpm_list_getdata(i))) {
- int ret = alpm_pkg_vercmp(pkga, pkgb);
- printf("%d\n", ret);
- return(ret);
- }
- return(0);
- }
-
/* we create a transaction to hold a dummy package to be able to use
* deps checkings from alpm_trans_prepare() */
if(alpm_trans_init(PM_TRANS_TYPE_ADD, 0, NULL, NULL, NULL) == -1) {
Index: pacman-lib/src/pacman/pacman.c
diff -u pacman-lib/src/pacman/pacman.c:1.91 pacman-lib/src/pacman/pacman.c:1.92
--- pacman-lib/src/pacman/pacman.c:1.91 Fri Feb 9 12:58:19 2007
+++ pacman-lib/src/pacman/pacman.c Mon Feb 12 01:44:00 2007
@@ -183,7 +183,7 @@
&& (pm_errno == PM_ERR_TRANS_COMMITING)) {
return;
}
- if(signum != 0 && config->op_d_vertest == 0) {
+ if(signum != 0) {
/* TODO why is this here? */
fprintf(stderr, "\n");
}
@@ -224,7 +224,6 @@
{"deptest", no_argument, 0, 'T'}, /* used by makepkg */
{"upgrade", no_argument, 0, 'U'},
{"version", no_argument, 0, 'V'},
- {"vertest", no_argument, 0, 'Y'}, /* does the same as the 'vercmp' binary */
{"dbpath", required_argument, 0, 'b'},
{"cascade", no_argument, 0, 'c'},
{"changelog", no_argument, 0, 'c'},
@@ -328,7 +327,6 @@
case 'V': config->version = 1; break;
case 'Y':
config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST);
- config->op_d_vertest = 1;
break;
case 'b':
if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
@@ -479,7 +477,7 @@
if((config->op == PM_OP_SYNC && !config->op_s_sync &&
(config->op_s_search || config->group || config->op_q_list || config->op_q_info
|| config->flags & PM_TRANS_FLAG_PRINTURIS))
- || (config->op == PM_OP_DEPTEST && !config->op_d_resolve)
+ || (config->op == PM_OP_DEPTEST && config->op_d_resolve)
|| (strcmp(alpm_option_get_root(), PM_ROOT) != 0)) {
/* special case: PM_OP_SYNC can be used w/ config->op_s_search by any user */
/* special case: ignore root user check if -r is specified, fall back on
1
0
[pacman-dev] CVS update of pacman-lib (config.rpath lib/libalpm/server.c)
by Aaron Griffin 12 Feb '07
by Aaron Griffin 12 Feb '07
12 Feb '07
Date: Monday, February 12, 2007 @ 01:31:40
Author: aaron
Path: /home/cvs-pacman/pacman-lib
Modified: lib/libalpm/server.c (1.21 -> 1.22)
Removed: config.rpath (1.1)
Wasn't clearing out the 'pkgname' variable, which was causing goofy output
issues - silly me.
Also removed config.rpath from CVS
----------------------+
config.rpath | 614 -------------------------------------------------
lib/libalpm/server.c | 9
2 files changed, 6 insertions(+), 617 deletions(-)
Index: pacman-lib/config.rpath
diff -u pacman-lib/config.rpath:1.1 pacman-lib/config.rpath:removed
--- pacman-lib/config.rpath:1.1 Wed Jan 24 03:51:50 2007
+++ pacman-lib/config.rpath Mon Feb 12 01:31:40 2007
@@ -1,614 +0,0 @@
-#! /bin/sh
-# Output a system dependent set of variables, describing how to set the
-# run time search path of shared libraries in an executable.
-#
-# Copyright 1996-2006 Free Software Foundation, Inc.
-# Taken from GNU libtool, 2001
-# Originally by Gordon Matzigkeit <gord(a)gnu.ai.mit.edu>, 1996
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-#
-# The first argument passed to this file is the canonical host specification,
-# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or
-# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
-# should be set by the caller.
-#
-# The set of defined variables is at the end of this script.
-
-# Known limitations:
-# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
-# than 256 bytes, otherwise the compiler driver will dump core. The only
-# known workaround is to choose shorter directory names for the build
-# directory and/or the installation directory.
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-shrext=.so
-
-host="$1"
-host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-
-# Code taken from libtool.m4's _LT_CC_BASENAME.
-
-for cc_temp in $CC""; do
- case $cc_temp in
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
- \-*) ;;
- *) break;;
- esac
-done
-cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
-
-# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
-
-wl=
-if test "$GCC" = yes; then
- wl='-Wl,'
-else
- case "$host_os" in
- aix*)
- wl='-Wl,'
- ;;
- darwin*)
- case $cc_basename in
- xlc*)
- wl='-Wl,'
- ;;
- esac
- ;;
- mingw* | pw32* | os2*)
- ;;
- hpux9* | hpux10* | hpux11*)
- wl='-Wl,'
- ;;
- irix5* | irix6* | nonstopux*)
- wl='-Wl,'
- ;;
- newsos6)
- ;;
- linux*)
- case $cc_basename in
- icc* | ecc*)
- wl='-Wl,'
- ;;
- pgcc | pgf77 | pgf90)
- wl='-Wl,'
- ;;
- ccc*)
- wl='-Wl,'
- ;;
- como)
- wl='-lopt='
- ;;
- *)
- case `$CC -V 2>&1 | sed 5q` in
- *Sun\ C*)
- wl='-Wl,'
- ;;
- esac
- ;;
- esac
- ;;
- osf3* | osf4* | osf5*)
- wl='-Wl,'
- ;;
- sco3.2v5*)
- ;;
- solaris*)
- wl='-Wl,'
- ;;
- sunos4*)
- wl='-Qoption ld '
- ;;
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- wl='-Wl,'
- ;;
- sysv4*MP*)
- ;;
- unicos*)
- wl='-Wl,'
- ;;
- uts4*)
- ;;
- esac
-fi
-
-# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
-
-hardcode_libdir_flag_spec=
-hardcode_libdir_separator=
-hardcode_direct=no
-hardcode_minus_L=no
-
-case "$host_os" in
- cygwin* | mingw* | pw32*)
- # FIXME: the MSVC++ port hasn't been tested in a loooong time
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- if test "$GCC" != yes; then
- with_gnu_ld=no
- fi
- ;;
- interix*)
- # we just hope/assume this is gcc and not c89 (= MSVC++)
- with_gnu_ld=yes
- ;;
- openbsd*)
- with_gnu_ld=no
- ;;
-esac
-
-ld_shlibs=yes
-if test "$with_gnu_ld" = yes; then
- # Set some defaults for GNU ld with shared library support. These
- # are reset later if shared libraries are not supported. Putting them
- # here allows them to be overridden if necessary.
- # Unlike libtool, we use -rpath here, not --rpath, since the documented
- # option of GNU ld is called -rpath, not --rpath.
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- case "$host_os" in
- aix3* | aix4* | aix5*)
- # On AIX/PPC, the GNU linker is very broken
- if test "$host_cpu" != ia64; then
- ld_shlibs=no
- fi
- ;;
- amigaos*)
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
- # Samuel A. Falvo II <kc5tja(a)dolphin.openprojects.net> reports
- # that the semantics of dynamic libraries on AmigaOS, at least up
- # to version 4, is to share data among multiple programs linked
- # with the same dynamic library. Since this doesn't match the
- # behavior of shared libraries on other platforms, we cannot use
- # them.
- ld_shlibs=no
- ;;
- beos*)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- :
- else
- ld_shlibs=no
- fi
- ;;
- cygwin* | mingw* | pw32*)
- # hardcode_libdir_flag_spec is actually meaningless, as there is
- # no search path for DLLs.
- hardcode_libdir_flag_spec='-L$libdir'
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
- :
- else
- ld_shlibs=no
- fi
- ;;
- interix3*)
- hardcode_direct=no
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- ;;
- linux*)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- :
- else
- ld_shlibs=no
- fi
- ;;
- netbsd*)
- ;;
- solaris*)
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
- ld_shlibs=no
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- :
- else
- ld_shlibs=no
- fi
- ;;
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
- case `$LD -v 2>&1` in
- *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
- ld_shlibs=no
- ;;
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
- else
- ld_shlibs=no
- fi
- ;;
- esac
- ;;
- sunos4*)
- hardcode_direct=yes
- ;;
- *)
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
- :
- else
- ld_shlibs=no
- fi
- ;;
- esac
- if test "$ld_shlibs" = no; then
- hardcode_libdir_flag_spec=
- fi
-else
- case "$host_os" in
- aix3*)
- # Note: this linker hardcodes the directories in LIBPATH if there
- # are no directories specified by -L.
- hardcode_minus_L=yes
- if test "$GCC" = yes; then
- # Neither direct hardcoding nor static linking is supported with a
- # broken collect2.
- hardcode_direct=unsupported
- fi
- ;;
- aix4* | aix5*)
- if test "$host_cpu" = ia64; then
- # On IA64, the linker does run time linking by default, so we don't
- # have to do anything special.
- aix_use_runtimelinking=no
- else
- aix_use_runtimelinking=no
- # Test if we are trying to use run time linking or normal
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- # need to do runtime linking.
- case $host_os in aix4.[23]|aix4.[23].*|aix5*)
- for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
- aix_use_runtimelinking=yes
- break
- fi
- done
- ;;
- esac
- fi
- hardcode_direct=yes
- hardcode_libdir_separator=':'
- if test "$GCC" = yes; then
- case $host_os in aix4.[012]|aix4.[012].*)
- collect2name=`${CC} -print-prog-name=collect2`
- if test -f "$collect2name" && \
- strings "$collect2name" | grep resolve_lib_name >/dev/null
- then
- # We have reworked collect2
- hardcode_direct=yes
- else
- # We have old collect2
- hardcode_direct=unsupported
- hardcode_minus_L=yes
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_libdir_separator=
- fi
- ;;
- esac
- fi
- # Begin _LT_AC_SYS_LIBPATH_AIX.
- echo 'int main () { return 0; }' > conftest.c
- ${CC} ${LDFLAGS} conftest.c -o conftest
- aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
-}'`
- if test -z "$aix_libpath"; then
- aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
-}'`
- fi
- if test -z "$aix_libpath"; then
- aix_libpath="/usr/lib:/lib"
- fi
- rm -f conftest.c conftest
- # End _LT_AC_SYS_LIBPATH_AIX.
- if test "$aix_use_runtimelinking" = yes; then
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
- else
- if test "$host_cpu" = ia64; then
- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- else
- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
- fi
- fi
- ;;
- amigaos*)
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
- # see comment about different semantics on the GNU ld section
- ld_shlibs=no
- ;;
- bsdi[45]*)
- ;;
- cygwin* | mingw* | pw32*)
- # When not using gcc, we currently assume that we are using
- # Microsoft Visual C++.
- # hardcode_libdir_flag_spec is actually meaningless, as there is
- # no search path for DLLs.
- hardcode_libdir_flag_spec=' '
- libext=lib
- ;;
- darwin* | rhapsody*)
- hardcode_direct=no
- if test "$GCC" = yes ; then
- :
- else
- case $cc_basename in
- xlc*)
- ;;
- *)
- ld_shlibs=no
- ;;
- esac
- fi
- ;;
- dgux*)
- hardcode_libdir_flag_spec='-L$libdir'
- ;;
- freebsd1*)
- ld_shlibs=no
- ;;
- freebsd2.2*)
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- ;;
- freebsd2*)
- hardcode_direct=yes
- hardcode_minus_L=yes
- ;;
- freebsd* | kfreebsd*-gnu | dragonfly*)
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- ;;
- hpux9*)
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
- hardcode_direct=yes
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- ;;
- hpux10*)
- if test "$with_gnu_ld" = no; then
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
- hardcode_direct=yes
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- fi
- ;;
- hpux11*)
- if test "$with_gnu_ld" = no; then
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
- case $host_cpu in
- hppa*64*|ia64*)
- hardcode_direct=no
- ;;
- *)
- hardcode_direct=yes
- # hardcode_minus_L: Not really in the search PATH,
- # but as the default location of the library.
- hardcode_minus_L=yes
- ;;
- esac
- fi
- ;;
- irix5* | irix6* | nonstopux*)
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- ;;
- netbsd*)
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
- ;;
- newsos6)
- hardcode_direct=yes
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- ;;
- openbsd*)
- hardcode_direct=yes
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- else
- case "$host_os" in
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- hardcode_libdir_flag_spec='-R$libdir'
- ;;
- *)
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- ;;
- esac
- fi
- ;;
- os2*)
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_minus_L=yes
- ;;
- osf3*)
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- ;;
- osf4* | osf5*)
- if test "$GCC" = yes; then
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- else
- # Both cc and cxx compiler support -rpath directly
- hardcode_libdir_flag_spec='-rpath $libdir'
- fi
- hardcode_libdir_separator=:
- ;;
- solaris*)
- hardcode_libdir_flag_spec='-R$libdir'
- ;;
- sunos4*)
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_direct=yes
- hardcode_minus_L=yes
- ;;
- sysv4)
- case $host_vendor in
- sni)
- hardcode_direct=yes # is this really true???
- ;;
- siemens)
- hardcode_direct=no
- ;;
- motorola)
- hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- ;;
- esac
- ;;
- sysv4.3*)
- ;;
- sysv4*MP*)
- if test -d /usr/nec; then
- ld_shlibs=yes
- fi
- ;;
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
- ;;
- sysv5* | sco3.2v5* | sco5v6*)
- hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
- hardcode_libdir_separator=':'
- ;;
- uts4*)
- hardcode_libdir_flag_spec='-L$libdir'
- ;;
- *)
- ld_shlibs=no
- ;;
- esac
-fi
-
-# Check dynamic linker characteristics
-# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
-libname_spec='lib$name'
-case "$host_os" in
- aix3*)
- ;;
- aix4* | aix5*)
- ;;
- amigaos*)
- ;;
- beos*)
- ;;
- bsdi[45]*)
- ;;
- cygwin* | mingw* | pw32*)
- shrext=.dll
- ;;
- darwin* | rhapsody*)
- shrext=.dylib
- ;;
- dgux*)
- ;;
- freebsd1*)
- ;;
- kfreebsd*-gnu)
- ;;
- freebsd* | dragonfly*)
- ;;
- gnu*)
- ;;
- hpux9* | hpux10* | hpux11*)
- case $host_cpu in
- ia64*)
- shrext=.so
- ;;
- hppa*64*)
- shrext=.sl
- ;;
- *)
- shrext=.sl
- ;;
- esac
- ;;
- interix3*)
- ;;
- irix5* | irix6* | nonstopux*)
- case "$host_os" in
- irix5* | nonstopux*)
- libsuff= shlibsuff=
- ;;
- *)
- case $LD in
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
- *) libsuff= shlibsuff= ;;
- esac
- ;;
- esac
- ;;
- linux*oldld* | linux*aout* | linux*coff*)
- ;;
- linux*)
- ;;
- knetbsd*-gnu)
- ;;
- netbsd*)
- ;;
- newsos6)
- ;;
- nto-qnx*)
- ;;
- openbsd*)
- ;;
- os2*)
- libname_spec='$name'
- shrext=.dll
- ;;
- osf3* | osf4* | osf5*)
- ;;
- solaris*)
- ;;
- sunos4*)
- ;;
- sysv4 | sysv4.3*)
- ;;
- sysv4*MP*)
- ;;
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
- ;;
- uts4*)
- ;;
-esac
-
-sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
-escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
-shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
-escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
-
-LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
-
-# How to pass a linker flag through the compiler.
-wl="$escaped_wl"
-
-# Static library suffix (normally "a").
-libext="$libext"
-
-# Shared library suffix (normally "so").
-shlibext="$shlibext"
-
-# Flag to hardcode \$libdir into a binary during linking.
-# This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
-
-# Whether we need a single -rpath flag with a separated argument.
-hardcode_libdir_separator="$hardcode_libdir_separator"
-
-# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
-# resulting binary.
-hardcode_direct="$hardcode_direct"
-
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
-# resulting binary.
-hardcode_minus_L="$hardcode_minus_L"
-
-EOF
Index: pacman-lib/lib/libalpm/server.c
diff -u pacman-lib/lib/libalpm/server.c:1.21 pacman-lib/lib/libalpm/server.c:1.22
--- pacman-lib/lib/libalpm/server.c:1.21 Sat Feb 10 04:36:36 2007
+++ pacman-lib/lib/libalpm/server.c Mon Feb 12 01:31:39 2007
@@ -190,12 +190,15 @@
}
/* Try to get JUST the name of the package from the filename */
- p = alpm_pkg_name_hasarch(fn); /* TODO remove this later */
- _alpm_pkg_splitname(fn, pkgname, NULL, (p != NULL));
+ memset(pkgname, 0, PKG_NAME_LEN);
+ if((p = strstr(fn, PM_EXT_PKG))) {
+ _alpm_pkg_splitname(fn, pkgname, NULL, 1);
+ }
if(!strlen(pkgname)) {
/* just use the raw filename if we can't find crap */
- STRNCPY(pkgname, fn, PKG_NAME_LEN);
+ STRNCPY(pkgname, fn, PKG_NAME_LEN+1);
}
+ _alpm_log(PM_LOG_DEBUG, _("using '%s' for download progress"), pkgname);
snprintf(realfile, PATH_MAX, "%s/%s", localpath, fn);
snprintf(output, PATH_MAX, "%s/%s.part", localpath, fn);
1
0
12 Feb '07
Date: Monday, February 12, 2007 @ 01:07:11
Author: aaron
Path: /home/cvs-pacman/pacman-lib/scripts
Modified: gensync (1.12 -> 1.13) updatesync (1.8 -> 1.9)
Rewrote updatesync in terms of repo-add and repo-remove
------------+
gensync | 2
updatesync | 208 ++++++++++++-----------------------------------------------
2 files changed, 45 insertions(+), 165 deletions(-)
Index: pacman-lib/scripts/gensync
diff -u pacman-lib/scripts/gensync:1.12 pacman-lib/scripts/gensync:1.13
--- pacman-lib/scripts/gensync:1.12 Mon Feb 12 00:49:45 2007
+++ pacman-lib/scripts/gensync Mon Feb 12 01:07:11 2007
@@ -119,7 +119,7 @@
fi
done
-echo "successfuly found all packages, creating repo DB..."
+echo "creating repo DB..."
# we'll trim the output just a tad, as gensync may be used on large repos
repo-add $destfile $pkgs --force $force_pkgs \
Index: pacman-lib/scripts/updatesync
diff -u pacman-lib/scripts/updatesync:1.8 pacman-lib/scripts/updatesync:1.9
--- pacman-lib/scripts/updatesync:1.8 Wed Dec 20 20:53:41 2006
+++ pacman-lib/scripts/updatesync Mon Feb 12 01:07:11 2007
@@ -21,7 +21,7 @@
# USA.
#
-myver='2.9.8'
+myver='3.0.0'
usage() {
echo "updatesync $myver"
@@ -47,128 +47,29 @@
exit 0
}
-die()
-{
- echo "updatesync: $*" >&2
- rm -rf $ustmpdir
- exit 1
-}
+BUILDSCRIPT="PKGBUILD"
+PKGEXT="pkg.tar.gz"
-check_option() {
- local i
- for i in ${options[@]}; do
- local uc=`echo $i | tr [:lower:] [:upper:]`
- local lc=`echo $i | tr [:upper:] [:lower:]`
- if [ "$uc" = "$1" -o "$lc" = "$1" ]; then
- echo $1
- return
- fi
- done
-}
+source /etc/makepkg.conf
-get_md5checksum()
-{
- if [ "$pkgdir" != "" ]; then
- pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel.pkg.tar.gz"
- else
- pkgfile="$destdir/$pkgname-$pkgver-$pkgrel.pkg.tar.gz"
- fi
- if [ -f $pkgfile ]; then
- md5line=`md5sum $pkgfile`
- [ ! -z "$md5line" ] && pkgmd5sum=${md5line% *}
- echo $pkgmd5sum
- fi
- return 0
+error () {
+ echo "==> ERROR: $*" >&2
}
-db_write_entry()
-{
- unset pkgname pkgver pkgrel pkgdesc force
- unset groups replaces provides depends conflicts options
- source $1 || return 1
- cd $ustmpdir
- mkdir $pkgname-$pkgver-$pkgrel || return 1
- cd $pkgname-$pkgver-$pkgrel
- # desc
- : >desc
- echo "%NAME%" >>desc
- echo "$pkgname" >>desc
- echo "" >>desc
- echo "%VERSION%" >>desc
- echo "$pkgver-$pkgrel" >>desc
- echo "" >>desc
- if [ -n "$pkgdesc" ]; then
- echo "%DESC%" >>$entry
- echo "$pkgdesc" >>$entry
- echo "" >>$entry
- fi
- if [ ${#groups[*]} -gt 0 ]; then
- echo "%GROUPS%" >>$entry
- for it in "${groups[@]}"; do
- echo "$it" >>$entry
- done
- echo "" >>$entry
- fi
- if [ -n $csize ]; then
- echo "%CSIZE%" >>$entry
- echo "$csize" >>$entry
- echo "" >>$entry
- fi
- if [ ! -z $pkgmd5sum ]; then
- echo "%MD5SUM%" >>$entry
- echo "$pkgmd5sum" >>$entry
- echo "" >>$entry
- fi
- if [ ${#replaces[*]} -gt 0 ]; then
- echo "%REPLACES%" >>desc
- for it in "${replaces[@]}"; do
- echo "$it" >>desc
- done
- echo "" >>desc
- fi
- if [ "$force" = "y" -o "$force" = "Y" -o "`check_option FORCE`" ]; then
- echo "%FORCE%" >>desc
- echo "" >>desc
- fi
- # depends
- : >depends
- if [ ${#depends[*]} -gt 0 ]; then
- echo "%DEPENDS%" >>depends
- for it in "${depends[@]}"; do
- echo "$it" >>depends
- done
- echo "" >>depends
- fi
- if [ ${#conflicts[*]} -gt 0 ]; then
- echo "%CONFLICTS%" >>depends
- for it in "${conflicts[@]}"; do
- echo "$it" >>depends
- done
- echo "" >>depends
- fi
- if [ ${#provides[*]} -gt 0 ]; then
- echo "%PROVIDES%" >>depends
- for it in "${provides[@]}"; do
- echo "$it" >>depends
- done
- echo "" >>depends
- fi
+die () {
+ error $*
+ exit 1
}
-delete_entry()
-{
- echo $1 | grep PKGBUILD 2>&1 >/dev/null
- if [ $? -eq 0 ]; then
- source $1
- else
- pkgname=$1
- fi
- for i in *; do
- if [ "${i%-*-*}" = "$pkgname" ]; then
- echo "updatesync: deleting $i" >&2
- rm -rf $i
+check_force () {
+ local i
+ for i in ${options[@]}; do
+ local lc=$(echo $i | tr [:upper:] [:lower:])
+ if [ "$lc" = "force" ]; then
+ true
fi
done
+ false
}
if [ $# -lt 3 ]; then
@@ -181,71 +82,50 @@
exit 0
fi
+if [ "$1" != "upd" -a "$1" != "del" ]; then
+ usage
+ exit 1
+fi
+
action=$1
pkgdb=$2
option=$3
-curdir="`pwd`"
-pkgdir=$curdir
+pkgdir="$(pwd)"
if [ "$4" != "" ]; then
- pkgdir=$4
+ pkgdir="$4"
fi
+opt_force=""
-if [ "$action" != "upd" -a "$action" != "del" ]; then
- usage
- exit 1
+if [ ! -f "$option" ]; then
+ die "$option not found"
fi
-ustmpdir=$(mktemp -d /tmp/updatesync.XXXXXXXXXX) || exit 1
+if [ "$action" = "upd" ]; then # INSERT / UPDATE
+ unset pkgname pkgver pkgrel options
-cd $ustmpdir
-if [ ! -f $pkgdb ]; then
- if [ ! -f $curdir/$pkgdb ]; then
- echo "updatesync: $pkgdb not found"
- exit 1
- fi
- pkgdb=$curdir/$pkgdb
-fi
+ source $option || die "failed to parse $option"
+ pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT"
-if [ "$action" = "upd" -a ! -f $option ]; then
- if [ ! -f $curdir/$option ]; then
- echo "updatesync: $option not found"
- exit 1
+ if [ ! -f "$pkgfile" ]; then
+ die "could not find $pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT - aborting"
fi
- option=$curdir/$option
-fi
-echo "updatesync: uncompressing to $ustmpdir..." >&2
-tar -xzf $pkgdb || die "error uncompressing $pkgdb"
-if [ "$action" = "upd" ]; then
- # INSERT / UPDATE
- delete_entry $option
-
- source $option || die "errors parsing $option"
- if [ "$pkgdir" != "" ]; then
- pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel.pkg.tar.gz"
- else
- pkgfile="$destdir/$pkgname-$pkgver-$pkgrel.pkg.tar.gz"
+ if check_force; then
+ opt_force="--force"
fi
- if [ -f $pkgfile ]; then
- csize=`du -b $pkgfile | cut -f1`
- pkgmd5sum=`get_md5checksum $pkgfile`
- [ -z $pkgmd5sum ] && die "error generating checksum for $pkgfile"
- echo "updatesync: creating entry for $option" >&2
- db_write_entry $option || die "error writing entry for $option"
+
+ repo-add "$pkgdb" $opt_force "$pkgfile"
+else # DELETE
+ fname="$(basename $option)"
+ if [ "$fname" = "PKGBUILD" ]; then
+ unset pkgname pkgver pkgrel options
+ source $option
else
- echo "updatesync: missing package: $pkgfile" >&2
+ pkgname=$1
fi
-else
- # DELETE
- delete_entry $option
-fi
-echo "updatesync: compressing to $pkgdb..." >&2
-cd $ustmpdir
-tar c * | gzip -9 >$pkgdb || die "error writing to $pkgdb"
-
-cd $curdir
-rm -rf $ustmpdir
+ repo-remove "$pkgdb" "$pkgname"
+fi
exit 0
# vim: set ts=2 sw=2 noet:
1
0