aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-12-30 07:29:58 +0800
committerandreas <andreas@FreeBSD.org>2001-12-30 07:29:58 +0800
commit76d45846deecd9c9ac4b0ad5792b2fb86881c75e (patch)
treea7c48fabff720541c2c41c04fe41cd503765b7ac /print
parent7d7ba00ca3efed246cf5b1189b6de944a6c3f76b (diff)
downloadfreebsd-ports-gnome-76d45846deecd9c9ac4b0ad5792b2fb86881c75e.tar.gz
freebsd-ports-gnome-76d45846deecd9c9ac4b0ad5792b2fb86881c75e.tar.zst
freebsd-ports-gnome-76d45846deecd9c9ac4b0ad5792b2fb86881c75e.zip
unbreak port for -current
Since the `.' seperator has been deprecated for a while now, the chown command fails - at least under -current. Changed his patch to patch actually SETUP.in and not the resulting file SETUP after running configure. Submitted by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
Diffstat (limited to 'print')
-rw-r--r--print/apsfilter/files/patch-SETUP.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/print/apsfilter/files/patch-SETUP.in b/print/apsfilter/files/patch-SETUP.in
new file mode 100644
index 000000000000..6a4f094da828
--- /dev/null
+++ b/print/apsfilter/files/patch-SETUP.in
@@ -0,0 +1,38 @@
+--- SETUP.in.orig Sun Dec 30 00:22:18 2001
++++ SETUP.in Sun Dec 30 00:23:48 2001
+@@ -1299,7 +1299,7 @@
+ if [ "$SMB_PASSWD" ]; then
+ echo "read protect SETUP.cfg, since it contains password..."
+ chmod 600 SETUP.cfg
+- chown root.$LP_GROUP SETUP.cfg
++ chown root:$LP_GROUP SETUP.cfg
+ fi
+ }
+
+@@ -1434,7 +1434,7 @@
+ # after having set sane defaults, fix permissions
+ echo $n "changing permissions of $APS_BASEDIR... $c"
+ chmod 555 .
+- chown -R $DIR_OWNER.$DIR_GROUP .
++ chown -R $DIR_OWNER:$DIR_GROUP .
+ find . -type d -print | xargs chmod 555
+ find . -type f -print | xargs chmod a+r,a-w
+ echo "done."
+@@ -1672,7 +1672,7 @@
+ chmod 664 "$SPOOLDIR/lock"
+
+ # set sane permissions for spooldir
+- chown -R $LP_OWNER.$LP_GROUP "$SPOOLDIR"
++ chown -R $LP_OWNER:$LP_GROUP "$SPOOLDIR"
+
+ # samba printer
+ if [ "$INTERFACE" = samba ]; then
+@@ -1699,7 +1699,7 @@
+ if [ "$SMB_PASSWD" ]; then
+ echo " read protect password information..."
+ chmod 600 smbclient.conf
+- chown $LP_OWNER.$LP_GROUP smbclient.conf
++ chown $LP_OWNER:$LP_GROUP smbclient.conf
+ fi
+ fi
+