-
Notifications
You must be signed in to change notification settings - Fork 65
/
debianutils.info
84 lines (81 loc) · 2.53 KB
/
debianutils.info
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Package: debianutils
Version: 4.3.2
Revision: 2
Essential: true
Maintainer: Fink Core Group <fink-core@lists.sourceforge.net>
## Remove po4a
BuildDepends: fink (>= 0.24.12-1)
Depends: base-files, sensible-utils
Conflicts: mktemp, ftpfiles (<< 20030406-1)
Replaces: mktemp, tetex, ftpfiles (<< 20030406-1)
Source: mirror:debian:pool/main/d/%n/%n_%v.tar.gz
Source-MD5: 6270998707ed0d0894b981e2e9dbb912
SourceDirectory: %n-%v
PatchScript: <<
### fix use of chown/mod --reference which isn't supported in /bin/chown/mod
perl -pi -e 's,chown --reference=\$file,chown root:admin,g' add-shell
perl -pi -e 's,chmod --reference=\$file,chmod 644,g' add-shell
#cd po4a && po4a --no-backups po4a.conf
perl -pi -e 's,SUBDIRS = po4a,SUBDIRS = ,g' Makefile.in
perl -pi -e 's,Makefile po4a/Makefile po4a/fr/Makefile po4a/sl/Makefile po4a/de/Makefile po4a/es/Makefile,Makefile,g' configure
<<
ConfigureParams: --mandir=%p/share/man
CompileScript: <<
DEBIANUTILS_VERSION="%v" ./configure %c
make
<<
InstallScript: <<
#!/bin/sh -ev
install -d -m 0755 %d/DEBIAN \
%i/bin \
%i/sbin \
%i/share/man/man1 \
%i/share/man/man8 \
%i/share/doc/%n \
%i/share/%n
make install DESTDIR=%d INSTALL_PROGRAM="install -m 0755"
rm %i/sbin/installkernel \
%i/share/man/man8/installkernel.8
install -m 0644 debian/shells %i/share/%n
<<
PostInstScript: <<
if test -z "$2" && test ! -f %p/etc/shells
then
cp -p %p/share/debianutils/shells %p/etc/shells
fi
# Add all the default Lion shells
add-shell /bin/bash /bin/csh /bin/ksh /bin/tcsh /bin/zsh /usr/bin/screen
if [ configure = "$1" ]; then
if which update-mime >/dev/null;
then
update-mime
fi
fi
<<
PostRmScript: <<
if [ remove = "$1" -o disappear = "$1" ]; then
if which update-mime >/dev/null;
then
update-mime
fi
fi
<<
DocFiles: debian/copyright debian/changelog debian/README.shells
Description: Misc utilities specific to Debian/Fink
DescDetail: <<
This package provides a number of small utilities which are used
primarily by the installation scripts of Debian packages, although
you may use them directly.
.
The specific utilities included are:
add-shell ischroot remove-shell run-parts savelog
tempfile which
<<
DescPort: <<
Newer version no longer have mktemp or readlink, as they are in coreutils.
Providing symlink from tempfile to mktemp for now, so the many packages that
use it don't break, but this packages should change to gmktmp and bdep on
coreutils.
<<
Homepage: http://packages.debian.org/unstable/debianutils
License: GPL