Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PFsense…

    Scheduled Pinned Locked Moved pfSense Packages
    32 Posts 5 Posters 11.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      afamnu
      last edited by

      python setup.py bdist_rpm    <====this command

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yes, but what does that python script do?

        Where did you get it?

        Steve

        1 Reply Last reply Reply Quote 0
        • A
          afamnu
          last edited by

          i do  cd urlgrabber-3.9.1
          and then
          python setup.py bdist_rpm

          after that this error appearing

          Traceback (most recent call last):
            File "setup.py", line 3, in <module>import urlgrabber as _urlgrabber
            File "/root/urlgrabber-3.9.1/urlgrabber/init.py", line 54, in <module>from grabber import urlgrab, urlopen, urlread
          ImportError: No module named grabber</module></module>

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmmm, well I can't comment on python script. Wrong python version perhaps?
            Why are you trying to run URLGrabber on your firewall? It seems unwise.  ;)

            Steve

            1 Reply Last reply Reply Quote 0
            • A
              afamnu
              last edited by

              @stephenw10:

              Hmmm, well I can't comment on python script. Wrong python version perhaps?
              Why are you trying to run URLGrabber on your firewall? It seems unwise.  ;)

              Steve

              but what i have to do ?????

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Where did you get this urlgrabber script from? What python version is it written for?

                Steve

                1 Reply Last reply Reply Quote 0
                • A
                  afamnu
                  last edited by

                  http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz  this version

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    @http://urlgrabber.baseurl.org/:

                    It's really easy to build an RPM from the tarball. Simply unpack the tarball, cd into it, and do
                    python setup.py bdist_rpm

                    Ok, so you're trying to build an RPM file.
                    Do you realise that RPMs are not a FreeBSD format and hence not supported by pfSense?

                    Why are you trying to do this. What do you need URLGrabber for? If you tell us why you are doing all this we may be able to suggest an easier option.  ::)

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • A
                      afamnu
                      last edited by

                      indeed i want to use the pfsense for Video cache,, nd plz see this

                      http://doc.pfsense.org/index.php/Setup_VideoCache_with_Squid
                      if there's another way to do that i wll be thankfull to show me how

                      im new to use pfsense this's the first time to me :).. so thank you for your help

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gloom
                        last edited by

                        Sorry I may be being thick here but there is a FreeBSD 8.1 package for urlgrabber so why not just install that.

                        I should also add that it depends on ca_root_nss-3.12.11_2, curl-7.21.3_2, py27-curl-7.19.0_1, python27-2.7.2_3

                        Just read that link you posted to a pfsense how-to. Please be aware that it is now py27-*

                        Never underestimate the power of human stupidity

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Ah! Well now we are getting somewhere.  ;)

                          Have you added all the python packages in that link?

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • A
                            afamnu
                            last edited by

                            yes steve already i did it ,,,

                            #pkg_add -r python

                            pkg_add -r py25-bsddb

                            pkg_add -r py25-gdbm

                            pkg_add -r py25-sqlite3

                            pkg_add -r py25-tkinter

                            but  everything i did it manualy,,
                            same as    pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/databases/py26-gdbm-2.6.6.tbz

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gloom
                              last edited by

                              Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong  version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.

                              Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.

                              Never underestimate the power of human stupidity

                              1 Reply Last reply Reply Quote 0
                              • A
                                afamnu
                                last edited by

                                @Gloom:

                                Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong  version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.

                                Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.   
                                [/quote

                                thank you gloom :)..
                                1 another question plz.. i have 4 hardisk each 500GB ,, how can i make the subpartitions to use them for cache,, how do i edit the fstab and mount the hardrive,,,

                                1 Reply Last reply Reply Quote 0
                                • G
                                  Gloom
                                  last edited by

                                  @afamnu:

                                  @Gloom:

                                  Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong  version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.

                                  Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.     
                                  [/quote

                                  thank you gloom :)..
                                  1 another question plz.. i have 4 hardisk each 500GB ,, how can i make the subpartitions to use them for cache,, how do i edit the fstab and mount the hardrive,,,
                                  [/quote]

                                  See the response in the thread you created for that question. Cross posting can make it difficult to track a topic so if possible please try to avoid it :)

                                  Never underestimate the power of human stupidity

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    There is a actually FreeBSD package for videocache. I wonder why it was not used originally?

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      afamnu
                                      last edited by

                                      where i can find it steve ??

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        It's in the ftp archive same as the other packages:

                                        ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/videocache.tbz
                                        

                                        I have never tried this package.I have never run videocache in any way. I can guess that there was a good reason why JimP didn't use it in his how-to.

                                        You're welcome to try it though.  ;)

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • jimpJ
                                          jimp Rebel Alliance Developer Netgate
                                          last edited by

                                          @stephenw10:

                                          I can guess that there was a good reason why JimP didn't use it in his how-to.

                                          I didn't write the howto, I just posted it on the wiki. There is an attribution at the bottom of the doc listing its original writer. I've never used videocache.

                                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                          Need help fast? Netgate Global Support!

                                          Do not Chat/PM for help!

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            Gloom
                                            last edited by

                                            I think you'll find that videocache is now a commercial product and not cheap

                                            Never underestimate the power of human stupidity

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.