Re: Bug: failing makefile target: uninstall

Michael Richardson <[email protected]> Mon, 24 Feb 2003 18:36:11 -0500
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Hugh" == Hugh Daniel <[email protected]> writes:
    Hugh> Two problems with "make unistall" that some free person needs to
    Hugh> fix...

    Hugh> First it does not work.

    Hugh> Second it just deletes /etc/ipsec.conf which is the one file that
    Hugh> should be deleted only by hand.  It should be moved, or checked in,
    Hugh> but it's not the sofwares place to delete that one critical file.

  okay, will this suffice?

uninstall:
	$(MAKE) $(MAKEFLAGS) install_file_list | egrep -v '(ipsec.conf|ipsec.d)' | xargs rm

  I'm adjusting the testing/packaging/basic-uninstall-01/ test.
  Please see testing/packaging/basic-uninstall-01/justconf.txt for a list
of files that should not be removed on uninstall.

]       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

iQCVAwUBPlqsaoqHRg3pndX9AQEnoQQAgaCV4Rq5HJsMX/G8Ow1c3MQHNgwAssbG
99dVwe9CArvLQW/WQ51QdE2ju6EaRwti1GI/ex2zli1CWoukGjaC9kCmBY9OqXE4
upyXn2/WSeA1V+fwOJu0rpBPj+gn8cNtqxyROmlcrOQ7bBWBktAyJxW9ypF4e6+1
xfCeuSKt0S4=
=7Ljh
-----END PGP SIGNATURE-----