Re: Bug: failing makefile target: uninstall
Michael Richardson <[email protected]> Mon, 24 Feb 2003 22:37:49 -0500
| Newsgroups | gmane.network.freeswan.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- >>>>> "Paul" == Paul Wouters <[email protected]> writes: Paul> On Mon, 24 Feb 2003, Michael Richardson wrote: >> okay, will this suffice? >> >> uninstall: $(MAKE) $(MAKEFLAGS) install_file_list | egrep -v >> '(ipsec.conf|ipsec.d)' | xargs rm Paul> Leaving the ipsec.secrets, but removing the ipsec.conf seems a bit Paul> odd to me. Those files should only be uninstalled if they had been Paul> installed by this version of the software. If they were already Paul> there, and not overwritten, they should also not be purged now. I think that you are misreading. We are *not* removing ipsec.conf, nor ipsec.d. Since we do not create ipsec.secrets at install time, we do not need to remove it (or not remote it either). Paul> Why not use the scheme that rpm uses? The install target moves or Paul> adds (depending on compatibility/security of the differences in Paul> configuration) the configuration file. When adding using the .new That's nice, but we need to write code to figure this out in a systematic way. For many, installing with RPM is really the best way to do this anyway. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Finger me for keys iQCVAwUBPlrlDIqHRg3pndX9AQGfXgP9G+A7aOmj8VpCBTtFa6IxREAyyVU4+wAw hUnwVQ0ZNVw4/NoD4BebJ+J4JuQRGj6le6Z9kD/ZHp1K3cxrjVnCiavHE+xzJjwj QjfALbViUK+eS+BBQk5TGy1SA4TFBXrScH3eO6vzijz8vY02Vm6JC/DiHW1P0MRk dJZVu5GNf58= =d8Ai -----END PGP SIGNATURE-----