pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/lua-socket



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Nov  4 15:54:00 UTC 2024

Modified Files:
        pkgsrc/net/lua-socket: distinfo
Added Files:
        pkgsrc/net/lua-socket/patches: patch-gem_myps2pdf

Log Message:
lua-socket: Fix shell portability


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/lua-socket/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/lua-socket/patches/patch-gem_myps2pdf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/lua-socket/distinfo
diff -u pkgsrc/net/lua-socket/distinfo:1.8 pkgsrc/net/lua-socket/distinfo:1.9
--- pkgsrc/net/lua-socket/distinfo:1.8  Mon Feb  5 13:23:16 2024
+++ pkgsrc/net/lua-socket/distinfo      Mon Nov  4 15:54:00 2024
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2024/02/05 13:23:16 tm Exp $
+$NetBSD: distinfo,v 1.9 2024/11/04 15:54:00 nia Exp $
 
 BLAKE2s (luasocket-3.0-rc1.tar.gz) = e63616d8206b9d242fd7a16ce6a439def91698968cb3920943039549172ff882
 SHA512 (luasocket-3.0-rc1.tar.gz) = f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540
 Size (luasocket-3.0-rc1.tar.gz) = 328598 bytes
+SHA1 (patch-gem_myps2pdf) = e6acb0e23f932498fb5420f0fbc1c0e33978c1ca
 SHA1 (patch-makefile) = 9040afc943b773569d5fc260e31ed38eb2a87b28
 SHA1 (patch-src_makefile) = 6d385804dc9f36ccff1d335388472dccb742bb91

Added files:

Index: pkgsrc/net/lua-socket/patches/patch-gem_myps2pdf
diff -u /dev/null pkgsrc/net/lua-socket/patches/patch-gem_myps2pdf:1.1
--- /dev/null   Mon Nov  4 15:54:00 2024
+++ pkgsrc/net/lua-socket/patches/patch-gem_myps2pdf    Mon Nov  4 15:54:00 2024
@@ -0,0 +1,47 @@
+$NetBSD: patch-gem_myps2pdf,v 1.1 2024/11/04 15:54:00 nia Exp $
+
+Fix shell portability.
+
+--- gem/myps2pdf.orig  2024-11-04 15:52:59.132175237 +0000
++++ gem/myps2pdf
+@@ -39,7 +39,7 @@ case $# in
+ *) echo "$usage" 1>&2 ; exit 1 ;;
+ esac
+ 
+-if [ $best == 1 ]
++if [ $best = 1 ]
+ then
+       options="-dPDFSETTINGS=/prepress \
+       -r1200 \
+@@ -73,19 +73,19 @@ else
+       -dAutoFilterColorImages=true"
+ fi
+ 
+-if [ $rot == 1 ]
++if [ $rot = 1 ]
+ then
+       options="$options -dAutoRotatePages=/PageByPage"
+ fi
+ 
+-if [ $eps == 1 ]
++if [ $eps = 1 ]
+ then
+       options="$options -dEPSCrop"
+ fi
+ 
+ set -x
+ 
+-if [ $a4 == 1 ]
++if [ $a4 = 1 ]
+ then
+       # Resize from A4 to letter size
+       psresize -Pa4 -pletter "$ifilename" myps2pdf.temp.ps
+@@ -104,7 +104,7 @@ gs -q -dSAFER -dNOPAUSE -dBATCH  \
+       -dPreserveEPSInfo=true \
+       -c .setpdfwrite -f "$ifilename"
+ 
+-if [ $do_opt == 1 ]
++if [ $do_opt = 1 ]
+ then
+       pdfopt myps2pdf.temp.pdf $ofilename
+ else



Home | Main Index | Thread Index | Old Index