# apt-get download rsync
# ar x rsync_3.0.9-4_amd64.deb
# ls -1
control.tar.gz
data.tar.gz
debian-binary
rsync_3.0.9-4_amd64.deb
# mkdir debian
# cd debian/
# tar xf ../control.tar.gz
# find
.
./control
./postinst
./md5sums
./prerm
./conffiles
./postrm




2013/8/27 Igor Filatov <igor.fila...@globallogic.com>

> Hello,
>
> Is there a recommended way to create/maintain customized versions of
> packages in cases when there's no need to rebuild from source but
> advanced post-install configuration is necessary?
>
> For example, I wan't to have an OpenLDAP that would install directly
> with mdb backend. To configure slapd for mdb I normally have to edit
> configs, clear out the DB directory (/var/lib/ldap) and restart the
> service. I tried to make a separate config package for this using
> config-package-dev, but the process seems to complicated in this case,
> so I'm making a custom slapd package. But the thing is, the only
> documented way seems to be to get the package source, edit and
> rebuild. But I'm fine with the binaries, I only need to edit postinst
> script and such. I tried extracting and repacking the binary package
> with dpkg-deb, and it works, except it doesn't feel like 'the right
> way'... correct me if I'm wrong.
>
> --
> Regards,
> Igor Filatov
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/CACTpin4wBcGmaCroFTRDdobd7n3zzba4E6N0Dkk6zC61tD=6...@mail.gmail.com
>
>

Reply via email to