Originally posted by zuralin
Post what you did for future reference.
SURE THING!!! Although I doubt this will make a sticky
....but if anyone gets stuck, and happens to find us
I created a folder called mypackage in it I recreated the path to my apache directory IE (mypackage has a subfolder /var and in that has a subfolder /www) so /mypackage/var/www has the files copied over from my real /var/www directory,
In the same directory as /var i have a folder named DEBIAN inside it is a control file mine looks like the following
Maintainer: myname <firstname.lastname@example.org>
Description: description of my package.
after having that, I ran the following command from /mypackage/var
dpkg -b /mypackage mypackage.deb
THATS IT. So here is an over view
/www /control file
All of my files
Things to note after the fact.....
1. You can just throw a DEBIAN folder in the same directory as the begining of you 1st path IE, I could have placed the /DEBIAN folder in my real /var, but since it was my 1st try, I wanted to make sure I was messing with a backup
2. If you don't up the version in the control file IE change 0.04 to 0.05 the system won't take ANY new changes.
3. I wouldn't know how loose you can keep these settings, meaning, none of my files are really binary outside of some .jpg's etc.. so if you are using .bin and/or .sh files you might want to refer to the debian site for a complete explanation of running pre and post scripts.
4. I am REALLY tired right now, so if this doesn't make any sense to someone, you can just email me, and I will try and help.