How to create .tbz packet !

OP
OP
O

ozanus

New Member


Messages: 8

killasmurf86, your only response "it's package, not packet... "

Do you know create .tbz package ?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,187
Messages: 29,491

ozanus said:
killasmurf86, your only response "it's package, not packet... "
Using the correct terms will prevent confusion ;)

Do you know create .tbz package ?
Please see post #2
 
OP
OP
O

ozanus

New Member


Messages: 8

Okey, Thanks SirDice,
- I'm download http://files.pfsense.org/packages/All/lightsquid_tpl.tbz package and extract on my windows.

- I'm edited 3 files in lightsquid_tpl.

Please, Can you tell me step by step, "i how to lightsquid_tpl convert lightsquid_tpl.tbz package"

I do not want install with make command !

I'm search google and other bsd forums, but i not to find.

B.R
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,187
Messages: 29,491

Don't edit existing packages. Either create your own or make the changes after you've installed them.
 

phoenix

Administrator
Staff member
Administrator
Moderator

Reaction score: 1,224
Messages: 4,074

Install the package on a running system.

Edit the files on that system.

Run pkg_create -b nameofpackage to create a new package based on the installed files.

In theory, that should pick up the changed files. Never tried it, though, so it may not work. :)
 

ale

Daemon

Reaction score: 166
Messages: 1,059

I think that it's not going to work always.
Look for example at how pkgtools.conf is created by the portupgrade port and how it's treated in /var/db/pkg/portupgrade*/+CONTENTS.
I think that if it will not work, you have to create your packinglist and use the -f option too.
 

Bunyan

Active Member

Reaction score: 16
Messages: 143

My prefered method of building FreeBSD packages is
Code:
pkg_create -nvRb /var/db/pkg/PKG_NAME
The option -n is useful to avoid repeatedly creating of the same dependant packages, like Python, for example.
 
Top