Re: packages compiled from source
Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( They are not saved separately but you can create backups using pkg_create -b. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: packages compiled from source
Kris Kennaway wrote: Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( They are not saved separately but you can create backups using pkg_create -b. In addition, you can use 'package' (or 'package-recursive') target instead of 'install' to create packages automagically. In that case target directory is set by PACKAGES variable. Have a look at ports(7) manpage for details. Cheers, Karol -- Karol Kwiatkowski karol.kwiat at gmail dot com OpenPGP 0x06E09309 signature.asc Description: OpenPGP digital signature
Re: packages compiled from source
On Sunday 23 September 2007 16:06:39 Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( If you didn't define the variable PACKAGES in your environment while compiling, then they are in the directory of the port itself, where you typed make package. Note that you can always rebuild installed packages, using: for DIR in /var/db/pkg/*; do pkg_create -vb ${DIR##*pkg/} /path/${DIR##*pkg/}.tbz done -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: packages compiled from source
Many thanks too all who ansered, that's really helpful. I just had a hard time compiling lighttpd and php5 together, so wanted to save them as packages to spare me the headache in the near future. Have read the ports man I see that I can change the PACKAGES in the environment, but how do I change the environment. Would I edit /etc/ make.conf at a guess? On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote: Kris Kennaway wrote: Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( They are not saved separately but you can create backups using pkg_create -b. In addition, you can use 'package' (or 'package-recursive') target instead of 'install' to create packages automagically. In that case target directory is set by PACKAGES variable. Have a look at ports(7) manpage for details. Cheers, Karol -- Karol Kwiatkowski karol.kwiat at gmail dot com OpenPGP 0x06E09309 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: packages compiled from source
Please try not to top-post while replying to freebsd mailing list. It makes it hard to follow reading from the archives. Comments below. Gabriel Dragffy wrote: On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote: Kris Kennaway wrote: Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( They are not saved separately but you can create backups using pkg_create -b. In addition, you can use 'package' (or 'package-recursive') target instead of 'install' to create packages automagically. In that case target directory is set by PACKAGES variable. Have a look at ports(7) manpage for details. Many thanks too all who ansered, that's really helpful. I just had a hard time compiling lighttpd and php5 together, so wanted to save them as packages to spare me the headache in the near future. Have read the ports man I see that I can change the PACKAGES in the environment, but how do I change the environment. Would I edit /etc/make.conf at a guess? PACKAGES is environmental variable - you'll want to change the variable, not the environment ;) To change it system wide permanently - yes, editing /etc/make.conf would be a good idea. The alternatives are setting it in your shell environment (depends on what you use) or defining it at install time (every time) with something like 'make PACKAGES=/some/dir package'. And there are probably other methods, too :) HTH, Karol -- Karol Kwiatkowski karol.kwiat at gmail dot com OpenPGP 0x06E09309 signature.asc Description: OpenPGP digital signature
Re: packages compiled from source
On 23 Sep 2007, at 19:51, Karol Kwiatkowski wrote: Please try not to top-post while replying to freebsd mailing list. It makes it hard to follow reading from the archives. Comments below. I'm sorry, was I guilty of top-posting? Didn't mean to :P Gabriel Dragffy wrote: On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote: Kris Kennaway wrote: Gabriel Dragffy wrote: Hi, trying to find out where the complete packge files are for the packges that I compiled from ports. I wanted to save these somewhere so I wouldn't have to recompile them in the future. The handbook doesn't shed any light on this:( They are not saved separately but you can create backups using pkg_create -b. In addition, you can use 'package' (or 'package-recursive') target instead of 'install' to create packages automagically. In that case target directory is set by PACKAGES variable. Have a look at ports(7) manpage for details. Many thanks too all who ansered, that's really helpful. I just had a hard time compiling lighttpd and php5 together, so wanted to save them as packages to spare me the headache in the near future. Have read the ports man I see that I can change the PACKAGES in the environment, but how do I change the environment. Would I edit /etc/make.conf at a guess? PACKAGES is environmental variable - you'll want to change the variable, not the environment ;) To change it system wide permanently - yes, editing /etc/make.conf would be a good idea. The alternatives are setting it in your shell environment (depends on what you use) or defining it at install time (every time) with something like 'make PACKAGES=/some/dir package'. And there are probably other methods, too :) Thanks, I'll look in to this, glad that my wild guess wasn't too far wide Regards Gabe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]