From: Andrej Kacian Date: Fri, 17 Nov 2006 01:06:22 +0000 (+0000) Subject: sed usage fix for Makefile. Provided by Marcin D. Mikielewicz in... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=685626e907e842dbc2a64650ebea0754ee46c8f6;p=gentoo.git sed usage fix for Makefile. Provided by Marcin D. Mikielewicz in bug #133707. Package-Manager: portage-2.1.2_rc1-r6 --- diff --git a/mail-client/pinepgp/ChangeLog b/mail-client/pinepgp/ChangeLog index 01dd0ad40f17..f44e7a632ca1 100644 --- a/mail-client/pinepgp/ChangeLog +++ b/mail-client/pinepgp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-client/pinepgp -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/ChangeLog,v 1.5 2005/06/05 11:52:19 hansmi Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/ChangeLog,v 1.6 2006/11/17 01:06:22 ticho Exp $ + + 17 Nov 2006; Andrej Kacian + +files/pinepgp-0.18.0-makefile-sed-fix.patch, pinepgp-0.18.0.ebuild, + pinepgp-0.18.0-r1.ebuild: + sed usage fix for Makefile. Provided by Marcin D. Mikielewicz in bug #133707. 05 Jun 2005; Michael Hanselmann pinepgp-0.18.0-r1.ebuild: diff --git a/mail-client/pinepgp/Manifest b/mail-client/pinepgp/Manifest index 0eb152026458..5a8f49efc942 100644 --- a/mail-client/pinepgp/Manifest +++ b/mail-client/pinepgp/Manifest @@ -1,6 +1,37 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pinepgp-0.18.0-makefile-sed-fix.patch 3349 RMD160 b947ab7d0d8f3f57b8e833d406ad7e2c4aebb135 SHA1 5bc46224d8eb0d0b01aa23cf6302407bfeec28e2 SHA256 22b60805085efdd6c2a327d4cf3d5deeb6ecd12eaf0c31fae9d449dc5426d42d +MD5 3582b25c05e94a1f7ebabb2f30dd35ad files/pinepgp-0.18.0-makefile-sed-fix.patch 3349 +RMD160 b947ab7d0d8f3f57b8e833d406ad7e2c4aebb135 files/pinepgp-0.18.0-makefile-sed-fix.patch 3349 +SHA256 22b60805085efdd6c2a327d4cf3d5deeb6ecd12eaf0c31fae9d449dc5426d42d files/pinepgp-0.18.0-makefile-sed-fix.patch 3349 +DIST pinepgp-0.18.0.tar.gz 38103 RMD160 1990bdc56460cbafe8b62cffaf5520038fe910ce SHA1 d80495079f398d60a7c6262f0778fbf0db6ecaf2 SHA256 2917ed5734b2c2e70cd8d944537cb0280f7cdfa34fcd64121f41bb4c37c7d6d9 +EBUILD pinepgp-0.18.0-r1.ebuild 776 RMD160 5096ea2446dfaa8a18d0d76dc716a4ff98ad8ec5 SHA1 deafd0f4905ded57285f1349d11d64cb44d309c6 SHA256 71cce11cff6393b53a3462b3bcd3954df4a0f5f61a5e29c2953765effc2172db +MD5 3943b161e73f32f3fd79aaa7e1e653cd pinepgp-0.18.0-r1.ebuild 776 +RMD160 5096ea2446dfaa8a18d0d76dc716a4ff98ad8ec5 pinepgp-0.18.0-r1.ebuild 776 +SHA256 71cce11cff6393b53a3462b3bcd3954df4a0f5f61a5e29c2953765effc2172db pinepgp-0.18.0-r1.ebuild 776 +EBUILD pinepgp-0.18.0.ebuild 776 RMD160 362b4ca7ee1870d0cf93c037018b1a00d6409e48 SHA1 f12944175d6a3f4527721681a5baff3d14060c04 SHA256 d4ceb3f8360de9a2da62dbe109dde591823af6c36f91cdfbb2b9f32922747b8b +MD5 b6eebc524a10650b2805a3a6da9a17db pinepgp-0.18.0.ebuild 776 +RMD160 362b4ca7ee1870d0cf93c037018b1a00d6409e48 pinepgp-0.18.0.ebuild 776 +SHA256 d4ceb3f8360de9a2da62dbe109dde591823af6c36f91cdfbb2b9f32922747b8b pinepgp-0.18.0.ebuild 776 +MISC ChangeLog 1535 RMD160 e7fd95b4e14f5720804d191bb1af4d61ba64f89b SHA1 612d4e14fe857588ac0699b85aa7590b81eb60fa SHA256 32825de6b1f0afe24bb388e14e1cb3357fa3bb0d33b78b2d5035075cdcabb0ac +MD5 ac7232b33339fb801a5beb26471052eb ChangeLog 1535 +RMD160 e7fd95b4e14f5720804d191bb1af4d61ba64f89b ChangeLog 1535 +SHA256 32825de6b1f0afe24bb388e14e1cb3357fa3bb0d33b78b2d5035075cdcabb0ac ChangeLog 1535 +MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 -MD5 0551c36f69947d08c1565903e7b5c31d ChangeLog 1288 -MD5 690bec96fcf3f7ec20024c28ff8c1f81 pinepgp-0.18.0-r1.ebuild 673 -MD5 a5a45a51d731b7f31fe1a1430937752e pinepgp-0.18.0.ebuild 675 -MD5 26b99002be802dd79732c7226e80bdb6 files/digest-pinepgp-0.18.0-r1 65 -MD5 26b99002be802dd79732c7226e80bdb6 files/digest-pinepgp-0.18.0 65 +RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161 +SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 metadata.xml 161 +MD5 8d7a9ffd220ce9d440631faf9d991d98 files/digest-pinepgp-0.18.0 241 +RMD160 5e8f5e4dcb4d45fa81695f7a882d816f64e6c1aa files/digest-pinepgp-0.18.0 241 +SHA256 02be63070339a0e84400664439852563f11cded29902f7cf72c444c382496d58 files/digest-pinepgp-0.18.0 241 +MD5 8d7a9ffd220ce9d440631faf9d991d98 files/digest-pinepgp-0.18.0-r1 241 +RMD160 5e8f5e4dcb4d45fa81695f7a882d816f64e6c1aa files/digest-pinepgp-0.18.0-r1 241 +SHA256 02be63070339a0e84400664439852563f11cded29902f7cf72c444c382496d58 files/digest-pinepgp-0.18.0-r1 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFXRkTQlM6RnzZP+IRArhKAJ9c28LeewkziEgOKsFRAGa/hqbo3ACglkKC +1/dZ55AoPjKwacx/HMP8bHU= +=mLAy +-----END PGP SIGNATURE----- diff --git a/mail-client/pinepgp/files/digest-pinepgp-0.18.0 b/mail-client/pinepgp/files/digest-pinepgp-0.18.0 index 06060898d77e..452c6abcc74e 100644 --- a/mail-client/pinepgp/files/digest-pinepgp-0.18.0 +++ b/mail-client/pinepgp/files/digest-pinepgp-0.18.0 @@ -1 +1,3 @@ MD5 b87eaea3c74429e8e83f68b1ed337120 pinepgp-0.18.0.tar.gz 38103 +RMD160 1990bdc56460cbafe8b62cffaf5520038fe910ce pinepgp-0.18.0.tar.gz 38103 +SHA256 2917ed5734b2c2e70cd8d944537cb0280f7cdfa34fcd64121f41bb4c37c7d6d9 pinepgp-0.18.0.tar.gz 38103 diff --git a/mail-client/pinepgp/files/digest-pinepgp-0.18.0-r1 b/mail-client/pinepgp/files/digest-pinepgp-0.18.0-r1 index 06060898d77e..452c6abcc74e 100644 --- a/mail-client/pinepgp/files/digest-pinepgp-0.18.0-r1 +++ b/mail-client/pinepgp/files/digest-pinepgp-0.18.0-r1 @@ -1 +1,3 @@ MD5 b87eaea3c74429e8e83f68b1ed337120 pinepgp-0.18.0.tar.gz 38103 +RMD160 1990bdc56460cbafe8b62cffaf5520038fe910ce pinepgp-0.18.0.tar.gz 38103 +SHA256 2917ed5734b2c2e70cd8d944537cb0280f7cdfa34fcd64121f41bb4c37c7d6d9 pinepgp-0.18.0.tar.gz 38103 diff --git a/mail-client/pinepgp/files/pinepgp-0.18.0-makefile-sed-fix.patch b/mail-client/pinepgp/files/pinepgp-0.18.0-makefile-sed-fix.patch new file mode 100644 index 000000000000..fe9f8d55a0dc --- /dev/null +++ b/mail-client/pinepgp/files/pinepgp-0.18.0-makefile-sed-fix.patch @@ -0,0 +1,87 @@ +diff -Naur pinepgp-0.18.0-orig/Makefile.in pinepgp-0.18.0/Makefile.in +--- pinepgp-0.18.0-orig/Makefile.in 2002-05-03 15:30:07.000000000 +0200 ++++ pinepgp-0.18.0/Makefile.in 2006-11-16 00:30:27.000000000 +0100 +@@ -44,52 +44,52 @@ + all: $(SOURCES) $(BUILD_FILTERS) + + $(SOURCES): $(SOURCES:%=%.in) +- $(CAT) $(@).in | $(SED) -e 's%\@SED\@%$(SED)%;\ +- s%\@CAT\@%$(CAT)%;\ +- s%\@RM\@%$(RM)%;\ +- s%\@MKTEMP\@%$(MKTEMP)%;\ +- s%\@BASH\@%$(BASH)%;\ +- s%\@bindir\@%$(bindir)%;\ +- s%\@tmpdir\@%$(tmpdir)%' > $(@) ++ $(CAT) $(@).in | $(SED) -e 's%\@SED\@%$(SED)%'\ ++ -e 's%\@CAT\@%$(CAT)%'\ ++ -e 's%\@RM\@%$(RM)%'\ ++ -e 's%\@MKTEMP\@%$(MKTEMP)%'\ ++ -e 's%\@BASH\@%$(BASH)%'\ ++ -e 's%\@bindir\@%$(bindir)%'\ ++ -e 's%\@tmpdir\@%$(tmpdir)%' > $(@) + chmod 755 $(@) + + pinegpg: pinegpgp +- $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename=GnuPG%;\ +- s%^ces=.*%ces="$(GPG) -at -s"%;\ +- s%^cee=.*%cee="$(GPG) -at -e"%;\ +- s%^cese=.*%cese="$(GPG) -at -se"%;\ +- s%^cec=.*%cec="\$(GPG)"%;\ +- s%^cefp=.*%cefp=gpg%' > $(@).c ++ $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename=GnuPG%'\ ++ -e 's%^ces=.*%ces="$(GPG) -at -s"%'\ ++ -e 's%^cee=.*%cee="$(GPG) -at -e"%'\ ++ -e 's%^cese=.*%cese="$(GPG) -at -se"%'\ ++ -e 's%^cec=.*%cec="\$(GPG)"%'\ ++ -e 's%^cefp=.*%cefp=gpg%' > $(@).c + $(CPP) -DGPG $(BUILD_FLAGS) $(@).c | $(GREP) -v "^# .* .*" > $(@) + chmod 755 $(@) + + pinepgp26x: pinegpgp +- $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 2.6.x"%;\ +- s%^ces=.*%ces="\$(PGP) -fat -s"%;\ +- s%^cee=.*%cee="\$(PGP) -fat -e"%;\ +- s%^cese=.*%cese="\$(PGP) -fat -se"%;\ +- s%^cec=.*%cec="\$(PGP) -f"%;\ +- s%^cefp=.*%cefp=pgp26x%' > $(@).c ++ $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 2.6.x"%'\ ++ -e 's%^ces=.*%ces="\$(PGP) -fat -s"%'\ ++ -e 's%^cee=.*%cee="\$(PGP) -fat -e"%'\ ++ -e 's%^cese=.*%cese="\$(PGP) -fat -se"%'\ ++ -e 's%^cec=.*%cec="\$(PGP) -f"%'\ ++ -e 's%^cefp=.*%cefp=pgp26x%' > $(@).c + $(CPP) -DPGP26X $(BUILD_FLAGS) $(@).c | $(GREP) -v "^# .* .*" > $(@) + chmod 755 $(@) + + pinepgp5x: pinegpgp +- $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 5.x"%;\ +- s%^ces=.*%ces="$(PGP5S) -fat"%;\ +- s%^cee=.*%cee="$(PGP5E) -fat"%;\ +- s%^cese=.*%cese="$(PGP5E) -fat -s"%;\ +- s%^cec=.*%cec="$(PGP5V) -f"%;\ +- s%^cefp=.*%cefp=pgp26x%' > $(@).c ++ $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 5.x"%'\ ++ -e 's%^ces=.*%ces="$(PGP5S) -fat"%'\ ++ -e 's%^cee=.*%cee="$(PGP5E) -fat"%'\ ++ -e 's%^cese=.*%cese="$(PGP5E) -fat -s"%'\ ++ -e 's%^cec=.*%cec="$(PGP5V) -f"%'\ ++ -e 's%^cefp=.*%cefp=pgp26x%' > $(@).c + $(CPP) -DPGP5X $(BUILD_FLAGS) $(@).c | $(GREP) -v "^# .* .*" > $(@) + chmod 755 $(@) + + pinepgp65x: pinegpgp +- $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 6.5.x"%;\ +- s%^ces=.*%ces="\$(PGP6) -fat -s -u $$USER"%;\ +- s%^cee=.*%cee="\$(PGP6) -fat -e -u $$USER"%;\ +- s%^cese=.*%cese="\$(PGP6) -fat -se -u $$USER"%;\ +- s%^cec=.*%cec="\$(PGP6) -f -u $$USER"%;\ +- s%^cefp=.*%cefp=pgp65x%' > $(@).c ++ $(CAT) pinegpgp | $(SED) -e 's%^cename=.*%cename="PGP 6.5.x"%'\ ++ -e 's%^ces=.*%ces="\$(PGP6) -fat -s -u $$USER"%'\ ++ -e 's%^cee=.*%cee="\$(PGP6) -fat -e -u $$USER"%'\ ++ -e 's%^cese=.*%cese="\$(PGP6) -fat -se -u $$USER"%'\ ++ -e 's%^cec=.*%cec="\$(PGP6) -f -u $$USER"%'\ ++ -e 's%^cefp=.*%cefp=pgp65x%' > $(@).c + $(CPP) -DPGP65X $(BUILD_FLAGS) $(@).c | $(GREP) -v "^# .* .*" > $(@) + chmod 755 $(@) + diff --git a/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild b/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild index a9a94f94e684..96f0d04a79b8 100644 --- a/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild +++ b/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild,v 1.6 2005/06/05 11:52:19 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/pinepgp-0.18.0-r1.ebuild,v 1.7 2006/11/17 01:06:22 ticho Exp $ + +inherit eutils DESCRIPTION="Use GPG/PGP with Pine" HOMEPAGE="http://www.megaloman.com/~hany/software/pinepgp/" @@ -12,6 +14,12 @@ IUSE="" DEPEND="mail-client/pine app-crypt/gnupg" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-makefile-sed-fix.patch +} + src_compile() { econf || die "configure problem" emake || die "compile problem" diff --git a/mail-client/pinepgp/pinepgp-0.18.0.ebuild b/mail-client/pinepgp/pinepgp-0.18.0.ebuild index 65303a5cd5c1..85b35a81a7e0 100644 --- a/mail-client/pinepgp/pinepgp-0.18.0.ebuild +++ b/mail-client/pinepgp/pinepgp-0.18.0.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/pinepgp-0.18.0.ebuild,v 1.4 2004/07/14 16:26:22 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/pinepgp/pinepgp-0.18.0.ebuild,v 1.5 2006/11/17 01:06:22 ticho Exp $ + +inherit eutils DESCRIPTION="Use GPG/PGP with Pine" HOMEPAGE="http://www.megaloman.com/~hany/software/pinepgp/" @@ -12,6 +14,12 @@ IUSE="" DEPEND="mail-client/pine app-crypt/gnupg" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-makefile-sed-fix.patch +} + src_compile() { econf || die "configure problem" emake || die "compile problem"