{"id":7,"date":"2006-07-15T18:45:50","date_gmt":"2006-07-15T05:45:50","guid":{"rendered":"http:\/\/www.meta.net.nz\/~daniel\/blog\/?p=7"},"modified":"2006-07-15T18:45:50","modified_gmt":"2006-07-15T05:45:50","slug":"building-debian-packages-with-yada","status":"publish","type":"post","link":"https:\/\/www.meta.net.nz\/~daniel\/blog\/2006\/07\/15\/building-debian-packages-with-yada\/","title":{"rendered":"Building Debian packages with YADA"},"content":{"rendered":"<p>I have recently had to build some debian packages for software we distribute to our clients. I&#8217;ve built debian packages in the past, but I was a bit rusty so was looking at a similar package to the one I was working on at the time, a collection of php scripts for a web based tool. As it happened, the debian package I chose to inspect, phpmyadmin, used a program called YADA as an aid for building the deb.<br \/>\nYADA stands for Yet Another Debianisation Aid. I can&#8217;t find a decent definitive website for it (it&#8217;s not yada.sf.net, btw!), but it&#8217;s in sarge and ubuntu. YADA takes two input files &#8211; debian\/changelog and debian\/packages, and generates a suitable set of files inside the debian\/ subdir so that you can create your .deb package. The format of the debian\/packages file is quite simple and gives, as far as I can tell, full control over the resulting configuration.<\/p>\n<p>There is good documentation in the yada-doc package, including example packages files take from a range of debian packages that make use of YADA already.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have recently had to build some debian packages for software we distribute to our clients. I&#8217;ve built debian packages in the past, but I was a bit rusty so was looking at a similar package to the one I was working on at the time, a collection of php scripts for a web based [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}