Re: Do I really have to install 80 packages?

2013-10-14 Thread Da Rock

On 10/13/13 17:38, Thomas Mueller wrote:

On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 
32-bit version with (i386-)Wine?

I plan to try that.
Apparently that won't solve much. The primary issue now with watching 
flash movies is the drm - on linux it somehow uses hal and dbus, on 
windows it uses the registry.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I really have to install 80 packages?

2013-10-13 Thread Thomas Mueller
On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 
32-bit version with (i386-)Wine?

I plan to try that.

Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I really have to install 80 packages?

2013-10-12 Thread Walter Hurry
On Sat, 12 Oct 2013 05:31:56 +0200, Polytropon wrote:

 On Fri, 11 Oct 2013 17:54:24 -0400, Glenn Sieb wrote:
 On 10/11/13 5:38 PM, Walter Hurry wrote:
  FreeBSD 9.1
  
  I want ONE shared lib; i.e. rsvg.so, which is provided by
  x11-toolkits/py-gnome-desktop.
  
  Unfortunately, it seems that going the normal route I shall have to
  install 80! ports to get it. Is there an easier way?
 
 Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for
 you?
 
 Maybe graphics/librsvg2 is better suited (even though it's version 2 of
 the library). The problem initially mentions will remain: lots of
 installation dependencies. Sadly, that seems to be normal today as
 modern software tends to rely on layers of libraries of abstraction of
 tools of utilities of stuff of layers of layers of other abstractions.
 :-)
 
 As you see: gnome-desktop and gtk20. That should bring your warning
 lights up: lots of dependencies ahead!
 
 When you try to install a simple desktop environment, you'll be
 confronted with hundreds of packages to be installed, some of them
 you've probably never had thought of in regards of what you need to
 install a desktop, such as two or more different databases, LaTeX,
 translators, and other surprising stuff. This will probably apply to
 most complex components and parts of desktop environments or X11
 toolkits (as mentioned above).
 
 As I mentioned, the librsvg2 port will install lib/librsvg-2.so.
 It might require you to re-install your target application to link
 against that library.
 
 A library libsvg.so (without version number) doesn't seem to be in the
 ports tree by that name.
 
 My lazy man's method of searching what port might contain the library:
 Midnight Commander, go to /usr/ports, Meta-?, seach in pkg-plist,
 search for text librsvg and examine the results with PF3. This method
 relies on approaches that might be wrong... :-)
 
 Note that my (locally installed) ports tree is not up to date anymore so
 you should consider performing a search on a recent tree to make sure I
 didn't miss anything.

Thanks Polytropon, but the one I needed was this:

x11-toolkits/py-gnome-desktop/pkg-plist:%%PYTHON_SITELIBDIR%%/gtk-2.0/
rsvg.so

I have given in, let it install all 80 ports, saved the one shlib I need 
and deleted the ports again. All is now well.

By the way, I needed it for the 'screenlets' Python applications; in 
particular ClockScreenlet.py.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I really have to install 80 packages?

2013-10-12 Thread gct7photography
I don't know what others think, but what *I* really want is that the
free software versions of Flash (gnash and klash, etc) work at least as
well as versions of Adobe Flash do, or if versions of Adobe Flash are
to be used, that it will be free and covered by the GPL.

Its unlikely to happen unless we start a campaign among the Free
Software users of the world to make Flash free software.

Yes, I know HTML 5 is just around the corner, but we've seen a
concerted effort already (in the European Parliament at least) to
introduce DRM into HTML 5 and though it may make using Flash marginally
easier, it would be a retrograde step if DRM is to be introduced.

So what are we left with?  Free software to replicate what Flash
does (at least) that does not have the taint of proprietary software?
Is that not an achievable goal?

I can't code but would be willing to join a project with those
achievable goals, but it hasn't appeared yet, so I don't seriously
expect it will happen any time soon.

++ Graham Todd


signature.asc
Description: PGP signature


Re: Do I really have to install 80 packages?

2013-10-12 Thread Polytropon
On Sat, 12 Oct 2013 23:28:40 +0100, gct7photogra...@gmail.com wrote:
 I don't know what others think, but what *I* really want is that the
 free software versions of Flash (gnash and klash, etc) work at least as
 well as versions of Adobe Flash do, or if versions of Adobe Flash are
 to be used, that it will be free and covered by the GPL.

First of all, keep in mind you're walking corporate territory
here. No company will give you anything for free, and even if
it looks free, there's a catch somewhere. Flash as a technology
is dying. It didn't make the transition to the growing mobile
markets. That's why Adobe does not continue its Linux line of
product - a completely reasoname business decision.

People who use, or to be correct, _abuse_ Flash as a replace-
ment for markup and content are not interested in bringing their
product to your attention and reception.

What I'd like to see would be a Flash plugin integrated in
the web browser, with the option of being switched off. I'd
consider it a 1st class citizen by demanding that is has the
same status as embedded media, centered text, a PNG image or
a hyperlink, being a functional module of the web browser
like the renderer, the CSS interpreter, the JS interpreter
or something like that. Could you imagine to install a pro-
prietary plugin to be able to see a JPG image? To see text
centered? To click on a hyperlink? And all the time keep in
mind that it is backdoored? Hmmm...



 Its unlikely to happen unless we start a campaign among the Free
 Software users of the world to make Flash free software.

That won't happen. Flash is the property of a corporation.
The only alternative I see is that this corporation would
donate the product, releasing all the sources and abandoning
all involved lawyer-crap. But that won't happen. I think
most companies better close away the stuff they won't develop
anymore instead of handing it over to a community.



 Yes, I know HTML 5 is just around the corner, but we've seen a
 concerted effort already (in the European Parliament at least) to
 introduce DRM into HTML 5 and though it may make using Flash marginally
 easier, it would be a retrograde step if DRM is to be introduced.

As far as I know, DRM will be covered by the upcoming standard.
This means it will be _possible_ to implement DRM solutions in
HTML. _Using_ them - that's a totally different field.

Keep in mind an important thing:

Alternatives for Flash have been around for a decade at least.
Video, audio, interaction - all possible without it. It's not just
about the browser plugin (the player), it's also about the
creative tools that people use to produce the stuff. Those tools
are offered usually in expensive commercially distributed suites.
As soon as developers and creators get aware of alternatives that
they can learn and use for free, they _might_ change, but only if
the mindset changes.

It's not just about those tools, it's also about file formats.
What I'm talking about is media codecs. Some of them offer DRM
capabilites, others don't. Some of them are highly infected with
patents and other lawyer-crap. There are reasons why some
systems and environments can play various formats out of the
box, and others can't. Which formats are efficient for use with
the Internet? Which offer scaling and streaming capabilities,
important for mobile users who demand lower quality, less data
transfer, and tolerance to higher latency? Which codecs can
make use of a decoder made in hardware?

_This_ problem also has to be solved!

Now put this back into relation with my initial idea of making
that kind of content decoder part of the web browser. The
same way you see a JPG image on a web page and click on a
hyperlink... It should be easy, but sadly it isn't.

HTML5 tries to solve those problems. Its markup will be better
suited for handling media content, plus CSS and JS will be
important players on the interaction field. There are already
projects that utilize those tools, and _developer tools_ as
well as _creator tools_ will be present. Maybe they will even
be present for free. YouTube can do fine without Flash already.
Online games in HTML5 are appearing. On the other hand, Flash
is a no-go on mobile, and mobile is becoming more and more
important to consumers. Additionally, more and more people
become aware of the danger of proprietary software (in regards
of privacy and corporate control, as well as an improving
understanding of what DRM does to their freedom). It will take
some time to show significant effect.

Let's hope people are going to get smarter than I assume. :-)



 So what are we left with?  Free software to replicate what Flash
 does (at least) that does not have the taint of proprietary software?
 Is that not an achievable goal?

It is a _desired_ goal.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list

Re: Do I really have to install 80 packages?

2013-10-12 Thread Ralf Mardorf
On Sun, 2013-10-13 at 04:48 +0200, Polytropon wrote:
 Let's hope people are going to get smarter than I assume. :-)

It's new, not even 100 years old. Within our lifetimes people likely
become more stupid, but yes, it will take some generations and people
will get smarter.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Do I really have to install 80 packages?

2013-10-11 Thread Walter Hurry
FreeBSD 9.1

I want ONE shared lib; i.e. rsvg.so, which is provided by
x11-toolkits/py-gnome-desktop.

Unfortunately, it seems that going the normal route I shall have to 
install 80! ports to get it. Is there an easier way?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I really have to install 80 packages?

2013-10-11 Thread Glenn Sieb
On 10/11/13 5:38 PM, Walter Hurry wrote:
 FreeBSD 9.1
 
 I want ONE shared lib; i.e. rsvg.so, which is provided by
 x11-toolkits/py-gnome-desktop.
 
 Unfortunately, it seems that going the normal route I shall have to 
 install 80! ports to get it. Is there an easier way?

Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for you?

Best,
--Glenn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I really have to install 80 packages?

2013-10-11 Thread Polytropon
On Fri, 11 Oct 2013 17:54:24 -0400, Glenn Sieb wrote:
 On 10/11/13 5:38 PM, Walter Hurry wrote:
  FreeBSD 9.1
  
  I want ONE shared lib; i.e. rsvg.so, which is provided by
  x11-toolkits/py-gnome-desktop.
  
  Unfortunately, it seems that going the normal route I shall have to 
  install 80! ports to get it. Is there an easier way?
 
 Actually I think you want x11-toolkits/gtk20..? Would pkg_add work for you?

Maybe graphics/librsvg2 is better suited (even though it's
version 2 of the library). The problem initially mentions
will remain: lots of installation dependencies. Sadly, that
seems to be normal today as modern software tends to rely
on layers of libraries of abstraction of tools of utilities
of stuff of layers of layers of other abstractions. :-)

As you see: gnome-desktop and gtk20. That should bring
your warning lights up: lots of dependencies ahead!

When you try to install a simple desktop environment, you'll
be confronted with hundreds of packages to be installed, some
of them you've probably never had thought of in regards of
what you need to install a desktop, such as two or more
different databases, LaTeX, translators, and other surprising
stuff. This will probably apply to most complex components and
parts of desktop environments or X11 toolkits (as mentioned
above).

As I mentioned, the librsvg2 port will install lib/librsvg-2.so.
It might require you to re-install your target application to
link against that library.

A library libsvg.so (without version number) doesn't seem to
be in the ports tree by that name.

My lazy man's method of searching what port might contain the
library: Midnight Commander, go to /usr/ports, Meta-?, seach
in pkg-plist, search for text librsvg and examine the
results with PF3. This method relies on approaches that might
be wrong... :-)

Note that my (locally installed) ports tree is not up to date
anymore so you should consider performing a search on a recent
tree to make sure I didn't miss anything.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-09 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 03:31:16PM +0200, Matthias Apitz 
escribió:

 Meanwhile I did:
 
 # cp -Rp ~guru/PKGDIR/mnt
 
 # PKG_PATH=/PKGDIR
 # export PKG_PATH
 # chroot /mnt pkg_add xorg-7.7
 # chroot /mnt pkg_add kde-4.10.5
 # chroot /mnt pkg_add vim-7.3.1314
 ...
 
 # chroot /mnt pkg_info | wc -l
  654
 
 which went fine without any errors (only the normal messages about
 creation of users, etc.); I will test the resulting image and report
 back.

I have transferred the image with dd(1) to a 16 marketing-GByte USB
key; it boots fine in my little EeePC 900, takes around 90 secs until
login: and KDE4 starts fine too, takes around 240 secs from startx to
be able to start an xterm application in KDE4 desktop; i.e. it works,
even from such a slow USB key which has a read performance of 1 to 17 MByte
per sec, depending of the blocksize 512 or 8m;

All this is only a proof of concept to prepare such USB key to boot from
and reinstall from it the system on my EeePC netbook whic runs at
themoment r235646 with KDE3 (which is now dropped from our ports tree).

It seems that KDE4 launches a lot of application or services which I
will not need, for example all these akonadi_maildir processes (see
attached ps -ax output; for what they are good for? Ok, this question
goes more to the kde@ mailing list.

Thx

matthias




 PID TT  STATTIME COMMAND
   0  -  DLs  0:00.05 [kernel]
   1  -  ILs  0:00.02 /sbin/init --
   2  -  DL   0:00.00 [sctp_iterator]
   3  -  DL   0:00.00 [xpt_thrd]
   4  -  DL   0:00.11 [pagedaemon]
   5  -  DL   0:00.00 [vmdaemon]
   6  -  DL   0:00.00 [pagezero]
   7  -  DL   0:00.00 [bufdaemon]
   8  -  DL   0:00.09 [syncer]
   9  -  DL   0:00.00 [vnlru]
  10  -  DL   0:00.00 [audit]
  11  -  RL   2:53.86 [idle]
  12  -  WL   0:02.35 [intr]
  13  -  DL   0:00.84 [geom]
  14  -  DL   0:00.05 [rand_harvestq]
  15  -  DL   0:00.90 [usb]
  16  -  DL   0:00.03 [acpi_thermal]
  17  -  DL   0:00.00 [softdepflush]
1391  -  Ss   0:00.03 /sbin/devd
1536  -  Ss   0:00.04 /usr/sbin/syslogd -s
1560  -  DL   0:00.04 [md0]
1641  -  Is   0:00.60 /usr/sbin/moused -p /dev/psm0 -t auto
1686  -  Is   0:00.00 /usr/sbin/sshd
1689  -  Ss   0:00.02 sendmail: accepting connections (sendmail)
1692  -  Is   0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmque
1696  -  Ss   0:00.05 /usr/sbin/cron -s
1796  -  Is   0:19.46 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-a
1802  -  Is   0:00.91 kdeinit4: kdeinit4 Running... (kdeinit4)
1803  -  I0:00.60 kdeinit4: kdeinit4: klauncher --fd=8 (kdeinit4)
1805  -  I0:05.90 kdeinit4: kdeinit4: kded4 (kdeinit4)
1807  -  I0:00.07 /usr/local/libexec/gam_server
1811  -  I0:02.99 kdeinit4: kdeinit4: kglobalaccel (kdeinit4)
1817  -  I0:06.23 /usr/local/kde4/bin/knotify4
1819  -  I0:02.45 kdeinit4: kdeinit4: ksmserver (kdeinit4)
1820  -  I0:11.72 kwin -session 10d6114d4e60001381347192001812_1381
1824  -  I0:14.72 kdeinit4: kdeinit4: plasma-desktop (kdeinit4)
1827  -  I0:20.26 /usr/local/kde4/bin/akonadi_control
1828  -  I0:02.79 akonadiserver
1830  -  I0:03.56 /usr/local/libexec/mysqld --defaults-file=/home/guru/.loc
1838  -  I0:02.07 /usr/local/kde4/bin/kuiserver
1840  -  I0:00.08 kdeinit4: kdeinit4: nepomukserver (kdeinit4)
1843  -  I0:04.73 kdeinit4: kdeinit4: krunner (kdeinit4)
1845  -  I0:02.35 kdeinit4: kdeinit4: kmix -session 10d6114d4e6000138134736
1846  -  IN   0:00.93 /usr/local/kde4/bin/nepomukservicestub nepomukstorage
1849  -  I0:00.60 /usr/local/kde4/bin/nepomukcontroller -session 10d6114d4e
1852  -  I0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1853  -  I0:01.07 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1854  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1855  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1856  -  I0:03.81 /usr/local/kde4/bin/akonadi_archivemail_agent --identifie
1857  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_ical_r
1858  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1859  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1860  -  I0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1861  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1862  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1863  -  I0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1864  -  I0:01.06 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1865  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1866  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1867  -  I0:01.03 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1868  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1869  -  I0:01.02 

install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz

Hello,

I have prepared a boot-able USB-key (to be exactly a disk image of it)
the usual way:

# dd if=/dev/zero of=da0  bs=8m count=1868
# mdconfig -a -t vnode -f da0
md0

# fdisk -I md0
# fdisk -B md0
# bsdlabel -w md0s1 auto
# bsdlabel -B md0s1
# bsdlabel -e md0s1  # edit the disk label and change partition a from 
unused to 4.2BSD

# newfs /dev/md0s1a
# mount /dev/md0s1a /mnt

# cd /usr/src

now we can install world an kernel:

# make installworld  DESTDIR=/mnt
# make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t
# make distrib-dirs  DESTDIR=/mnt
# make distribution  DESTDIR=/mnt
...

I have compiled ~800 ports (Xorg and KDE4) and after this I've created
packages of all the installed ports with pkg_create(1); the resulting
.tgz files are all as well copied to the image into /mnt/PKGDIR.

So far so good. Now I want install the packages as well into the image
in /mnt. What would be the best method for this? Run pkg_add with the
flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?

Thanks in advance

All this is with 10-CURRENT (base and ports).

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
 
 So far so good. Now I want install the packages as well into the image
 in /mnt. What would be the best method for this? Run pkg_add with the
 flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
 
 Thanks in advance
 
 All this is with 10-CURRENT (base and ports).
 

pkg_add and all of the old pkgtools do not exist in 10-CURRENT
anymore. Are you running a build of 10-CURRENT before they were removed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió:

 On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
  
  So far so good. Now I want install the packages as well into the image
  in /mnt. What would be the best method for this? Run pkg_add with the
  flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
  
  Thanks in advance
  
  All this is with 10-CURRENT (base and ports).
  
 
 pkg_add and all of the old pkgtools do not exist in 10-CURRENT
 anymore. Are you running a build of 10-CURRENT before they were removed?

No. The r255948 was built on a clean, empty environment but with

$ cat /etc/src.conf 
WITH_PKGTOOLS=yes

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote:
 El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder
 escribió:
 
  On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
   
   So far so good. Now I want install the packages as well into the image
   in /mnt. What would be the best method for this? Run pkg_add with the
   flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
   
   Thanks in advance
   
   All this is with 10-CURRENT (base and ports).
   
  
  pkg_add and all of the old pkgtools do not exist in 10-CURRENT
  anymore. Are you running a build of 10-CURRENT before they were removed?
 
 No. The r255948 was built on a clean, empty environment but with
 
 $ cat /etc/src.conf 
 WITH_PKGTOOLS=yes
 

Ok, I won't question your needs for pkg_* as you seem to be aware of
what you're doing :-)

When you use pkg_* or pkg with their built-in chroot options it seems
that it executes those tools within those chroots instead of setting the
chroot as a destination for the installation. So if you wanted to use
--chroot I think you have to make sure the packages are available inside
the chroot. Perhaps there's some sort of DESTDIR option for the package
installation? I've been searching but have had no luck yet. I'll ask
around. It might be more reliable to do something like nullfs mount the
packages into the chroot and do the installation completely within the
chroot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 08:12:31AM -0500, Mark Felder escribió:

  No. The r255948 was built on a clean, empty environment but with
  
  $ cat /etc/src.conf 
  WITH_PKGTOOLS=yes
  
 
 Ok, I won't question your needs for pkg_* as you seem to be aware of
 what you're doing :-)
 
 When you use pkg_* or pkg with their built-in chroot options it seems
 that it executes those tools within those chroots instead of setting the
 chroot as a destination for the installation. So if you wanted to use
 --chroot I think you have to make sure the packages are available inside
 the chroot. Perhaps there's some sort of DESTDIR option for the package
 installation? I've been searching but have had no luck yet. I'll ask
 around. It might be more reliable to do something like nullfs mount the
 packages into the chroot and do the installation completely within the
 chroot.

Meanwhile I did:

# cp -Rp ~guru/PKGDIR/mnt

# PKG_PATH=/PKGDIR
# export PKG_PATH
# chroot /mnt pkg_add xorg-7.7
# chroot /mnt pkg_add kde-4.10.5
# chroot /mnt pkg_add vim-7.3.1314
...

# chroot /mnt pkg_info | wc -l
 654

which went fine without any errors (only the normal messages about
creation of users, etc.); I will test the resulting image and report
back.

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Perl packages fails to build

2013-10-03 Thread C. L. Martinez
Hi all,

 Using freebsd 9.2 amd64 and poudriere, perl fails to build:

/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/.
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/BSDPAN.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/BSDPAN.pm
/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/BSDPAN
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/BSDPAN/Override.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/BSDPAN/Override.pm
/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/.
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/Config.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/Config.pm
/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/ExtUtils/MM_Unix.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils/MM_Unix.pm
/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/ExtUtils/MakeMaker.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils/MakeMaker.pm
/bin/mkdir -p 
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/lang/perl5.14/work/BSDPAN-2007/ExtUtils/Packlist.pm
/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/BSDPAN/ExtUtils/Packlist.pm
 Compressing man pages
===  Installing for perl-5.14.4_1
===  Checking if lang/perl5.14 already installed
===   Registering installation for perl-5.14.4_1
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/man/man3/):
No such file or directory
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/5.14/man/):
No such file or directory
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/sys/):
No such file or directory
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/machine/):
No such file or directory
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto/):
No such file or directory
pkg-static: 
lstat(/wrkdirs/usr/ports/lang/perl5.14/work/stage/usr/local/lib/perl5/site_perl/5.14/auto/):
No such file or directory
*** [fake-pkg] Error code 74

Stop in /usr/ports/lang/perl5.14.
===  Cleaning for perl-5.14.4_1
build of /usr/ports/lang/perl5.14 ended at Thu Oct  3 13:07:33 UTC 2013
build time: 00:05:13

Any idea??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Yuri

I installed 9.1 from iso image.
Then 'pkg' command brought pkg-1.0.11 package.
Now commands like 'pkg install gnome2' always say:
pkg: Package 'gnome2' was not found in the repositories.

Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg install on freshly installed 9.1 doesn't find any packages

2013-08-16 Thread Matthew Seaman
On 17/08/2013 05:41, Yuri wrote:
 I installed 9.1 from iso image.
 Then 'pkg' command brought pkg-1.0.11 package.
 Now commands like 'pkg install gnome2' always say:
 pkg: Package 'gnome2' was not found in the repositories.
 
 Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

You have an old version of pkg there, and it looks like the pkg.conf
that came with that version doesn't point at a repository with any
useful contents.

Try:

pkg upgrade

which /should/ get you pkg-1.1.4_1

Then check ${LOCALBASE}/etc/pkg.conf and make sure packagesite is set to:

   http://pkg.freebsd.org/${ABI}/latest

or there are some other publicly availble repos: Exonetric has one, as
does PC-BSD.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: HOWTO monitor changes in installed packages within jails?

2013-07-23 Thread Michael Grimm

On 20.07.2013, at 18:34, Michael Grimm trash...@odo.in-berlin.de wrote:

 On 20.07.2013, at 14:53, Matthew Seaman m.sea...@infracaninophile.co.uk 
 wrote:
 On 20/07/2013 12:09, Michael Grimm wrote:
 
 I did migrate to pkgng some month ago, and ever since I am curious
 how to monitor changes in installed packages within jails. I am
 looking for a functionality/port that works like 490.status-
 pkg-changes for my host.
 
 Question: is there any functionality within the periodic system or a
 port that I might have missed to find?
 
 You can't just run 490.status-pkg-changes directly in your jail?
 
 Yes, I can ;-) 
 
 But! I do have a lot of service jails running at my host, thus I would like 
 to omit modifying every jail's /etc/periodic.conf adding:
 
 | daily_status_pkg_changes_enable=YES# Show package changes
 | pkg_info=pkg info  # Use this program
 
 
 Try this patch:
 
 Thanks for that approach, namely adding pkg -j jailname info for every jail 
 running. Due to my amount of jails I might need to add some looping over jls 
 -N output instead of adding a lot of $daily_status_pkg_changes_flags.
 
 I was hoping that I could omit programming that functionality myself, but I 
 might need to do so.

I ended up in adding:
--- snip 
--- /usr/src/etc/periodic/daily/490.status-pkg-changes  2013-04-03 
17:59:35.894705550 +0200
+++ /etc/periodic/daily/490.status-pkg-changes  2013-07-23 20:19:27.833641916 
+0200
@@ -32,6 +32,24 @@
diff -U 0 $bak/pkg_info.bak2 $bak/pkg_info.bak \
| grep '^[-+][^-+]' | sort -k 1.2
fi
+
+# added jail(s) support
+#
+   for jname in `jls -N | grep -v JID | awk '{print $1}'`; do
+   if [ -f $bak/pkg_info_${jname}.bak ]; then
+   mv -f $bak/pkg_info_${jname}.bak 
$bak/pkg_info_${jname}.bak2
+   fi
+   jexec ${jname} ${pkg_info:-/usr/sbin/pkg_info}  
$bak/pkg_info_${jname}.bak
+
+   cmp -sz $bak/pkg_info_${jname}.bak 
$bak/pkg_info_${jname}.bak2
+   if [ $? -eq 1 ]; then
+   echo 
+   echo Changes in installed packages (jail 
${jname}):
+   diff -U 0 $bak/pkg_info_${jname}.bak2 
$bak/pkg_info_${jname}.bak \
+   | grep '^[-+][^-+]' | sort -k 1.2
+   fi
+   done
+
fi
;;
--- snip 

Not perfect, really, but working at my side.

Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


HOWTO monitor changes in installed packages within jails?

2013-07-20 Thread Michael Grimm
Hi --

I did migrate to pkgng some month ago, and ever since I am curious how to 
monitor changes in installed packages within jails. I am looking for a 
functionality/port that works like 490.status-pkg-changes for my host.

Question: is there any functionality within the periodic system or a port that 
I might have missed to find?

Thanks in advance and with kind regards,
Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HOWTO monitor changes in installed packages within jails?

2013-07-20 Thread Matthew Seaman
On 20/07/2013 12:09, Michael Grimm wrote:
 I did migrate to pkgng some month ago, and ever since I am curious
 how to monitor changes in installed packages within jails. I am
 looking for a functionality/port that works like 490.status-
 pkg-changes for my host.
 
 Question: is there any functionality within the periodic system or a
 port that I might have missed to find?

You can't just run 490.status-pkg-changes directly in your jail?

Try this patch:

lucid-nonsense:/tmp:% diff -u 490.status-pkg-changes{.orig,}
--- 490.status-pkg-changes.orig 2013-07-20 13:43:44.306303775 +0100
+++ 490.status-pkg-changes  2013-07-20 13:44:42.055327506 +0100
@@ -10,7 +10,7 @@

 case $daily_status_pkg_changes_enable in
[Yy][Ee][Ss])
-   pkgcmd=/usr/local/sbin/pkg
+   pkgcmd=/usr/local/sbin/pkg $daily_status_pkg_changes_flags

echo
echo 'Changes in installed packages:'

Then add something like the following to /etc/periodic.conf:

daily_status_pkg_changes_flags='-j jailname'

Of course, this only lets you monitor changes in one jail at a time.
You can cover more by copying the script and changing its name eg.

sed -e 's/daily_status_pkg_changes/daily_status_pkg_changes2/g' \
 490.status-pkg-changes  490.status-pkg-changes2

Then add appropriate daily_status_pkg_changes2_flags='-j otherjail'
settings to periodic.conf

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: HOWTO monitor changes in installed packages within jails?

2013-07-20 Thread Michael Grimm
On 20.07.2013, at 14:53, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
 On 20/07/2013 12:09, Michael Grimm wrote:

 I did migrate to pkgng some month ago, and ever since I am curious
 how to monitor changes in installed packages within jails. I am
 looking for a functionality/port that works like 490.status-
 pkg-changes for my host.
 
 Question: is there any functionality within the periodic system or a
 port that I might have missed to find?
 
 You can't just run 490.status-pkg-changes directly in your jail?

Yes, I can ;-) 

But! I do have a lot of service jails running at my host, thus I would like to 
omit modifying every jail's /etc/periodic.conf adding:

| daily_status_pkg_changes_enable=YES# Show package changes
| pkg_info=pkg info  # Use this program


 Try this patch:

Thanks for that approach, namely adding pkg -j jailname info for every jail 
running. Due to my amount of jails I might need to add some looping over jls 
-N output instead of adding a lot of $daily_status_pkg_changes_flags.

I was hoping that I could omit programming that functionality myself, but I 
might need to do so.

Thanks for your input and with kind regards,
Michael


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mirroring Binary Packages

2013-07-01 Thread Rick Miller
Hi all,

I want to mirror binary packages for 8.x amd64 internally on an
isolated network.  It appears the appropriate source would be on an
official mirror at pub/FreeBSD/ports/amd64/packages-8-stable/ for the
most recent updates.  However, it does not appear to have been updated
since October 2012 as seen by the dates of files.  Is this the
appropriate source to mirror for the most recently built binary
packages for 8.x amd64?

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


upgrade packages

2013-04-25 Thread Pol Hallen
Hi all!

I come from linux os and I read a lot documentations about freebsd.

I've a doubt: when I've some packages installed and I need upgrade it, I
need to recompile those packages or there's another (fast) way to do this?

thanks!

Pol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: upgrade packages

2013-04-25 Thread Polytropon
On Thu, 25 Apr 2013 15:05:25 +0200, Pol Hallen wrote:
 Hi all!
 
 I come from linux os and I read a lot documentations about freebsd.
 
 I've a doubt: when I've some packages installed and I need upgrade it, I
 need to recompile those packages or there's another (fast) way to do this?

With the new pkgng (the replacement for the traditional
pkg infrastructure that handles precompiled binary packages)
this won't be a problem, as long as the default compile
options and settings are fine for you.

If not, today's PCs have multiple plenticore CPUs with tons
of RAM and endless hard disks, so running portmaster -a
won't be a big deal. :-)

On FreeBSD, it's _your_ choice.

It's already in The FreeBSD Handbook:

http://www.freebsd.org/doc/en/books/handbook/pkgng-intro.html

Soon, it will be the system's default.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


When will binary packages be back?

2013-04-10 Thread Brett Glass
For many years, I've used FreeBSD binary packages to avoid long 
waits and/or having to set up a special build machine when creating 
small systems. But even though the development server security 
breach is now long past, there are no published binary packages for 
FreeBSD 9.1. When will they be back?


--Brett Glass

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread pete wright
On Wed, Apr 10, 2013 at 10:39 AM, Brett Glass br...@lariat.net wrote:

 For many years, I've used FreeBSD binary packages to avoid long waits and/or 
 having to set up a special build machine when creating small systems. But 
 even though the development server security breach is now long past, there 
 are no published binary packages for FreeBSD 9.1. When will they be back?


can't answer for the freebsd project - but the folks at pc-bsd have
made a 9.1 pkgng repository available:

http://blog.pcbsd.org/2013/04/pc-bsd-announces-package-repository-for-pc-bsd-and-freebsd-9-1-release/

there is also an east coast mirror hosted by NycBUG/NYI:

http://lists.nycbug.org/pipermail/talk/2013-March/014741.html

-pete
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Jeff Tipton

On 04/10/2013 20:39, Brett Glass wrote:
For many years, I've used FreeBSD binary packages to avoid long waits 
and/or having to set up a special build machine when creating small 
systems. But even though the development server security breach is now 
long past, there are no published binary packages for FreeBSD 9.1. 
When will they be back?


--Brett Glass

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
There's a recent update on the compromise announcement page that 
promises the packages coming soon:


http://www.freebsd.org/news/2012-compromise.html

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Brett Glass
Unfortunately, I've never experimented with pkgng, so will have to 
come up to speed on

this. Might be a temporary workaround.

In the meantime, I'm trying to install Apache 2.2 on a small 
server. So far, just to
build the port, the machine has built Perl, Python, m4, Berkeley 
DB, and an incredible
assortment of other stuff that I do not want or need on that 
machine! And because
the make distclean command in the FreeBSD ports system does not 
remove code for
dependencies, I'll have tons of source -- including GPLed code, 
which I do not want
to touch -- on the machine unless I do a painstaking manual search 
and removal. Aaargh!


--Brett Glass

At 12:03 PM 4/10/2013, pete wright wrote:


can't answer for the freebsd project - but the folks at pc-bsd have
made a 9.1 pkgng repository available:

http://blog.pcbsd.org/2013/04/pc-bsd-announces-package-repository-for-pc-bsd-and-freebsd-9-1-release/

there is also an east coast mirror hosted by NycBUG/NYI:

http://lists.nycbug.org/pipermail/talk/2013-March/014741.html

-pete


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread pete wright
On Wed, Apr 10, 2013 at 11:19 AM, Brett Glass br...@lariat.net wrote:
 Unfortunately, I've never experimented with pkgng, so will have to come up
 to speed on
 this. Might be a temporary workaround.


it is def. where the project is moving towards for binary pkg
distribution, so it won't be a wasted effort :)

i've been quite happy with it since it first was released, and there
is still plenty of active development happening on it as well.

-pete

--
pete wright
www.nycbug.org
@nomadlogicLA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/10/13 2:19 PM, Brett Glass wrote:
 Unfortunately, I've never experimented with pkgng, so will have to 
 come up to speed on this. Might be a temporary workaround.
 
 In the meantime, I'm trying to install Apache 2.2 on a small 
 server. So far, just to build the port, the machine has built
 Perl, Python, m4, Berkeley DB, and an incredible assortment of
 other stuff that I do not want or need on that machine! And because
 the make distclean command in the FreeBSD ports system does not 
 remove code for dependencies, I'll have tons of source --
 including GPLed code, which I do not want to touch -- on the
 machine unless I do a painstaking manual search and removal.
 Aaargh!
 
 --Brett Glass

Hi Brett,

Here's an easy way to delete all of the distfiles for a port and its
dependencies:

cd /usr/ports/www/apache22 # Or whatever
make distclean
make all-depends-list | xargs -n1 -I % sh -c cd %  make distclean

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFlsXoACgkQ0sRouByUApAG1ACaAgxhsxFkWCiD0TTiCcfjBqEk
SVsAoIVnv1XlXlBxwPSIyaRq4gP/kz+d
=uB9B
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Mike.
On 4/10/2013 at 11:39 AM Brett Glass wrote:

|For many years, I've used FreeBSD binary packages to avoid long 
|waits and/or having to set up a special build machine when creating 
|small systems. But even though the development server security 
|breach is now long past, there are no published binary packages for 
|FreeBSD 9.1. When will they be back?
 =


Additionally, for me, building from ports for me has tended to pull in
many, many X-windows support files when they are not needed.

Specifically, I run a non-windowing system using command line tools.
When I tried to compile Samba from ports, I finally killed the 'make'
stage after three hours of compiling X-windows stuff.

Nowhere had I ever spcified that the system was running X or any other
windowing system.  Yet, there it was, three hours of wasted time.

I never had such issues when installing from packages.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Jeff Tipton

On 04/10/2013 22:19, Mike. wrote:

On 4/10/2013 at 11:39 AM Brett Glass wrote:

|For many years, I've used FreeBSD binary packages to avoid long
|waits and/or having to set up a special build machine when creating
|small systems. But even though the development server security
|breach is now long past, there are no published binary packages for
|FreeBSD 9.1. When will they be back?
  =


Additionally, for me, building from ports for me has tended to pull in
many, many X-windows support files when they are not needed.

Specifically, I run a non-windowing system using command line tools.
When I tried to compile Samba from ports, I finally killed the 'make'
stage after three hours of compiling X-windows stuff.

Nowhere had I ever spcified that the system was running X or any other
windowing system.  Yet, there it was, three hours of wasted time.

I never had such issues when installing from packages.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

@Mike

Then you must have selected some non-default options that have pulled in 
those as dependencies. You can remove them by:


make rmconfig

or, including all dependent ports:

make rmconfig-recursive

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Michael Powell
Mike. wrote:

[snip]
 
 
 Additionally, for me, building from ports for me has tended to pull in
 many, many X-windows support files when they are not needed.
 
 Specifically, I run a non-windowing system using command line tools.
 When I tried to compile Samba from ports, I finally killed the 'make'
 stage after three hours of compiling X-windows stuff.
 
 Nowhere had I ever spcified that the system was running X or any other
 windowing system.  Yet, there it was, three hours of wasted time.
 

In addition to what Jeff has said, for servers where I do not want any X 
related stuff I place WITHOUT_X11= yes in /etc/make.conf. In addition to make 
config option(s), there may also be some default stuff here and there in the 
Mk files. The make.conf line will short circuit these.

IIRC there may be some exceptions where you need some (a handful or less) of 
some X related packages. Seem to think of things like gd, imagemagick, 
freetype, etc., for PHP kind of things. In these cases, the make.conf line 
will blanket cover most of what you don't want and you can choose make 
config options that will pull in only what you absolutely need without 
starting down the line to everything X-related.

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Mike.
On 4/10/2013 at 3:39 PM Michael Powell wrote:

|Mike. wrote:
|
|[snip]
| 
| 
| Additionally, for me, building from ports for me has tended to pull
in
| many, many X-windows support files when they are not needed.
| 
| Specifically, I run a non-windowing system using command line tools.
| When I tried to compile Samba from ports, I finally killed the
'make'
| stage after three hours of compiling X-windows stuff.
| 
| Nowhere had I ever spcified that the system was running X or any
other
| windowing system.  Yet, there it was, three hours of wasted time.
| 
|
|In addition to what Jeff has said, for servers where I do not want any
X 
|related stuff I place WITHOUT_X11= yes in /etc/make.conf. In addition
to
|make 
|config option(s), there may also be some default stuff here and there
in
|the 
|Mk files. The make.conf line will short circuit these.
|
|IIRC there may be some exceptions where you need some (a handful or
less)
|of 
|some X related packages. Seem to think of things like gd, imagemagick,

|freetype, etc., for PHP kind of things. In these cases, the make.conf
line 
|will blanket cover most of what you don't want and you can choose make

|config options that will pull in only what you absolutely need without

|starting down the line to everything X-related.
 =

Thanks Jeff and Mike for the assist.  I'll try both those suggestions.

Oddly, I was not presented with the usual port config screen when I ran
the make phase in the ports.   This is on a new install on a newly
formatted disk.   I thought it odd that the was no config screen, but I
chalked it up to something new in the 9.x versions (it was the first
time I installed 9.x).  It also was the first time I ever used portsnap
to obtain and install the ports tree.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Brett Glass

Just made that into a batch file for my library. Should be a target in
the standard ports Makefile, IMHO. Maybe call it rdistclean. Perhaps
this could be submitted as a PR.

--Brett Glass

At 12:37 PM 4/10/2013, Greg Larkin wrote:


Here's an easy way to delete all of the distfiles for a port and its
dependencies:

cd /usr/ports/www/apache22 # Or whatever
make distclean
make all-depends-list | xargs -n1 -I % sh -c cd %  make distclean


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Walter Hurry
On Wed, 10 Apr 2013 14:14:21 -0600, Brett Glass wrote:

 Just made that into a batch file for my library. Should be a target in
 the standard ports Makefile, IMHO. Maybe call it rdistclean. Perhaps
 this could be submitted as a PR.

There are various options in portsclean (provided by ports-mgmt/
portupgrade), but for distfiles I simply do:

sudo rm -rvf /usr/ports/distfiles/*

after my updates have finished.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-06 Thread Walter Hurry
On Thu, 04 Apr 2013 14:57:57 -0400, doug wrote:

 My questions: Does/will pkgng work? Are 9.1 packages on the ISO images?
 I am in the progess of answering that one for myself but had some time
 on my hands during the download :)

Prebuilt packages are on the way apparently, but I have made my own 
repository anyway for the 600-odd packages which I and my users need - 
thus I compile from ports once only (all are 9.1-RELEASE x86_64).

It works well, and is not difficult.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-06 Thread Joshua Isom

On 4/5/2013 7:51 AM, Walter Hurry wrote:

On Thu, 04 Apr 2013 14:57:57 -0400, doug wrote:


My questions: Does/will pkgng work? Are 9.1 packages on the ISO images?
I am in the progess of answering that one for myself but had some time
on my hands during the download :)


Prebuilt packages are on the way apparently, but I have made my own
repository anyway for the 600-odd packages which I and my users need -
thus I compile from ports once only (all are 9.1-RELEASE x86_64).

It works well, and is not difficult.



I've been using FreeBSD since the summer of 2005, I still have the first 
cd-r I used.  The fact that it's so easy makes me wonder why it hasn't 
been done yet.  It's been almost five months.  I used the repository, 
but I'm working on my own now that I have plenty of ram to do it.  In 
the time since then, every FreeBSD machine could have updated from 
source the base and all packages.  The ports tree is still updated, the 
source tree is still updated, so both should be presumed to be safe. 
Recently the FreeBSD website had some downtime from using -CURRENT, and 
apache hasn't been taken offline for five months, and aren't those two 
things all you really need to distribute ports?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-06 Thread Steve O'Hara-Smith
On Sat, 06 Apr 2013 15:25:42 -0500
Joshua Isom jri...@gmail.com wrote:

 I've been using FreeBSD since the summer of 2005, I still have the first 
 cd-r I used.  The fact that it's so easy makes me wonder why it hasn't 
 been done yet.  It's been almost five months.

It's easy to build a repository, it's hard to build a secure public
repository.

-- 
Steve O'Hara-Smith st...@sohara.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-06 Thread Walter Hurry
On Sat, 06 Apr 2013 22:02:38 +0100, Steve O'Hara-Smith wrote:

 On Sat, 06 Apr 2013 15:25:42 -0500 Joshua Isom jri...@gmail.com wrote:
 
 I've been using FreeBSD since the summer of 2005, I still have the
 first cd-r I used.  The fact that it's so easy makes me wonder why it
 hasn't been done yet.  It's been almost five months.
 
   It's easy to build a repository, it's hard to build a secure 
public
 repository.

Agreed; that's why I haven't attempted to do so. Also, I only build 
packages for the 600 or so packages in which I am interested, and only 
for the FreeBSD version in use, and only for the specific CPU 
architecture.

Maybe Joshua is overlooking something.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-06 Thread Joshua Isom

On 4/6/2013 7:56 PM, Walter Hurry wrote:


Agreed; that's why I haven't attempted to do so. Also, I only build
packages for the 600 or so packages in which I am interested, and only
for the FreeBSD version in use, and only for the specific CPU
architecture.

Maybe Joshua is overlooking something.



I've got poudriere up and running to simplify things for me now, but 
with the collective knowledge and willpower of the FreeBSD project, I'm 
surprised it's taken so long.  I understand securing a server isn't 
trivial, but after five months, there's nothing public about how long it 
will take or why it's taken so long.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


State of Packages

2013-04-04 Thread doug

Its seems certain that pkg_add is not [going to] be[ing] restored.

Index of ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.1-RELEASE/

NameSizeLast Modified
File:MANIFEST   1 KB12/04/12 10:10:00
File:base.txz   58452 KB12/04/12 10:09:00
File:doc.txz1410 KB 12/04/12 10:10:00
File:games.txz  1092 KB 12/04/12 10:10:00
File:kernel.txz 56686 KB12/04/12 10:10:00
File:lib32.txz  9516 KB 12/04/12 10:10:00
File:ports.txz  85867 KB12/04/12 10:10:00
File:src.txz94190 KB12/04/12 10:10:00

This pretty much invalidates 5.4 of the handbook.

My questions: Does/will pkgng work? Are 9.1 packages on the ISO images? I am in 
the progess of answering that one for myself but had some time on my hands 
during the download :)


_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-04 Thread Bryan Drewery
On 4/4/2013 1:57 PM, d...@safeport.com wrote:
 Its seems certain that pkg_add is not [going to] be[ing] restored.

Progress is being made on providing pkg_add and pkgng packages again.
They will come back.

 
 Index of ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.1-RELEASE/
 
 Name Size Last Modified
 File:MANIFEST 1 KB 12/04/12 10:10:00
 File:base.txz 58452 KB 12/04/12 10:09:00
 File:doc.txz 1410 KB 12/04/12 10:10:00
 File:games.txz 1092 KB 12/04/12 10:10:00
 File:kernel.txz 56686 KB 12/04/12 10:10:00
 File:lib32.txz 9516 KB 12/04/12 10:10:00
 File:ports.txz 85867 KB 12/04/12 10:10:00
 File:src.txz 94190 KB 12/04/12 10:10:00
 
 This pretty much invalidates 5.4 of the handbook.
 
 My questions: Does/will pkgng work? Are 9.1 packages on the ISO images?
 I am in the progess of answering that one for myself but had some time
 on my hands during the download :)
 
 _
 Douglas Denault
 http://www.safeport.com
 d...@safeport.com
 Voice: 301-217-9220
   Fax: 301-217-9277
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


-- 
Regards,
Bryan Drewery
bdrewery@freenode/EFNet



signature.asc
Description: OpenPGP digital signature


Re: State of Packages

2013-04-04 Thread Mark Blackman

On 4 Apr 2013, at 21:21, Bryan Drewery bdrew...@freebsd.org wrote:

 On 4/4/2013 1:57 PM, d...@safeport.com wrote:
 Its seems certain that pkg_add is not [going to] be[ing] restored.
 
 Progress is being made on providing pkg_add and pkgng packages again.
 They will come back.


For those who might be interested in an interim solution, we've set up 
an unofficial but public pkgng format repository at

http://mirror.exonetric.net/pub/pkgng

To use these packages, just set your PACKAGESITE variable in
/usr/local/etc/pkg.conf like so,

PACKAGESITE  : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest

These have FreeBSD 8, 9 and 10, i386 and amd64 kernel pkgng format packages
for the whole ports tree, build failures notwithstanding.

You'll have to explicitly make the decision to trust or not these
builds, of course, but all are welcome to use them until the official
ones are available.

- Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: State of Packages

2013-04-04 Thread doug

On Thu, 4 Apr 2013, Mark Blackman wrote:


On 4 Apr 2013, at 21:21, Bryan Drewery bdrew...@freebsd.org wrote:


On 4/4/2013 1:57 PM, d...@safeport.com wrote:

Its seems certain that pkg_add is not [going to] be[ing] restored.


Progress is being made on providing pkg_add and pkgng packages again.
They will come back.



For those who might be interested in an interim solution, we've set up
an unofficial but public pkgng format repository at

http://mirror.exonetric.net/pub/pkgng

To use these packages, just set your PACKAGESITE variable in
/usr/local/etc/pkg.conf like so,

PACKAGESITE  : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest

These have FreeBSD 8, 9 and 10, i386 and amd64 kernel pkgng format packages
for the whole ports tree, build failures notwithstanding.

You'll have to explicitly make the decision to trust or not these
builds, of course, but all are welcome to use them until the official
ones are available.


Thank you

_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fresh binary packages for 9.1 / 9 stable

2013-03-19 Thread CeDeROM
Hey hey :-)

Are there any news on fresh binary packages for 9.1-RELEASE / 9-STABLE? :-)

Best regards,
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: no 9.1-release packages?

2013-03-09 Thread Mark Blackman

On 7 Mar 2013, at 15:52, Ruben de Groot mai...@bzerk.org wrote:

 
 Hi,
 
 I just rented a 9.1-release VPS and was trying to install some packages.
 This however does not work as there is no directory packages-9.1-release on 
 the ftp server (ftp.freebsd.org). Why is this?
 

If you're prepared to move to pkgng for binary packages, 

https://wiki.freebsd.org/pkgng

There's an unofficial pkgng format repository of binary packages available

After installing pkgng (from ports), then edit your /usr/local/etc/pkg.conf to 
use
this line.

PACKAGESITE : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest

- Mark
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


no 9.1-release packages?

2013-03-07 Thread Ruben de Groot

Hi,

I just rented a 9.1-release VPS and was trying to install some packages.
This however does not work as there is no directory packages-9.1-release on 
the ftp server (ftp.freebsd.org). Why is this?

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64
ftp ls
229 Entering Extended Passive Mode (|||40379|).
150 Here comes the directory listing.
lrwxrwxrwx1 633  49315 Apr 19  2007 packages - 
packages-stable
drwxrwxr-x   95 967  100  2048 Jul 17  2012 packages-10-current
drwxrwxr-x   95 967  100  2048 Oct 07 08:18 packages-7-stable
drwxrwxr-x   95 967  100  2048 Oct 11 16:19 packages-8-stable
drwxrwxr-x   95 967  100  2048 Feb 10  2011 packages-8.2-release
drwxrwxr-x   95 967  100  2048 Mar 28  2012 packages-8.3-release
lrwxr-xr-x1 967  10017 Dec 09  2011 packages-9-current - 
packages-9-stable
drwxrwxr-x   95 967  100  2048 Oct 16 21:26 packages-9-stable
drwxrwxr-x   95 967  100  2048 Dec 29  2011 packages-9.0-release
lrwxr-xr-x1 967  10019 Dec 03  2011 packages-current - 
packages-10-current
lrwxr-xr-x1 967  10017 Nov 07  2011 packages-stable - 
packages-9-stable
ftp

--
Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: no 9.1-release packages?

2013-03-07 Thread Johan Hendriks

Ruben de Groot schreef:

Hi,

I just rented a 9.1-release VPS and was trying to install some packages.
This however does not work as there is no directory packages-9.1-release on 
the ftp server (ftp.freebsd.org). Why is this?

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64
ftp ls
229 Entering Extended Passive Mode (|||40379|).
150 Here comes the directory listing.
lrwxrwxrwx1 633  49315 Apr 19  2007 packages - 
packages-stable
drwxrwxr-x   95 967  100  2048 Jul 17  2012 packages-10-current
drwxrwxr-x   95 967  100  2048 Oct 07 08:18 packages-7-stable
drwxrwxr-x   95 967  100  2048 Oct 11 16:19 packages-8-stable
drwxrwxr-x   95 967  100  2048 Feb 10  2011 packages-8.2-release
drwxrwxr-x   95 967  100  2048 Mar 28  2012 packages-8.3-release
lrwxr-xr-x1 967  10017 Dec 09  2011 packages-9-current - 
packages-9-stable
drwxrwxr-x   95 967  100  2048 Oct 16 21:26 packages-9-stable
drwxrwxr-x   95 967  100  2048 Dec 29  2011 packages-9.0-release
lrwxr-xr-x1 967  10019 Dec 03  2011 packages-current - 
packages-10-current
lrwxr-xr-x1 967  10017 Nov 07  2011 packages-stable - 
packages-9-stable
ftp

--
Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


There was a security issue and therefor there are no packages for 9.1


Due to the security incident reported here:

http://www.FreeBSD.org/news/2012-compromise.html

only the small third-party package set on the DVD image is available at 
this time for users who require pre-built packages (just GNOME and KDE 
windowing systems). The FreeBSD Project's package building 
infrastructure is undergoing a complete review and redesign. At this 
time we can not commit to a date the full release package set will 
become available. A separate announcement will be made when that becomes 
available. If you wish to install 9.1-RELEASE now you can build your own 
packages using portsnap(8) to obtain an up to date ports tree and then 
build the packages. If you require pre-built packages you should wait 
for the announcement of the full release package set becoming available.


FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several 
vendors. One of the vendors that will be offering FreeBSD 9.1-based 
products is:



regards
Johan


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: no 9.1-release packages?

2013-03-07 Thread Ruben de Groot

On 7 mrt 2013, at 16:58, Johan Hendriks wrote:

 Ruben de Groot schreef:
 Hi,
 
 I just rented a 9.1-release VPS and was trying to install some packages.
 This however does not work as there is no directory packages-9.1-release 
 on the ftp server (ftp.freebsd.org). Why is this?


 There was a security issue and therefor there are no packages for 9.1
 
 
 Due to the security incident reported here:
 
 http://www.FreeBSD.org/news/2012-compromise.html
 
 only the small third-party package set on the DVD image is available at this 
 time for users who require pre-built packages (just GNOME and KDE windowing 
 systems). The FreeBSD Project's package building infrastructure is undergoing 
 a complete review and redesign. At this time we can not commit to a date the 
 full release package set will become available. A separate announcement will 
 be made when that becomes available. If you wish to install 9.1-RELEASE now 
 you can build your own packages using portsnap(8) to obtain an up to date 
 ports tree and then build the packages. If you require pre-built packages you 
 should wait for the announcement of the full release package set becoming 
 available.
 
 FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several 
 vendors. One of the vendors that will be offering FreeBSD 9.1-based products 
 is:

Thanks for the info Johan. I was aware of the compromise, just not of it still 
affecting the package building for 9.1 release.
No problem, there's no absolute requirement for pre-build packages here, so I 
installed some tools from packages-9-stable by setting PACKAGESITE and building 
the rest now from ports.

cheers,
Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


9.1 packages

2013-03-02 Thread Laszlo Danielisz
Hi Guys,

Do you have any idea when are going to be the packages available for FreeBSD 
9.1?

thx!
Laszlo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Packages [Stable] in sync

2013-02-19 Thread Lowell Gilbert
Jeff Tipton jef...@mail.com writes:

 Thank you, Damien, for the reply. AFAIK, STABLE gets updated every 2
 weeks but not every day, and it seems to be that because of the
 intrusion, it has not been updated for long. The versions of the ports
 that come with the 9.1-RELEASE are even slightly newer than those of
 9-STABLE packages. I think if I don't get the revision number from
 which the 9-STABLE was updated last time I'll use the ports tree that
 comes with 9.1-RELEASE. I hope it won't cause much version
 incompatibilities.

Um, not really. Or at least, not specific enough to be sure whether it
is correct or not.

The ports tree is not branched, and is intended to work with all
supported branches and releases. In other words, regardless of whether
you're running 9.1-RELEASE, 9-STABLE (in svn/cvs terms, RELENG_9), or
10.x (HEAD), you can (and, unless you have specific reasons otherwise,
usually corporate security dictates) should use a ports tree checked out
from HEAD.

This is unrelated to whether packages are available for the ports on a
particular branch or tag. Package availability is unusually limited at
the moment, but that's because the build cluster has very limited
capacity right now for a variety of reasons. That situation will improve
over time, but until computers are infinitely fast, the package
collection will lag somewhat behind the ports tree. 

Packages need to be built for a particular base system (or close
enough: generally all base-system versions in the same major-number
release can run the packages for any other within that same series, most
notably the -STABLE version).

Additionally, -STABLE base system is updated by definition every time
a developer checks into the relevant branch (currently RELENG_9). For
ports, as I said earlier, there is no equivalent; updates go to HEAD,
period. When packages get built for a particular base system is a matter
of policy on the build cluster. I don't use downloaded packages for
ports updates, but I would expect that to evolve as the new build
cluster does.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Packages [Stable] in sync

2013-02-19 Thread Fleuriot Damien

On Feb 17, 2013, at 3:44 PM, Jeff Tipton jef...@mail.com wrote:

 On 02/17/2013 13:13, Damien Fleuriot wrote:
 On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote:
 
 Hi,
 
 I upgraded 9.0 - 9.1 on my netbook and only then found out that there are 
 no packages for 9.1-RELEASE. On my desktops, I keep ports and packages at 
 the RELEASE versions, so I only have to compile when I need non-default 
 options or when there are no packages. Would it be possible to get the 
 ports snapshot that was used to compile the 9-STABLE packages? I think I 
 could use subversion but then I need to know the revision number of that 
 snapshot. What do you suggest?
 
 Thanks,
 Jeff
 
 Hi Jeff,
 
 I think you might be confused here.
 
 It is my understanding that there are ports for:
 - HEAD
 - x.y-RELEASE
 
 I don't think you're going to be able to get a snapshot from 9-STABLE, 
 because -STABLE is a continuing work.
 
 What version do you consider to be 9-STABLE ?
 Every time there's a new commit you get a new 9-STABLE.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 Thank you, Damien, for the reply. AFAIK, STABLE gets updated every 2 weeks 
 but not every day, and it seems to be that because of the intrusion, it has 
 not been updated for long. The versions of the ports that come with the 
 9.1-RELEASE are even slightly newer than those of 9-STABLE packages. I think 
 if I don't get the revision number from which the 9-STABLE was updated last 
 time I'll use the ports tree that comes with 9.1-RELEASE. I hope it won't 
 cause much version incompatibilities.


I'm not sure where you're getting your 9-STABLE ports from, Jeff.

In the SVN repository I only see release tags and HEAD:
http://svn.freebsd.org/ports/

I also second Gilbert's advice about using HEAD for your ports tree, we do this 
here in production with over 50 boxes and have had no problems so far.


If you still want to use the branch from 9.1-RELEASE, it's here:
svn://svn.freebsd.org/ports/tags/RELEASE_9_1_0/

Note that, unless I'm wrong, you will not be getting *ANY* update to the ports 
tree then, it's frozen.
This means no security updates and all, AFAICT.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Packages [Stable] in sync

2013-02-17 Thread Damien Fleuriot

On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote:

 Hi,
 
 I upgraded 9.0 - 9.1 on my netbook and only then found out that there are no 
 packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the 
 RELEASE versions, so I only have to compile when I need non-default options 
 or when there are no packages. Would it be possible to get the ports snapshot 
 that was used to compile the 9-STABLE packages? I think I could use 
 subversion but then I need to know the revision number of that snapshot. What 
 do you suggest?
 
 Thanks,
 Jeff
 

Hi Jeff,

I think you might be confused here.

It is my understanding that there are ports for:
- HEAD
- x.y-RELEASE

I don't think you're going to be able to get a snapshot from 9-STABLE, because 
-STABLE is a continuing work.

What version do you consider to be 9-STABLE ?
Every time there's a new commit you get a new 9-STABLE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports Packages [Stable] in sync

2013-02-17 Thread Jeff Tipton

On 02/17/2013 13:13, Damien Fleuriot wrote:

On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote:


Hi,

I upgraded 9.0 - 9.1 on my netbook and only then found out that there are no 
packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the RELEASE 
versions, so I only have to compile when I need non-default options or when there 
are no packages. Would it be possible to get the ports snapshot that was used to 
compile the 9-STABLE packages? I think I could use subversion but then I need to 
know the revision number of that snapshot. What do you suggest?

Thanks,
Jeff


Hi Jeff,

I think you might be confused here.

It is my understanding that there are ports for:
- HEAD
- x.y-RELEASE

I don't think you're going to be able to get a snapshot from 9-STABLE, because 
-STABLE is a continuing work.

What version do you consider to be 9-STABLE ?
Every time there's a new commit you get a new 9-STABLE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Thank you, Damien, for the reply. AFAIK, STABLE gets updated every 2 
weeks but not every day, and it seems to be that because of the 
intrusion, it has not been updated for long. The versions of the ports 
that come with the 9.1-RELEASE are even slightly newer than those of 
9-STABLE packages. I think if I don't get the revision number from which 
the 9-STABLE was updated last time I'll use the ports tree that comes 
with 9.1-RELEASE. I hope it won't cause much version incompatibilities.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ports Packages [Stable] in sync

2013-02-16 Thread Jeff Tipton

Hi,

I upgraded 9.0 - 9.1 on my netbook and only then found out that there 
are no packages for 9.1-RELEASE. On my desktops, I keep ports and 
packages at the RELEASE versions, so I only have to compile when I need 
non-default options or when there are no packages. Would it be possible 
to get the ports snapshot that was used to compile the 9-STABLE 
packages? I think I could use subversion but then I need to know the 
revision number of that snapshot. What do you suggest?


Thanks,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: packages listing

2013-02-10 Thread Nikos Vassiliadis

On 2/10/2013 8:57 AM, Polytropon wrote:

On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote:

Hi Everybody,

Do you have any idea how can I list those installed packages
that are not required by any other?


You can use sysutils/pkg_cutleaves to determine those.




I use this:

#!/bin/sh
pkg_info -R '*' | sed -n '
/^Information for /{
N
N
/Required by:/d
s/^Information for \(.*\):\n\n$/\1/p
}
'

HTH, Nikos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: packages listing

2013-02-10 Thread Teske, Devin
On Sun, 10 Feb 2013, Nikos Vassiliadis wrote:

 On 2/10/2013 8:57 AM, Polytropon wrote:
  On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote:
  Hi Everybody,
 
  Do you have any idea how can I list those installed packages
  that are not required by any other?
 
  You can use sysutils/pkg_cutleaves to determine those.
 
 
 
 I use this:
 
 #!/bin/sh
 pkg_info -R '*' | sed -n '
 /^Information for /{
  N
  N
  /Required by:/d
  s/^Information for \(.*\):\n\n$/\1/p
 }
 '

Just curious, why not use pkg_info -Ra instead of pkg_info -R '*' ?
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: packages listing

2013-02-10 Thread Nikos Vassiliadis

On 2/10/2013 3:09 PM, Teske, Devin wrote:

Just curious, why not use pkg_info -Ra instead of pkg_info -R '*' ?


Because I didnt know -a;)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: packages listing

2013-02-10 Thread Dánielisz László


Uhh, I got a couple of answers :)
Thx everybody!



 From: Nikos Vassiliadis nv...@gmx.com
To: Teske, Devin devin.te...@fisglobal.com 
Cc: Dánielisz László laszlo_daniel...@yahoo.com; Polytropon 
free...@edvax.de; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org 
Sent: Sunday, February 10, 2013 2:51 PM
Subject: Re: packages listing
 
On 2/10/2013 3:09 PM, Teske, Devin wrote:
 Just curious, why not use pkg_info -Ra instead of pkg_info -R '*' ?

Because I didnt know -a;)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


packages listing

2013-02-09 Thread Dánielisz László
Hi Everybody,

Do you have any idea how can I list those installed packages that are not 
required by any other?

Thx!
Laszlo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: packages listing

2013-02-09 Thread Polytropon
On Sat, 9 Feb 2013 22:52:37 -0800 (PST), Dánielisz László wrote:
 Hi Everybody,
 
 Do you have any idea how can I list those installed packages
 that are not required by any other?

You can use sysutils/pkg_cutleaves to determine those.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: packages listing

2013-02-09 Thread Ross
pkg_tree -t -q

On Sun, Feb 10, 2013 at 8:52 AM, Dánielisz László
laszlo_daniel...@yahoo.com wrote:
 Hi Everybody,

 Do you have any idea how can I list those installed packages that are not 
 required by any other?

 Thx!
 Laszlo
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Building a release with custom packages

2012-10-08 Thread Rick Miller
Hi All,

If anyone has interest, I have a new blog post on building a FreeBSD
release with custom packages at
http://blog.hostileadmin.com/2012/10/08/building-freebsd-media-with-custom-packages/

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-20 Thread Polytropon
On Mon, 20 Aug 2012 06:38:33 +0100, Matthew Seaman wrote:
 I always keep saying the ideal
 situation would be that you could customise and compile just your own
 really mission critical software and freely mix that with installing
 pre-compiled packages of anything else from the public repositories.

To be honest, that's what I'm doing for many years now. I
tend to compile only those ports where it is either required
in order to obtain the software because no suitable package
does exist (e. g. OpenOffice), or because I intendedly want
to have access to compile-time options (e. g. mplayer), which
can also apply when specific optimization is needed in order
to get something into a usable state on older hardware. For
everything else, packages are fine. Mixing those forms (and
maybe assuming that ports can be either handled by the
native make method or one of the port management tools
such as portmaster) is possible. Of course you have to think
first, then do, but I assume it's not needed mentioning. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-20 Thread Jamie Paul Griffin
== Polytropon wrote on Mon 20.Aug'12 at 14:22:45 +0200 ==

 On Mon, 20 Aug 2012 06:38:33 +0100, Matthew Seaman wrote:
  I always keep saying the ideal
  situation would be that you could customise and compile just your own
  really mission critical software and freely mix that with installing
  pre-compiled packages of anything else from the public repositories.
 
 To be honest, that's what I'm doing for many years now. I
 tend to compile only those ports where it is either required
 in order to obtain the software because no suitable package
 does exist (e. g. OpenOffice), or because I intendedly want
 to have access to compile-time options (e. g. mplayer), which
 can also apply when specific optimization is needed in order
 to get something into a usable state on older hardware. For
 everything else, packages are fine. Mixing those forms (and
 maybe assuming that ports can be either handled by the
 native make method or one of the port management tools
 such as portmaster) is possible. Of course you have to think
 first, then do, but I assume it's not needed mentioning. :-)

It's good people have the option to install packages if they so wish. 
Personally, I don't think i've ever used a precompiled package on FreeBSD; I 
much prefer to compile from source, especially when updating my system 
(different topic i know). 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I Can Has Packages?

2012-08-19 Thread vermaden
HI,

OpenBSD seems to have packages for everything, even
for LAME (audio/lame), why FreeBSD can not provide
package for LAME the same way as OpenBSD does?

Regards,
vermaden
-- 








































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread Polytropon
On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
 HI,
 
 OpenBSD seems to have packages for everything, even
 for LAME (audio/lame), why FreeBSD can not provide
 package for LAME the same way as OpenBSD does?

j00 CAN haz pakagez. =^_^=

Packages for _everything_ is impossible because of the many
options that may or MAY NOT fit your needs, so things have
to be set at compile time. Just imagine how many different
packages you would have to host for OpenOffice!

In the past, pkg_add -r de-openoffice would have given
you a full-featured german version of OpenOffice, even
including a dictionary. Today, it's not that easy anymore.

There are also ports that draw a massive slew of dependencies.
Some of them are of minor importance, like documentation that
urges you to install LaTeX. If that's the default the package
has been created from, installing it will bring teTeX to your
system too, even if _you_ don't need it.

Also consider programs like mplayer that can have a lot of
codecs. Because it's illegal in the U.S. to listen to MP3,
those may not be included. :-)

Okay, you get the idea: There may apply shipping restrictions.
If I remember correctly, there has been such an issue for lame
in the past, but I thought that it would have been resolved.
When trying make package, it was not possible, and there
also was not package for use with pkg_add. You _had_ to compile
it yourself because the terms of use told so.

The ports collections has a specific field in Makefile that
gives you information about such issues:

RESTRICTED= patent issues, see http://www.mp3licensing.com/

So if OpenBSD serves a lame package (I mean a package containing
lame), you should ask them in how far they have an agreement that
allows them to do so, in comparison to what patent issues prohibit
doing the same on FreeBSD.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread vermaden
Hai ;)



Polytropon free...@edvax.de:
 On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
  HI,
  
  OpenBSD seems to have packages for everything, even
  for LAME (audio/lame), why FreeBSD can not provide
  package for LAME the same way as OpenBSD does?
 
 j00 CAN haz pakagez. =^_^=
 
 Packages for _everything_ is impossible because of the many
 options that may or MAY NOT fit your needs, so things have
 to be set at compile time. Just imagine how many different
 packages you would have to host for OpenOffice!
 
 In the past, pkg_add -r de-openoffice would have given
 you a full-featured german version of OpenOffice, even
 including a dictionary. Today, it's not that easy anymore.

The OpenBSD team serves these 'complicated' packages
by using *flavours* and *subpackages*, packages or their
parts compiled with different options, its described in the
OpenBSD FAQ here: http://openbsd.org/faq/faq15.html

| 15.2.3 - Finding packages
| 
| (...)
| 
| You will notice that certain packages are available in a
| few different varieties, formally called flavors. Others
| are pieces of the same application which may be
| installed separately. They are called subpackages.
| This will be detailed further in Using flavors and
| subpackages but flavor basically means they are
| configured with different sets of options. Currently,
| many packages have flavors, for example: database
| support, support for systems without X, or network
| additions like SSL and IPv6. Every flavor of a package
| will have a different suffix in its package name. For
| detailed information about package names, please
| refer to packages-specs(7).


 
 There are also ports that draw a massive slew of dependencies.
 Some of them are of minor importance, like documentation that
 urges you to install LaTeX. If that's the default the package
 has been created from, installing it will bring teTeX to your
 system too, even if _you_ don't need it.
 
 Also consider programs like mplayer that can have a lot of
 codecs. Because it's illegal in the U.S. to listen to MP3,
 those may not be included. :-)
 
 Okay, you get the idea: There may apply shipping restrictions.
 If I remember correctly, there has been such an issue for lame
 in the past, but I thought that it would have been resolved.
 When trying make package, it was not possible, and there
 also was not package for use with pkg_add. You _had_ to compile
 it yourself because the terms of use told so.
 
 The ports collections has a specific field in Makefile that
 gives you information about such issues:
 
 RESTRICTED= patent issues, see http://www.mp3licensing.com/
 
 So if OpenBSD serves a lame package (I mean a package containing
 lame), you should ask them in how far they have an agreement that
 allows them to do so, in comparison to what patent issues prohibit
 doing the same on FreeBSD.

The OpenBSD port from here: http://openports.se/audio/lame

Has its description of LAME as a *educational* tool, maybe that is
the reason why they provide package for LAME:

| LAME is an educational tool to be used for learning about MP3
| encoding.  The goal of the LAME project is to improve the psycho
| acoustics, quality and speed of MP3 encoding.

My buddy has sent email to OpenBSD LAME port maintainer with
question why they can distribute that without concerns, I will let
You know if he gets the answer.

Regards,
vermaden



 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...









































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread vermaden
... I even got a screenshot of how these *flavours*
and *subpackages* work, here:

http://ompldr.org/vZjV2bQ




Polytropon free...@edvax.de pisze:
 On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
  HI,
  
  OpenBSD seems to have packages for everything, even
  for LAME (audio/lame), why FreeBSD can not provide
  package for LAME the same way as OpenBSD does?
 
 j00 CAN haz pakagez. =^_^=
 
 Packages for _everything_ is impossible because of the many
 options that may or MAY NOT fit your needs, so things have
 to be set at compile time. Just imagine how many different
 packages you would have to host for OpenOffice!
 
 In the past, pkg_add -r de-openoffice would have given
 you a full-featured german version of OpenOffice, even
 including a dictionary. Today, it's not that easy anymore.
 
 There are also ports that draw a massive slew of dependencies.
 Some of them are of minor importance, like documentation that
 urges you to install LaTeX. If that's the default the package
 has been created from, installing it will bring teTeX to your
 system too, even if _you_ don't need it.
 
 Also consider programs like mplayer that can have a lot of
 codecs. Because it's illegal in the U.S. to listen to MP3,
 those may not be included. :-)
 
 Okay, you get the idea: There may apply shipping restrictions.
 If I remember correctly, there has been such an issue for lame
 in the past, but I thought that it would have been resolved.
 When trying make package, it was not possible, and there
 also was not package for use with pkg_add. You _had_ to compile
 it yourself because the terms of use told so.
 
 The ports collections has a specific field in Makefile that
 gives you information about such issues:
 
 RESTRICTED= patent issues, see http://www.mp3licensing.com/
 
 So if OpenBSD serves a lame package (I mean a package containing
 lame), you should ask them in how far they have an agreement that
 allows them to do so, in comparison to what patent issues prohibit
 doing the same on FreeBSD.
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 



-- 








































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread Polytropon
On Sun, 19 Aug 2012 22:54:52 +0200, vermaden wrote:
 Polytropon free...@edvax.de:
  On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
   HI,
   
   OpenBSD seems to have packages for everything, even
   for LAME (audio/lame), why FreeBSD can not provide
   package for LAME the same way as OpenBSD does?
  
  j00 CAN haz pakagez. =^_^=
  
  Packages for _everything_ is impossible because of the many
  options that may or MAY NOT fit your needs, so things have
  to be set at compile time. Just imagine how many different
  packages you would have to host for OpenOffice!
  
  In the past, pkg_add -r de-openoffice would have given
  you a full-featured german version of OpenOffice, even
  including a dictionary. Today, it's not that easy anymore.
 
 The OpenBSD team serves these 'complicated' packages
 by using *flavours* and *subpackages*, packages or their
 parts compiled with different options, its described in the
 OpenBSD FAQ here: http://openbsd.org/faq/faq15.html
 
 | 15.2.3 - Finding packages
 | 
 | (...)
 | 
 | You will notice that certain packages are available in a
 | few different varieties, formally called flavors. Others
 | are pieces of the same application which may be
 | installed separately. They are called subpackages.
 | This will be detailed further in Using flavors and
 | subpackages but flavor basically means they are
 | configured with different sets of options. Currently,
 | many packages have flavors, for example: database
 | support, support for systems without X, or network
 | additions like SSL and IPv6. Every flavor of a package
 | will have a different suffix in its package name. For
 | detailed information about package names, please
 | refer to packages-specs(7).

Interesting. That should work for packages with not so
many options. Opera has, if I remember correctly, 4 options,
resulting in tons of different dependencies; mplayer has
more options than you can fit on one screen (while we
assume the screen has 24 or 25 lines). It's an easy task
to calculate for a package with n options, each can be
set or not set, how many packages would have to be built
and served. :-)

I just assume providing packages for every imaginable
combination requires lots of resources. As an example
take OpenOffice: Every language variant, then integration
with KDE, Gnome, or none of them, and printing support
(I think). That would be many hours of compiling, and
lots of storage space needed (note: current _and_ older
packages are needed, plus supported architectures).



  There are also ports that draw a massive slew of dependencies.
  Some of them are of minor importance, like documentation that
  urges you to install LaTeX. If that's the default the package
  has been created from, installing it will bring teTeX to your
  system too, even if _you_ don't need it.
  
  Also consider programs like mplayer that can have a lot of
  codecs. Because it's illegal in the U.S. to listen to MP3,
  those may not be included. :-)
  
  Okay, you get the idea: There may apply shipping restrictions.
  If I remember correctly, there has been such an issue for lame
  in the past, but I thought that it would have been resolved.
  When trying make package, it was not possible, and there
  also was not package for use with pkg_add. You _had_ to compile
  it yourself because the terms of use told so.
  
  The ports collections has a specific field in Makefile that
  gives you information about such issues:
  
  RESTRICTED= patent issues, see http://www.mp3licensing.com/
  
  So if OpenBSD serves a lame package (I mean a package containing
  lame), you should ask them in how far they have an agreement that
  allows them to do so, in comparison to what patent issues prohibit
  doing the same on FreeBSD.
 
 The OpenBSD port from here: http://openports.se/audio/lame
 
 Has its description of LAME as a *educational* tool, maybe that is
 the reason why they provide package for LAME:
 
 | LAME is an educational tool to be used for learning about MP3
 | encoding.  The goal of the LAME project is to improve the psycho
 | acoustics, quality and speed of MP3 encoding.
 
 My buddy has sent email to OpenBSD LAME port maintainer with
 question why they can distribute that without concerns, I will let
 You know if he gets the answer.

That's really a good reason to avoid the restriction. I think
some specific kind of agreement has to be made to have this
declaration take effect and allow packaging the software.

There are other ports that don't have equivalents on FreeBSD.
A good example is Java. While I think it's possible to
package the software (the make package command), the
current vendor or Java (no idea who is it today) forces
you do manually download the sources and put them into
/usr/ports/distfiles, requiring you to interactively
agree with their terms of use.



Now keep working harder and carry a towel. =^_^=




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa

Re: I Can Has Packages?

2012-08-19 Thread Gary Kline
On Sun, Aug 19, 2012 at 11:27:54PM +0200, Polytropon wrote:
 Date: Sun, 19 Aug 2012 23:27:54 +0200
 From: Polytropon free...@edvax.de
 Subject: Re: I Can Has Packages?
 To: vermaden verma...@interia.pl
 Cc: freebsd-questions@freebsd.org
 X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
 
 On Sun, 19 Aug 2012 22:54:52 +0200, vermaden wrote:
  Polytropon free...@edvax.de:
   On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
HI,

OpenBSD seems to have packages for everything, even
for LAME (audio/lame), why FreeBSD can not provide
package for LAME the same way as OpenBSD does?
   
   j00 CAN haz pakagez. =^_^=
   
   Packages for _everything_ is impossible because of the many
   options that may or MAY NOT fit your needs, so things have
   to be set at compile time. Just imagine how many different
   packages you would have to host for OpenOffice!
   
   In the past, pkg_add -r de-openoffice would have given
   you a full-featured german version of OpenOffice, even
   including a dictionary. Today, it's not that easy anymore.
  
  The OpenBSD team serves these 'complicated' packages
  by using *flavours* and *subpackages*, packages or their
  parts compiled with different options, its described in the
  OpenBSD FAQ here: http://openbsd.org/faq/faq15.html
  
  | 15.2.3 - Finding packages
  | 
  | (...)
  | 
  | You will notice that certain packages are available in a
  | few different varieties, formally called flavors. Others
  | are pieces of the same application which may be
  | installed separately. They are called subpackages.
  | This will be detailed further in Using flavors and
  | subpackages but flavor basically means they are
  | configured with different sets of options. Currently,
  | many packages have flavors, for example: database
  | support, support for systems without X, or network
  | additions like SSL and IPv6. Every flavor of a package
  | will have a different suffix in its package name. For
  | detailed information about package names, please
  | refer to packages-specs(7).
 
 Interesting. That should work for packages with not so
 many options. Opera has, if I remember correctly, 4 options,
 resulting in tons of different dependencies; mplayer has
 more options than you can fit on one screen (while we
 assume the screen has 24 or 25 lines). It's an easy task
 to calculate for a package with n options, each can be
 set or not set, how many packages would have to be built
 and served. :-)
 
 I just assume providing packages for every imaginable
 combination requires lots of resources. As an example
 take OpenOffice: Every language variant, then integration
 with KDE, Gnome, or none of them, and printing support
 (I think). That would be many hours of compiling, and
 lots of storage space needed (note: current _and_ older
 packages are needed, plus supported architectures).
 
 
 
   There are also ports that draw a massive slew of dependencies.
   Some of them are of minor importance, like documentation that
   urges you to install LaTeX. If that's the default the package
   has been created from, installing it will bring teTeX to your
   system too, even if _you_ don't need it.
   
   Also consider programs like mplayer that can have a lot of
   codecs. Because it's illegal in the U.S. to listen to MP3,
   those may not be included. :-)
   
   Okay, you get the idea: There may apply shipping restrictions.
   If I remember correctly, there has been such an issue for lame
   in the past, but I thought that it would have been resolved.
   When trying make package, it was not possible, and there
   also was not package for use with pkg_add. You _had_ to compile
   it yourself because the terms of use told so.
   
   The ports collections has a specific field in Makefile that
   gives you information about such issues:
   
   RESTRICTED= patent issues, see http://www.mp3licensing.com/
   
   So if OpenBSD serves a lame package (I mean a package containing
   lame), you should ask them in how far they have an agreement that
   allows them to do so, in comparison to what patent issues prohibit
   doing the same on FreeBSD.
  
  The OpenBSD port from here: http://openports.se/audio/lame
  
  Has its description of LAME as a *educational* tool, maybe that is
  the reason why they provide package for LAME:
  
  | LAME is an educational tool to be used for learning about MP3
  | encoding.  The goal of the LAME project is to improve the psycho
  | acoustics, quality and speed of MP3 encoding.
  
  My buddy has sent email to OpenBSD LAME port maintainer with
  question why they can distribute that without concerns, I will let
  You know if he gets the answer.
 
 That's really a good reason to avoid the restriction. I think
 some specific kind of agreement has to be made to have this
 declaration take effect and allow packaging the software.
 
 There are other ports that don't have equivalents on FreeBSD.
 A good example is Java. While I think it's possible

Re: I Can Has Packages?

2012-08-19 Thread Randal L. Schwartz
 Polytropon == Polytropon  free...@edvax.de writes:


Polytropon I just assume providing packages for every imaginable
Polytropon combination requires lots of resources. As an example
Polytropon take OpenOffice: Every language variant, then integration
Polytropon with KDE, Gnome, or none of them, and printing support
Polytropon (I think). That would be many hours of compiling, and
Polytropon lots of storage space needed (note: current _and_ older
Polytropon packages are needed, plus supported architectures).

Indeed.

Which is why I gave up on packages long ago.

Learn. To. Compile.

Embrace your local cc. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread Matthew Seaman
On 20/08/2012 04:07, Randal L. Schwartz wrote:
 Polytropon == Polytropon  free...@edvax.de writes:
 
 
 Polytropon I just assume providing packages for every imaginable
 Polytropon combination requires lots of resources. As an example
 Polytropon take OpenOffice: Every language variant, then integration
 Polytropon with KDE, Gnome, or none of them, and printing support
 Polytropon (I think). That would be many hours of compiling, and
 Polytropon lots of storage space needed (note: current _and_ older
 Polytropon packages are needed, plus supported architectures).
 
 Indeed.
 
 Which is why I gave up on packages long ago.
 
 Learn. To. Compile.
 
 Embrace your local cc. :)
 

Well, I hope there is some sort of happy medium between the level of
package support in FreeBSD at the moment, and compiling everything from
source.  That's what the pkgng project hopes to achieve anyhow.

On the question of supporting flavours and sub-packages: yes, this will
be absolutely necessary.  Even so, it won't provide /all/ the
flexibility that compiling your own does, but it should target the most
commonly used combinations of options.  I always keep saying the ideal
situation would be that you could customise and compile just your own
really mission critical software and freely mix that with installing
pre-compiled packages of anything else from the public repositories.

Note that sub-packages is effectively a way of reducing the number of
options in many ports: a lot of the time options enable/disable
compiling additional bits of software or adding/removing various files
from the resulting packages, but those files could just as easily be
supplied as a sub-package.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Updating packages

2012-06-03 Thread Waitman Gobble
I have tried the available package update methods. It occurred to me to
experiment with a different way.

I am working on a package update script in Python as an alternate way to
update installed packages with latest available on the FreeBSD web site. It
parses the index page of the web site and compares the versions of
installed packages. If their is a difference it downloads the package tbz
file and performs an MD5 checksum, then writes the corresponding pkg_delete
and pkg_add for the package into a file which can be edited and executed
from the command line. It does not automatically update the packages, for
example in some cases the script reports that an older version of Perl is a
suitable replacement for the latest version. Also on my system there are
like seventeen versions of doc_book package so it writes the pkg_delete for
each installed version and pkg_add for the latest version. (in which case
we would not really want to install it seventeen times).

Does anyone have recollection of a negative experience using 'pkg_delete
--force' to the old version and 'pkg_add' the replacement? Would you say
it's generally a bad idea to first delete the package before adding the
updated package, and instead recommend to install the updated package on
top of the existing installation?

My project is at the following URL:

https://github.com/creamy/pkg_checkversion

Thanks,

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Hi folks,

i ran into problems keeping my ports-collection up to date.
Although i did a portsnap fet and install i think there are obsolete an old
ports still on the disk.
I tried to compile a programm and it complained about an older version of a
depending package.
I deleted the whole ports-dir, did the fetch and extract again, problem
persists still.
Yes, i searched all the forums and read a lot about managing ports and
packages.
Right now i am stuck.
So, how do i delete really *all* ports and *all* packages at once?
Is it possible with doing a fectch and extract having the latest ports?
I was recommended to use only portmaster and not to use sysinstall after a
finished installation.
Well, i dont know.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/stay-up-to-date-with-ports-and-packages-problem-tp570.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 15:27, Beastie-Boy wrote:
 i ran into problems keeping my ports-collection up to date.
 Although i did a portsnap fet and install i think there are obsolete an old
 ports still on the disk.

portsnap will synchronise your ports tree with what is in the FreeBSD
CVS repo.  The way it works, you shouldn't get any old ports left
cluttering up /usr/ports unless things have gone very wrong.  In which
case portsnap would be emitting all sorts of error messages and the fact
that there was a problem would be obvious.

 I tried to compile a programm and it complained about an older version of a
 depending package.

OK.  This is a conceptual thing.  The ports tree (ie. /usr/ports) is a
set of *instructions* for how to build and install ports.  portsnap will
update all those instructions in the ports tree, but to update the
actual ports you have installed requires use of a different software
package.

 I deleted the whole ports-dir, did the fetch and extract again, problem
 persists still.

Yep.  I hope you can see from what I wrote above how doing that wouldn't
solve the problem you are seeing.

 Yes, i searched all the forums and read a lot about managing ports and
 packages.
 Right now i am stuck.
 So, how do i delete really *all* ports and *all* packages at once?

That's a bit drastic and pretty much something you'ld never actually
want to do in normal usage.  However, for completeness' sake:

   # pkg_delete -af

will remove all installed ports.  After doing that there should be
hardly anything left under /usr/local -- most of what's left would be
config files in /usr/local/etc.

But don't do that.  It is a big waste of time and completely unnecessary.

 Is it possible with doing a fectch and extract having the latest ports?
 I was recommended to use only portmaster and not to use sysinstall after a
 finished installation.
 Well, i dont know.

The advice to use portmaster is good.

A typical session to maintain all your ports goes something like this:

   # portsnap fetch update (Gets the latest contents for
/usr/ports)
   # less /usr/ports/UPDATING  (Check for any special
instructions affecting any
ports you have installed.
Assuming nothing out of the
ordinary is required (and it
usually isn't), then...)
   # pkg_version -vIL= (see what needs updating)
   # portmaster -a (update everything out of date)

and that's it.  It's not particularly hard to do, although it can be
time consuming, and very occasionally something will glitch out.  If you
wait a day or so and then try again the glitch will probably have been
fixed.  You'll find updates are more likely to run smoothly if you do
them like this regularly -- monthly should be adequate -- plus immediate
updates of anything portaudit reports has security problems.)

Your original problem -- a port not installing because of an out of date
dependency -- can be easily cured by:

   # portmaster category/example

where category/example is the port's directory path under /usr/ports.
This will update all dependencies as required before installing
category/example.

If you are still experiencing problems, please save a transcript of your
updating session and put it on a pastebin site, and then ask again here
with a link to the transcript.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Warren Block

On Sat, 19 May 2012, Matthew Seaman wrote:


That's a bit drastic and pretty much something you'ld never actually
want to do in normal usage.  However, for completeness' sake:

  # pkg_delete -af

will remove all installed ports.  After doing that there should be
hardly anything left under /usr/local -- most of what's left would be
config files in /usr/local/etc.


The -f is probably not needed.  I've done this rarely enough to not 
recall, but -a should sort everything in the right order so dependencies 
are uninstalled in order.



The advice to use portmaster is good.

A typical session to maintain all your ports goes something like this:

  # portsnap fetch update (Gets the latest contents for
   /usr/ports)
  # less /usr/ports/UPDATING  (Check for any special
   instructions affecting any
   ports you have installed.
   Assuming nothing out of the
   ordinary is required (and it
   usually isn't), then...)
  # pkg_version -vIL= (see what needs updating)
  # portmaster -a (update everything out of date)


portmaster can show ports that can be updated:

  portmaster -L --index-only

Or, more concisely:

  portmaster -L --index-only | egrep '(ew|ort) version|total install'

There's a short overview of port upgrading procedures and reasoning 
at http://www.wonkity.com/~wblock/docs/html/portupgrade.html .

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 16:07, Warren Block wrote:
 The -f is probably not needed.  I've done this rarely enough to not
 recall, but -a should sort everything in the right order so dependencies
 are uninstalled in order.

I find that 'pkg_delete -af' gives more reliable results.  Agreed, it
should not be necessary but sometimes the dependency relationships
between ports aren't generated quite right, and '-f' just lets
pkg_delete do its thing without worrying about that -- not that
dependency ordering matters at all when you're deleting everything in
any case.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Ok, many thanks for your replies.
I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
That excplains maybe why i had obsolete/old packages/ports on my disk.
The problem i had was that gdm, gnome didnt start after the upgrade.
So i tried to build the gnome and gdm thing again via pkg_add(didnt work)
and make install clean in ports(either).
Right now i deleted all ports in /usr, deleted packages in /var and
portsnaped me the all stuff again.
After that i pkg_add -r gnome2 again and now it looks better.
Before i had problems that package-1.2.3 is needed to build an only
package-1.2.2 is installed.
Sorry i cant paste logs, bsd is running on another machine.

so long

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/stay-up-to-date-with-ports-and-packages-problem-tp570p5710066.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread RW
On Sat, 19 May 2012 11:08:19 -0700 (PDT)
Beastie-Boy wrote:

 Ok, many thanks for your replies.
 I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
 That excplains maybe why i had obsolete/old packages/ports on my disk.


When you cross a major OS release boundary, you need to force a rebuild
of all installed package, or reinstall from package files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Polytropon
On Sat, 19 May 2012 19:43:09 +0100, RW wrote:
 On Sat, 19 May 2012 11:08:19 -0700 (PDT)
 Beastie-Boy wrote:
 
  Ok, many thanks for your replies.
  I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
  That excplains maybe why i had obsolete/old packages/ports on my disk.
 
 
 When you cross a major OS release boundary, you need to force a rebuild
 of all installed package, or reinstall from package files.

It's often easy to do this using a port management tool.
See man portmaster containing an example of exactly
this procedure (EXAMPLES section).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 20:08, Beastie-Boy wrote:
 I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
 That excplains maybe why i had obsolete/old packages/ports on my disk.

Ahah! That is exactly the situation where you do want to remove all your
installed ports and rebuild them.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Polytropon
On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote:
 Ok, many thanks for your replies.
 I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
 That excplains maybe why i had obsolete/old packages/ports on my disk.

When you do such an update (major version number), you should
always reinstall (update) your applications. You can avoid it
by installing the compat-Nx-i386 or compat-Nx-amd64 ports (where
N is the previously used major version number).

You've found many advices on how to do that already from the
list.



 The problem i had was that gdm, gnome didnt start after the upgrade.

That was to be expected.



 So i tried to build the gnome and gdm thing again via pkg_add(didnt work)
 and make install clean in ports(either).

You should make sure _all_ dependencies get recompiled. Using
a port management tool for this task often is more comfortable
than dealing with the bare ports (but it basically is not
wrong).



 Right now i deleted all ports in /usr, deleted packages in /var and
 portsnaped me the all stuff again.

Depending on how you deleted, it _might_ be required to reconstruct
the directory subtree /usr/local from the respective mtree file
in /etc/mtree. If you _really_ intend to delete everything, make
sure you have backups of config files, data files or your own
modifications to something located in the local/ subtree (for
example /usr/local/etc).



 After that i pkg_add -r gnome2 again and now it looks better.

Erm... when you're installing binary packages, you don't have to
deal with ports at all.



 Before i had problems that package-1.2.3 is needed to build an only
 package-1.2.2 is installed.

Correct, this happens when packages have lower version numbers
(not totally up to date) than the respective port would have.
That's why it's often a good idea to use _either_ ports _or_
packages (even though technically there is no problem mixing
them).

Again, allow me to mention port management tools. Using for
example portmaster, many tasks are easier to perform than
dealing with bare ports. Even the use of precompiled
packages (if desired) is possible. See man portmaster
and its EXAMPLES section for inspiration.



 Sorry i cant paste logs, bsd is running on another machine.

You can use SSH to log into the BSD machine and cut text from
the session. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Matthew Seaman
On 19/05/2012 21:09, Polytropon wrote:
 Sorry i cant paste logs, bsd is running on another machine.

 You can use SSH to log into the BSD machine and cut text from
 the session. :-)

Or just run:

   % script /tmp/session.log

Do all your updating tasks, then type 'exit' when done, and you'll get a
transcript of everything displayed on your terminal in session.log

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: stay up to date with ports and packages, problem

2012-05-19 Thread doug

On Sat, 19 May 2012, Polytropon wrote:


On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote:

Ok, many thanks for your replies.
I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
That excplains maybe why i had obsolete/old packages/ports on my disk.


When you do such an update (major version number), you should
always reinstall (update) your applications. You can avoid it
by installing the compat-Nx-i386 or compat-Nx-amd64 ports (where
N is the previously used major version number).

You've found many advices on how to do that already from the
list.

The problem i had was that gdm, gnome didnt start after the upgrade.


That was to be expected.


So i tried to build the gnome and gdm thing again via pkg_add(didnt work)
and make install clean in ports(either).


You should make sure _all_ dependencies get recompiled. Using
a port management tool for this task often is more comfortable
than dealing with the bare ports (but it basically is not
wrong).


There are two great tools for dealing with problems stemming from the update of 
a single port going bad: pkg_cleanup and pkg_tree. I prefer portmaster over 
portupdate because portmaster only uses the data that is there from building or 
adding port/packages. portmaster probably works better for me because I only 
update in response to a need or problem.


I do not have enough time or computing power to build what is required for a 
workstation. I am using FreeBSD 9.0 and xfce 4.8. To get the functionality I had 
with KDE3.5 I ended up with 489 packages. I had hoped for a smaller number but 
that seems to be the norm for KDE or Gome. The only ports I built were a couple 
that insisted on installing an older version of perl and/or python. Everything 
else was via package add. In my experience this model only works near the front 
of a major release. As the lower level ports diverge updates must be built. Here 
pkg_cleanup is a great tool for taking a step back. Perhaps building regularly 
on a weekly basis and updating everying would work. For me after I get a 
functional system I only add new stuff. I do not remember having to reinstalling 
something because it did not work.


Before someone pointed out pkg_cleanup I pretty completely broke my desktop 
(this in the 7.x days) just by upgrading firefox and then chasing the issues 
that came up.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Preventing portmaster from using packages for specified ports

2012-05-08 Thread Mike Clarke

I'm happy to use the -P option to let portmaster use packages for most 
of my ports but there's a few that must be compiled from the port 
instead because I need to configure non default options, e.g. to enable 
GIMP plugin support in graphics/xsane

Is there any way of forcing portmaster to never use packages for certain 
specified ports?

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread John Webster
--On May 8, 2012 9:33:59 PM +0100 Mike Clarke jmc-freeb...@milibyte.co.uk 
wrote:

 
 I'm happy to use the -P option to let portmaster use packages for most 
 of my ports but there's a few that must be compiled from the port 
 instead because I need to configure non default options, e.g. to enable 
 GIMP plugin support in graphics/xsane
 
 Is there any way of forcing portmaster to never use packages for certain 
 specified ports?
 
 -- 

Would this work for you?  From the manpage:

 For those who wish to be sure that specific ports are always compiled
 instead of being installed from packages the PT_NO_INSTALL_PACKAGE vari-
 able can be defined in the make(1) environment, perhaps in
 /usr/local/etc/ports.conf if using /usr/ports/ports-mgmt/portconf, or in
 /etc/make.conf.  This setting is not compatible with the
 -PP/--packages-only option.



pgpBUQ7LBK3b1.pgp
Description: PGP signature


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread Mike Clarke
On Tuesday 08 May 2012, John Webster wrote:

 Would this work for you?  From the manpage:

      For those who wish to be sure that specific ports are always
 compiled instead of being installed from packages the
 PT_NO_INSTALL_PACKAGE vari- able can be defined in the make(1)
 environment, perhaps in /usr/local/etc/ports.conf if using
 /usr/ports/ports-mgmt/portconf, or in /etc/make.conf.  This setting
 is not compatible with the -PP/--packages-only option.

Yes, that looks like exactly what I need. I don't know how I missed it, 
I must have searched through the manpage several times and had a total 
blind spot for that paragraph - sorry for looking so dumb.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread John Webster


--On May 8, 2012 10:51:16 PM +0100 Mike Clarke jmc-freeb...@milibyte.co.uk 
wrote:

 On Tuesday 08 May 2012, John Webster wrote:
 
 Would this work for you?  From the manpage:
 
      For those who wish to be sure that specific ports are always
 compiled instead of being installed from packages the
 PT_NO_INSTALL_PACKAGE vari- able can be defined in the make(1)
 environment, perhaps in /usr/local/etc/ports.conf if using
 /usr/ports/ports-mgmt/portconf, or in /etc/make.conf.  This setting
 is not compatible with the -PP/--packages-only option.
 
 Yes, that looks like exactly what I need. I don't know how I missed it, 
 I must have searched through the manpage several times and had a total 
 blind spot for that paragraph - sorry for looking so dumb.
 
 -- 
 Mike Clarke


I know how that is, I've missed stuff in the manpages too.  grin


 sorry for looking so dumb.

Not dumb.  You had a question and you asked it on freebsd-questions
looking for an answer.  That's smart in my book.  That's what the 
list is for.

Cheers,

jw



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Bernt Hansson

2012-02-01 19:16, David Jackson skrev:


I did not save them, there is really no way to save a copy of them unless I
copy them by hand.


I take it you are new to FreeBSD. May I introduce you to script
man script(1)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Waitman Gobble
On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson b...@bananmonarki.se wrote:

 2012-02-01 19:16, David Jackson skrev:


  I did not save them, there is really no way to save a copy of them unless
 I
 copy them by hand.


 I take it you are new to FreeBSD. May I introduce you to script
 man script(1)

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org



One thing I noticed, which may cause some trouble(?)

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-10-current/ is
empty, no packages. So pkg_add fails for everything...

Running 10-CURRENT I have to set PACKAGESITE
to http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/

It's been years since I've run a HEAD version of FreeBSD - maybe this is
common knowledge. :)
But It seems like there could be a symlink or something.

Also, I'm still looking into it - but it seems like it would be good to
have an easy way to 'reinstall' a package.
It seems to be pretty stubborn when trying to deinstall/reinstall stuff.
For example, after i upgraded from
9.0-RELEASE to 10-CURRENT, the thing was complaining about libintl,
gettext, iconv.
pkg_add was refusing to 'reinstall' (but this might be related my own
ignorance), so I ended up
going into ports and building, then the system was fulling operational, yay.

However, it could be that these did not need to be reinstalled. pkg_add
was telling me I already had the
latest versions installed, and when I finally got down to the meat of my
problem I found that my /etc/rc was never replaced.
Either I fat-fingered a mergemaster prompt (but I really thought I was
paying close attention), or mergemaster missed it! :)
There was no /var/tmp/temproot/etc/rc after mergemaster, and mergemaster
reported that only two files were left to do
by hand, which is what I had intended. (ie, groups, master.passwd) But
doing a diff between /usr/src/etc/rc (i think) and /etc/rc I
saw they were different,  copied the file and 10-CURRENT ran perfectly.



Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Eduardo Morras

At 19:16 01/02/2012, David Jackson wrote:



They seem to have failed because they couldn't find the package on the
download site. Other errors I got were that the package it had downloaded
had an unrecognized format.

I did not save them, there is really no way to save a copy of them unless I
copy them by hand. I will have to rerun the commands to get the error
messages and then transfer them by hand.


In my first mail i didn't think about this, but:

In your OP you don't say the version of FreeBSD you're running. Show 
a uname -a please. Is it a RELEASE, like 8.2-RELEASEpx? If it's a 
RELEASE perhaps you don't know that the packages are frozen but all 
are known to work  without problems. Switch to -STABLE if you want 
access newer packages but perhaps there will be problems with them 
from time to time. Check -stable maillist.


HTH 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-01 Thread Eduardo Morras

At 11:42 31/01/2012, you wrote:

While your offer is made with the best of intentions, I doubt the
project would feel able take you up on it.  The problem is simply one of
security -- while crowd-sourcing package compilation would be a pretty
sweet technical solution to much of the scaling and resource cost
problems, it offers far too much opportunity for people up-to-no-good to
be able to introduce trojans, spyware and so forth.


No no, i didn't said i will make them manually, i wanted to said that 
i can add one server amd64 to the pool of automate servers that make 
the packages, i think it works automatically and distribute workload 
like boinc or other similar net. About the people which introduce 
trojans, rootkits etc... i didn't think on that issue and is really a 
very important stopper.


With the rest of your mail, i agree with you, my idea was completly 
halfthinked (is it the correct word?).



Mental Note to remember: Beside daemons, there are devils.

L 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-01 Thread David Jackson
On Wed, Feb 1, 2012 at 3:33 AM, Eduardo Morras nec...@retena.com wrote:

 At 11:42 31/01/2012, you wrote:

 While your offer is made with the best of intentions, I doubt the
 project would feel able take you up on it.  The problem is simply one of
 security -- while crowd-sourcing package compilation would be a pretty
 sweet technical solution to much of the scaling and resource cost
 problems, it offers far too much opportunity for people up-to-no-good to
 be able to introduce trojans, spyware and so forth.


 No no, i didn't said i will make them manually, i wanted to said that i
 can add one server amd64 to the pool of automate servers that make the
 packages, i think it works automatically and distribute workload like boinc
 or other similar net. About the people which introduce trojans, rootkits
 etc... i didn't think on that issue and is really a very important stopper.

 With the rest of your mail, i agree with you, my idea was completly
 halfthinked (is it the correct word?).



That security issue is a serious problem with that idea. I had thought of
this idea before and discarded it because its unworkable (the crowd
sourcing thing).

 Mental Note to remember: Beside daemons, there are devils.

 L

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-01 Thread David Jackson
On Tue, Jan 31, 2012 at 12:54 AM, Bernt Hansson b...@bananmonarki.se wrote:

 2012-01-31 01:13, 
 freebsd-lists-erik@**erikosterholm.orgfreebsd-lists-e...@erikosterholm.orgskrev:

  Oh come on, guys. David is the same person who said that FreeBSD was
 poorly documented.

 http://osdir.com/ml/freebsd-**questions/2011-12/msg00684.**htmlhttp://osdir.com/ml/freebsd-questions/2011-12/msg00684.html

  I'll give him the benefit of the doubt a bit longer.


 I do not. He is a whino. Blocked here from now on.


My posts have always been sincere. It would seem to you that anyone who
does not agree with you is whining. I would suggest it is you who have an
unreasonable attitude.


At least respect other people's right to express their views.

__**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-02-01 Thread David Jackson
On Tue, Jan 31, 2012 at 12:51 AM, Bernt Hansson b...@bananmonarki.se wrote:

 2012-01-30 18:52, David Jackson skrev:

  I have tried endlessly to no avail to upgrade binary the packages on
 Freebsd to the latest version. I have tried:

 *portupgrade -PP -a
 *portmaster -PP -a
 *pkg_update

 All fail miserably and totally and have left the system in an unuseable
 state.


 What is the error message?


They seem to have failed because they couldn't find the package on the
download site. Other errors I got were that the package it had downloaded
had an unrecognized format.

I did not save them, there is really no way to save a copy of them unless I
copy them by hand. I will have to rerun the commands to get the error
messages and then transfer them by hand.



  Why can't FreeBSD just make the package system just work.


 It's already just works


It does for you. I've had big problems with it.



  Right after
 installing FreeBSD I should be able to type a single command such as
 update_packages


 http://www.se.freebsd.org/doc/**en_US.ISO8859-1/books/**
 handbook/updating-upgrading-**freebsdupdate.htmlhttp://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-01-31 Thread Chad Perrin
On Tue, Jan 31, 2012 at 01:52:19AM +0100, Polytropon wrote:
 On Mon, 30 Jan 2012 18:40:50 -0500, David Jackson wrote:
  On Mon, Jan 30, 2012 at 5:49 PM, Polytropon wrote:
  
   Other things to keep in mind are language settings. One example is
   OpenOffice which needs to have the language setting at compile
   time, especially if you're not using the english language.
 
  You could compile a version of that for each language and I think
  thats what Ubuntu does, or, just compile maybe top 1 or 2 most
  commonly used language version and then other versions could be user
  compiled.
 
 There are, I think... at least 10 languages available, and combine this
 with Gnome, KDE and CUPS support OFF or ON, and you have 10*2*2*2 = 80
 packages, and still no scheme to name them. :-)

Don't forget compiling for multiple architectures.  That adds more
options -- and, unlike some of those other options, compiling for
different architectures is often actually a mutually-exclusive option
set.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unable to upgrade packages on FreeBSD

2012-01-31 Thread Eduardo Morras

At 00:45 31/01/2012, RW wrote:


Making it work like Ubuntu would need a lot more hardware and a lot
more work from port maintainers to support branching the ports tree. At
the moment there aren't really enough to maintain one tree.


Making a resume/summary of the thread; more hardware, time and people 
are needed to maintain a package system up-to-date. I have a free 
server (amd64 freebsd8.2p6), if i built all packages with their 
standard options, that's without make config, Can i upload them to 
the official package ftp? Should i make my own un-official ftp 
package server to allow others download them?


Perhaps it's not clear, this answer has ironic mode off, joking mode 
off and i want to collaborate making the standard packages.


When i needed the package system? When i don't want a downtime if a 
server must be reinstalled. Compiling everything takes too much time 
for non critical ports (bash, gcc4.6, ...), even at first i pkg_add 
important apps, when everything is working, i update them by ports.


L


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   3   4   5   6   7   8   9   10   >