opkg | 24 Jun 22:34 2015

Issue 161 in opkg: Add comman line option to skip package signature check

Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 161 by alejandr...@...: Add comman line option to skip  
package signature check
https://code.google.com/p/opkg/issues/detail?id=161

What steps will reproduce the problem?
1. Try to install a signed package in a system that doesn't have the key

What is the expected output? What do you see instead?
Opkg correctly prevents the installation. However, there are no ways to  
override the behavior from the command line (it's possible to change  
check_signature on the conf file)

What version of the product are you using? On what operating system?
3.0, NI Linux RT

Please provide any additional information below.
It would be beneficial to add an option to the command line to skip  
signature verification.

--allow-unauthenticated  (apt-get)
--force-bad-verify    (dpkg)

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
(Continue reading)

opkg | 23 Jun 22:16 2015

Issue 160 in opkg: Opkg flag always returns success

Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 160 by alejandr...@...: Opkg flag always returns success
https://code.google.com/p/opkg/issues/detail?id=160

What steps will reproduce the problem?
1.Run opkg flag with an invalid flag
    opkg flag badflag A
2.Opkg will return no error (0) and a misleading message that makes you  
think the operation succeeded

"Setting flags for package A to badflag."

Package A will remain unchanged.

What is the expected output? What do you see instead?

Opkg flag only supports the following flags = hold|noprune|user|ok| 
installed|unpacked

It should validate the input and report an error if invalid.

What version of the product are you using? On what operating system?

Please provide any additional information below.

--

-- 
You received this message because this project is configured to send all  
(Continue reading)

masrur.mahmood | 18 Jun 15:55 2015
Picon

OpenSSL or GPG support

Hi,

Wanted to know how I can sign an IPK package either using an OpenSSL or GPG private key and get opkg to verify
the package prior to upgrade using the public key. Is there any instructions available for this?

Thanks,
Masrur

Paul Barker | 2 Jun 23:18 2015
Picon

opkg-0.3.0 Release

Hi all,

I'd like to announce the release of opkg-0.3.0 as of 2015-05-28. This release
has been long delayed but I'm glad to finally get it out! Please give it some
thorough testing before using it in production.

This release is available from the new download location with hosting provided
by The Yocto Project:

    http://downloads.yoctoproject.org/releases/opkg/opkg-0.3.0.tar.gz

It is mirrored at:

    http://www.paulbarker.me.uk/dist/opkg/opkg-0.3.0.tar.gz

GPG signatures are available in the file "opkg-0.3.0.tar.gz.asc", hosted at
both download locations.

opkg-0.3.0
==========

- Fix exit status when upgrading multiple packages with inter-dependencies
  (issue 154).

--

-- 
Paul Barker

Email: paul@...
http://www.paulbarker.me.uk

(Continue reading)

opkg | 2 Jun 14:00 2015

Issue 159 in opkg: Support of download via 'FTP over TLS'

Status: New
Owner: ----

New issue 159 by GPABART...@...: Support of download via 'FTP
over  
TLS'
https://code.google.com/p/opkg/issues/detail?id=159

Some idea that can enhance opkg as a better one:
- Support of download via 'ftps' (FTP over TLS).

Reason:
- Nowadays no serious company is using FTP anymore, because it is not  
secure. Instead, "FTP over TLS" is gaining more and more importance.  
Therefore I suggest to implement the support of the encryption for FTP.

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Haris Okanovic | 22 May 01:27 2015

[PATCH] opkg-utils: Fix crash on dependency error

Fix crash on exception in opkg-show-deps when generating an
'unsatisfied dependency' error. process_dep() function was
referencing a missing parameter `pkg`.

Signed-off-by: Haris Okanovic <haris.okanovic@...>
Reviewed-by: Alejandro del Castillo <alejandro.delcastillo@...>
Acked-by: Brad Mouring <brad.mouring@...>
Cc: Alejandro del Castillo <alejandro.delcastillo@...>
Cc: Paul Barker <paul@...>
---
 opkg-show-deps | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opkg-show-deps b/opkg-show-deps
index 3c3be6a..4694579 100755
--- a/opkg-show-deps
+++ b/opkg-show-deps
 <at>  <at>  -58,7 +58,7  <at>  <at>  def find_package(name):
           return provider_hash[name]
      return None

-def process_dep(dep):
+def process_dep(pkg, dep):
      # Add a provider of the given dependency to the list of required packages
      # unless a provider is already present in this list.
      dep = re.sub("\s*\(.*\)", "", dep)
 <at>  <at>  -83,7 +83,7  <at>  <at>  def recurse(pkg):
      if pkg.depends:
           deps = split_list(pkg.depends)
           for dep in deps:
(Continue reading)

Paul Barker | 2 May 12:41 2015
Picon

opkg-0.3.0 release plan

Hi all, long time no see!

Since opkg v0.3.0-rc2 has been available for a long time and no-one has reported
any issues, I'm going to push forward and get v0.3.0 proper released with the
minimum amount of code changes possible. I'd really like to see issue 154 (exit
code is -1 after successful upgrade) and issue 157 (use after free bug) solved
first so I'll make some time to look at these. Hopefully they should be easy to
fix. All other issues I'm going to postpone fixing until after v0.3.0.

I'm going to aim to release v0.3.0 before the end of May. My available time to
work on opkg is still very limited so I won't be able to do much beyond that,
but it'd be a shame to leave all the work of the last 18 months stuck as a
release candidate rather than a proper release.

Going forward I will make sure that opkg gets a simple home page and an issue
tracker outside of Google Code so that it can survive after Google Code is
shutdown. I've emailed Yocto Project about hosting and I'll send out an update
once this is resolved.

Thanks,

--

-- 
Paul Barker

Email: paul@...
http://www.paulbarker.me.uk

Bryan Evenson | 15 Apr 15:53 2015
Picon

Problems when upgrading sysvinit

I am using the Yocto Project set of tools, and I am using opkg for package management and sysvinit for init.  I am having an issue when I upgrade sysvinit.  At some point during the upgrade process sysvinit restarts, but this occurs before opkg has finished what it is doing.  As a result, opkg fails to record all the packages that were upgraded and needs to upgrade them again (and I need to add --force-overwrite for an option to handle some of the oddities from a package that was upgrade but doesn't look like it was).  For some reason the second time sysvinit is upgraded this does not occur.  So generally everything works but I'm sure there is a cleaner way for things to get upgraded.

Has anyone else seen this happen and has figured out a different way to deal with it?  I'm assuming that there may be a way to add something to the install or postinst step for sysvinit to fix the issue, but I have no idea what it would be.

Thanks,
Bryan

--
You received this message because you are subscribed to the Google Groups "opkg-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
jpdjong | 7 Apr 16:03 2015
Picon

remove a file from the conffiles but keep it on disk

Hi All,

If this is already discussed, my apologies: I was not able to find it!

I made this package some time ago.
It has only one conffile and that is a database file.
The database grows in time to max 300 MB or so.
If I update that package, opkg will copy the file first (don't know why, but it does!)
On my embedded system it will take a lot of time and a lot of diskspace, which in some occasions the system does
not have...
So now I would like to remove it from the package, but I also do not want to lose the database file.
What would be the best approach?
I've been experimenting with preinst and postinst scripts and it works more or less, but I would really like
to have some feedback!

Any help is appreciated!
Jaap de Jong

D K | 16 Mar 03:28 2015
Picon

Suggestion for opkg-utils

Hi,

sorry if i do this completely wrong or something, bear with me, im complete newbie to git /  mailing lists.

Anyways, im working on 2 separate systems, OSX and Ubuntu, and on both machines i had a slight issue with opkg-util script opkg-build.
I would want to suggest a change in that file, on line 251:
from 
mkdir $tmp_dir
to
mkdir -p $tmp_dir

Im not really sure what the idea behind /tmp was, i would more likely to see a tmp in working dir or something. Ive also had issues with permissions in CONTROL folder but that i guess is due lack of knowledge on perm. topic. To fix that temporarily, i wud change perms while those were verified by opkg-utils.

Best regards,
Danel

--
You received this message because you are subscribed to the Google Groups "opkg-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Paul Barker | 12 Mar 19:11 2015
Picon

End of Life of Google Code

Hi all,

I had a suspicion that this was going to happen after Google Code stopped
allowing new binary downloads to be created last year. The relevant dates are:

 - March 12, 2015 - New project creation disabled.

 - August 24, 2015 - The site goes read-only. You can still checkout/view
   project source, issues, and wikis.

 - January 25, 2016 - The project hosting service is closed. You will be able to
   download a tarball of project source, issues, and wikis. These tarballs will
   be available throughout the rest of 2016.

This means opkg will need to migrate somewhere else. I'm personally not in
favour of using github or bitbucket as we already have hosting for the git repo
provided by The Yocto Project.

I'll look into this more over the next few weeks - I'm outgoing as a maintainer
and don't have the spare mental capacity to do much development, but I could
probably throw together a simple static site and talk to the Yocto Project folks
about running a bug tracker for opkg. I have experience with installing,
administering and using the Mantis bug tracker at work so I could get that setup
within a day or two if other people think Mantis is a good choice?

Thanks,

--

-- 
Paul Barker

Email: paul@...
http://www.paulbarker.me.uk


Gmane