mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
APT is the Debian project's advanced front-end for dpkg. APT features complete
installation ordering, multiple source capability and several other unique features. WWW: http://packages.debian.org/apt PR: ports/105563 Submitted by: Nick Barkas <snb at threerings.net>
This commit is contained in:
parent
1f49144a9f
commit
dbc44398c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184923
23 changed files with 805 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
SUBDIR += apachetop
|
||||
SUBDIR += apcpwr
|
||||
SUBDIR += apcupsd
|
||||
SUBDIR += apt
|
||||
SUBDIR += areca-cli
|
||||
SUBDIR += asapm
|
||||
SUBDIR += ascpu
|
||||
|
|
137
sysutils/apt/Makefile
Normal file
137
sysutils/apt/Makefile
Normal file
|
@ -0,0 +1,137 @@
|
|||
# New ports collection makefile for: apt
|
||||
# Date created: 23 October 2006
|
||||
# Whom: Nick Barkas <snb@threerings.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= apt
|
||||
PORTVERSION= 0.6.46.4
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
||||
DISTNAME= apt_${PORTVERSION}
|
||||
|
||||
MAINTAINER= snb@threerings.net
|
||||
COMMENT= Advanced front-end for dpkg
|
||||
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
||||
${LOCALBASE}/lib/libpub.a:${PORTSDIR}/devel/publib
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
dpkg:${PORTSDIR}/archivers/dpkg \
|
||||
gpg:${PORTSDIR}/security/gnupg
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_BDB= 44+
|
||||
USE_LDCONFIG= yes
|
||||
NO_FILTER_SHLIBS= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/db${BDB_VER} -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib/db${BDB_VER} -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
WRKSRC= ${WRKDIR}/apt-${PORTVERSION}
|
||||
|
||||
MAN1= apt-extracttemplates.1 apt-ftparchive.1 apt-sortpkgs.1
|
||||
MAN5= apt.conf.5 apt_preferences.5 sources.list.5
|
||||
MAN8= apt-cache.8 apt-cdrom.8 apt-config.8 apt-get.8 apt-key.8 apt-secure.8
|
||||
|
||||
DPKGDIR?= ${DESTDIR}/var/db/dpkg
|
||||
APTDIR?= ${DESTDIR}/var/db/apt
|
||||
PLIST_SUB+= APTDIR=${APTDIR:C,^/,,}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' -e \
|
||||
's|@APTDIR@|${APTDIR}|g' -e 's|@DPKGDIR@|${DPKGDIR}|g' -e \
|
||||
's|@LOCALBASE@|${LOCALBASE}|g' \
|
||||
${WRKSRC}/apt-pkg/deb/debsystem.cc \
|
||||
${WRKSRC}/apt-pkg/init.cc \
|
||||
${WRKSRC}/cmdline/apt-key \
|
||||
${WRKSRC}/dselect/install \
|
||||
${WRKSRC}/dselect/setup \
|
||||
${WRKSRC}/dselect/update \
|
||||
${WRKSRC}/methods/gpgv.cc
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-cache ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-cdrom ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-config ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-extracttemplates ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-ftparchive ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-get ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/apt-sortpkgs ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/apt-key ${PREFIX}/bin
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/bin/libapt-inst.so.1.1.0 ${PREFIX}/lib
|
||||
(cd ${PREFIX}/lib; ${LN} -sf libapt-inst.so.1.1.0 libapt-inst.so.1.1; ${LN} -sf libapt-inst.so.1.1.0 libapt-inst.so)
|
||||
${INSTALL_DATA} ${WRKSRC}/bin/libapt-pkg.so.3.11.0 ${PREFIX}/lib
|
||||
(cd ${PREFIX}/lib; ${LN} -sf libapt-pkg.so.3.11.0 libapt-pkg.so.3.11; ${LN} -sf libapt-pkg.so.3.11.0 libapt-pkg.so)
|
||||
|
||||
${MKDIR} ${PREFIX}/share/apt/keyrings
|
||||
|
||||
${MKDIR} ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/cdrom ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/copy ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/file ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/ftp ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/gpgv ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/gzip ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/http ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/rred ${PREFIX}/libexec/apt/methods
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/methods/rsh ${PREFIX}/libexec/apt/methods
|
||||
(cd ${PREFIX}/libexec/apt/methods; ${LN} -sf rsh ssh; ${LN} -sf gzip bzip2)
|
||||
|
||||
${MKDIR} ${PREFIX}/libexec/dpkg/methods/apt
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/dselect/desc.apt ${PREFIX}/libexec/dpkg/methods/apt
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/dselect/names ${PREFIX}/libexec/dpkg/methods/apt
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/dselect/install ${PREFIX}/libexec/dpkg/methods/apt
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/dselect/setup ${PREFIX}/libexec/dpkg/methods/apt
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/dselect/update ${PREFIX}/libexec/dpkg/methods/apt
|
||||
|
||||
${MKDIR} ${PREFIX}/include/apt-pkg
|
||||
for f in ${WRKSRC}/include/apt-pkg/*; do \
|
||||
${INSTALL_DATA} $${f} ${PREFIX}/include/apt-pkg; \
|
||||
done
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-extracttemplates.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-ftparchive.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-sortpkgs.1 ${MANPREFIX}/man/man1
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt.conf.5 ${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt_preferences.5 ${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/sources.list.5 ${MANPREFIX}/man/man5
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-cache.8 ${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-cdrom.8 ${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-config.8 ${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-get.8 ${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-key.8 ${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/apt-secure.8 ${MANPREFIX}/man/man8
|
||||
|
||||
${MKDIR} ${PREFIX}/etc/apt/conf.d
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/examples/sources.list ${PREFIX}/etc/apt/sources.list.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/examples/apt.conf ${PREFIX}/etc/apt/apt.conf.sample
|
||||
|
||||
${MKDIR} ${APTDIR}/cache/archives/partial
|
||||
${MKDIR} ${APTDIR}/state/lists/partial
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/COPYING.GPL ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README.progress-reporting ${DOCSDIR}
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
for f in ${WRKSRC}/docs/examples/*; do \
|
||||
${INSTALL_MAN} $${f} ${EXAMPLESDIR}; \
|
||||
done
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
if [ ! -f ${PREFIX}/etc/apt/sources.list ]; then \
|
||||
${CP} -p ${PREFIX}/etc/apt/sources.list.sample ${PREFIX}/etc/apt/sources.list; \
|
||||
fi
|
||||
if [ ! -f ${PREFIX}/etc/apt/apt.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/apt/apt.conf.sample ${PREFIX}/etc/apt/apt.conf; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/apt/distinfo
Normal file
3
sysutils/apt/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (apt_0.6.46.4.tar.gz) = 82ec892fb9d389a4b6090cc2314e1714
|
||||
SHA256 (apt_0.6.46.4.tar.gz) = b4c33b4fdf5901b7dcfc602ad0be289dc8d5244b4f864271829bb2cddfc7813e
|
||||
SIZE (apt_0.6.46.4.tar.gz) = 1797347
|
25
sysutils/apt/files/patch-apt-pkg_deb_debsystem.cc
Normal file
25
sysutils/apt/files/patch-apt-pkg_deb_debsystem.cc
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- apt-pkg/deb/debsystem.cc.orig Thu Mar 2 06:11:39 2006
|
||||
+++ apt-pkg/deb/debsystem.cc Wed Oct 25 15:09:29 2006
|
||||
@@ -162,8 +162,8 @@
|
||||
which is yet to be determined. The functions in pkgcachegen should
|
||||
be the only users of these */
|
||||
Cnf.CndSet("Dir::State::userstatus","status.user"); // Defunct
|
||||
- Cnf.CndSet("Dir::State::status","/var/lib/dpkg/status");
|
||||
- Cnf.CndSet("Dir::Bin::dpkg","/usr/bin/dpkg");
|
||||
+ Cnf.CndSet("Dir::State::status","@DPKGDIR@/status");
|
||||
+ Cnf.CndSet("Dir::Bin::dpkg","@LOCALBASE@/bin/dpkg");
|
||||
|
||||
if (StatusFile) {
|
||||
delete StatusFile;
|
||||
@@ -191,9 +191,9 @@
|
||||
signed debSystem::Score(Configuration const &Cnf)
|
||||
{
|
||||
signed Score = 0;
|
||||
- if (FileExists(Cnf.FindFile("Dir::State::status","/var/lib/dpkg/status")) == true)
|
||||
+ if (FileExists(Cnf.FindFile("Dir::State::status","@DPKGDIR@/status")) == true)
|
||||
Score += 10;
|
||||
- if (FileExists(Cnf.FindFile("Dir::Bin::dpkg","/usr/bin/dpkg")) == true)
|
||||
+ if (FileExists(Cnf.FindFile("Dir::Bin::dpkg","@LOCALBASE@/bin/dpkg")) == true)
|
||||
Score += 10;
|
||||
if (FileExists("/etc/debian_version") == true)
|
||||
Score += 10;
|
13
sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
Normal file
13
sysutils/apt/files/patch-apt-pkg_deb_dpkgpm.cc
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- apt-pkg/deb/dpkgpm.cc.orig Sat Sep 30 07:17:49 2006
|
||||
+++ apt-pkg/deb/dpkgpm.cc Mon Oct 23 13:42:03 2006
|
||||
@@ -515,8 +515,8 @@
|
||||
it forks scripts. What happens is that when you hit ctrl-c it sends
|
||||
it to all processes in the group. Since dpkg ignores the signal
|
||||
it doesn't die but we do! So we must also ignore it */
|
||||
- sighandler_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
|
||||
- sighandler_t old_SIGINT = signal(SIGINT,SIG_IGN);
|
||||
+ sig_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
|
||||
+ sig_t old_SIGINT = signal(SIGINT,SIG_IGN);
|
||||
|
||||
// Fork dpkg
|
||||
pid_t Child;
|
41
sysutils/apt/files/patch-apt-pkg_init.cc
Normal file
41
sysutils/apt/files/patch-apt-pkg_init.cc
Normal file
|
@ -0,0 +1,41 @@
|
|||
--- apt-pkg/init.cc.orig Thu Mar 2 06:27:13 2006
|
||||
+++ apt-pkg/init.cc Thu Nov 2 13:36:53 2006
|
||||
@@ -43,26 +43,19 @@
|
||||
Cnf.Set("Dir","/");
|
||||
|
||||
// State
|
||||
- Cnf.Set("Dir::State","var/lib/apt/");
|
||||
+ Cnf.Set("Dir::State","@APTDIR@/state");
|
||||
|
||||
- /* Just in case something goes horribly wrong, we can fall back to the
|
||||
- old /var/state paths.. */
|
||||
- struct stat St;
|
||||
- if (stat("/var/lib/apt/.",&St) != 0 &&
|
||||
- stat("/var/state/apt/.",&St) == 0)
|
||||
- Cnf.Set("Dir::State","var/state/apt/");
|
||||
-
|
||||
Cnf.Set("Dir::State::lists","lists/");
|
||||
Cnf.Set("Dir::State::cdroms","cdroms.list");
|
||||
|
||||
// Cache
|
||||
- Cnf.Set("Dir::Cache","var/cache/apt/");
|
||||
+ Cnf.Set("Dir::Cache","@APTDIR@/cache");
|
||||
Cnf.Set("Dir::Cache::archives","archives/");
|
||||
Cnf.Set("Dir::Cache::srcpkgcache","srcpkgcache.bin");
|
||||
Cnf.Set("Dir::Cache::pkgcache","pkgcache.bin");
|
||||
|
||||
// Configuration
|
||||
- Cnf.Set("Dir::Etc","etc/apt/");
|
||||
+ Cnf.Set("Dir::Etc","@PREFIX@/etc/apt/");
|
||||
Cnf.Set("Dir::Etc::sourcelist","sources.list");
|
||||
Cnf.Set("Dir::Etc::sourceparts","sources.list.d");
|
||||
Cnf.Set("Dir::Etc::vendorlist","vendors.list");
|
||||
@@ -70,7 +63,7 @@
|
||||
Cnf.Set("Dir::Etc::main","apt.conf");
|
||||
Cnf.Set("Dir::Etc::parts","apt.conf.d");
|
||||
Cnf.Set("Dir::Etc::preferences","preferences");
|
||||
- Cnf.Set("Dir::Bin::methods","/usr/lib/apt/methods");
|
||||
+ Cnf.Set("Dir::Bin::methods","@PREFIX@/libexec/apt/methods");
|
||||
|
||||
bool Res = true;
|
||||
|
7
sysutils/apt/files/patch-buildlib_archtable
Normal file
7
sysutils/apt/files/patch-buildlib_archtable
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- buildlib/archtable.orig Thu Mar 2 06:26:52 2006
|
||||
+++ buildlib/archtable Wed Nov 15 13:08:39 2006
|
||||
@@ -27,3 +27,4 @@
|
||||
s390 s390
|
||||
s390x s390x
|
||||
x86_64 amd64
|
||||
+amd64 amd64
|
18
sysutils/apt/files/patch-buildlib_environment.mak.in
Normal file
18
sysutils/apt/files/patch-buildlib_environment.mak.in
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- buildlib/environment.mak.in.orig Thu Mar 2 05:56:30 2006
|
||||
+++ buildlib/environment.mak.in Wed Oct 25 15:51:02 2006
|
||||
@@ -65,7 +65,14 @@
|
||||
ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
|
||||
SONAME_MAGIC=-Wl,-soname -Wl,
|
||||
LFLAGS_SO=
|
||||
-else
|
||||
+endif
|
||||
+
|
||||
+ifneq ($(words $(filter freebsd% %freebsd,$(HOST_OS))),0)
|
||||
+ SONAME_MAGIC=-Wl,-soname -Wl,
|
||||
+ LFLAGS_SO=
|
||||
+endif
|
||||
+
|
||||
+ifndef SONAME_MAGIC
|
||||
# Do not know how to create shared libraries here.
|
||||
ONLYSTATICLIBS = yes
|
||||
endif
|
10
sysutils/apt/files/patch-buildlib_ostable
Normal file
10
sysutils/apt/files/patch-buildlib_ostable
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- buildlib/ostable.orig Thu Mar 2 05:46:44 2006
|
||||
+++ buildlib/ostable Wed Oct 25 14:58:59 2006
|
||||
@@ -16,6 +16,7 @@
|
||||
hp-hpux[^-]* hp-ux
|
||||
sun-solaris[^-]* solaris
|
||||
[^-]*-openbsd[^-]* openbsd
|
||||
+[^-]*-freebsd[^-]* freebsd
|
||||
|
||||
# Catch all
|
||||
.* unknown
|
26
sysutils/apt/files/patch-cmdline_apt-key
Normal file
26
sysutils/apt/files/patch-cmdline_apt-key
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- cmdline/apt-key.orig Thu Mar 2 06:28:27 2006
|
||||
+++ cmdline/apt-key Tue Oct 24 16:11:08 2006
|
||||
@@ -5,18 +5,17 @@
|
||||
# We don't use a secret keyring, of course, but gpg panics and
|
||||
# implodes if there isn't one available
|
||||
|
||||
-GPG_CMD="gpg --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg"
|
||||
-GPG="$GPG_CMD --keyring /etc/apt/trusted.gpg"
|
||||
+GPG_CMD="gpg --no-options --no-default-keyring --secret-keyring @PREFIX@/etc/apt/secring.gpg --trustdb-name @PREFIX@/etc/apt/trustdb.gpg"
|
||||
+GPG="$GPG_CMD --keyring @PREFIX@/etc/apt/trusted.gpg"
|
||||
|
||||
|
||||
-ARCHIVE_KEYRING=/usr/share/keyrings/debian-archive-keyring.gpg
|
||||
-REMOVED_KEYS=/usr/share/keyrings/debian-archive-removed-keys.gpg
|
||||
+ARCHIVE_KEYRING=@PREFIX@/share/apt/keyrings/freebsd-archive-keyring.gpg
|
||||
+REMOVED_KEYS=@PREFIX@/share/apt/keyrings/freebsd-archive-removed-keys.gpg
|
||||
|
||||
|
||||
update() {
|
||||
if [ ! -f $ARCHIVE_KEYRING ]; then
|
||||
- echo >&2 "ERROR: Can't find the archive-keyring"
|
||||
- echo >&2 "Is the debian-archive-keyring package installed?"
|
||||
+ echo >&2 "ERROR: Can't find the archive-keyring: $ARCHIVE_KEYRING"
|
||||
exit 1
|
||||
fi
|
||||
|
51
sysutils/apt/files/patch-cmdline_makefile
Normal file
51
sysutils/apt/files/patch-cmdline_makefile
Normal file
|
@ -0,0 +1,51 @@
|
|||
--- cmdline/makefile.orig Thu Mar 2 05:58:42 2006
|
||||
+++ cmdline/makefile Mon Oct 23 16:38:13 2006
|
||||
@@ -7,42 +7,42 @@
|
||||
|
||||
# The apt-cache program
|
||||
PROGRAM=apt-cache
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-cache.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The apt-get program
|
||||
PROGRAM=apt-get
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-get.cc acqprogress.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The apt-config program
|
||||
PROGRAM=apt-config
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-config.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The apt-cdrom program
|
||||
PROGRAM=apt-cdrom
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-cdrom.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The apt-sortpkgs program
|
||||
PROGRAM=apt-sortpkgs
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-sortpkgs.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The apt-extracttemplates program
|
||||
PROGRAM=apt-extracttemplates
|
||||
-SLIBS = -lapt-pkg -lapt-inst
|
||||
+SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = apt-extracttemplates.cc
|
||||
include $(PROGRAM_H)
|
161
sysutils/apt/files/patch-configure
Normal file
161
sysutils/apt/files/patch-configure
Normal file
|
@ -0,0 +1,161 @@
|
|||
--- configure.orig Wed Oct 11 00:03:36 2006
|
||||
+++ configure Thu Oct 26 14:32:09 2006
|
||||
@@ -7523,8 +7523,8 @@
|
||||
|
||||
|
||||
|
||||
-{ echo "$as_me:$LINENO: checking for h_errno" >&5
|
||||
-echo $ECHO_N "checking for h_errno... $ECHO_C" >&6; }
|
||||
+{ echo "$as_me:$LINENO: checking if netdb.h declares h_errno" >&5
|
||||
+echo $ECHO_N "checking if netdb.h declares h_errno... $ECHO_C" >&6; }
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -7533,14 +7533,51 @@
|
||||
/* end confdefs.h. */
|
||||
#include <netdb.h>
|
||||
|
||||
+int main() { return h_errno; }
|
||||
+
|
||||
_ACEOF
|
||||
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
- $EGREP "h_errno" >/dev/null 2>&1; then
|
||||
- { echo "$as_me:$LINENO: result: normal" >&5
|
||||
-echo "${ECHO_T}normal" >&6; }
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+
|
||||
+ aptget_cv_netdb_declares_h_errno=yes
|
||||
+
|
||||
else
|
||||
- CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
|
||||
- cat >conftest.$ac_ext <<_ACEOF
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+ aptget_cv_netdb_declares_h_errno=no
|
||||
+
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+
|
||||
+if test "x$aptget_cv_netdb_declares_h_errno" = "xno"; then
|
||||
+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
|
||||
+fi
|
||||
+
|
||||
+cat >conftest.$ac_ext <<_ACEOF
|
||||
+
|
||||
+
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
@@ -7548,22 +7585,52 @@
|
||||
/* end confdefs.h. */
|
||||
#include <netdb.h>
|
||||
|
||||
+int main() { return h_errno; }
|
||||
+
|
||||
_ACEOF
|
||||
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||
- $EGREP "h_errno" >/dev/null 2>&1; then
|
||||
- { echo "$as_me:$LINENO: result: needs _XOPEN_SOURCE_EXTENDED" >&5
|
||||
-echo "${ECHO_T}needs _XOPEN_SOURCE_EXTENDED" >&6; }
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+
|
||||
+ aptget_cv_netdb_declares_h_errno=yes
|
||||
+
|
||||
else
|
||||
- { { echo "$as_me:$LINENO: error: \"not found.\"" >&5
|
||||
-echo "$as_me: error: \"not found.\"" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-fi
|
||||
-rm -f conftest*
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
+ aptget_cv_netdb_declares_h_errno=no
|
||||
|
||||
fi
|
||||
-rm -f conftest*
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
+echo "$as_me:$LINENO: result: $aptget_cv_netdb_declares_h_errno" >&5
|
||||
+echo "${ECHO_T}$aptget_cv_netdb_declares_h_errno" >&6
|
||||
+
|
||||
+if test "x$aptget_cv_netdb_declares_h_errno" = "xno"; then
|
||||
+ { { echo "$as_me:$LINENO: error: h_errno is required" >&5
|
||||
+echo "$as_me: error: h_errno is required" >&2;}
|
||||
+ { (exit 1); exit 1; }; }
|
||||
+fi
|
||||
|
||||
# Extract the first word of "debiandoc2html", so it can be a program name with args.
|
||||
set dummy debiandoc2html; ac_word=$2
|
||||
@@ -7942,15 +8009,16 @@
|
||||
{ echo "$as_me:$LINENO: result: $GLIBC_VER" >&5
|
||||
echo "${ECHO_T}$GLIBC_VER" >&6; }
|
||||
ac_cv_glibc_ver=$GLIBC_VER
|
||||
+ GLIBC_VER="-$ac_cv_glibc_ver"
|
||||
else
|
||||
{ echo "$as_me:$LINENO: WARNING: cannot determine GNU C library minor version number" >&5
|
||||
echo "$as_me: WARNING: cannot determine GNU C library minor version number" >&2;}
|
||||
+ GLIBC_VER=""
|
||||
fi
|
||||
rm -f $dummy $dummy.c
|
||||
|
||||
fi
|
||||
|
||||
- GLIBC_VER="-$ac_cv_glibc_ver"
|
||||
|
||||
|
||||
{ echo "$as_me:$LINENO: checking libstdc++ version" >&5
|
||||
@@ -11448,7 +11516,7 @@
|
||||
;;
|
||||
esac
|
||||
done ;;
|
||||
- "default":C) make -s dirs ;;
|
||||
+ "default":C) gmake -s dirs ;;
|
||||
|
||||
esac
|
||||
done # for ac_tag
|
14
sysutils/apt/files/patch-doc_examples_sources.list
Normal file
14
sysutils/apt/files/patch-doc_examples_sources.list
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- doc/examples/sources.list.orig Tue Sep 12 03:55:21 2006
|
||||
+++ doc/examples/sources.list Thu Nov 2 13:52:02 2006
|
||||
@@ -1,9 +1,7 @@
|
||||
# See sources.list(5) for more information, especialy
|
||||
# Remember that you can only use http, ftp or file URIs
|
||||
# CDROMs are managed through the apt-cdrom tool.
|
||||
-deb http://http.us.debian.org/debian stable main contrib non-free
|
||||
-deb http://security.debian.org stable/updates main contrib non-free
|
||||
+deb http://www.example.com/packages stable main contrib non-free
|
||||
|
||||
# Uncomment if you want the apt-get source function to work
|
||||
-#deb-src http://http.us.debian.org/debian stable main contrib non-free
|
||||
-#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
|
||||
+#deb-src http://www.example.com/packages stable main contrib non-free
|
17
sysutils/apt/files/patch-dselect_install
Normal file
17
sysutils/apt/files/patch-dselect_install
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- dselect/install.orig Thu Mar 2 05:28:29 2006
|
||||
+++ dselect/install Wed Oct 25 15:17:58 2006
|
||||
@@ -3,11 +3,11 @@
|
||||
# Set the textdomain for the translations using $"..."
|
||||
TEXTDOMAIN="apt"
|
||||
|
||||
-# Get the configuration from /etc/apt/apt.conf
|
||||
+# Get the configuration from @PREFIX@/etc/apt/apt.conf
|
||||
CLEAN="prompt"
|
||||
OPTS="-f"
|
||||
-APTGET="/usr/bin/apt-get"
|
||||
-DPKG="/usr/bin/dpkg"
|
||||
+APTGET="@PREFIX@/bin/apt-get"
|
||||
+DPKG="@LOCALBASE@/bin/dpkg"
|
||||
DPKG_OPTS="--admindir=$1"
|
||||
APT_OPT0="-oDir::State::status=$1/status"
|
||||
APT_OPT1="-oDPkg::Options::=$DPKG_OPTS"
|
11
sysutils/apt/files/patch-dselect_setup
Normal file
11
sysutils/apt/files/patch-dselect_setup
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- dselect/setup.orig Thu Mar 2 05:33:56 2006
|
||||
+++ dselect/setup Wed Oct 25 15:18:38 2006
|
||||
@@ -23,7 +23,7 @@
|
||||
my $vardir=$ARGV[0];
|
||||
my $method=$ARGV[1];
|
||||
my $option=$ARGV[2];
|
||||
-my $config_file = '/etc/apt/sources.list';
|
||||
+my $config_file = '@PREFIX@/etc/apt/sources.list';
|
||||
|
||||
my $boldon=`setterm -bold on`;
|
||||
my $boldoff=`setterm -bold off`;
|
20
sysutils/apt/files/patch-dselect_update
Normal file
20
sysutils/apt/files/patch-dselect_update
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- dselect/update.orig Thu Mar 2 06:06:31 2006
|
||||
+++ dselect/update Wed Oct 25 15:20:34 2006
|
||||
@@ -7,13 +7,13 @@
|
||||
# Get the configuration from /etc/apt/apt.conf
|
||||
CLEAN="prompt"
|
||||
OPTS="-f"
|
||||
-APTGET="/usr/bin/apt-get"
|
||||
-APTCACHE="/usr/bin/apt-cache"
|
||||
-DPKG="/usr/bin/dpkg"
|
||||
+APTGET="@PREFIX@/bin/apt-get"
|
||||
+APTCACHE="@PREFIX@/bin/apt-cache"
|
||||
+DPKG="@LOCALBASE@/bin/dpkg"
|
||||
DPKG_OPTS="--admindir=$1"
|
||||
APT_OPT0="-oDir::State::status=$1/status"
|
||||
APT_OPT1="-oDPkg::Options::=$DPKG_OPTS"
|
||||
-CACHEDIR="/var/cache/apt"
|
||||
+CACHEDIR="@APTDIR@/cache"
|
||||
PROMPT="false"
|
||||
RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::UpdateOptions \
|
||||
DPKG Dir::Bin::dpkg/f APTGET Dir::Bin::apt-get/f \
|
10
sysutils/apt/files/patch-ftparchive_cachedb.cc
Normal file
10
sysutils/apt/files/patch-ftparchive_cachedb.cc
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- ftparchive/cachedb.cc.orig Tue Jul 25 00:35:54 2006
|
||||
+++ ftparchive/cachedb.cc Tue Nov 14 17:06:17 2006
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <apt-pkg/configuration.h>
|
||||
|
||||
#include <netinet/in.h> // htonl, etc
|
||||
+#include <publib.h>
|
||||
/*}}}*/
|
||||
|
||||
// CacheDB::ReadyDB - Ready the DB2 /*{{{*/
|
10
sysutils/apt/files/patch-ftparchive_contents.cc
Normal file
10
sysutils/apt/files/patch-ftparchive_contents.cc
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- ftparchive/contents.cc.orig Thu Mar 2 06:06:31 2006
|
||||
+++ ftparchive/contents.cc Tue Nov 14 17:13:30 2006
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <malloc.h>
|
||||
/*}}}*/
|
||||
|
||||
// GenContents::~GenContents - Free allocated memory /*{{{*/
|
11
sysutils/apt/files/patch-ftparchive_makefile
Normal file
11
sysutils/apt/files/patch-ftparchive_makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ftparchive/makefile.orig Thu Mar 2 05:45:55 2006
|
||||
+++ ftparchive/makefile Tue Nov 14 17:19:51 2006
|
||||
@@ -8,7 +8,7 @@
|
||||
# The apt-ftparchive program
|
||||
ifdef BDBLIB
|
||||
PROGRAM=apt-ftparchive
|
||||
-SLIBS = -lapt-pkg -lapt-inst $(BDBLIB)
|
||||
+SLIBS = -lapt-pkg -lapt-inst -lpub $(BDBLIB)
|
||||
LIB_MAKES = apt-pkg/makefile apt-inst/makefile
|
||||
SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
|
||||
multicompress.cc
|
13
sysutils/apt/files/patch-methods_gpgv.cc
Normal file
13
sysutils/apt/files/patch-methods_gpgv.cc
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- methods/gpgv.cc.orig Tue Jul 25 04:19:02 2006
|
||||
+++ methods/gpgv.cc Tue Nov 14 21:18:00 2006
|
||||
@@ -52,8 +52,8 @@
|
||||
FILE *pipein;
|
||||
int status;
|
||||
struct stat buff;
|
||||
- string gpgvpath = _config->Find("Dir::Bin::gpg", "/usr/bin/gpgv");
|
||||
- string pubringpath = _config->Find("APT::GPGV::TrustedKeyring", "/etc/apt/trusted.gpg");
|
||||
+ string gpgvpath = _config->Find("Dir::Bin::gpg", "@LOCALBASE@/bin/gpgv");
|
||||
+ string pubringpath = _config->Find("APT::GPGV::TrustedKeyring", "@PREFIX@/etc/apt/trusted.gpg");
|
||||
if (_config->FindB("Debug::Acquire::gpgv", false))
|
||||
{
|
||||
std::cerr << "gpgv path: " << gpgvpath << std::endl;
|
75
sysutils/apt/files/patch-methods_makefile
Normal file
75
sysutils/apt/files/patch-methods_makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
--- methods/makefile.orig Sun Apr 2 04:04:07 2006
|
||||
+++ methods/makefile Mon Oct 23 16:30:57 2006
|
||||
@@ -12,63 +12,63 @@
|
||||
|
||||
# The file method
|
||||
PROGRAM=file
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = file.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The copy method
|
||||
PROGRAM=copy
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = copy.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The gzip method
|
||||
PROGRAM=gzip
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = gzip.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The gpgv method
|
||||
PROGRAM=gpgv
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = gpgv.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The cdrom method
|
||||
PROGRAM=cdrom
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = cdrom.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The http method
|
||||
PROGRAM=http
|
||||
-SLIBS = -lapt-pkg $(SOCKETLIBS)
|
||||
+SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = http.cc rfc2553emu.cc connect.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The ftp method
|
||||
PROGRAM=ftp
|
||||
-SLIBS = -lapt-pkg $(SOCKETLIBS)
|
||||
+SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = ftp.cc rfc2553emu.cc connect.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The rred method
|
||||
PROGRAM=rred
|
||||
-SLIBS = -lapt-pkg $(SOCKETLIBS)
|
||||
+SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = rred.cc
|
||||
include $(PROGRAM_H)
|
||||
|
||||
# The rsh method
|
||||
PROGRAM=rsh
|
||||
-SLIBS = -lapt-pkg
|
||||
+SLIBS = -lapt-pkg $(INTLLIBS)
|
||||
LIB_MAKES = apt-pkg/makefile
|
||||
SOURCE = rsh.cc
|
||||
include $(PROGRAM_H)
|
5
sysutils/apt/pkg-descr
Normal file
5
sysutils/apt/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
APT is the Debian project's advanced front-end for dpkg. APT features complete
|
||||
installation ordering, multiple source capability and several other unique
|
||||
features.
|
||||
|
||||
WWW: http://packages.debian.org/apt
|
126
sysutils/apt/pkg-plist
Normal file
126
sysutils/apt/pkg-plist
Normal file
|
@ -0,0 +1,126 @@
|
|||
bin/apt-cache
|
||||
bin/apt-cdrom
|
||||
bin/apt-config
|
||||
bin/apt-extracttemplates
|
||||
bin/apt-get
|
||||
bin/apt-sortpkgs
|
||||
bin/apt-key
|
||||
bin/apt-ftparchive
|
||||
lib/libapt-inst.so
|
||||
lib/libapt-inst.so.1.1
|
||||
lib/libapt-inst.so.1.1.0
|
||||
lib/libapt-pkg.so
|
||||
lib/libapt-pkg.so.3.11
|
||||
lib/libapt-pkg.so.3.11.0
|
||||
@exec mkdir -p %D/share/apt/keyrings
|
||||
@dirrm share/apt/keyrings
|
||||
@dirrm share/apt
|
||||
libexec/apt/methods/cdrom
|
||||
libexec/apt/methods/copy
|
||||
libexec/apt/methods/file
|
||||
libexec/apt/methods/ftp
|
||||
libexec/apt/methods/gpgv
|
||||
libexec/apt/methods/gzip
|
||||
libexec/apt/methods/http
|
||||
libexec/apt/methods/rred
|
||||
libexec/apt/methods/rsh
|
||||
libexec/apt/methods/ssh
|
||||
libexec/apt/methods/bzip2
|
||||
@dirrm libexec/apt/methods
|
||||
@dirrm libexec/apt
|
||||
libexec/dpkg/methods/apt/desc.apt
|
||||
libexec/dpkg/methods/apt/names
|
||||
libexec/dpkg/methods/apt/install
|
||||
libexec/dpkg/methods/apt/setup
|
||||
libexec/dpkg/methods/apt/update
|
||||
@dirrm libexec/dpkg/methods/apt
|
||||
@dirrmtry libexec/dpkg/methods
|
||||
@dirrmtry libexec/dpkg
|
||||
include/apt-pkg/mmap.h
|
||||
include/apt-pkg/error.h
|
||||
include/apt-pkg/configuration.h
|
||||
include/apt-pkg/fileutl.h
|
||||
include/apt-pkg/cmndline.h
|
||||
include/apt-pkg/md5.h
|
||||
include/apt-pkg/crc-16.h
|
||||
include/apt-pkg/cdromutl.h
|
||||
include/apt-pkg/strutl.h
|
||||
include/apt-pkg/sptr.h
|
||||
include/apt-pkg/sha1.h
|
||||
include/apt-pkg/sha256.h
|
||||
include/apt-pkg/hashes.h
|
||||
include/apt-pkg/algorithms.h
|
||||
include/apt-pkg/depcache.h
|
||||
include/apt-pkg/pkgcachegen.h
|
||||
include/apt-pkg/cacheiterators.h
|
||||
include/apt-pkg/orderlist.h
|
||||
include/apt-pkg/sourcelist.h
|
||||
include/apt-pkg/packagemanager.h
|
||||
include/apt-pkg/tagfile.h
|
||||
include/apt-pkg/init.h
|
||||
include/apt-pkg/pkgcache.h
|
||||
include/apt-pkg/version.h
|
||||
include/apt-pkg/progress.h
|
||||
include/apt-pkg/pkgrecords.h
|
||||
include/apt-pkg/acquire.h
|
||||
include/apt-pkg/acquire-worker.h
|
||||
include/apt-pkg/acquire-item.h
|
||||
include/apt-pkg/acquire-method.h
|
||||
include/apt-pkg/clean.h
|
||||
include/apt-pkg/srcrecords.h
|
||||
include/apt-pkg/cachefile.h
|
||||
include/apt-pkg/versionmatch.h
|
||||
include/apt-pkg/policy.h
|
||||
include/apt-pkg/pkgsystem.h
|
||||
include/apt-pkg/indexfile.h
|
||||
include/apt-pkg/metaindex.h
|
||||
include/apt-pkg/indexrecords.h
|
||||
include/apt-pkg/vendor.h
|
||||
include/apt-pkg/vendorlist.h
|
||||
include/apt-pkg/cdrom.h
|
||||
include/apt-pkg/indexcopy.h
|
||||
include/apt-pkg/debversion.h
|
||||
include/apt-pkg/debsrcrecords.h
|
||||
include/apt-pkg/dpkgpm.h
|
||||
include/apt-pkg/debrecords.h
|
||||
include/apt-pkg/deblistparser.h
|
||||
include/apt-pkg/debsystem.h
|
||||
include/apt-pkg/debindexfile.h
|
||||
include/apt-pkg/debmetaindex.h
|
||||
include/apt-pkg/extracttar.h
|
||||
include/apt-pkg/arfile.h
|
||||
include/apt-pkg/filelist.h
|
||||
include/apt-pkg/database.h
|
||||
include/apt-pkg/extract.h
|
||||
include/apt-pkg/dpkgdb.h
|
||||
include/apt-pkg/dirstream.h
|
||||
include/apt-pkg/debfile.h
|
||||
@dirrm include/apt-pkg
|
||||
@exec mkdir -p %D/etc/apt/conf.d
|
||||
@dirrm etc/apt/conf.d
|
||||
@unexec if cmp -s %D/etc/apt/sources.list.sample %D/etc/apt/sources.list; then rm -f %D/etc/apt/sources.list; fi
|
||||
etc/apt/sources.list.sample
|
||||
@exec if [ ! -f %D/etc/apt/sources.list ]; then cp -p %D/%F %B/sources.list; fi
|
||||
@unexec if cmp -s %D/etc/apt/apt.conf.sample %D/etc/apt/apt.conf; then rm -f %D/etc/apt/apt.conf; fi
|
||||
etc/apt/apt.conf.sample
|
||||
@exec if [ ! -f %D/etc/apt/apt.conf ]; then cp -p %D/%F %B/apt.conf; fi
|
||||
@dirrm etc/apt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING.GPL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.progress-reporting
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/apt.conf
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sources.list
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/configure-index
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
@cwd /
|
||||
@exec mkdir -p %%APTDIR%%/cache/archives/partial
|
||||
@dirrm %%APTDIR%%/cache/archives/partial
|
||||
@dirrm %%APTDIR%%/cache/archives
|
||||
@dirrm %%APTDIR%%/cache
|
||||
@exec mkdir -p %%APTDIR%%/state/lists/partial
|
||||
@dirrm %%APTDIR%%/state/lists/partial
|
||||
@dirrm %%APTDIR%%/state/lists
|
||||
@dirrm %%APTDIR%%/state
|
||||
@dirrm %%APTDIR%%
|
Loading…
Add table
Reference in a new issue